Special-case yuu.Instrument for single-sample sounds.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 24 Apr 2015 22:30:36 +0000 (00:30 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Fri, 24 Apr 2015 22:30:36 +0000 (00:30 +0200)
commit9f0bd6f08de07960e2c47a0d4b65b416c68c3f8a
treee1351b91db6dc37b177e4a8e97dd00a68c6ab25e
parent299c9a8900ae7a4b8289db0dedc768a48e2856e3
Special-case yuu.Instrument for single-sample sounds.

Simplify Envelope as it no longer needs to special-case optimize
constants itself; FastInstruments have no envelopes at all.
src/yuu/audio.js