<?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 10 tracks in sync]]></title><description><![CDATA[<p>for a sound installation I have 10 tracks at the same length that should run in loop. each track is output to a difference output in the sound card.<br />
How can I make sure all track will start at the same time when Pi is turned on?</p>
<p>If I give the message [1) to all the sfplay2~ objects they should all start at the same time? or it might have some delays ?</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 16:19:27 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14473.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Sep 2023 08:22:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 08:24:44 GMT]]></title><description><![CDATA[<p>for a sound installation I have 10 tracks at the same length that should run in loop. each track is output to a difference output in the sound card.<br />
How can I make sure all track will start at the same time when Pi is turned on?</p>
<p>If I give the message [1) to all the sfplay2~ objects they should all start at the same time? or it might have some delays ?</p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Thu, 14 Sep 2023 08:24:44 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 11:05:42 GMT]]></title><description><![CDATA[<p>I don't know the [sfplay2~] object, but I guess you can do it with Pd's native [readsf~]. Just make sure you give a few seconds to all [readsf~] objects to load their tracks, before you start playing. Just read its help patch.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/2</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Thu, 14 Sep 2023 11:05:42 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 12:17:45 GMT]]></title><description><![CDATA[<p>your plan should work with sfplay 2 if all instances get the same message at the same time, (such as 1 bang to 1 message to 10 sfplay2)<br />
its easy enough to try out, give it a whirl!</p>
<p>I would put a delay between a loadbang that loads the files, and the one that plays them... to give some loading time beforehand.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/3</guid><dc:creator><![CDATA[caska]]></dc:creator><pubDate>Thu, 14 Sep 2023 12:17:45 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 14:19:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> said:</p>
<blockquote>
<p>If I give the message [1) to all the sfplay2~ objects they should all start at the same time? or it might have some delays ?</p>
</blockquote>
<p>No delays. sf-play2~ is reading from memory, so each one will start instantaneously.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/4</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Thu, 14 Sep 2023 14:19:32 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 15:39:29 GMT]]></title><description><![CDATA[<p>Thanks! will use sfplay2~ then! any difference between using send and receive for starting the instances or between connecting wires?</p>
<p>left and right sides are giving the same results?</p>
<p><img src="/uploads/files/1694705964751-screen-shot-2023-09-14-at-18.38.56.png" alt="Screen Shot 2023-09-14 at 18.38.56.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/5</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Thu, 14 Sep 2023 15:39:29 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 17:47:56 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> As far as pd is concerned a send and a receive is the same as a wire. The symbols used to name the send and receive may possibly cause things to slow down but you would need thousands of unique send and receives for that to be an issue and I am not sure if statically named send and receives actually have symbols which end up in the hash table. For all practical purposes, they are the same as wires and no faster or slower, but they can obscure the order of execution in surprising ways, especially when [value] is involved.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/6</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Thu, 14 Sep 2023 17:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 19:57:17 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/oid">@oid</a> all symbols end up in the hash table, the way send works is by having a linked list of receiver objects in the send name symbol itself iirc.<br />
However when you use <code>[send]</code> it already has a pointer to the symbol (and list) so it doesn't have to look it up in the table.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/7</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Thu, 14 Sep 2023 19:57:17 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 20:22:22 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik.ar</a> So &quot;here&quot; in <code>[send here]</code> is a symbol even though it was never in a [symbol] or [list]? The names in named objects are implicitly symbols? In <code>[1 2 3 here(</code> here is a symbol and in the hash table because starting with a number makes that a list so &quot;here&quot; is a symbol but what about <code>[this here(</code> is an any (is that the same as a text/comment?) so does not end up in the hash table? I have been hoping that idea for <code>[pdcontrol]</code> to get the number of symbols in the hash table would happen so I could finally get a solid grasp on this.</p>
<p>Edit: Also, do symbols ever get removed from the hash table? If I delete ever occurrence of a symbol does that mean it is no longer in the hash table? Do symbols get removed when the patch that created them is closed?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/8</guid><dc:creator><![CDATA[oid]]></dc:creator><pubDate>Thu, 14 Sep 2023 20:22:22 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Thu, 14 Sep 2023 21:40:13 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> You could also make a 10 track wav file and play that back.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/9</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Thu, 14 Sep 2023 21:40:13 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Fri, 15 Sep 2023 01:11:13 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/oid">@oid</a> basically everything (including 'anything' selectors) that can't be parsed into a float or special symbol (like dollarsign numbers) is converted to a symbol and stored in the table. That includes things in message boxes<br />
afaict that includes comments too currently. I don't think symbols get removed from the hash table either (as symbol instances aren't reference counted or anything)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/10</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Fri, 15 Sep 2023 01:11:13 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Fri, 15 Sep 2023 07:53:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> That is sound interesting, but each tracj should be play independently from difference output of the dac</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/11</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Fri, 15 Sep 2023 07:53:23 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Fri, 15 Sep 2023 09:48:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> have you given this a try? Or are you asking to eliminate the possibility of an unpleasant surprise? Because I think what you need to do is very simple, and it does make me wander what triggers your query. Also, what <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a>  proposes can also work, as a 10-track audio file will be played from 10 different outlets in your sound file player object, so you can easily route them to any [dac~] inlet you want.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/12</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Fri, 15 Sep 2023 09:48:52 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Fri, 15 Sep 2023 10:43:03 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/alexandros">@alexandros</a><br />
I just gave it a try now and it is working just fine using the sf-play2~ object. I'm using [send] and [receive] and see no difference between this and conneting the wires straight to the objects</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/13</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Fri, 15 Sep 2023 10:43:03 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Fri, 15 Sep 2023 12:09:21 GMT]]></title><description><![CDATA[<p>Of course you see no difference, since the triggering of the [sfplay2~] objects happens at the control rate, so whether wired or wireless, all messages will reach their destinations before the next sample block starts. Just bare in mind that Pd computes all its audio objects in blocks of samples (64 samples per block, by default), and when done, it makes all the control rate calculations (all objects without the tilde (~)), so your starting messages will all go through in between the same two blocks of samples.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/14</guid><dc:creator><![CDATA[alexandros]]></dc:creator><pubDate>Fri, 15 Sep 2023 12:09:21 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Wed, 27 Sep 2023 19:10:37 GMT]]></title><description><![CDATA[<p>Does any one work with <a href="https://www.esi-audio.com/products/gigaportex/" rel="nofollow">this</a> interface and pd /pi combination?</p>
<p>I will get this card only in few days and for the meanwhile I was wondering if:</p>
<p>Does pi / pd will recognize it immediately or do I need to instal drivers?<br />
Will all the 8 output will be available? or do I need to define something in the pd setting?<br />
I'm using this message to setup the interface setting (marked in green):<br />
<img src="/uploads/files/1695837832313-screen-shot-2023-09-27-at-21.03.30.png" alt="Screen Shot 2023-09-27 at 21.03.30.png" class="img-responsive img-markdown" /></p>
<p>Thanks!</p>
<p>edit:<br />
If the files I'm playing are exported at 48000/24 bit - do I need to change the sample rate of pd to 48000 instead of the original 44100, right?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/15</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Wed, 27 Sep 2023 19:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Wed, 27 Sep 2023 20:42:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> Yes you will need to change the sample rate or they will play at the wrong speed.<br />
There used to be...... and must? still be a website for soundcard compatibility with the RPI.<br />
If the RPI can connect to the soundcard then the pins (connections) will appear in the Pd media settings.<br />
There are a few very active Raspberry forums on the web...... a good place to search......<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/16</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 27 Sep 2023 20:42:24 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Fri, 29 Sep 2023 04:53:30 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> Yes you will need to change the sample rate or they will play at the wrong speed.</p>
</blockquote>
<p>[sf-play~] and [sf-play2~] automatically scale playback rate so that rate 1.0 is the file's normal sounding rate... as in it's a properly functioning sample player wherein the user isn't responsible for internal implementation details <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title="wink" alt=":wink:" /></p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/17</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Fri, 29 Sep 2023 04:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Sat, 30 Sep 2023 08:56:33 GMT]]></title><description><![CDATA[<p>I was wandering if it makes any difference if the audio files will be play from external <a href="https://www.amazon.com/SanDisk-Cruzer-Blade-8GB-SDCZ50-008G/dp/B07D7WFVK5/ref=sr_1_15?keywords=sandisk+flash+drive&amp;qid=1696062103&amp;sr=8-15" rel="nofollow">usb stick</a>  rather then from the pi itself ?</p>
<p>the thing behind the thought to use external usb stick is that it will be much easier to change the audio file when needed - just upload and replace new audio files with the same name. so no need to connect the pi to a screen/mouse/keyboard and replace files rather just put new ones on usb stick.</p>
<p>so is that can effect the performance of the patch? (slower reading from stick?)</p>
<p>thanks</p>
<p>edit: the above is not option because when I first power the pi it won't recognize the usb stick fast enough so the pd patch is not &quot;finding&quot; the files. only if I manually restart the patch it is working</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/18</guid><dc:creator><![CDATA[KMETE]]></dc:creator><pubDate>Sat, 30 Sep 2023 08:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Sat, 30 Sep 2023 14:15:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/kmete">@KMETE</a> Try delaying the loading of the files in the patch....... [loadbang] [delay 5000 or some suitable value ]<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/19</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 30 Sep 2023 14:15:21 GMT</pubDate></item><item><title><![CDATA[Reply to playing 10 tracks in sync on Sun, 01 Oct 2023 03:18:09 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> Try delaying the loading of the files in the patch....... [loadbang] [delay 5000 or some suitable value ]<br />
David.</p>
</blockquote>
<p>Just to show how that's done with my [stereofile] abstraction (already noted in the thread that this is being used in kmete's patch):</p>
<p><img src="/uploads/files/1696130069180-pd-delayed-load.png" alt="pd-delayed-load.png" class="img-responsive img-markdown" /></p>
<p>BTW for this approach: I just fixed a bug where it would try to load even if no path was given. Not a catastrophic issue but it would print a spurious error. So you should update from <a href="https://github.com/jamshark70/hjh-abs" rel="nofollow">https://github.com/jamshark70/hjh-abs</a> -- now [stereofile] will await instructions instead of prematurely complaining.</p>
<p>hjh</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14473/playing-10-tracks-in-sync/20</guid><dc:creator><![CDATA[ddw_music]]></dc:creator><pubDate>Sun, 01 Oct 2023 03:18:09 GMT</pubDate></item></channel></rss>