I second that motion--you should also be able to do fm waveforms using CSound. --- In CZsynth@yahoogroups.com, José Ãngel Morente <msxjam@...> wrote: > > On Wed, Jan 25, 2012 at 5:59 AM, charlie 'chop' copp < > charles.copp@...> wrote: > > > ** > > > > i wish i knew how to form a fm waveform with mathmatics so i could write my > > own sample sysex sender , > > > > Using pseudo-code it would be something like this: > > carrierFreq = 440 > modulatorFreq = 220 > sampleRate = 44100 > amp = 10000 > > for i = 0 to samplesize - i > timePos = i * 360 / sampleRate //or 2*PI if you use radians instead > samplebuffer [i] = sin (carrierFreq*timePos + sin > (modulatorFreq*timePos)) * amp > next > > That piece of code should be quite easy to convert to any other language > (Basic, Pascal, C, Matlab, etc.) > > By the way, you may be interested in C-Sound programming language: > > http://www.csounds.com/ > > You can recreate virtually any synth sound (FM, analogue, DSP processing, > etc.) with a few lines of code and export the data in binary format. > > > [Non-text portions of this message have been removed] >
Message
Re: Casio XW-P1 virtual analog
2012-01-25 by steve_the_composer
Attachments
- No local attachments were found for this message.