Hacker News new | ask | show | jobs
by fourfour3 680 days ago
I'd love to see WebMIDI support similar to https://chiptune.app/

I have a SC-8820 - it can simulate a SC-55/SC-88/SC-88 Pro (the SC-55 in particular is what a lot of VGM MIDIs were made using) and I'd love to be able to use it with this collection :)

2 comments

This is actually possible already, but I couldn't finish the UI part on time. Give me a few days and I'll add the option.

PS. I also have a SC-55, nothing beats the original!

Fantastic!

Sadly it’s quite hard (and expensive!) to get a real SC-55 in the UK :/

The 8820 is the same architecture etc as the SC-55/88/88 Pro, so the simulation is basically swapping out the sample sets. I can’t tell the difference :)

My next target is a MT-32 :)

Oh wow, I just checked the prices on the MT-32 and IT IS N-U-T-S! Hope you can find a good one without breaking the bank. :)
Ok, WebMIDI support is live. Try it out and let me know if it works. :)
Hey, thanks for looking into this so fast.

I checked this and it doesn't seem to be working for me - I can select it as a GM synth in the settings and select the right MIDI port, but it's not actually playing out via WebMIDI - it sounds like it's still using ADLMidi. Same behaviour in both Firefox & Chrome.

If I refresh the page after that, it just then keeps skipping tracks instantly. I'm using https://pixeltune.org/?b=ZD1UcmFuc3BvcnQgVHljb29uIERlbHV4ZS9... as my test tracks.

edit: just noticed there's some debug logging in the JS console. Here you go: https://www.pastery.net/naegce/

Thanks for the feedback. I _did_ fix a bug last night so it might be working already.

The "Invalid DataView length" error seems like a parsing error... maybe try using a different set of songs?

Anyway, I'll take a deeper look at it later!

Ok I found it! For some reason those files have an invalid header. I added a workaround so they should play fine now.
Oh wow, they have U.N. Squadron music from the SNES! Thank you for the nostalgia blast :)