Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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


In reply to Re^2: Rain - Musical Composition written with Perl (how early synthesizers worked) by Flexx
in thread Rain - Musical Composition written with Perl by jake

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found