This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| precision highp float; | |
| uniform vec2 resolution; | |
| uniform float time; | |
| uniform float targetNoteStates[128]; | |
| float wave(float x, float freq, float speed, float amp) { | |
| return amp * sin(x * freq + time * speed); | |
| } | |
| void main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| setBPM(90); | |
| addInstrument('piano'); | |
| addInstrument('string'); | |
| addInstrument('drums'); | |
| addInstrument('guitar'); | |
| addInstrument('bass'); | |
| addInstrument('tubelead'); | |
| addInstrument('flute'); | |
| addInstrument('padsynth'); |
OlderNewer