<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[playing video in pd and internal midi sound]]></title><description><![CDATA[<p>I have a max patch that I would like to transfer to pd and to run it on Raspberry pi.</p>
<p>The max patch is playing a video file that is manipulated ( its rate of playing and jumping frames) based on an input from an external mic). in addition to a midi voice that is playing via the internal sound engine of the computer using [makenote] object.</p>
<p>Is the two things above (playing and manipulating video and playing midi sounds) are possible on pd?</p>
<p>What should I look for?</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 06:55:51 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14719.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 May 2024 16:36:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Wed, 08 May 2024 16:36:07 GMT]]></title><description><![CDATA[<p>I have a max patch that I would like to transfer to pd and to run it on Raspberry pi.</p>
<p>The max patch is playing a video file that is manipulated ( its rate of playing and jumping frames) based on an input from an external mic). in addition to a midi voice that is playing via the internal sound engine of the computer using [makenote] object.</p>
<p>Is the two things above (playing and manipulating video and playing midi sounds) are possible on pd?</p>
<p>What should I look for?</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Wed, 08 May 2024 16:36:07 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Wed, 08 May 2024 17:27:20 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> Midi objects are part of Pure Data...... it has [makenote] even.<br />
To play video you will need an external library.<br />
The options are Gem (simple to use) and ofelia (powerful but you might need to write lua scripts to achieve what you want).<br />
They can be downloaded and installed by going to &quot;Help&quot; &quot;Find Externals&quot; in the PD top menu.</p>
<p>In Gem you will need the [pix_film] object to play the video.  It has a frame input.<br />
Right-click the object and select help and you will have a working video player in Pd.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 08 May 2024 17:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Thu, 09 May 2024 02:44:04 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> said:</p>
<blockquote>
<p>In Gem you will need the [pix_film] object to play the video.  It has a frame input.</p>
</blockquote>
<p>Be aware though, random frame access in [pix_film] can be slow if the video is high-resolution, and if it has a large gap between keyframes. I had some luck with using ffmpeg to re-encode with smaller frame sizes and a key frame every other frame (key frames are big, so this could make a larger video file).</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/3</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 09 May 2024 02:44:04 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Thu, 09 May 2024 03:51:22 GMT]]></title><description><![CDATA[<p>Thanks you both,<br />
I hav downloaded the Gem library and place it in my search path:</p>
<p><img src="/uploads/files/1715226637489-screen-shot-2024-05-09-at-6.49.59.png" alt="Screen Shot 2024-05-09 at 6.49.59.png" class="img-responsive img-markdown" /></p>
<p>but for some reason I'm getting this error:</p>
<p><img src="/uploads/files/1715226680619-screen-shot-2024-05-09-at-6.50.58.png" alt="Screen Shot 2024-05-09 at 6.50.58.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/4</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Thu, 09 May 2024 03:51:22 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Thu, 09 May 2024 03:53:48 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/whale-av">@whale-av</a> said:</p>
<blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> Midi objects are part of Pure Data...... it has [makenote] even.</p>
</blockquote>
<p>In Max MSP when using Mac/pc the [makenote] object is using the internal sound engine of the computer(?) and therefore playing a sound. do you know if this will be the same with Raspberry pi 2 ?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/5</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Thu, 09 May 2024 03:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Thu, 09 May 2024 22:55:05 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> said:</p>
<blockquote>
<p>In Max MSP when using Mac/pc the [makenote] object is using the internal sound engine of the computer(?)</p>
</blockquote>
<p>No, [makenote] doesn't send any MIDI information out. It only generates data internally, inside Pd/Max.</p>
<p>It's [noteout] which uses some device. So this is what you would configure for the desired MIDI output.</p>
<p>But you'd also need to run something in Linux to play the MIDI sounds. There's no default &quot;GS wavetable&quot; in Linux. For that, I don't know, I always avoided default MIDI playback in Mac/PC. It might be easier to roll your own note player in Pd.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/6</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 09 May 2024 22:55:05 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Sat, 11 May 2024 14:22:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> said:</p>
<blockquote>
<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> said:</p>
<blockquote>
<p>In Max MSP when using Mac/pc the [makenote] object is using the internal sound engine of the computer(?)</p>
</blockquote>
<p>It might be easier to roll your own note player in Pd.</p>
</blockquote>
<p>Any example for a simple midi player in Pd?</p>
<p>Is there any transport and tempo object in PD same as in max?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/7</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Sat, 11 May 2024 14:22:56 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Sat, 11 May 2024 14:26:58 GMT]]></title><description><![CDATA[<p>Is there anyway to do this in pd? (8n 8nt 16n 16nt 4n 4nt)</p>
<p><img src="/uploads/files/1715437602520-screen-shot-2024-05-11-at-17.26.07.png" alt="Screen Shot 2024-05-11 at 17.26.07.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/8</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Sat, 11 May 2024 14:26:58 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Sun, 12 May 2024 00:58:22 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> said:</p>
<blockquote>
<p>Any example for a simple midi player in Pd?</p>
</blockquote>
<p>I'm not completely sure what you mean by &quot;simple MIDI player,&quot; but I'll assume you want some Linux software that will play General MIDI sounds.</p>
<p>AFAICS from a quick web search, you would probably have to install a GM soundfont, e.g. <code>sudo apt-get install fluid-soundfont-gm</code>, and play it using software such as FluidSynth.</p>
<p>On my system, it took a little hunting, but I found <code>/usr/share/sounds/sf2/FluidR3_GM.sf2</code> -- fluid, check, GM, check.</p>
<p>You'd probably have to connect Pd MIDI out to FluidSynth MIDI in. That should do it.</p>
<blockquote>
<p>Is there any transport and tempo object in PD same as in max?</p>
</blockquote>
<p>&quot;Same as Max&quot; -- well, no. Does Pd have its own way of handling tempo? Yes.</p>
<p>[metro] and [delay] objects respond to &quot;tempo&quot; messages -- see their help files. (Though unfortunately, some other timing-related objects such as [pipe] and [makenote] do <em>not</em> respond to tempo messages.)</p>
<p>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 <a href="https://github.com/jamshark70/hjh-abs" rel="nofollow">https://github.com/jamshark70/hjh-abs</a> .)</p>
<p>This appears to handle the different subdivisions.</p>
<p><img src="/uploads/files/1715475444838-pd-max-time-notation.png" alt="pd-max-time-notation.png" class="img-responsive img-markdown" /></p>
<p><a href="/uploads/files/1715475495968-24-0512-time-notation.pd">24-0512-time-notation.pd</a></p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/9</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Sun, 12 May 2024 00:58:22 GMT</pubDate></item><item><title><![CDATA[Reply to playing video in pd and internal midi sound on Thu, 16 May 2024 18:03:05 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/ddw_music">@ddw_music</a> Thanks for that example!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14719/playing-video-in-pd-and-internal-midi-sound/10</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Thu, 16 May 2024 18:03:05 GMT</pubDate></item></channel></rss>