Spaces:
Running
Running
Update app.js
Browse files- javascript/app.js +1 -0
javascript/app.js
CHANGED
@@ -202,6 +202,7 @@ class MidiVisualizer extends HTMLElement{
|
|
202 |
}
|
203 |
|
204 |
finishAppendMidiEvent(){
|
|
|
205 |
let midiEvents = this.midiEvents.sort((a, b)=>a[1]-b[1])
|
206 |
let tempo = (60 / 120) * 10 ** 3
|
207 |
let ms = 0
|
|
|
202 |
}
|
203 |
|
204 |
finishAppendMidiEvent(){
|
205 |
+
this.pause()
|
206 |
let midiEvents = this.midiEvents.sort((a, b)=>a[1]-b[1])
|
207 |
let tempo = (60 / 120) * 10 ** 3
|
208 |
let ms = 0
|