please test MIDI player in F 2.0

95 views
Skip to first unread message

Wilbert Berendsen

unread,
Nov 8, 2011, 10:53:05 AM11/8/11
to fresc...@googlegroups.com
Hi all,

Frescobaldi 2.0 now has a built-in MIDI player. Everybody is invited to
test it.

You need PortMIDI to be installed. And it is recommended to have a
Python binding to PortMIDI, e.g. pyPortMidi or pygame, which also
contains a binding.

Frescobaldi first tries 'pyportmidi._pyportmidi', then 'pypm', then
'pygame.pypm' (but without importing anything else from pygame) eand
finally it tries to find the PortMIDI DLL and use it via ctypes.

If MIDI works, you can select an output port in the settings, and then
play a MIDI file. If MIDI does not work, no output ports are visible in
the settings and you won't hear the music, although the player plays as
well. (Or some error message occurs, there is not many error checking
right now).

Use:

git clone git://github.com/wbsoft/frescobaldi.git

to get the latest Frescobaldi code.

Enable the MIDI player using Tools->MIDI player

Please test and hopefully enjoy!
Wilbert

--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)

Brett McCoy

unread,
Nov 8, 2011, 10:57:39 AM11/8/11
to fresc...@googlegroups.com
On Tue, Nov 8, 2011 at 10:53 AM, Wilbert Berendsen <wbs...@xs4all.nl> wrote:

> Frescobaldi 2.0 now has a built-in MIDI player. Everybody is invited to
> test it.
>
> You need PortMIDI to be installed. And it is recommended to have a
> Python binding to PortMIDI, e.g. pyPortMidi or pygame, which also
> contains a binding.

So this is different than what was required in older Frescobaldi
(kmid2?), right?

--
Brett W. McCoy -- http://www.electricminstrel.com
------------------------------------------------------------------------
"In the rhythm of music a secret is hidden; If I were to divulge it,
it would overturn the world."
    -- Jelaleddin Rumi

Wilbert Berendsen

unread,
Nov 9, 2011, 3:21:19 AM11/9/11
to fresc...@googlegroups.com
Op Tue, 8 Nov 2011 10:57:39 -0500
Brett McCoy <idrag...@gmail.com> schreef:

> So this is different than what was required in older Frescobaldi
> (kmid2?), right?

Yes, this is completely different. In Frescobaldi 1, KMid was embedded
(which is a nice and capable midi player).

But as the embedding the KMid KPart requires KDE, this approach could
not be used for Frescobaldi 2.0.

So I built a MIDI player from the ground up, which uses the
cross-platform PortMIDI library to send MIDI messages to an output port.

To actually hear something there should be a MIDI synthesizer on your
system (either a hardware unit or a software synthesizer running such
as Timidity, Fluidsynth or SimpleSynth (Mac)).

Federico Bruni

unread,
Nov 9, 2011, 5:13:44 PM11/9/11
to fresc...@googlegroups.com
Il 08/11/2011 16:53, Wilbert Berendsen ha scritto:
> Frescobaldi 2.0 now has a built-in MIDI player. Everybody is invited to
> test it.
>

Wow, I was looking forward to it.
Thanks!

> You need PortMIDI to be installed. And it is recommended to have a
> Python binding to PortMIDI, e.g. pyPortMidi or pygame, which also
> contains a binding.

On Debian Wheezy I had to install these two packages:

libportmidi0 python-pypm

schef

unread,
Dec 15, 2011, 6:36:01 AM12/15/11
to Frescobaldi
Thats great guys..! Thanks

flup

unread,
Dec 18, 2011, 10:25:51 AM12/18/11
to Frescobaldi
Some informations about midi playback on a Mac OS X system :

I installed portmidi and fluidsynth (using macports). I also
downloaded Qsynth, a gui for fluidsynth built using Qt.

Here are the settings I used to make it work :

Midi Driver : CoreMidi
Audio Driver : Coreaudio
Audio Device : default
Soundfonts : I choosed the soundfonts included in the Musescore bundle
(you have to navigate inside the Musescore bundle)

Until then, nothing worked. One more setting was necessary :

Under the "Audio" tab, Buffer Size must be at least 256 (was 16 by
default I think).

Philippe

rosea grammostola

unread,
Dec 18, 2011, 10:52:39 AM12/18/11
to fresc...@googlegroups.com
Works here on Ubuntu 10.04, via qjackctl and qsynth.

How about midi record which was possible via rumor in Frescobaldi 1?

Regards,

\r

rosea grammostola

unread,
Dec 18, 2011, 10:55:09 AM12/18/11
to fresc...@googlegroups.com
On 12/18/2011 04:52 PM, rosea grammostola wrote:
> Works here on Ubuntu 10.04, via qjackctl and qsynth.

All though it doesn't respect slurs.

Wilbert Berendsen

unread,
Dec 18, 2011, 3:48:37 PM12/18/11
to fresc...@googlegroups.com
Op Sun, 18 Dec 2011 16:52:39 +0100
rosea grammostola <rosea.gr...@gmail.com> schreef:

> How about midi record which was possible via rumor in Frescobaldi 1?

later :-)

Reply all
Reply to author
Forward
0 new messages