Basic web audio extensions for Purescript
bower install
npm install
npm start
launchAff_ $ do
sequence $ playNotes [G, F, G, F, G, D, G, C, C, B, C, C, D, C, G, F] 0.3
Main.purs has working example of usage
Inside src/Audio
- Go to Types.purs and new note in
Note
sumtype - In Notes.purs, add frequency mapping for the new note