Exactly like in bug 36635, LibreOffice supports sound files in the formats RMI and SND, but they are not included in the "Insert" -> "Movie and sound..." list of supported file types. Therefore, they cannot be selected by the user. Please add RMI and SND to the list of files types.
Workaround: Select "All files (*)" do also display RMI and SND files. Then the embedding of files of this type works nicely.
Example sound files:
I copied Joel to this bug, because he was so kind to fix this already for WMA/WMV/AAC-files.
Reading Joel's last fix, I assume that adding following information to avmedia/source/viewer/mediawindow.cxx should do the trick:
"RMI MIDI Audio", "rmi",
"SND (SouND) Audio", "snd",
(Alternatively "rmi" could be simply added to the file extensions under "MIDI Audio")
More information on the file formats:
- For RMI Midi files: http://file.downloadatoz.com/rmi-file-extension/ or http://filext.com/file-extension/RMI
- For SND files: http://file.downloadatoz.com/snd-file-extension/ or http://www.abyssmedia.com/formats/snd-format.shtml
Since SND sound files seem to be a variant of AU audio files (http://en.wikipedia.org/wiki/Au_file_format), it IMHO makes sense to add the .snd file type simply to "AU Audio".
The fix in could then look like:
"AU/SND Audio", "au;snd",
"MIDI Audio", "mid;midi;rmi",
Sure I'll take care of this one also and it'll be available in 4.1
Joel, thanks a lot! It is very nice to have you around.
Hm, are you sure rmi files are supported? I added rmi and snd, snd works no problem but the rmi example file you gave isn't playing at all....any way that you can find me another test case? Have you seen documentation that says that rmi plays?
nevermind, seems like the sample file that you provided is broken because another sample worked no problem - going to submit a patch shortly
Fixed - submitted to master, might submit to 4.0 branch as well for 4.0.4
Thanks a lot! The link for the .rmi file worked for me, but I remember that I needed to rename the file. I think the importer had some problem with "Bach%27s~1.rmi". I renamed it to test.rmi and that worked fine in LibreOffice.
Joel Madero committed a patch related to this issue.
It has been pushed to "master":
fdo#64003 - added rmi and snd to insert -> movie & sound list
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.