Garrett-Bodley/SHAlala

Certain inputs play a single long tone before triggering an error

Closed this issue · 2 comments

input: ijfqijqf
corresponding hash: ae01eb812378013e684f4797417f009c05943417

console output:

Debug.ts:10 Uncaught (in promise) Error: Start time must be strictly greater than previous start time
    at Bn (Debug.ts:10:9)
    at sr.start (Source.ts:207:4)
    at kr._triggerEnvelopeAttack (Synth.ts:109:19)
    at kr.triggerAttack (Monophonic.ts:74:8)
    at kr.triggerAttackRelease (Instrument.ts:156:8)
    at play (index.js:220:17)
    at HTMLFormElement.handleOnSubmit (index.js:223:3)

Ah yeah, that will happen if the time value is 0, sorry! There should be a floor so that the time is always greater than 0