<?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[Auto recording and playback?]]></title><description><![CDATA[<p>Hello,</p>
<p>I want to make a simple patch which starts to record automatically when the signal of the mic reaches a certain threshold (when you speak for ex.), which stops to record when the signals goes back below the threshold (when you stop speaking) and automatically playback the recorded signal. Basically a delay which starts only when the signal stops (when you finish to speak).</p>
<p>Could you suggest a good and simple method or a discussion with a similar content?</p>
<p>I hope it's all clear,<br />
thanks in advance!</p>
<p>p.s. I tried using the 'threshold' object and 'array' (tabwrite, tabplay, etc.) but of course the array length has to be set at the beginning and it doesn't adapts to the length of the recorded signal)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 04:12:31 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11162.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Dec 2017 17:00:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto recording and playback? on Wed, 13 Dec 2017 17:43:20 GMT]]></title><description><![CDATA[<p>Hello,</p>
<p>I want to make a simple patch which starts to record automatically when the signal of the mic reaches a certain threshold (when you speak for ex.), which stops to record when the signals goes back below the threshold (when you stop speaking) and automatically playback the recorded signal. Basically a delay which starts only when the signal stops (when you finish to speak).</p>
<p>Could you suggest a good and simple method or a discussion with a similar content?</p>
<p>I hope it's all clear,<br />
thanks in advance!</p>
<p>p.s. I tried using the 'threshold' object and 'array' (tabwrite, tabplay, etc.) but of course the array length has to be set at the beginning and it doesn't adapts to the length of the recorded signal)</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback</guid><dc:creator><![CDATA[Riccardo]]></dc:creator><pubDate>Wed, 13 Dec 2017 17:43:20 GMT</pubDate></item><item><title><![CDATA[Reply to Auto recording and playback? on Wed, 13 Dec 2017 18:24:42 GMT]]></title><description><![CDATA[<p>So the threshold part is working? On the array size side,.. basically have a [metro] poll [timer] at regular short intervals and if you're still recording and you're within say 10 ms of the end of the array (which you will know from [timer], use [array size] to add on say,... 5 more seconds of array (old size which you can get from banging [array size], +  (5 seconds * 44100)). Then when you stop recording, you can turn off the [metro] and poll [timer] one last tie to get the length of what you actually recorded. then use tabplay or whatever to just play that amount of the array.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback/2</guid><dc:creator><![CDATA[dxk]]></dc:creator><pubDate>Wed, 13 Dec 2017 18:24:42 GMT</pubDate></item><item><title><![CDATA[Reply to Auto recording and playback? on Thu, 14 Dec 2017 02:38:55 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/riccardo">@Riccardo</a> if it's ok to use externals, you could write the signal to a very big table with ipoke~ (<a href="https://forum.pdpatchrepo.info/topic/6505/ipoke-variable-speed-writer-ported-to-pd" rel="nofollow">https://forum.pdpatchrepo.info/topic/6505/ipoke-variable-speed-writer-ported-to-pd</a>), connect threshold to cyclone/count~ to determine how many samples long the recording was, and then read the table back with phasor~ multiplied by the length of the recording.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11162/auto-recording-and-playback/3</guid><dc:creator><![CDATA[weightless]]></dc:creator><pubDate>Thu, 14 Dec 2017 02:38:55 GMT</pubDate></item></channel></rss>