Re: musical notes

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Sun, 28 Oct 2001 stabmaster_ at HOTMAIL.COM wrote:

> Is there any way with Win32 Euphoria to do what I used to do on the
> >Atari ST?  That is:  sound(pitch,volume,duration,quality)
> 
> Do you know what kind of waveforms the atari st soundchip output? Seems 
> likely that it had square and triangle (sawtooth) shaped waveforms at least. 
> A square waveform channel could be simulated by playing a square wave sample 
> while altering its frequency, volume and length. Same goes for any other 
> type of waveform.

  If my memory is correct, it had a whole bunch of waveforms, depending on
the 'quality' parameter.  These included squares and triangles.

> A square waveform channel could be simulated by playing a square wave sample 
> while altering its frequency, volume and length. Same goes for any other 
> type of waveform.

  Would it be possible to computer-generate a bunch of numbers and make a
WAV file out of them that would be any pitch and any quality of sound?
If so, then the program could generate all the notes in all the octaves,
for several different 'instruments'.  Once this is done, then I do the
sound(pitch,volume,duration,quality).

       Jerry Story

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu