timidity
timidity copied to clipboard
Use the runtime `sampleRate` from the audioContext
This fixes a problem (#14) on some platforms that use a sample rate of 48000, which results in faster, higher pitch play back.
Given the web assembly dependency, the DEFAULT_SAMPLE_RATE could probably be removed, as any browser supporting wasm will likely also support sampleRate.
Withdrawn, as migration to audioWorklet renders this moot.