Tune up baudio
Tune up baudio.
Install tune and baudio:
npm install tune baudio
You also need to install SoX: http://sox.sourceforge.net/
var baudio = tune = ;var a = ;var b = ;b;
var baudio = tune = ;var hungarian =;var b = ;b;
var baudio = tune = ;var blackholesun =;var b =;b;
var baudio = tune = ;var ff = ;'C D E G''A B C E''C D E G''A B C E''A C F G''A B D G''Ab C Eb G''A Bb D F';ff = ;var b = ;b;
var tune = ;
Returns a function:
function(time[, options]) that will return a value based
time between -1 and 1 to formulate a wave. Then you return the value within
your baudio function.
notes can be a single note string:
'A#5' or an array of notes:
['C4', 'D5', 'E4', 'Gb7']. Mark notes with sharps
# and flats
ending number refers to the octave. In a sequence if the octave isn't specified,
it will use the last set octave or
. for muted notes.
options are an object literal
4] - how fast to transition through the notes
1.0] - volume to play the tune:
0.0 - 1.0
tunejust returns a function now.
Copyright (c) 2014 Kyle Robinson Young
Licensed under the MIT license.