Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Tue Dec 12, 2017 3:35 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Audio Programming
PostPosted: Fri Jan 01, 2010 12:29 am 
Offline

Joined: Fri Feb 29, 2008 5:25 pm
Posts: 557
Hello

my question is a mix between General and Game. I've searched for similar solutions and found references to Game Audio Programming.

Basically I want to take an audio clip and then morph the voice to something else.

Like the voice of Jigsaw. The person speaks then it adds some effects and you get a different sounding voice.

If someone could point me in the right direction on how to modify audio (maybe send the data wave thru a sin function to amplify or do other mathematical fun things to it).

Thanks for your help.

_________________
http://www.mupromo.com/?ref=4850
Support Indie Developers and Buy Their Products!


Top
 Profile  
Reply with quote  
 Post subject: Re: Audio Programming
PostPosted: Tue Jan 05, 2010 5:55 pm 
Offline

Joined: Mon Jul 30, 2007 6:11 am
Posts: 71
Location: Germany
If you're programming for Mac, you can make use of the Audio Units in Apple's CoreAudio. You have to wrap the API to REALbasic of course, which will probably be a pain to do:

http://developer.apple.com/mac/library/ ... ction.html

Then there's LADSPA, a library originally designed for Linux, but afaik works on Windows and Mac as well:

http://www.ladspa.org/

Again, you need to wrap the library to REALbasic, but this one might be easier as it's a simple C-Library instead of ObjectiveC.

I should state that I never worked with any of those APIs and I don't know how much effort it would be to use them in RB.


If you want to do it all by yourself, two suggestions:
1.) Don't. There IS software available for this, and it is certainly better and faster than something you develop in RB.
2.) Don't do it with RB. It's low level stuff, and RB isn't the language to implement such things.


Top
 Profile  
Reply with quote  
 Post subject: Re: Audio Programming
PostPosted: Wed Jan 06, 2010 8:50 am 
Offline

Joined: Fri Feb 29, 2008 5:25 pm
Posts: 557
I feared that this wasn't going to be easy. I don't want to start wrapping libraries with RB Code.

So my next question is does any one know of any Mac/Windows app that would let me input an Audio Clip and maybe a parameter to modify the waveform by sin(30).

_________________
http://www.mupromo.com/?ref=4850
Support Indie Developers and Buy Their Products!


Top
 Profile  
Reply with quote  
 Post subject: Re: Audio Programming
PostPosted: Wed Jan 06, 2010 3:55 pm 
Offline
User avatar

Joined: Fri Jun 05, 2009 11:50 am
Posts: 348
Location: Hamburg, Germany
Do you wan't those effecs where someone talks / sings and the words are "wrapped" around a synth line (dont know how to describe it better) then you might google for "vocalizer"

_________________
Best regards

Stefan

Mac OSX Mountain Lion (latest Release) on a MacBook Pro 2.66 GHz Intel Core i7/ RB Professional 2011 Release 3


Top
 Profile  
Reply with quote  
 Post subject: Re: Audio Programming
PostPosted: Thu Jan 07, 2010 10:09 am 
Offline

Joined: Fri Feb 29, 2008 5:25 pm
Posts: 557
Yea. Ultimately, I want to change the pitch of the voice.

_________________
http://www.mupromo.com/?ref=4850
Support Indie Developers and Buy Their Products!


Top
 Profile  
Reply with quote  
 Post subject: Re: Audio Programming
PostPosted: Tue Jan 12, 2010 9:13 am 
Offline

Joined: Thu Feb 22, 2007 7:08 pm
Posts: 1384
You can do that and a lot more with FMOD.
Note that this classes will not updated in the future, you can read this at this site:
http://developer.chaoticbox.com/

You need the FMOD installer, to run the classes.
FMOD is free for non-comercial use. For comercial use and more information:
http://www.fmod.org

BTW, It will be great if Christian(MBS) add a pitch function to the audio-plugin. :wink:


Top
 Profile  
Reply with quote  
 Post subject: Re: Audio Programming
PostPosted: Wed Jan 13, 2010 10:03 am 
Offline

Joined: Fri Feb 29, 2008 5:25 pm
Posts: 557
Thank You! I'll check it out!

_________________
http://www.mupromo.com/?ref=4850
Support Indie Developers and Buy Their Products!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group