Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Rain - Musical Composition written with Perl

by charnos (Friar)
on Sep 13, 2002 at 17:01 UTC ( [id://197659]=note: print w/replies, xml ) Need Help??


in reply to Rain - Musical Composition written with Perl

Howdy,

I'm a CS major still working on an undergrad degree with a minor in music, so this is very intriguing. However, I'm not much up to speed on the science of computer music (Fourier transforms, additive synthesis, etc.). Are there any links you've found useful that could point me (and other curious monks) towards resources in this topic? Also, I'm curious...is additive synthesis the method that was used up till the mid 90's (when ROM's had enough memory to contain samples) by the game industry to recreate voices and such?
  • Comment on Re: Rain - Musical Composition written with Perl

Replies are listed 'Best First'.
Re^2: Rain - Musical Composition written with Perl (how early synthesizers worked)
by Flexx (Pilgrim) on Sep 13, 2002 at 17:56 UTC

    I am a musician myself (voc, perc), but I am not a synthesizer specialist. Howerver, AFAIK, in the early days of sound synthesis, all sounds were derived from simple waveforms (like sine, square, triange, chainsaw (like triangle but with a steep upward/downward flank), and so called envelopes (you could call them amplitude operators), which were "imposed" on those waveforms. This envelope was described by four parameters: attack, decay, sustain, and release (or short ASDR).

    • A (time to reach maximum amplitude from keypress)
    • D (time to drop to sustain amplitude after reaching max amplitude)
    • S (amplitude to keep as long as the key is pressed)
    • R (time to reach zero amplitude from S amplitude after key release)

    AFAIK, A and S were linear, and the D and R parts of the envelope where parabolic.

      A       D       S      R
           o
          o o
         o   o
        o       o
       o           oooooooo
      o                   o
     o                     o
    o                         o
    

    Later 6 or more parameters where usual. Most of the modern soundcards still have ADSR/FM synthesizers build in. A famous specimen of these was the Yamaha OPL-3 chip all SoundBlaster cards had on them.

    I hope this is somewhat interesting, ;)
    so long,
    Flexx

Re: Re: Rain - Musical Composition written with Perl
by jake (Pilgrim) on Sep 13, 2002 at 22:32 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://197659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 09:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found