Motorcycle Revving sound effects
What's the easiest way to make a motorcycle noise loop and change pitch depending on RPM? I already have a NSSound class with sound effects, but I could always switch to another API. Isn't there a way to use NSSound to load and quicktime to modify/play/loop? Does anyone have any open source code or code snippets that do this?
NSSound is crappy when it comes to effects; switch over to openal and create a cocoa wrapper for it.
[edit]besides, this is supposed to be cross-platform, right?[/edit]
[edit]besides, this is supposed to be cross-platform, right?[/edit]
It's not magic, it's Ruby.
Nayr Wrote:[edit]besides, this is supposed to be cross-platform, right?[/edit]
Eventually I will port it to learn C++, I wish I would have started that 10 thousands lines ago.
Good point about OpenAL, thats what I had in mind when I posted this thread.
After 5 minutes I already have a problem, I can't load the framework. I added the framework correctly to my project and this code gives me this error
#import <OpenAL/alut.h>
/Users/jake/Desktop/New Game/New New Game/Data Types.h:21:24: OpenAL/alut.h: No such file or directory
This has gotta be pretty simple
#import <OpenAL/alut.h>
/Users/jake/Desktop/New Game/New New Game/Data Types.h:21:24: OpenAL/alut.h: No such file or directory
This has gotta be pretty simple
Did you compile it yourself, or are you using Apple's version, or what?
It's not magic, it's Ruby.
I'm using the framework that came with my computer in System/Frameworks/OpenAL.framework
Without the includes Im getting new errors, I just installed OpenAL again too.
ld: can't locate framework for: -framework OpenAL
ld: can't locate framework for: -framework OpenAL
ld: can't locate framework for: -framework OpenAL
ld: can't locate framework for: -framework OpenAL
hrrm
I can't help, seeing as i don't have Tiger. I suspect that this is an xcode problem. Try compiling some example code from the Terminal.
I can't help, seeing as i don't have Tiger. I suspect that this is an xcode problem. Try compiling some example code from the Terminal.
It's not magic, it's Ruby.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Using SDL_mixer to play ogg sound (not music) effects | kordova | 3 | 5,455 |
Sep 1, 2006 12:29 PM Last Post: kordova |
|

