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

Hugo Pfoertner yae9911 at gmail.com
Wed Oct 18 12:00:35 CEST 2023


Please leave the MIDI output of the OEIS music function unchanged. MIDI is
still a standard format for encoding music in a space-saving manner without
using time signals. The Midi files generated by the current version can
easily be imported and further processed using, for example, Mathematica or
the widely used program Audacity. For example, you can change the
instrument, which would no longer be possible with a waveform time signal.
The problem seems to be that the now somewhat ancient Quicktime player no
longer supports Midi, nor does VLC for Windows. However, the standard media
player works in Windows, and I was told that "GarageBand" produces perfect
playback on Mac. So it appears to be more of a local setup issue on Neil's
MAC.

Hugo Pfoertner

On Wed, Oct 18, 2023 at 5:51 AM Jay Anderson <horndude77 at gmail.com> wrote:

> 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/
> >
>
> --
> Seqfan Mailing list - http://list.seqfan.eu/
>


More information about the SeqFan mailing list