Jeremy Penner
0f73094113
Values have been tuned to ensure samples aren't retriggered during Mario's jump, but are generally retriggered in every other situation where the frequency is changed. Retriggering more often makes the music in games like Pictionary and Rad Gravity sound _way_ better, as well as the sound effects in games with slower music. * do not repeat samples for sustained notes; this never sounds great. * reset after _any_ frequency change if we have been sitting on the same note for longer than a couple of frames. * fix the "reset if the note has jumped by ~2 semitones" logic, which was *wildly* wrong. |
||
---|---|---|
.. | ||
controller.js | ||
cpu.js | ||
index.js | ||
mappers.js | ||
nes.js | ||
papu.js | ||
ppu.js | ||
rom.js | ||
sample.js | ||
tile.js | ||
utils.js |