Find a file
Jeremy Penner 0f73094113 Tweak note-change detection
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.
2024-11-30 22:14:20 -05:00
jsnes Tweak note-change detection 2024-11-30 22:14:20 -05:00
public/samples Charles Martinet 3-pack 2024-11-29 14:44:38 -05:00
src Charles Martinet 3-pack 2024-11-29 14:44:38 -05:00
.envrc set up yarn 2024-10-29 20:26:16 -04:00
.gitignore clean up, more games, add deployment script 2024-11-28 22:12:11 -05:00
flake.lock set up yarn 2024-10-29 20:26:16 -04:00
flake.nix set up yarn 2024-10-29 20:26:16 -04:00
index.html clean up, more games, add deployment script 2024-11-28 22:12:11 -05:00
jsconfig.json port nes-embed.js to svelte 2024-11-17 00:52:11 -05:00
package.json clean up, more games, add deployment script 2024-11-28 22:12:11 -05:00
README.md initial commit 2024-10-29 20:12:08 -04:00
svelte.config.js port nes-embed.js to svelte 2024-11-17 00:52:11 -05:00
vite.config.js clean up, more games, add deployment script 2024-11-28 22:12:11 -05:00
yarn.lock custom samples tweaking 2024-11-27 22:36:55 -05:00

it'sa me, meowio