-
Notifications
You must be signed in to change notification settings - Fork 313
Open
Labels
Description
FluidSynth version
Execute fluidsynth --version and provide the output.
FluidSynth runtime version 2.3.5
Copyright (C) 2000-2024 Peter Hanappe and others.
Distributed under the LGPL license.
SoundFont(R) is a registered trademark of Creative Technology Ltd.
FluidSynth executable version 2.3.5
Sample type=double
SF2 RMIDI specification
The feature request
Fluidsynth would be able to open RIFF midi (.rmi) files.
Bonus points for also reading the embedded sf2 file and using it.
Simple solution
- check if the file starts with
RIFFinstead ofMThd - check if the data chunk starts with
RMID - The first chunk is called
data. The data of the chunk is the MIDI file (complete with MThd, etc). - Loop through the following chunks (there may be a metadata INFO chunk. Read the DBNK chunk which is the soundfont's bank offset, others can be ignored)
- Find the chunk with header RIFF and the data that starts with
'RIFF'or'DLS '. This is the embedded soundfont or dls. The provided file has an sf2 embedded, not dls.
Steps to reproduce
Please explain the steps required to duplicate the issue, esp. if you are able to provide a sample application. E.g. how to start fluidsynth, what shell commands to enter, what midi events to send, etc.
- get an .rmi file Example files
fluidsynth soundfont.sf2 the_file.rmi
Reactions are currently unavailable