Yahoo Groups archive

Casio CZ/ VZ/ FZ - Pro Series

Index last updated: 2026-04-28 22:42 UTC

Message

Re: Casio XW-P1 virtual analog

2012-01-25 by steve_the_composer

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]
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.