mmontag / chip-player-js

Web-based music player for a variety of video game and chiptune music formats.
https://chiptune.app
GNU General Public License v3.0
324 stars 17 forks source link

Audio stutter and long pause when seeking SPC (Super Nintendo) format #100

Closed mmontag closed 2 years ago

mmontag commented 2 years ago

A longstanding issue: seeking SPC files creates a long blocking call into game-music-emu. This is because SPC music is played through opaque emulation of SNES DSP, without note data. The DSP is stateful, so the playback code must be executed up to the desired seek time.

https://cln.sh/FI0fxf

mmontag commented 2 years ago

Fixed in 69cb982.

Future work: implement for N64Player, and investigate if https://github.com/jprjr/snes_spc improves seeking.