/
scratchpad.txt
47 lines (36 loc) · 1.49 KB
/
scratchpad.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
BACKLOG
BY TONIGHT
XXX Jam Recording Toggle Mode
XXX Download Links for Jams
XXX Style for Jams section
XXX Module Buttons have color when audio is present
- Module Buttons change color when triggered
XXX Record audio
XXX Active/Inactive classes on record button
XXX Let user choose where audio will go
XXX On record, grab select.val from dropdown
XXX Correctly route audio
XXX Maybe each module should already have a hidden <audio> element, just modify its source.
XXX Keyboard listeners on modules
XXX Quick spike on keypress event to determine keycodes
XXX Clear module
XXX CSS hover transition on clear button
- Click listeners on modules
Use ElementChild??
- Color animation on modules
- Recording/playback optimization
- Don't want to hear button click, playing the 'instrument' needs to feel good.
- Can keypress interrupt playback and play again? This would make it waaaay more fun to play.
IF ALL OF THE ABOVE IS HAPPENING...
- Before going through the authentication process, see if you can actually save the recordings to Db.
- If yes, do the users thing.
IF NO TIME
- Lose the user buttons!
THOUGHTS ON SAMPLER BEHAVIOR
When a module button is clicked OR corresponding key is pressed...
- Play that module's audio
- Change that button's class so it 'lights up' in a badass way
KEYPRESSES
- Object with keyCodes as keys, mod1-mod8 as values???
- On keypress, check if e.keyCode matches one from object
- If it does, do play and class change (with setTimeout to change back)