@KMETE said:
Any example for a simple midi player in Pd?
I'm not completely sure what you mean by "simple MIDI player," but I'll assume you want some Linux software that will play General MIDI sounds.
AFAICS from a quick web search, you would probably have to install a GM soundfont, e.g. sudo apt-get install fluid-soundfont-gm
, and play it using software such as FluidSynth.
On my system, it took a little hunting, but I found /usr/share/sounds/sf2/FluidR3_GM.sf2
-- fluid, check, GM, check.
You'd probably have to connect Pd MIDI out to FluidSynth MIDI in. That should do it.
Is there any transport and tempo object in PD same as in max?
"Same as Max" -- well, no. Does Pd have its own way of handling tempo? Yes.
[metro] and [delay] objects respond to "tempo" messages -- see their help files. (Though unfortunately, some other timing-related objects such as [pipe] and [makenote] do not respond to tempo messages.)
Pd doesn't have a global transport. You could make your own bars/beats counter and [send] those values around in the patch. (I'm not sure if you need a master scheduler -- if so, there's one in https://github.com/jamshark70/hjh-abs .)
This appears to handle the different subdivisions.
![pd-max-time-notation.png](/uploads/files/1715475444838-pd-max-time-notation.png)
24-0512-time-notation.pd
hjh