Re: Simulating sound
Re: Simulating sound
- Subject: Re: Simulating sound
- From: "Lohit Shetty" <email@hidden>
- Date: Sat, 27 Dec 2008 02:53:10 +0530
Hello Brad,
Thanks a lot!. The STK is a great piece of software. I have been looking into it and wanted to confirm
my approach to the problem.
Lets say I want to create an instrument and play it according to user's input ( not the use of .ski as is in the examples). Following are the steps
1. Create an instrument.
2. Call noteOn and noteOff ( depending upon user input ) on the instrument to actually play the sound.
Queries:
1. Is the above approach right?
2. If I want to create my own instrument how do I configure it. Lets say I want the sound of the instrument to sound like that of a train. How do I get my instrument
to play this base sound.
3. noteOn and noteOff require frequency and amplitude. How do I get translate users inputs ( mouse or keyboard) into these 2 parameters (freq and amp).
Can you please provide your inputs on this?
Thanks again.
Regards,
Lohit.
On Fri, Dec 26, 2008 at 7:44 PM, Brad Garton
<email@hidden> wrote:
Check out Perry Cook/Gary Scavone's physical models in the Synthesis ToolKit (STK):
http://ccrma.stanford.edu/software/stk/
esp. the "whistle" and "slide flute" classes.
brad
http://music.columbia.edu/~brad
On Dec 25, 2008, at 1:42 PM, Lohit Shetty wrote:
Hi There,
I have a requirement wherein I have to simulate the sound of a whistle. To make it sound realistic , I should be able to vary the sound depending on the intensity of the input ( like blow of air in the real world). The sound becomes shriller as the intensity goes on increasing.
One solution would be to pre-record sounds at various intensity levels and play them back based on the intensity of the input. But this is lot of work and the switching between one sound to another might also not be smooth.
Can you please provide some inputs on the approach to this problem?
Thank you.
Regards,
Lohit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden