Eric Rosenbaum
088efdeb0e
sounds track playing state
2017-01-30 18:13:18 -05:00
Eric Rosenbaum
7f741a509c
sounds stop and restart when played again
2017-01-30 18:12:52 -05:00
Eric Rosenbaum
0742e8e0b0
update comments
2017-01-30 11:27:05 -05:00
Eric Rosenbaum
bee8210764
use promise on playback finished
2017-01-30 11:26:55 -05:00
Eric Rosenbaum
002a378d97
soundplayers are explicitly connected to output node when created
2017-01-30 11:25:43 -05:00
Eric Rosenbaum
42f231858a
effects are managed by vm target and audio engine
2017-01-30 11:24:55 -05:00
Eric Rosenbaum
263f614ef8
pitch effect is applied to active sound players array
2017-01-30 11:18:28 -05:00
Eric Rosenbaum
c9029396c6
state of effects, volume and instrument managed by target in vm
2017-01-30 11:17:18 -05:00
Eric Rosenbaum
7b07d150da
set instrument moved to target in vm
2017-01-30 11:14:07 -05:00
Eric Rosenbaum
8557c4a7ab
audio engine manages play note and beat timing
2017-01-30 11:13:34 -05:00
Eric Rosenbaum
e1d478244d
audioengine loads sounds indexed by md5
...
audioplayers store list of their own active sound players indexed by md5 of the sound. sound players are created when the sound is played, deleted when it ends, and removed from the list of active sound players. the pitch effect uses this list of active sound players to set their playback ratios.
2017-01-30 11:09:45 -05:00
Eric Rosenbaum
a150f018b5
comments
2017-01-30 10:59:03 -05:00
Eric Rosenbaum
b32ee9267b
properties for number of instruments and drums for use by vm
2017-01-11 11:40:35 -05:00
Eric Rosenbaum
3c520d6e10
converesion from one-indexing to zero-indexing happens in vm
2017-01-11 11:26:03 -05:00
Eric Rosenbaum
ad81e1d3de
load and play drum sounds from drumplayer
2017-01-10 18:05:29 -05:00
Eric Rosenbaum
ca8bc2b45d
move global tempo setting to audio engine
2017-01-10 18:04:54 -05:00
Eric Rosenbaum
b540c8ec7b
remove commented code
2017-01-10 18:04:13 -05:00
Eric Rosenbaum
e2255bbbbf
comments
2017-01-10 18:04:01 -05:00
Eric Rosenbaum
c54fc0f154
comments
2017-01-10 18:03:15 -05:00
Eric Rosenbaum
703502cfbb
add stopall function for instruments and drums
2017-01-10 18:02:45 -05:00
Eric Rosenbaum
193a9f181b
initial experiment with drumplayer (
2017-01-10 11:35:03 -05:00
Eric Rosenbaum
85489d8a95
add drum sound samples from scratch 2.0
2017-01-10 11:05:47 -05:00
Eric Rosenbaum
0a55312899
change function name to playNoteForSecWithInst
2017-01-10 11:01:36 -05:00
Eric Rosenbaum
a1c31c3f4b
send duration in sec to instrumentplayer
2017-01-10 11:00:22 -05:00
Eric Rosenbaum
03d78a203b
fix beatsToSec function (was getting millis)
2017-01-10 10:59:55 -05:00
Eric Rosenbaum
6948968a85
lint
2017-01-09 21:33:31 -05:00
Eric Rosenbaum
0bd84dd9a6
fix changeTempo to set global tempo
2017-01-09 21:30:23 -05:00
Eric Rosenbaum
d8ab835901
move play note functionality to InstrumentPlayer
2017-01-09 21:28:51 -05:00
Eric Rosenbaum
2058b2dd19
single tempo owned by audioengine
2017-01-09 15:56:59 -05:00
Eric Rosenbaum
9b3119c96e
comments
2017-01-09 15:54:21 -05:00
Eric Rosenbaum
2ca88c880e
play note and play drum return a promise to wait some number of beats
2017-01-08 18:57:51 -05:00
Eric Rosenbaum
4cefe6d2ad
set, change, and report volume
2017-01-08 18:57:10 -05:00
Eric Rosenbaum
a6bb22b90a
fix effect names
2017-01-08 18:56:10 -05:00
Eric Rosenbaum
082be2689d
comments
2017-01-08 18:55:37 -05:00
Eric Rosenbaum
3a9e6b8634
check if no sound at index before playing
2017-01-08 18:38:18 -05:00
Eric Rosenbaum
9731a58f0b
change package name to scratch-audio
2017-01-06 10:02:28 -05:00
Eric Rosenbaum
10cd3a2c31
separate out main audioengine from audioplayer for each clone
2017-01-04 18:34:11 -05:00
Eric Rosenbaum
b99b639cd2
set wet value for echo to 0.5
2017-01-04 15:30:20 -05:00
Eric Rosenbaum
792a7ca953
comments
2016-12-22 23:17:55 -05:00
Eric Rosenbaum
c71ccbb020
log
2016-12-05 14:22:15 -05:00
Eric Rosenbaum
645a080b89
lint
2016-11-30 11:29:00 -05:00
Eric Rosenbaum
9120c3d430
make objects for each effect
2016-11-29 18:33:09 -05:00
Eric Rosenbaum
f797ec80f3
cleanup
2016-11-21 18:27:50 -05:00
Eric Rosenbaum
b169ac8875
new robotic effect using comb filter, remove vocoder
2016-11-21 18:26:31 -05:00
Eric Rosenbaum
ec558d9821
use soundplayer object
2016-11-21 16:01:33 -05:00
Eric Rosenbaum
7aca02b89a
re-enable soundfont player
2016-11-21 16:00:59 -05:00
Eric Rosenbaum
27a7c545a1
re-enable soundfont player
2016-11-21 16:00:02 -05:00
Eric Rosenbaum
b5d513f2b2
add isplaying property, cleanup
2016-11-21 15:57:34 -05:00
Eric Rosenbaum
897fd68c90
wip on new soundplayer object
2016-11-21 12:40:35 -05:00
Eric Rosenbaum
1a088252e3
add effects ‘wobble’ and ‘telephone’
2016-11-19 14:19:31 -05:00