<?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[Using OSC to trigger an oscillator, how do i do it? Help!]]></title><description><![CDATA[<p>I'm quite new to pd at the moment.</p>
<p>Currently I have a pd receiving OSC messages on port 5001 from Processing, the problem is is that i can't seem to make the messages trigger an oscillator, or anything for that matter.</p>
<p>What is the problem? I'm a bit unfamiliar with the OSC protocol in general, is it a problem with the messages I'm sending in Processing or is it a pd problem?</p>
<p>I sometimes get an error saying &quot;error; trigger can only convert 's' to 'b' or 'a'&quot;. I'm just so confused! someone help!</p>
<p>cron12</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 10:02:22 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/7300.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Apr 2013 17:15:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Sun, 14 Apr 2013 17:15:13 GMT]]></title><description><![CDATA[<p>I'm quite new to pd at the moment.</p>
<p>Currently I have a pd receiving OSC messages on port 5001 from Processing, the problem is is that i can't seem to make the messages trigger an oscillator, or anything for that matter.</p>
<p>What is the problem? I'm a bit unfamiliar with the OSC protocol in general, is it a problem with the messages I'm sending in Processing or is it a pd problem?</p>
<p>I sometimes get an error saying &quot;error; trigger can only convert 's' to 'b' or 'a'&quot;. I'm just so confused! someone help!</p>
<p>cron12</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Sun, 14 Apr 2013 17:15:13 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Sun, 14 Apr 2013 23:08:27 GMT]]></title><description><![CDATA[<p>the best way to get help is to post your patch.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/2</guid><dc:creator><![CDATA[baptiste_c]]></dc:creator><pubDate>Sun, 14 Apr 2013 23:08:27 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Mon, 15 Apr 2013 13:53:49 GMT]]></title><description><![CDATA[<p>yeah, exactly... &quot;trigger an oscillator&quot; is not exactly terminology that most of us know how to deal with <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/wink.png" title=";-)" alt=";-)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/3</guid><dc:creator><![CDATA[mod]]></dc:creator><pubDate>Mon, 15 Apr 2013 13:53:49 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Mon, 15 Apr 2013 22:05:32 GMT]]></title><description><![CDATA[<p>ok so here is my patch, what i essentially want is to send random frequencies to the synth every time the bang is triggered, but i want them to be in the same key. As I said, I'm really new to Pd and don't really know what i'm doing.</p>
<p>Any advice would be great!</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/Synth_Prototype_1.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/Synth_Prototype_1.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/4</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Mon, 15 Apr 2013 22:05:32 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Mon, 15 Apr 2013 23:27:50 GMT]]></title><description><![CDATA[<p>ok...well, it's now a much bigger question if you add all that stuff in, but here are some tips:</p>
<p>0 2 4 5 7 9 11</p>
<p>that's what a major scale looks like in terms of intervals from the root note. (sorry if my terminology is off a bit). So, you can write those into a table. Firstly then, create the table:</p>
<p>(you need the leading zero there to tell the table to write from the beginning)</p>
<p>anyway... i have put this in an edit of your patch, so you should see the idea. Also, that makenote was basically not doing anything the way you had it set up, so it has been removed.</p>
<p>As long as you are getting data IN from the [udpreceive] object, then if you just use that gui bang, or preferably replace it with a [t b] object, then whatever comes in will be converted to a bang. There shouldn't be a problem with that. If you need to filter note on/off messages or something like that, then you can just insert a simple conditional after the [unpackOSC] object.</p>
<p>Good luck, and come back when you get stuck again. :0)</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/Synth_Prototype_edit.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/Synth_Prototype_edit.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/5</guid><dc:creator><![CDATA[mod]]></dc:creator><pubDate>Mon, 15 Apr 2013 23:27:50 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Tue, 16 Apr 2013 10:10:12 GMT]]></title><description><![CDATA[<p>This is great! thanks a lot! I'll post back if i need anymore help.</p>
<p>Really appreciate it!<br />
cron12</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/6</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Tue, 16 Apr 2013 10:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Tue, 16 Apr 2013 11:57:36 GMT]]></title><description><![CDATA[<p>Just another quick question.</p>
<p>Is it possible to use similar methods to trigger bangs that send random velocities and duration's for the note as well?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/7</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Tue, 16 Apr 2013 11:57:36 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Tue, 16 Apr 2013 13:50:57 GMT]]></title><description><![CDATA[<p>yes of course.</p>
<p>in those cases, you don't need the table, because the note scale is not important... so you can just use something like</p>
<p>[random 1000]<br />
|<br />
[+ 50]</p>
<p>to give a random value between 50 and 1050 (which you would then use for millisecond timing of the duration)</p>
<p>and you could do something similar for velocity as well..</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/8</guid><dc:creator><![CDATA[mod]]></dc:creator><pubDate>Tue, 16 Apr 2013 13:50:57 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Tue, 16 Apr 2013 18:17:44 GMT]]></title><description><![CDATA[<p>Remember that OSC messages are formatted like web addresses in a way. Like a tree system with subfolders. You have nothing between your unpackOSC object and the objects your OSC messages are supposed to manipulate. This is where you should use routeOSC or something similar in the same way you would use the vanilla PD object &quot;route&quot;. Your bang needs to be listening to something specific (I'm assuming) and right now you're feeding it everything that is coming in on port 5001. It's difficult to troubleshoot further without knowing how your OSC messages are parsed in Processing.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/9</guid><dc:creator><![CDATA[Advoc]]></dc:creator><pubDate>Tue, 16 Apr 2013 18:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Tue, 16 Apr 2013 20:57:31 GMT]]></title><description><![CDATA[<p>I can include my Processing sketch as well if it helps</p>
<p>The sketch is essentially a 2 balls in window, and what i'm trying to do is use a tangible tracking interface (lookup 'Trackmate') in order to use objects on a acrylic plexi glass surface to control one of the balls to bounce the second ball around the window (like air hockey) triggering sounds in pd every time the second ball touches collides with the sides of the window</p>
<p>i'll include my Processing sketch but i'm not sure whether everything in it will make sense if you're not familiar with the Trackmate initiative and the LusidOSC protocol layer.</p>
<p>here it is anyway, thanks so much for all the help!!!</p>
<p>cron 12</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/GameAtt1.pde" rel="nofollow">http://www.pdpatchrepo.info/hurleur/GameAtt1.pde</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/10</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Tue, 16 Apr 2013 20:57:31 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Wed, 17 Apr 2013 16:42:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/mod">@mod</a> said:</p>
<blockquote>
<p>yes of course.</p>
<p>in those cases, you don't need the table, because the note scale is not important... so you can just use something like</p>
<p>[random 1000]<br />
|<br />
[+ 50]</p>
<p>to give a random value between 50 and 1050 (which you would then use for millisecond timing of the duration)</p>
<p>and you could do something similar for velocity as well..</p>
</blockquote>
<p>Alright so, this is what i have in my patch now (included). How would i implement this to trigger random durations in the rest of my patch?</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/Synth_Prototype_edit.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/Synth_Prototype_edit.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/11</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Wed, 17 Apr 2013 16:42:24 GMT</pubDate></item><item><title><![CDATA[Reply to Using OSC to trigger an oscillator, how do i do it? Help! on Wed, 17 Apr 2013 16:58:20 GMT]]></title><description><![CDATA[<p>never mind actually, I've done it!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/7300/using-osc-to-trigger-an-oscillator-how-do-i-do-it-help/12</guid><dc:creator><![CDATA[cron12]]></dc:creator><pubDate>Wed, 17 Apr 2013 16:58:20 GMT</pubDate></item></channel></rss>