Skip to content

Options for Audio Libraries

Dethe Elza edited this page Oct 23, 2015 · 2 revisions

Goals for Waterbear audio blocks

  • Make a sound from:
    • An audio file (wav, mp3, ogg)
    • A sampled array (could be programmatically generated/manipulated)
    • A synthesized source (sine/square/triangle waves, etc.)
    • A list of notes and rests
    • Concatenation of two sounds
    • Mixing of two sounds
    • Microphone
    • ???
  • Manipulate any of these sounds:
    • Play (with optional looping) one or more sounds simultaneously
    • Pause and resume a sound (tricky with Audio API)
    • Change balance, play sounds to different channels
    • Arrange sounds in 3D space?
    • Set reverb
    • Set echo
    • Filter a sound
    • Add feedback
    • Set attack and decay
    • Change volume
    • Bend pitch
    • Add dissonance
    • Use function to modify sample array
  • Create music
    • Create a list of notes and rests
    • Choose instruments?
  • Ideally it would play in all modern browsers, both desktop and mobile.

Loosely this becomes the following:

  • Playback files
  • Generate sound effects
  • Manipulate samples
  • Record and save
  • Build songs from notes

Some Libraries under consideration:

Clone this wiki locally