<?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[Help needed with problem in creating a grain (somewhat)]]></title><description><![CDATA[<p><a href="/uploads/files/1733991191382-pianos-by-jtwayne-7-174717.wav">pianos-by-jtwayne-7-174717.wav</a> <a href="/uploads/files/1733991191381-grain-creation.pd">GRAIN CREATION.pd</a></p>
<p>Hello everyone,<br />
I have a little experience in PureData and  am trying to create a make a pd file (GRAIN CREATION.pd) that can be used to create a singular grain. In order to test it, I decided to  have the whole buffer be read (from start to finish in the duration of the wav file it contains). Theoritically the whole wav (pianos-by-jtwayne-7-174717.wav) should be played, but only a very brief sound is heard and then it quickly stops. I suspect something is wrong with the pack item and the message with the 3 variables, but i just dont get what... Could anyone please find what's wrong?<br />
thank you in advance,<br />
Marios</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:14:50 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/14962.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 12 Dec 2024 08:21:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Help needed with problem in creating a grain (somewhat) on Thu, 12 Dec 2024 08:21:34 GMT]]></title><description><![CDATA[<p><a href="/uploads/files/1733991191382-pianos-by-jtwayne-7-174717.wav">pianos-by-jtwayne-7-174717.wav</a> <a href="/uploads/files/1733991191381-grain-creation.pd">GRAIN CREATION.pd</a></p>
<p>Hello everyone,<br />
I have a little experience in PureData and  am trying to create a make a pd file (GRAIN CREATION.pd) that can be used to create a singular grain. In order to test it, I decided to  have the whole buffer be read (from start to finish in the duration of the wav file it contains). Theoritically the whole wav (pianos-by-jtwayne-7-174717.wav) should be played, but only a very brief sound is heard and then it quickly stops. I suspect something is wrong with the pack item and the message with the 3 variables, but i just dont get what... Could anyone please find what's wrong?<br />
thank you in advance,<br />
Marios</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat</guid><dc:creator><![CDATA[lyric]]></dc:creator><pubDate>Thu, 12 Dec 2024 08:21:34 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed with problem in creating a grain (somewhat) on Thu, 12 Dec 2024 09:43:33 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lyric">@lyric</a> Changed some of the maths....... <a href="/uploads/files/1733996524897-grain.pd">grain.pd</a><br />
I hope it is self-explanatory.<br />
You will need to do a little more work if the grain should not start at 0 samples......<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 12 Dec 2024 09:43:33 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed with problem in creating a grain (somewhat) on Thu, 12 Dec 2024 10:18:00 GMT]]></title><description><![CDATA[<p>Thank you very much, i have no idea how i missed turning the mlsecs to secs before turning them into samples.<br />
Out of curiosity, why would it require more work to start at non 0 samples? I added the division with 1000 in my original file (in which the plus object is used to calculate the ending but not always the last sample) and it seems to be working fine by setting the starting sample and the duration. Am i missing something else?<br />
In any case, thank you<br />
Marios</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/3</guid><dc:creator><![CDATA[lyric]]></dc:creator><pubDate>Thu, 12 Dec 2024 10:18:00 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed with problem in creating a grain (somewhat) on Thu, 12 Dec 2024 10:30:38 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lyric">@lyric</a> I hadn't checked..... so my mistake.<br />
That is good news...!<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 12 Dec 2024 10:30:38 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed with problem in creating a grain (somewhat) on Thu, 12 Dec 2024 12:48:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lyric">@lyric</a> Here's an idea: at some point you may want to want to put a volume envelope on each grain--it helps with popping, and at higher frequency grain triggers it can filter out high frequencies. I've used cosine-shaped envelopes, but it could be anything you want. Anyway, grain envelopes would be easier to implement if you made [line~] go from 0 to 1  and then performed the start and end sample calculations after [line~] but before [tabread4~]. Now you can easily reuse that same &quot;normalized&quot; [line~] range to calculate your envelope. See what I'm sayin'?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/5</guid><dc:creator><![CDATA[jameslo]]></dc:creator><pubDate>Thu, 12 Dec 2024 12:48:59 GMT</pubDate></item><item><title><![CDATA[Reply to Help needed with problem in creating a grain (somewhat) on Thu, 12 Dec 2024 14:16:00 GMT]]></title><description><![CDATA[<p>Further to <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/jameslo">@jameslo</a> 's suggestion...... have a look at this...... <a href="https://forum.pdpatchrepo.info/topic/14301/add-delete-guard-points-of-an-array-for-4-point-interpolation-of-tabread4-ect" rel="nofollow">https://forum.pdpatchrepo.info/topic/14301/add-delete-guard-points-of-an-array-for-4-point-interpolation-of-tabread4-ect</a> .... from <a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/lacuna">@lacuna</a><br />
Long discussion here although a different topic....... <a href="https://forum.pdpatchrepo.info/topic/14299/question-about-tabread4" rel="nofollow">https://forum.pdpatchrepo.info/topic/14299/question-about-tabread4</a><br />
[tabread4~] interpolates... so adding the guard points to the array interpolates as the playback wraps.... and there will be no clicks....<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/14962/help-needed-with-problem-in-creating-a-grain-somewhat/6</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Thu, 12 Dec 2024 14:16:00 GMT</pubDate></item></channel></rss>