[seqfan] Re: Question: best format for playing sequences as "music"?

Jay Anderson horndude77 at gmail.com
Wed Oct 18 05:51:18 CEST 2023


Some tools for accomplishing creating an mp3:

- Timidity can be used to render a midi to audio (
https://sourceforge.net/projects/timidity/). It requires a bit of setup and
you'd need to choose a sound font. FluidSynth is a common option:
https://github.com/FluidSynth/fluidsynth/wiki/SoundFont.
- ffmpeg is a popular option for converting audio to mp3 (
https://ffmpeg.org/).

The above can be piped together.

Another option is to play the midi in the browser itself. That'd take some
integration (example project: https://github.com/surikov/webaudiofont). It
looks like wikipedia is doing this:
https://en.wikipedia.org/wiki/File:MIDI_sample.mid (some details:
https://en.wikipedia.org/wiki/Help:Media_(MIDI) ).

Also I agree with the option of using VLC as an option for playing midi
files on a mac.

-----Jay Anderson

On Tue, Oct 17, 2023 at 1:06 PM Jean-Paul Allouche <
jean-paul.allouche at imj-prg.fr> wrote:

> Hi
>
> IMHO mpeg / mp3 are good options, in particular because the actual midi
> files can be converted easily (even online)
>
> best
> jean-paul
>
> Le mar. 17 oct. 2023, 21:57, Neil Sloane <njasloane at gmail.com> a écrit :
>
> > Dear Sequence Fans,  Many years ago David Applegate wrote the
> >  program that is called up when you click the "listen" button. It
> > produces a midi file, .mid
> >   The trouble is, my MAC doesn't really know what to do with a .mid file.
> > It used to call up a program called QuickTime, but that doesn't work now,
> >  so my MAC starts up Garage Band (and the result sounds horrible).
> >
> > So my question is, what is a good format to convert a sequence into? Is
> > mpeg better?  It should be a format that most platforms can convert to
> > sounds.
> >
> > Best regards
> > Neil
> >
> > Neil J. A. Sloane, Chairman, OEIS Foundation.
> > Also Visiting Scientist, Math. Dept., Rutgers University,
> > Email: njasloane at gmail.com
> >
> > --
> > Seqfan Mailing list - http://list.seqfan.eu/
> >
>
> --
> Seqfan Mailing list - http://list.seqfan.eu/
>


More information about the SeqFan mailing list