<?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[Audio input to OSC problem]]></title><description><![CDATA[<p>Hey guys, havent used PD since a while and not really fluent in it, I am bit lost trying to port a working Max patch to PD. Its basically a simple Audio-Input-To-OSC patch. The Max patch works fine and sending data to Processing. But I cant make it work with PD. Does anyone see the problem as pictured below? Thanks a lot</p>
<p>PS: I am using PD Extended 0.43.4, but that shouldnt be a problem right?</p>
<p>Heres the PD patch:</p>
<p><img src="/uploads/files/1490972985722-bildschirmfoto-2017-03-31-um-13.35.31.png" alt="Bildschirmfoto 2017-03-31 um 13.35.31.png" class="img-responsive img-markdown" /></p>
<p>Heres the Max patch:</p>
<p><img src="/uploads/files/1490973028906-bildschirmfoto-2017-03-31-um-13.36.59.png" alt="Bildschirmfoto 2017-03-31 um 13.36.59.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 19:33:50 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/10652.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 31 Mar 2017 15:19:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Audio input to OSC problem on Fri, 31 Mar 2017 15:19:28 GMT]]></title><description><![CDATA[<p>Hey guys, havent used PD since a while and not really fluent in it, I am bit lost trying to port a working Max patch to PD. Its basically a simple Audio-Input-To-OSC patch. The Max patch works fine and sending data to Processing. But I cant make it work with PD. Does anyone see the problem as pictured below? Thanks a lot</p>
<p>PS: I am using PD Extended 0.43.4, but that shouldnt be a problem right?</p>
<p>Heres the PD patch:</p>
<p><img src="/uploads/files/1490972985722-bildschirmfoto-2017-03-31-um-13.35.31.png" alt="Bildschirmfoto 2017-03-31 um 13.35.31.png" class="img-responsive img-markdown" /></p>
<p>Heres the Max patch:</p>
<p><img src="/uploads/files/1490973028906-bildschirmfoto-2017-03-31-um-13.36.59.png" alt="Bildschirmfoto 2017-03-31 um 13.36.59.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem</guid><dc:creator><![CDATA[Smartronics]]></dc:creator><pubDate>Fri, 31 Mar 2017 15:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Fri, 31 Mar 2017 16:05:34 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smartronics">@Smartronics</a> Extended still works perfectly as ever.<br />
Your patch should work if you just bang the [connect 127.0.0.1 7400( message, and [connect localhost 7400( works as well.  You should remove all the other objects and messages on the right side.  The [route text] object is stopping the connect message from getting a bang.<br />
Here is a test patch for you...... if it works then you should be able to see why yours doesn't...<br />
<a href="/uploads/files/1490974862889-osc_routing.pd">osc_routing.pd</a><br />
P.S. is audio turned on?<br />
Connect a [print] object to outlets of objects/messages/etc to see what messages are getting through.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 31 Mar 2017 16:05:34 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Fri, 31 Mar 2017 17:03:41 GMT]]></title><description><![CDATA[<p>Hey David, thanks for your quick reply, but I am afraid, I cant make it work. Yes Audio/DSP is on, I can hear myself and see it via the VU Meter. You are saying I dont need all that stuff on the right site? Like I said I just ported a Max Sketch which worked fine. But not quite sure about PD. I downloaded it somewhere a while ago. You think some of the stuff within the patch doesnt make sense? Especially that stuff on the right?</p>
<p>Old<br />
<a href="/uploads/files/1490979613214-audio-input-to_osc.pd">Audio-Input-to_OSC.pd</a></p>
<p>My try<br />
<a href="/uploads/files/1490979644419-audio-input-to_osc_latest.pd">Audio-Input-to_OSC_latest.pd</a></p>
<p>Thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/3</guid><dc:creator><![CDATA[Smartronics]]></dc:creator><pubDate>Fri, 31 Mar 2017 17:03:41 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Fri, 31 Mar 2017 20:53:48 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smartronics">@Smartronics</a> I had not spotted the error on the left side..... sorry.  The stuff on the right was unnecessary and wrong for Pure Dara.<br />
Yes, it is always best to post the patch.<br />
You cannot have spaces in Pure Data [prepend] as the second &quot;argument&quot; is invalid, so [prepend send /trigger] will only prepend &quot;send&quot; and /trigger will be dropped.<br />
Here you go..........<br />
<a href="/uploads/files/1490985319335-sender2.pd">sender2.pd</a><br />
and you can also do it like this where the $1 variable is replaced by your value......<br />
<a href="/uploads/files/1490985723136-sender3.pd">sender3.pd</a><br />
other errors fixed (maybe not all !!)<br />
<a href="/uploads/files/1490986196668-sender4.pd">sender4.pd</a><br />
more errors (differences with max) fixed....<br />
<a href="/uploads/files/1490993626600-sender5.pd">sender5.pd</a><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 31 Mar 2017 20:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Mon, 03 Apr 2017 12:28:16 GMT]]></title><description><![CDATA[<p>Hey David, thanks a lot, especially for all the examples. Everything works fine now. I also got rid off the &quot;/trigger&quot; and its related objects, I probably just need the volume data. I connected it to Processing and it works fine, just find a way to scale things now.  One thing, when I turn off DSP, Processing is getting negative values. Why is that? I mean shouldnt it get nothing? When I disconnect the oscx obejct, processing gets nothing and stops printing values. Its a bit weird and I dont get why this is happening!?</p>
<p>Thanks <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/5</guid><dc:creator><![CDATA[Smartronics]]></dc:creator><pubDate>Mon, 03 Apr 2017 12:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Mon, 03 Apr 2017 17:01:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smartronics">@Smartronics</a> Ah!...... yes, the -99 at the bottom of the meter fooled me, and I forgot that &quot;no output&quot; is actually -199.....<br />
<img src="/uploads/files/1491238310444-capture.jpg" alt="Capture.JPG" class="img-responsive img-markdown" /><br />
It will still keep sending -0.00 though, so if your ranges are now set to your satisfaction it would probably be best just to use a [spigot] to stop the messages when the dsp is off.<br />
[r pd] receives messages from Pd, and they can be filtered and routed like this......... <a href="/uploads/files/1491238748444-sender6.pd">sender6.pd</a><br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/6</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Mon, 03 Apr 2017 17:01:27 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Tue, 04 Apr 2017 16:04:53 GMT]]></title><description><![CDATA[<p>no prob and thanks for letting me know, but do you think thats a good idea with +199? I mean -60 is almost silence, so wouldnt it be better to scale it with autoscale or something else to get better results? I was looking for an object to scale the value which are coming from the vu-meter to a new number that is more useful for my project. I came across autoscale and implemented it into the patch. What you think?</p>
<p><img src="/uploads/files/1491321566004-bildschirmfoto-2017-04-04-um-08.57.16.png" alt="Bildschirmfoto 2017-04-04 um 08.57.16.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/7</guid><dc:creator><![CDATA[Smartronics]]></dc:creator><pubDate>Tue, 04 Apr 2017 16:04:53 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Tue, 04 Apr 2017 19:51:01 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smartronics">@Smartronics</a> No, 199 is not necessarily a good idea.... I was just admitting my mistake.<br />
If [autoscale] works for you then it is a good idea!<br />
But it will output &quot;1&quot; straight away with it's first received input, before is finds it's max/min.  You could try sending the message [load -60 1( by a loadbang to it's left inlet so that it starts with the (an) expected range...... and so in a more gentle fashion. (an initial range of -60 &gt; 1 is a guess!).<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/8</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Tue, 04 Apr 2017 19:51:01 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Wed, 05 Apr 2017 09:35:16 GMT]]></title><description><![CDATA[<p>mmhhh, not quite sure what you  mean with  &quot;message [load -60 1( by a loadbang to it's left inlet so that it starts with the (an) expected range...... and so in a more gentle fashion. (an initial range of -60 &gt; 1 is a guess!).&quot;</p>
<p>Could you please explain it again <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>thanks</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/9</guid><dc:creator><![CDATA[Smartronics]]></dc:creator><pubDate>Wed, 05 Apr 2017 09:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Wed, 05 Apr 2017 12:38:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smartronics">@Smartronics</a> When the [autoscale 0 1] object is created the very first input it receives will give an output of &quot;1&quot; and as it receives lots of different values it will make the range of those values fit the range 0 &gt;1.  If you want it to output 0 &gt; 1 relative to the expected range of input you can give it an initial range with the load( message.<br />
Sorry, it is a bit hard to explain....<br />
[autoscale 0 1] will give the following values (approximately?)<br />
0 &gt;&gt; 0<br />
0.0001 &gt;&gt; 1<br />
6 &gt;&gt; 1<br />
3 &gt;&gt; 0.5<br />
20 &gt;&gt; 1<br />
10 &gt;&gt; 0.5<br />
but with a [load 0 20( message received before the start it will give..<br />
0 &gt;&gt; 0<br />
0.0001 &gt;&gt; 0.000005<br />
6 &gt;&gt; 0.3<br />
3 &gt;&gt; 0.15<br />
20 &gt;&gt; 1<br />
10 &gt;&gt;0.5<br />
which is more like what you might expect, an (sort of) a softer start.<br />
Also, as you increase the input, without the load message, you will get a whole stream of &quot;1&quot;'s.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/10</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 05 Apr 2017 12:38:59 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Wed, 05 Apr 2017 13:18:50 GMT]]></title><description><![CDATA[<p>ah ok, got it now, thats a great way of scaling and I didnt know that I could do it like this, thanks a lot <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/grinning.png" title=":)" alt=":)" /></p>
<p>so basically like this here, right? (please see photo)</p>
<p>load -50 0 .... message</p>
<p>goes directly into the left inlet of autoscale, then I can adjust it according to the input or the desired goal? right?</p>
<p><img src="/uploads/files/1491398185136-bildschirmfoto-2017-04-05-um-15.12.30.png" alt="Bildschirmfoto 2017-04-05 um 15.12.30.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/11</guid><dc:creator><![CDATA[Smartronics]]></dc:creator><pubDate>Wed, 05 Apr 2017 13:18:50 GMT</pubDate></item><item><title><![CDATA[Reply to Audio input to OSC problem on Wed, 05 Apr 2017 16:10:21 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/smartronics">@Smartronics</a> Yes....... if you right-click [autoscale] and click help then you have some more info.  The same is true for most objects and externals.<br />
You can also fix the range with a &quot;0&quot; to the 4th inlet.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/10652/audio-input-to-osc-problem/12</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Wed, 05 Apr 2017 16:10:21 GMT</pubDate></item></channel></rss>