Hi Roman, list!<br><br>Attached is my aproach to generate masked-phasor, as suggested.<br>But in this way I can only obtain 1 of N phasor cycles.<br>How could I obtain a phasor with a M:N cycles relation, like that (2:2):<br>
<br><span class="e" id="q_11797c7a3466aa9e_1"> /| /| /| /| /| /| /| /| /| /|<br> / | / | / | / | / | / | / | / | / | / |<br>/ |/ |_____/ |/ |_____/ |/ |_____/ |/ |_____/ |/ |____
</span> <br><br><br><br><div><span class="gmail_quote">2008/1/20, raul diaz <<a href="mailto:raul.lete@gmail.com">raul.lete@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Roman!<br><br>I'm sorry for my lack of information...<br><br>I'm making a pulsar granular synthesis patch based on Curtis Roads's Microsound ideas using a patch from nullpointer (<a href="http://www.nullpointer.co.uk/-/pd.htm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.nullpointer.co.uk/-/pd.htm</a>).<br>So, the phasor is my pulsar frequency reference, and I want to mask the output of pulsar granular synthesizer.<br>In this way a 1:3 mask will allow to hear 1 of each 4 pulsar particles.
<br>I don't really need a square wave, I prefer to obtain a number (0/1) each phasor cycle to multiply with pulsar granular synthesize output.<br>But, maybe your idea could work, using directly a masked phasor to synthesize pulsar particles, instead of mask synthesized pulsar particles.
<br><br>I will try this way, but anyway i'm curious about [avg~] behaviour. What's wrong on my "phasor-cycles-counter" patch?<br><br>Thanks for your suggestions!<br><br>Saludos!<div><span class="e" id="q_11797c7a3466aa9e_1">
<br><br><br><div><span class="gmail_quote">
2008/1/20, Roman Haefeli <<a href="mailto:reduzierer@yahoo.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">reduzierer@yahoo.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi raul<br><br>i am still unsure about your initial problem. probably the solution is<br>quite simple, but maybe you need to provide some more information. would<br>you like to use the rectangular wave to mask the phasor wave? so that
<br>your resulting wave would look like this :<br><br> /| /| /| /| /| /| /| /| /| /|<br> / | / | / | / | / | / | / | / | / | / |<br>/ |/ |____/ |/ |____/ |/ |____/ |/ |____/ |/ |____
<br><br>if your goal is to synthesize some customized waveform, it might be<br>easier to do it using [vline~] (have a look at the help patch). [vline~]<br>lets you practically compose any waveform, that consists only of
<br>
straight ramps (it might still be possible with curves, but certainly it<br>would be trickier).<br><br>roman<br><br><br>On Sun, 2008-01-20 at 14:55 +0100, raul diaz wrote:<br>> Thanks a lot for your suggestions!<br>>
<br>> I tried to make the mathematical comparation for phasor with [==~] and<br>> [avg~] and then a counter in order to count phasor cycles.<br>> But it doesn't work, it only count one. Did I make something wrong?
<br>><br>> Attached is the example patch.<br>><br>><br>><br>> 2008/1/20, Roman Haefeli <<a href="mailto:reduzierer@yahoo.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">reduzierer@yahoo.de
</a>>:<br>> On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
<br>> > Hi list!<br>> ><br>> > I need to convert a phasor into a square wave in this way:<br>> ><br>> > phasor:<br>> ><br>> > / / / / / /
<br>> > / | / | / | / | / | / |<br>> > / | / | / | / | / | / |<br>> > / |/ |/ |/ |/ |/ |<br>> >
<br>> > square (2:1):<br>> > ________ _________ _<br>> > | | | | |<br>> > | | | | |
<br>> > | |____| |____|<br>> ><br>> hi raul<br>><br>> when doing ascii art, the font and formatting you are using is<br>> critical
<br>
> for the correct appearance. in order to display your aa<br>> correctly in<br>> other people's email-client as well, choose 'plain text'<br>> instead of<br>> 'html' format and a monospace font type while typing.
<br>><br>><br>> to your problem:<br>><br>> you could divide the phasor frequency by three, so that one<br>> period of<br>> the phasor matches one period of your desired rectangular
<br>> wave. if i<br>> understand your drawing correctly, you want to achieve a<br>> rectangular<br>> wave whith a 66% on-phase (and 33% off-phase). have a look at<br>> millers
<br>> example patch 3.audio.examples/J03.pulse.width.mod.pd to get<br>> an idea how<br>> to convert a phasoor into a rectangular wave with specified<br>> on-phase.<br>><br>> roman
<br>><br>><br>><br>><br>><br>> ___________________________________________________________<br>> Telefonate ohne weitere Kosten vom PC zum PC:<br>> <a href="http://messenger.yahoo.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://messenger.yahoo.de</a><br>><br>><br>><br>><br>> --<br>> Raul Diaz Poblete<br>> *************************<br>> <a href="mailto:raul.lete@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
raul.lete@gmail.com</a><br>> Barcelona [Spain]
<br>> _______________________________________________<br>> <a href="mailto:PD-list@iem.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">PD-list@iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management ->
<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.puredata.info/listinfo/pd-list</a><br><br><br><br><br>___________________________________________________________<br>Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: <a href="http://mail.yahoo.de" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mail.yahoo.de</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>Raul Diaz Poblete<br>*************************<br><a href="mailto:raul.lete@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
raul.lete@gmail.com</a><br>Barcelona [Spain]
</span></div></blockquote></div><br><br clear="all"><br>-- <br>Raul Diaz Poblete<br>*************************<br><a href="mailto:raul.lete@gmail.com">raul.lete@gmail.com</a><br>Barcelona [Spain]