Community Forums Archive

Go Back

Subject:Generate .wav files from C0 to C5 (pure sinusoid)
Posted by: bejj
Date:9/19/2013 10:41:40 AM

Hello,
I would like to generate .wav files of 5 seconds containing just a simple tone (sinusoid) of each note from C0 to C5...
32,70 hz
34,65 hz
...
440 hz
...

I want to use a loop like :
for ( ...)
{
...
file.DoEffect("Simple Synthesis", preset, null, EffectOptions.EffectOnly);
...
}

My problem : where can I set the note frequency in the DoEffect parameters ??

Thanks in advance!

Subject:RE: Generate .wav files from C0 to C5 (pure sinusoid)
Reply by: roblesinge
Date:9/19/2013 11:06:11 AM

This was answered here: [url]http://www.sonycreativesoftware.com/forums/ShowMessage.asp?MessageID=868443&Replies=5 although the title is misleading.

Basically, you can't access the fields in the simple synthesis effect. So, you either need to create presets and pass them in or create the tone mathematically.

Rob.

Message last edited on9/19/2013 11:06:34 AM byroblesinge.
Subject:RE: Generate .wav files from C0 to C5 (pure sinusoid)
Reply by: bejj
Date:9/19/2013 3:21:08 PM

Thanks roblesinge!

Then I'll do a sinusoid on my own with some math ! :)

Go Back