Commit graph

20 commits

Author SHA1 Message Date
7751afefa2 Zapper support 2025-11-25 17:33:39 -05:00
e870223f7f pass expected samplerate as an option (fixes #1) 2025-11-24 22:06:04 -05:00
3266d2a745 git subrepo pull (merge) jsnes
subrepo:
  subdir:   "jsnes"
  merged:   "2a2d7c7"
upstream:
  origin:   "https://github.com/bfirsh/jsnes.git"
  branch:   "master"
  commit:   "70e2c5c"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2025-11-22 20:21:36 -05:00
135a3daa0a fix uncontrolled samplerate, which could cause speed issues 2025-09-16 17:23:25 -04:00
a5862e4313 instructions and license 2024-11-30 23:19:08 -05:00
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
9ff9fe2bb8 Charles Martinet 3-pack 2024-11-29 14:44:38 -05:00
e05f25eef3 Better pause button, load all samples at once 2024-11-29 14:14:21 -05:00
a630d0d81f More samples!! 2024-11-29 13:50:55 -05:00
5dcb8038c4 clean up, more games, add deployment script 2024-11-28 22:12:11 -05:00
ba2fdd5caf nicer frequency textbox 2024-11-28 20:47:31 -05:00
47cd770a9e Cache samples, fix frequency display 2024-11-28 20:02:11 -05:00
a36eb82dda custom samples tweaking 2024-11-27 22:36:55 -05:00
56fab04753 Add triangle sampling, tweak sample auto-reset logic, local ROMs 2024-11-25 22:18:02 -05:00
82591aa870 Add sampling capability to square wave channels 2024-11-23 20:52:16 -05:00
8772714135 port nes-embed.js to svelte 2024-11-17 00:52:11 -05:00
c29f364957 adapt simple embedding example
(bring your own smb.nes)
2024-10-29 21:20:35 -04:00
34e0367dff set up yarn 2024-10-29 20:26:16 -04:00
8dc252d70f git subrepo clone https://github.com/bfirsh/jsnes.git
subrepo:
  subdir:   "jsnes"
  merged:   "d8021d0"
upstream:
  origin:   "https://github.com/bfirsh/jsnes.git"
  branch:   "master"
  commit:   "d8021d0"
git-subrepo:
  version:  "0.4.9"
  origin:   "???"
  commit:   "???"
2024-10-29 20:12:13 -04:00
1c64fa7436 initial commit 2024-10-29 20:12:08 -04:00