A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://code.almeros.com/code-examples/sampler-firefox-audio-api/ below:

SamplePlayer, SampleLoader, Sequencer and Keyboard

SamplePlayer, SampleLoader, Sequencer and Keyboard Firefox Audio API example

Created by Almer Thie (code.almeros.com, @almeros) with the experimental Firefox Audio Data API.

If you want to try it yourself, get a yourself a copy of FireFox 4 (or higher). Check my blog for more information about this demo.

If you want to use this javascript DSP code I recommend to (soon) use it through DSP.js since it will probably be maintained better. Let me know what you created with it!

Guitar sample:

Piano sample:

Banjo sample:

Ducky sample:

Organ sample:

Sample to use:

Info...

Press Play to start the sequencer. It contains a sequence with 'note' events but also 'note stop' events. You can change the BPM of the sequencer:

Apart from the sequencer you can play your keyboard (q = C-4, w = D-4 etc. + = octave up, - = octave down) to play some nice tune! You can press multiple keys and hold keys to sustain them.

Add some Reverb and/or Delay and tweak the volume a little:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3