slag-plt / scamper

A mini-Scheme implementation designed for teaching, targeting the web
0 stars 1 forks source link

Some midi-notes aren't working #75

Open eric-autry opened 11 months ago

eric-autry commented 11 months ago

The following only sounds 1 of the 4 notes...

(import music) (seq (note 56 qn) (note 57 qn) (note 58 qn) (note 59 qn))

psosera commented 11 months ago

It appears that other instruments do not exhibit this problem, so e.g.,

(mod (instrument 12)
  (seq (note 56 qn) (note 57 qn) (note 58 qn) (note 59 qn)))

Works (instrument 12 is a marimba). However, given that some notes are missing/not working for one patch, I am unsure whether that means the same holds for other patches.

psosera commented 11 months ago

For reference: we use the FluidR3 GM font from webaudiofont:

All notes across the MIDI range work on the demo page, so the likely culprit is a porting error on my part.