We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tarsos/src/be/tarsos/midi/MidiToWavRenderer.java
Line 149 in 4b3f172
In the class MidiToWavRenderer when using custom SoundBank to create the wav file their is an attempt to unload the default SoundBank:
this.synth.unloadAllInstruments(soundbank);
soundbank is the custom SoundBank and so will not unload anything. It also means the next attempt to load the custom SoundBank silently fails:
soundbank
... this.synth.unloadAllInstruments(soundbank); final Instrument[] instruments = soundbank.getInstruments(); for (final Instrument instrument : instruments) { synth.loadInstrument(instrument); } createWavFile(midiFile, outputFile); ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tarsos/src/be/tarsos/midi/MidiToWavRenderer.java
Line 149 in 4b3f172
In the class MidiToWavRenderer when using custom SoundBank to create the wav file their is an attempt to unload the default SoundBank:
this.synth.unloadAllInstruments(soundbank);
soundbank
is the custom SoundBank and so will not unload anything. It also means the next attempt to load the custom SoundBank silently fails:The text was updated successfully, but these errors were encountered: