[PD] dynamic input at mtx_tab?

2008-01-20 Thread Anton Schlesiner
Dear all,

I try to save matrixes with mtx_tab, dynamically.

[no. of col] [dyn. changing array of floats]
| |
| [l2s]
[f $1]

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] phasor to square

2008-01-20 Thread raul diaz
Hi list!

I need to convert a phasor into a square wave in this way:

phasor:

  /   /  /   /   /  /
/  |/  |/  |/  |/  |/  |
  /|  /|  /|  /|  /|  /|
/  |/  |/  |/  |/  |/  |

square (2:1):
__
|  |   |  |   |
|  |   |  |   |
|  ||  ||


so, a relation HIGH:LOW holds a high or a low value (1 or 0) a indicate
number of cycles.
I need this conversion in order to make a masking, so square doesn't have to
be an audio signal necessarily (could be a number upload each phasor cycle).

What could be the best implementation for that scheme?

Saludos!

-- 
Raul Diaz Poblete
*
[EMAIL PROTECTED]
Barcelona [Spain]
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Fwd: dynamic input at mtx_tab?

2008-01-20 Thread Anton Schlesiner
Dear all,

I try to save matrixes with mtx_tab, dynamically.

[no. of col] [dyn. changing array of floats]
| |
| [l2s]
[f $1]  [symbol $2]
[pack f s]
[row $1 $2]
[mtx_tab "filename"]

This is my approach, the message-box row dumps in this way a symbol
that causes a sparse matrix error. I am searching for a solution to
get the symbol back to a list inside the row-box.

Thx for help. Anton

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Thomas Mayer
raul diaz wrote:
> Hi list!
> 
> I need to convert a phasor into a square wave in this way:
> 
> phasor:
> 
>   /   /  /   /   /  /
> /  |/  |/  |/  |/  |/  |
>   /|  /|  /|  /|  /|  /|
> /  |/  |/  |/  |/  |/  |
> 
> square (2:1):
> __
> |  |   |  |   |
> |  |   |  |   |
> |  ||  ||
> 
> 
> so, a relation HIGH:LOW holds a high or a low value (1 or 0) a indicate
> number of cycles.
> I need this conversion in order to make a masking, so square doesn't have to
> be an audio signal necessarily (could be a number upload each phasor cycle).
> 
> What could be the best implementation for that scheme?

I'm not sure what you mean exactly expecially bi HIGH:LOW, but

[phasor]
|
[>~ 0.5]
|
[-~ 0.5]

outputs a perfect square wave, although you need [>~] from zexy for that.

cu Thomas
-- 
"Prisons are needed only to provide the illusion that courts and police
are effective. They're a kind of job insurance."
(Leto II. in: Frank Herbert, God Emperor of Dune)
http://thomas.dergrossebruder.org/

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Derek Holzer
Hi Raul,

you will want to investigate the binary operations and mathematical 
operations for signals. In this case, you want to know when the 
[phasor~] reaches 1:

[==~]

and this will output a signal of 1 (= HIGH), otherwise a zero (= LOW). 
You can use [snapshot~] to covert this to a float. [avg~] is supposed to 
do this as well, but it doesn't do anything on my OSX  PD Extended-0.39 
installation.

Thomas Mayer's squarewave converter that he posted using [>~ 0.5] and 
[-~ 0.5] is a similar idea, giving you also HIGH and LOW values, but you 
might still need to convert to float for the next part.

Once the result of you binary operation is a float, you can use a 
counter-like structure to count the HI levels, and some other math 
operations to count (alternately 1,2 and 1). I don't have time to patch 
the whole thing myself, but hopefully you will see what I mean.

best,
d.

raul diaz wrote:
> Hi list!
> 
> I need to convert a phasor into a square wave in this way:
> 
> phasor:
> 
>   /   /  /   /   /  /
> /  |/  |/  |/  |/  |/  |
>   /|  /|  /|  /|  /|  /|
> /  |/  |/  |/  |/  |/  |
> 
> square (2:1):
> __
> |  |   |  |   |
> |  |   |  |   |
> |  ||  ||
> 
> 
> so, a relation HIGH:LOW holds a high or a low value (1 or 0) a indicate 
> number of cycles.
> I need this conversion in order to make a masking, so square doesn't 
> have to be an audio signal necessarily (could be a number upload each 
> phasor cycle).
> 
> What could be the best implementation for that scheme?
> 
> Saludos!
> 
> -- 
> Raul Diaz Poblete
> *
> [EMAIL PROTECTED] 
> Barcelona [Spain]
> 
> 
> 
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 165:
"Use an old idea"

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Derek Holzer
Hi Thomas,

HIGH and LOW refer to the binary state. The square wave conversion using 
[>~ 0.5] will actually give him a square triggered at the mid point of 
the sawtooth wave, not the beginning or end, so the phase of the square 
would be 180 degrees off from the saw. I suggested to use [==~ 1] 
instead to get the peaks of the saw, and some more math to count them 
and create the ratio between the two.

best,
d.

Thomas Mayer wrote:
> raul diaz wrote:
>> Hi list!
>>
>> I need to convert a phasor into a square wave in this way:
>>
>> phasor:
>>
>>   /   /  /   /   /  /
>> /  |/  |/  |/  |/  |/  |
>>   /|  /|  /|  /|  /|  /|
>> /  |/  |/  |/  |/  |/  |
>>
>> square (2:1):
>> __
>> |  |   |  |   |
>> |  |   |  |   |
>> |  ||  ||
>>
>>
>> so, a relation HIGH:LOW holds a high or a low value (1 or 0) a indicate
>> number of cycles.
>> I need this conversion in order to make a masking, so square doesn't have to
>> be an audio signal necessarily (could be a number upload each phasor cycle).
>>
>> What could be the best implementation for that scheme?
> 
> I'm not sure what you mean exactly expecially bi HIGH:LOW, but
> 
> [phasor]
> |
> [>~ 0.5]
> |
> [-~ 0.5]
> 
> outputs a perfect square wave, although you need [>~] from zexy for that.
> 
> cu Thomas

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 142:
"Shut the door and listen from outside"

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread raul diaz
Hi Derek!

Your approch is exactly what I need!

I didn't know the [==~] and [avg~] objects, but they make exactly what I
want.

Thanks for the suggestion!

Saludos!


2008/1/20, Derek Holzer <[EMAIL PROTECTED]>:
>
> Hi Raul,
>
> you will want to investigate the binary operations and mathematical
> operations for signals. In this case, you want to know when the
> [phasor~] reaches 1:
>
> [==~]
>
> and this will output a signal of 1 (= HIGH), otherwise a zero (= LOW).
> You can use [snapshot~] to covert this to a float. [avg~] is supposed to
> do this as well, but it doesn't do anything on my OSX  PD Extended-0.39
> installation.
>
> Thomas Mayer's squarewave converter that he posted using [>~ 0.5] and
> [-~ 0.5] is a similar idea, giving you also HIGH and LOW values, but you
> might still need to convert to float for the next part.
>
> Once the result of you binary operation is a float, you can use a
> counter-like structure to count the HI levels, and some other math
> operations to count (alternately 1,2 and 1). I don't have time to patch
> the whole thing myself, but hopefully you will see what I mean.
>
> best,
> d.
>
> raul diaz wrote:
> > Hi list!
> >
> > I need to convert a phasor into a square wave in this way:
> >
> > phasor:
> >
> >   /   /  /   /   /  /
> > /  |/  |/  |/  |/  |/  |
> >   /|  /|  /|  /|  /|  /|
> > /  |/  |/  |/  |/  |/  |
> >
> > square (2:1):
> > __
> > |  |   |  |   |
> > |  |   |  |   |
> > |  ||  ||
> >
> >
> > so, a relation HIGH:LOW holds a high or a low value (1 or 0) a indicate
> > number of cycles.
> > I need this conversion in order to make a masking, so square doesn't
> > have to be an audio signal necessarily (could be a number upload each
> > phasor cycle).
> >
> > What could be the best implementation for that scheme?
> >
> > Saludos!
> >
> > --
> > Raul Diaz Poblete
> > *
> > [EMAIL PROTECTED] 
> > Barcelona [Spain]
> >
> >
> > 
> >
> > ___
> > PD-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
> --
> derek holzer ::: http://www.umatic.nl :::
> http://blog.myspace.com/macumbista
> ---Oblique Strategy # 165:
> "Use an old idea"
>



-- 
Raul Diaz Poblete
*
[EMAIL PROTECTED]
Barcelona [Spain]
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread hard off
you could just make a phasor at the rate of the square wave, and use
the method thomas posted to make it square, and then use

[wrap~ 0 0.5]
|
[*~ 2]

to get the double speed phasor

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Roman Haefeli
On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
> Hi list!
> 
> I need to convert a phasor into a square wave in this way:
> 
> phasor:
> 
>   /   /  /   /   /  /
> /  |/  |/  |/  |/  |/  |
>   /|  /|  /|  /|  /|  /| 
> /  |/  |/  |/  |/  |/  |
> 
> square (2:1):
> __
> |  |   |  |   |
> |  |   |  |   |
> |  ||  || 
> 
 hi raul

when doing ascii art, the font and formatting you are using is critical
for the correct appearance. in order to display your aa correctly in
other people's email-client as well, choose 'plain text' instead of
'html' format and a monospace font type while typing. 


to your problem:

you could divide the phasor frequency by three, so that one period of
the phasor matches one period of your desired rectangular wave. if i
understand your drawing correctly, you want to achieve a rectangular
wave whith a 66% on-phase (and 33% off-phase). have a look at millers
example patch 3.audio.examples/J03.pulse.width.mod.pd to get an idea how
to convert a phasoor into a rectangular wave with specified on-phase.

roman

  



___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread raul diaz
Thanks a lot for your suggestions!

I tried to make the mathematical comparation for phasor with [==~] and
[avg~] and then a counter in order to count phasor cycles.
But it doesn't work, it only count one. Did I make something wrong?

Attached is the example patch.



2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
>
> On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
> > Hi list!
> >
> > I need to convert a phasor into a square wave in this way:
> >
> > phasor:
> >
> >   /   /  /   /   /  /
> > /  |/  |/  |/  |/  |/  |
> >   /|  /|  /|  /|  /|  /|
> > /  |/  |/  |/  |/  |/  |
> >
> > square (2:1):
> > __
> > |  |   |  |   |
> > |  |   |  |   |
> > |  ||  ||
> >
> hi raul
>
> when doing ascii art, the font and formatting you are using is critical
> for the correct appearance. in order to display your aa correctly in
> other people's email-client as well, choose 'plain text' instead of
> 'html' format and a monospace font type while typing.
>
>
> to your problem:
>
> you could divide the phasor frequency by three, so that one period of
> the phasor matches one period of your desired rectangular wave. if i
> understand your drawing correctly, you want to achieve a rectangular
> wave whith a 66% on-phase (and 33% off-phase). have a look at millers
> example patch 3.audio.examples/J03.pulse.width.mod.pd to get an idea how
> to convert a phasoor into a rectangular wave with specified on-phase.
>
> roman
>
>
>
>
>
> ___
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
>


-- 
Raul Diaz Poblete
*
[EMAIL PROTECTED]
Barcelona [Spain]


phasor-cycles-counter.pd
Description: application/extension-pd
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Roman Haefeli
hi raul

i am still unsure about your initial problem. probably the solution is
quite simple, but maybe you need to provide some more information. would
you like to use the rectangular wave to mask the phasor wave? so that
your resulting wave would look like this  :

  /|  /|  /|  /|  /|  /|  /|  /|  /|  /|
 / | / | / | / | / | / | / | / | / | / |
/  |/  |/  |/  |/  |/  |/  |/  |/  |/  |

if your goal is  to synthesize some customized waveform, it might be
easier to do it using [vline~] (have a look at the help patch). [vline~]
lets you practically compose any waveform, that consists only of
straight ramps (it might still be possible with curves, but certainly it
would be trickier). 

roman


On Sun, 2008-01-20 at 14:55 +0100, raul diaz wrote:
> Thanks a lot for your suggestions!
> 
> I tried to make the mathematical comparation for phasor with [==~] and
> [avg~] and then a counter in order to count phasor cycles.
> But it doesn't work, it only count one. Did I make something wrong? 
> 
> Attached is the example patch.
> 
> 
> 
> 2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
> On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
> > Hi list!
> >
> > I need to convert a phasor into a square wave in this way:
> >
> > phasor:
> >
> >   /   /  /   /   /  / 
> > /  |/  |/  |/  |/  |/  |
> >   /|  /|  /|  /|  /|  /|
> > /  |/  |/  |/  |/  |/  |
> >
> > square (2:1):
> > __ 
> > |  |   |  |   |
> > |  |   |  |   |
> > |  ||  ||
> >
> hi raul
> 
> when doing ascii art, the font and formatting you are using is
> critical 
> for the correct appearance. in order to display your aa
> correctly in
> other people's email-client as well, choose 'plain text'
> instead of
> 'html' format and a monospace font type while typing.
> 
> 
> to your problem:
> 
> you could divide the phasor frequency by three, so that one
> period of
> the phasor matches one period of your desired rectangular
> wave. if i
> understand your drawing correctly, you want to achieve a
> rectangular 
> wave whith a 66% on-phase (and 33% off-phase). have a look at
> millers
> example patch 3.audio.examples/J03.pulse.width.mod.pd to get
> an idea how
> to convert a phasoor into a rectangular wave with specified
> on-phase. 
> 
> roman
> 
> 
> 
> 
> 
> ___
> Telefonate ohne weitere Kosten vom PC zum PC:
> http://messenger.yahoo.de
> 
> 
> 
> 
> -- 
> Raul Diaz Poblete
> *
> [EMAIL PROTECTED]
> Barcelona [Spain] 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list




___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Total recall abstraction

2008-01-20 Thread Chris McCormick
Hi,

[s-totalrecall] is a gopified wrapper for qlist. Place [s-tr-node] in
a stream of control messages, and it will timestamp them and play them
back on request in the exact same way, whenever you want. This is good
for recording streams of midi control messages of your live set, metro
firings, or other input data which you use to control your patches.





Have fun.

Best,

Chris.

---
http://mccormick.cx

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread raul diaz
Hi Roman!

I'm sorry for my lack of information...

I'm making a pulsar granular synthesis patch based on Curtis Roads's
Microsound ideas using a patch from nullpointer (
http://www.nullpointer.co.uk/-/pd.htm).
So, the phasor is my pulsar frequency reference, and I want to mask the
output of pulsar granular synthesizer.
In this way a 1:3 mask will allow to hear 1 of each 4 pulsar particles.
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.
But, maybe your idea could work, using directly a masked phasor to
synthesize pulsar particles, instead of mask synthesized pulsar particles.

I will try this way, but anyway i'm curious about [avg~] behaviour. What's
wrong on my "phasor-cycles-counter" patch?

Thanks for your suggestions!

Saludos!


2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
>
> hi raul
>
> i am still unsure about your initial problem. probably the solution is
> quite simple, but maybe you need to provide some more information. would
> you like to use the rectangular wave to mask the phasor wave? so that
> your resulting wave would look like this  :
>
>   /|  /|  /|  /|  /|  /|  /|  /|  /|  /|
> / | / | / | / | / | / | / | / | / | / |
> /  |/  |/  |/  |/  |/  |/  |/  |/  |/  |
>
> if your goal is  to synthesize some customized waveform, it might be
> easier to do it using [vline~] (have a look at the help patch). [vline~]
> lets you practically compose any waveform, that consists only of
> straight ramps (it might still be possible with curves, but certainly it
> would be trickier).
>
> roman
>
>
> On Sun, 2008-01-20 at 14:55 +0100, raul diaz wrote:
> > Thanks a lot for your suggestions!
> >
> > I tried to make the mathematical comparation for phasor with [==~] and
> > [avg~] and then a counter in order to count phasor cycles.
> > But it doesn't work, it only count one. Did I make something wrong?
> >
> > Attached is the example patch.
> >
> >
> >
> > 2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
> > On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
> > > Hi list!
> > >
> > > I need to convert a phasor into a square wave in this way:
> > >
> > > phasor:
> > >
> > >   /   /  /   /   /  /
> > > /  |/  |/  |/  |/  |/  |
> > >   /|  /|  /|  /|  /|  /|
> > > /  |/  |/  |/  |/  |/  |
> > >
> > > square (2:1):
> > > __
> > > |  |   |  |   |
> > > |  |   |  |   |
> > > |  ||  ||
> > >
> > hi raul
> >
> > when doing ascii art, the font and formatting you are using is
> > critical
> > for the correct appearance. in order to display your aa
> > correctly in
> > other people's email-client as well, choose 'plain text'
> > instead of
> > 'html' format and a monospace font type while typing.
> >
> >
> > to your problem:
> >
> > you could divide the phasor frequency by three, so that one
> > period of
> > the phasor matches one period of your desired rectangular
> > wave. if i
> > understand your drawing correctly, you want to achieve a
> > rectangular
> > wave whith a 66% on-phase (and 33% off-phase). have a look at
> > millers
> > example patch 3.audio.examples/J03.pulse.width.mod.pd to get
> > an idea how
> > to convert a phasoor into a rectangular wave with specified
> > on-phase.
> >
> > roman
> >
> >
> >
> >
> >
> > ___
> > Telefonate ohne weitere Kosten vom PC zum PC:
> > http://messenger.yahoo.de
> >
> >
> >
> >
> > --
> > Raul Diaz Poblete
> > *
> > [EMAIL PROTECTED]
> > Barcelona [Spain]
> > ___
> > PD-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
>
> ___
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail:
> http://mail.yahoo.de
>
>


-- 
Raul Diaz Poblete
*
[EMAIL PROTECTED]
Barcelona [Spain]
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread raul diaz
Hi Roman, list!

Attached is my aproach to generate masked-phasor, as suggested.
But in this way I can only obtain 1 of N phasor cycles.
How could I obtain a phasor with a M:N cycles relation, like that (2:2):

  /|  /|   /|  /|   /|  /|  /|  /|   /|  /|
 / | / |  / | / |  / | / | / | / |  / | / |
/  |/  |_/  |/  |_/  |/  |_/  |/  |_/  |/  |



2008/1/20, raul diaz <[EMAIL PROTECTED]>:
>
> Hi Roman!
>
> I'm sorry for my lack of information...
>
> I'm making a pulsar granular synthesis patch based on Curtis Roads's
> Microsound ideas using a patch from nullpointer 
> (http://www.nullpointer.co.uk/-/pd.htm
> ).
> So, the phasor is my pulsar frequency reference, and I want to mask the
> output of pulsar granular synthesizer.
> In this way a 1:3 mask will allow to hear 1 of each 4 pulsar particles.
> 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.
> But, maybe your idea could work, using directly a masked phasor to
> synthesize pulsar particles, instead of mask synthesized pulsar particles.
>
> I will try this way, but anyway i'm curious about [avg~] behaviour. What's
> wrong on my "phasor-cycles-counter" patch?
>
> Thanks for your suggestions!
>
> Saludos!
>
>
> 2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
> >
> > hi raul
> >
> > i am still unsure about your initial problem. probably the solution is
> > quite simple, but maybe you need to provide some more information. would
> > you like to use the rectangular wave to mask the phasor wave? so that
> > your resulting wave would look like this  :
> >
> >   /|  /|  /|  /|  /|  /|  /|  /|  /|  /|
> > / | / | / | / | / | / | / | / | / | / |
> > /  |/  |/  |/  |/  |/  |/  |/  |/  |/  |
> >
> > if your goal is  to synthesize some customized waveform, it might be
> > easier to do it using [vline~] (have a look at the help patch). [vline~]
> > lets you practically compose any waveform, that consists only of
> > straight ramps (it might still be possible with curves, but certainly it
> > would be trickier).
> >
> > roman
> >
> >
> > On Sun, 2008-01-20 at 14:55 +0100, raul diaz wrote:
> > > Thanks a lot for your suggestions!
> > >
> > > I tried to make the mathematical comparation for phasor with [==~] and
> > > [avg~] and then a counter in order to count phasor cycles.
> > > But it doesn't work, it only count one. Did I make something wrong?
> > >
> > > Attached is the example patch.
> > >
> > >
> > >
> > > 2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
> > > On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
> > > > Hi list!
> > > >
> > > > I need to convert a phasor into a square wave in this way:
> > > >
> > > > phasor:
> > > >
> > > >   /   /  /   /   /  /
> > > > /  |/  |/  |/  |/  |/  |
> > > >   /|  /|  /|  /|  /|  /|
> > > > /  |/  |/  |/  |/  |/  |
> > > >
> > > > square (2:1):
> > > > __
> > > > |  |   |  |   |
> > > > |  |   |  |   |
> > > > |  ||  ||
> > > >
> > > hi raul
> > >
> > > when doing ascii art, the font and formatting you are using is
> > > critical
> > > for the correct appearance. in order to display your aa
> > > correctly in
> > > other people's email-client as well, choose 'plain text'
> > > instead of
> > > 'html' format and a monospace font type while typing.
> > >
> > >
> > > to your problem:
> > >
> > > you could divide the phasor frequency by three, so that one
> > > period of
> > > the phasor matches one period of your desired rectangular
> > > wave. if i
> > > understand your drawing correctly, you want to achieve a
> > > rectangular
> > > wave whith a 66% on-phase (and 33% off-phase). have a look at
> > > millers
> > > example patch 3.audio.examples/J03.pulse.width.mod.pd to get
> > > an idea how
> > > to convert a phasoor into a rectangular wave with specified
> > > on-phase.
> > >
> > > roman
> > >
> > >
> > >
> > >
> > >
> > > ___
> > > Telefonate ohne weitere Kosten vom PC zum PC:
> > > http://messenger.yahoo.de
> > >
> > >
> > >
> > >
> > > --
> > > Raul Diaz Poblete
> > > *
> > > [EMAIL PROTECTED]
> > > Barcelona [Spain]
> > > ___
> > > PD-list@iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > http://lists

Re: [PD] phasor to square

2008-01-20 Thread Claude Heiland-Allen
Derek Holzer wrote:
> Hi Raul,
> 
> you will want to investigate the binary operations and mathematical 
> operations for signals. In this case, you want to know when the 
> [phasor~] reaches 1:
> 
> [==~]

This won't work, because the phasor~ may reach 1 in between samples.  In 
general, phasor~ is almost never exactly 1 (or any other value).

Use the falling edge to get timing, which is what samphold~ does.

No time to write more now...


Claude

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Athlon64

2008-01-20 Thread Patrice Colet
Andy Farnell a écrit :
> Which sources can anyone suggest to build from?
> 
> I installed 0.39.2 from the amd64 Debian repository and it's a disaster,
> a list of bugs too long to mention and all round erratic behaviour, 
> including the CPU usage randomly jumping to 200% with the most trivial
> patches. Completely unusable.
> 
> How did you build yours Pat?
> 

Hi andy, I usually build the last vanilla test package,

http://crca.ucsd.edu/~msp/software.htm

  and use cvs for externals,abstractions,and extensions.

  Before, I need to install tcl-tk devel packages (you should give a try 
with tcl-tk-8.5, it's neat ;)).

  By this way I remove many reasons for pd to not be build correctly, I 
don't always get good stuff from cvs, and apt almost always provide too 
old stuff, they don't seem update often enough the PureData packets, ;D.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread raul diaz
Ups...I know!
My fail was to expect that phasor~ reaches a 0 value!
I agree with Roman, signal to message conversion losts accurary.
Would be better to use a masked phasor as synthesizer input, but how to
generate a masked phasor with a M:N cycles relation?
Maybe with a inverted phasor~ and samphold~?

I will try!

Saludos!

2008/1/20, Roman Haefeli <[EMAIL PROTECTED]>:
>
>
> On Sun, 2008-01-20 at 16:18 +0100, raul diaz wrote:
>
> > I will try this way, but anyway i'm curious about [avg~] behaviour.
> > What's wrong on my "phasor-cycles-counter" patch?
>
> yo, i just had a quick look and it seems, that [avg~] currently isn't
> working on my system (so isn't [tavg~], both don't give any output at
> all). don't have the time to investigate that now.
>
> the first problem is the comparison with [==~ 0]. the signal from
> [phasor~] reaches practically never exactly 0, unless the frequency of
> it is some integer fraction of the sampling frequency and the phase is
> set accordingly. this is because the moments, where the amplitude would
> reach 0, is most of the time somewhere in between two subsequent
> samples, but almost never exactly at sampling time. you can check that
> by writing the signal of a [phasor~ 9213] to a table and have a look at
> all the amplitude values. also the output of [==~ 0] will miss most of
> the cycles and almost always be 0.
>
> the next problem is, that [avg~] updates only every 64 samples. with
> higher frequencies, [avg~] would miss some the cycles. further [avg~]
> outputs a float messages, which is still a float message after [change],
> which overwrites the internal value of [f ]. you cannot build a counter
> that is triggered by a float. you would need a bang here. a construct
> like:
>
> [avg~]
> |
> [sel ]
> |
> [f ] etc.
>
> would be more likely to work.
>
> please someone correct me, if this is totally non-sense, but my
> experience is, that it is usually much easier to generate/synthesize a
> signal than using some sample-level detection methods to compose it.
> often a conversion from signal to message domain means loosing accuracy
> because of the blocksize or at least the result is coming one block
> late.
>
> roman
>
>
>
>
> ___
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
>


-- 
Raul Diaz Poblete
*
[EMAIL PROTECTED]
Barcelona [Spain]
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Roman Haefeli

On Sun, 2008-01-20 at 16:18 +0100, raul diaz wrote:

> I will try this way, but anyway i'm curious about [avg~] behaviour.
> What's wrong on my "phasor-cycles-counter" patch?

yo, i just had a quick look and it seems, that [avg~] currently isn't
working on my system (so isn't [tavg~], both don't give any output at
all). don't have the time to investigate that now.

the first problem is the comparison with [==~ 0]. the signal from
[phasor~] reaches practically never exactly 0, unless the frequency of
it is some integer fraction of the sampling frequency and the phase is
set accordingly. this is because the moments, where the amplitude would
reach 0, is most of the time somewhere in between two subsequent
samples, but almost never exactly at sampling time. you can check that
by writing the signal of a [phasor~ 9213] to a table and have a look at
all the amplitude values. also the output of [==~ 0] will miss most of
the cycles and almost always be 0. 

the next problem is, that [avg~] updates only every 64 samples. with
higher frequencies, [avg~] would miss some the cycles. further [avg~]
outputs a float messages, which is still a float message after [change],
which overwrites the internal value of [f ]. you cannot build a counter
that is triggered by a float. you would need a bang here. a construct
like:

[avg~]
|
[sel ]
|
[f ] etc.

would be more likely to work. 

please someone correct me, if this is totally non-sense, but my
experience is, that it is usually much easier to generate/synthesize a
signal than using some sample-level detection methods to compose it.
often a conversion from signal to message domain means loosing accuracy
because of the blocksize or at least the result is coming one block
late.

roman




___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Patrice Colet
Roman Haefeli a écrit :
> On Sun, 2008-01-20 at 13:50 +0100, raul diaz wrote:
>> Hi list!
>>
>> I need to convert a phasor into a square wave in this way:
>>
>> phasor:
>>
>>   /   /  /   /   /  /
>> /  |/  |/  |/  |/  |/  |
>>   /|  /|  /|  /|  /|  /| 
>> /  |/  |/  |/  |/  |/  |
>>
>> square (2:1):
>> __
>> |  |   |  |   |
>> |  |   |  |   |
>> |  ||  || 
>>
>  hi raul
> 
> when doing ascii art, the font and formatting you are using is critical
> for the correct appearance. in order to display your aa correctly in
> other people's email-client as well, choose 'plain text' instead of
> 'html' format and a monospace font type while typing. 
> 
> 
> to your problem:
> 
> you could divide the phasor frequency by three, so that one period of
> the phasor matches one period of your desired rectangular wave. if i
> understand your drawing correctly, you want to achieve a rectangular
> wave whith a 66% on-phase (and 33% off-phase). have a look at millers
> example patch 3.audio.examples/J03.pulse.width.mod.pd to get an idea how
> to convert a phasoor into a rectangular wave with specified on-phase.
> 
> roman

[Or([Use(   [Tab(   [Key(   []
|   |   |   |   |
[demux  0   1   2   3]
|
[print]


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Athlon64

2008-01-20 Thread Patrice Colet
Patrice Colet a écrit :
> Andy Farnell a écrit :
>> Which sources can anyone suggest to build from?
>>
>> I installed 0.39.2 from the amd64 Debian repository and it's a disaster,
>> a list of bugs too long to mention and all round erratic behaviour, 
>> including the CPU usage randomly jumping to 200% with the most trivial
>> patches. Completely unusable.
>>
>> How did you build yours Pat?
>>
> 
> Hi andy, I usually build the last vanilla test package,
> 
> http://crca.ucsd.edu/~msp/software.htm
> 
>   and use cvs for externals,abstractions,and extensions.
> 
>   Before, I need to install tcl-tk devel packages (you should give a try 
> with tcl-tk-8.5, it's neat ;)).
> 
>   By this way I remove many reasons for pd to not be build correctly, I 
> don't always get good stuff from cvs, and apt almost always provide too 
> old stuff, they don't seem update often enough the PureData packets, ;D.
> 

  Also if you don't use to compile with linux, use have to install the 
tools for compiling, like autoconf, automake, gcc, g++, libc, 
alsa-devel, jack-devel, don't forget to put --enable-jack --enable--alsa 
at ./configure.
  The externals dependances will come in doc files or errors during 
compilation.
  if you want to build pd-extended, you might want look at this:

http://puredata.info/docs/developer/GettingPdSource/?searchterm=rsync

I dunno about gridflow (often changing) and flext (the complete install 
is not easy, I suspect flext isn't ready for 64bit distro), but Gem is 
easy to build from it's cvs:

http://puredata.info/dev/cvs


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Math of Gem

2008-01-20 Thread Dudley Brooks
Could someone point me to a discussion of the matrix (and other) math of 
Gem?  Particularly with respect to lighting effects (I'm already 
somewhat familiar with the math of geometrical transformations). 
Particularly the interactions between [world_light], [light], [ambient], 
[diffuse], [specular], [color], etc.

Thanks.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Andy Farnell
On Sun, 20 Jan 2008 17:18:20 +0100
"raul diaz" <[EMAIL PROTECTED]> wrote:


> Would be better to use a masked phasor as synthesizer input, but how to
> generate a masked phasor with a M:N cycles relation?
> Maybe with a inverted phasor~ and samphold~?
> 

You can split the phase in the signal domain like this. See attached.

   [phasor~]
   [*~ 4]
   / \
[max~ 0] [max~ 1]
[min~ 1] [min~ 2]
|[-~ 1]
 \  /
   [+~]
   [-~ 1]

-- 
Use the source


split-phasor.pd
Description: Binary data
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Math of Gem

2008-01-20 Thread Claude Heiland-Allen
Dudley Brooks wrote:
> Could someone point me to a discussion of the matrix (and other) math of 
> Gem?  Particularly with respect to lighting effects (I'm already 
> somewhat familiar with the math of geometrical transformations). 
> Particularly the interactions between [world_light], [light], [ambient], 
> [diffuse], [specular], [color], etc.

The OpenGL Red Book, in particular:

http://glprogramming.com/red/chapter05.html#name2


Claude
-- 
http://claudiusmaximus.goto10.org

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Ergates music video

2008-01-20 Thread Chris McCormick
Hello,

A bit of shameless self promotion:

My experimental music video 'Ergates' is up on archive.org


It was made using Ergates  (Pure
Data + Gem + a USB gamepad controller). That [s-totalrecall] patch i just
posted made it possible to capture all the gamepad & metro data in order
to do a non-realtime pix_record render. Special thanks to all the posts
in the archive about that, and sewing together jpg & mp3 files into
movies.

Enjoy!

Best,

Chris.

---
http://mccormick.cx

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Athlon64

2008-01-20 Thread Patrice Colet
Thomas Grill a écrit :
>>
>>  I suspect flext isn't ready for 64bit distro)
> 
> Currently flext and flext-based externals compile on OSX in 64 bit mode 
> but i'm going to check whether everything is ok before committing to the 
> CVS.
> I can't make any comments on 64 bit linux because i can't test on this 
> platform.
> 
> gr~~~
> 
If only I could help, I gave a try with cygwin (using mingw compiler 
libraries and includes) and ubuntu64, but I had to give up because of 
insufficient knowledge for compiling flext.
  Next time I give a try, I could send you the log files, and maybe we 
would be able to fix issues...

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Athlon64

2008-01-20 Thread Thomas Grill


 I suspect flext isn't ready for 64bit distro)


Currently flext and flext-based externals compile on OSX in 64 bit  
mode but i'm going to check whether everything is ok before  
committing to the CVS.
I can't make any comments on 64 bit linux because i can't test on  
this platform.


gr~~~



smime.p7s
Description: S/MIME cryptographic signature
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread raul diaz
Thanks Andy!

I have achieved my purpose with a variation of your patch!
I need a patch with a specified ratio M:N, and your patch doesn't allow 1:N
ratios, but with a small change I have make it available.

See attached patch!

Saludos!


2008/1/20, Andy Farnell <[EMAIL PROTECTED]>:
>
> On Sun, 20 Jan 2008 17:18:20 +0100
> "raul diaz" <[EMAIL PROTECTED]> wrote:
>
>
> > Would be better to use a masked phasor as synthesizer input, but how to
> > generate a masked phasor with a M:N cycles relation?
> > Maybe with a inverted phasor~ and samphold~?
> >
>
> You can split the phase in the signal domain like this. See attached.
>
>[phasor~]
>[*~ 4]
>/ \
> [max~ 0] [max~ 1]
> [min~ 1] [min~ 2]
> |[-~ 1]
> \  /
>[+~]
>[-~ 1]
>
> --
> Use the source
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>


-- 
Raul Diaz Poblete
*
[EMAIL PROTECTED]
Barcelona [Spain]


general-split-phasor.pd
Description: application/extension-pd
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Frank Barknecht
Hallo,
raul diaz hat gesagt: // raul diaz wrote:

> Attached is my aproach to generate masked-phasor, as suggested.
> But in this way I can only obtain 1 of N phasor cycles.
> How could I obtain a phasor with a M:N cycles relation, like that (2:2):

Just stretch the streched phasor a second time. See attachement.

>   /|  /|   /|  /|   /|  /|  /|  /|   /|  /|
>  / | / |  / | / |  / | / | / | / |  / | / |
> /  |/  |_/  |/  |_/  |/  |_/  |/  |_/  |/  |

I'd recommend to write ASCII art with a non-proportional font. Above
gfx doesn't look right with Courier.

Ciao
-- 
 Frank Barknecht _ __footils.org__


masked-phasor2.pd
Description: application/puredata
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Gridflow-dev] some audio-visual drones made with Pd + GridFlow

2008-01-20 Thread Luke Iannini (pd)
Claude, this is awesome.  Reminded me of the John Cage documentary
"From Zero"; in part 4 he reads his poetry over a video piece in which
the screen intermittently turns blue at the moment a bass drum is
struck.

Thanks as always for sharing your work, I consider it among of my
favorite material.

Cheers
Luke

On Jan 17, 2008 4:16 AM, Claude Heiland-Allen
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I made some audio-visual drones with Pd + GridFlow:
>
> http://www.archive.org/details/ClaudiusMaximus_-_CycleTile_Sonification_1
>
> Various download formats available in the left sidebar.
>
> The source code is there too (select "all files" and find the .pd).
>
>
> Claude
> --
> http://claudiusmaximus.goto10.org
>
> ___
> Gridflow-dev mailing list
> [EMAIL PROTECTED]
> http://lists.artengine.ca/cgi-bin/mailman/listinfo/gridflow-dev
>

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Athlon64

2008-01-20 Thread Thomas Grill
Hi Patrice,
i'm currently finishing the autoconf build system for flext and flext- 
based externals. When published i'll definitely be happy for feedback  
on 64-bit linux systems.

gr~~~

Am 20.01.2008 um 17:58 schrieb Patrice Colet:

> Thomas Grill a écrit :
>>>
>>> I suspect flext isn't ready for 64bit distro)
>> Currently flext and flext-based externals compile on OSX in 64 bit  
>> mode but i'm going to check whether everything is ok before  
>> committing to the CVS.
>> I can't make any comments on 64 bit linux because i can't test on  
>> this platform.
>> gr~~~
> If only I could help, I gave a try with cygwin (using mingw compiler  
> libraries and includes) and ubuntu64, but I had to give up because  
> of insufficient knowledge for compiling flext.
> Next time I give a try, I could send you the log files, and maybe we  
> would be able to fix issues...
>

Thomas Grill
http://g.org



___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Andy Farnell

Nice, I think I'll abstract that, it has some good applications for 
engine noises :)

best,
andy


On Sun, 20 Jan 2008 18:59:42 +0100
"raul diaz" <[EMAIL PROTECTED]> wrote:

> Thanks Andy!
> 
> I have achieved my purpose with a variation of your patch!
> I need a patch with a specified ratio M:N, and your patch doesn't allow 1:N
> ratios, but with a small change I have make it available.
> 
> See attached patch!
> 
> Saludos!
> 
> 
> 2008/1/20, Andy Farnell <[EMAIL PROTECTED]>:
> >
> > On Sun, 20 Jan 2008 17:18:20 +0100
> > "raul diaz" <[EMAIL PROTECTED]> wrote:
> >
> >
> > > Would be better to use a masked phasor as synthesizer input, but how to
> > > generate a masked phasor with a M:N cycles relation?
> > > Maybe with a inverted phasor~ and samphold~?
> > >
> >
> > You can split the phase in the signal domain like this. See attached.
> >
> >[phasor~]
> >[*~ 4]
> >/ \
> > [max~ 0] [max~ 1]
> > [min~ 1] [min~ 2]
> > |[-~ 1]
> > \  /
> >[+~]
> >[-~ 1]
> >
> > --
> > Use the source
> >
> > ___
> > PD-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> >
> >
> >
> 
> 
> -- 
> Raul Diaz Poblete
> *
> [EMAIL PROTECTED]
> Barcelona [Spain]
> 


-- 
Use the source

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Ergates music video

2008-01-20 Thread chris clepper
I like the white background.  How is the shadow done?

On Jan 20, 2008 10:57 AM, Chris McCormick <[EMAIL PROTECTED]> wrote:

> Hello,
>
> A bit of shameless self promotion:
>
> My experimental music video 'Ergates' is up on archive.org
> 
>
> It was made using Ergates  (Pure
> Data + Gem + a USB gamepad controller). That [s-totalrecall] patch i just
> posted made it possible to capture all the gamepad & metro data in order
> to do a non-realtime pix_record render. Special thanks to all the posts
> in the archive about that, and sewing together jpg & mp3 files into
> movies.
>
> Enjoy!
>
> Best,
>
> Chris.
>
> ---
> http://mccormick.cx
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd on Athlon64

2008-01-20 Thread Patrice Colet
Andy Farnell a écrit :
> 
> Cheers Pat, 
> 
> 
> On Sun, 20 Jan 2008 17:33:02 +0100
> Patrice Colet <[EMAIL PROTECTED]> wrote:
> 
>>> Hi andy, I usually build the last vanilla test package,
>>>
>>> http://crca.ucsd.edu/~msp/software.htm
> 
> Okay, use Millers source, I will do that.
> 
>>>   and use cvs for externals,abstractions,and extensions.
> 
> 
>>   Also if you don't use to compile with linux, use have to install the 
>> tools for compiling, like autoconf, automake, gcc, g++, libc, 
>> alsa-devel, jack-devel, don't forget to put --enable-jack --enable--alsa 
>> at ./configure.
>>   The externals dependances will come in doc files or errors during 
>> compilation.
> 
> 
> I've got most the libs and gcc installed already, no worries with
> compiling on 64 generally, I tried a couple of other things
> already. What confuses me is the structure of pd-ext which I am
> not familiar with.
> 
> For example I just want to compile one external and it doesn't have
> a makefile or configure.. and I don't know what flags to set
> anyway I will read the docs you gave.
> 
> 
>>   if you want to build pd-extended, you might want look at this:
>>
>> http://puredata.info/docs/developer/GettingPdSource/?searchterm=rsync
>>
>> I dunno about gridflow (often changing) and flext (the complete install 
>> is not easy, I suspect flext isn't ready for 64bit distro), but Gem is 
>> easy to build from it's cvs:
> 
> 
> Not really bothered about GEM or gridflow, I just want a properly working
> vanilla with a few essential externals like [fdn~], [ead~], [delta~],
> [moog~] etc, which I hopeto build myself.
> 

  if you have downloaded externals, you can go to externals folder with 
the console and type 'make creb'. It will build a bunch of externals 
that will contain [fdn~] and [ead~], 'make ggee' should build [moog~], 
and 'make cxc' for [delta~]

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Gridflow-dev] some audio-visual drones made with Pd + GridFlow

2008-01-20 Thread hard off
yeah unreal.  60's design meets 21st century tech.  bet that'd be
awesome on a big screen.

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Frank Barknecht
Hallo,
raul diaz hat gesagt: // raul diaz wrote:

> I need to convert a phasor into a square wave in this way:
> 
> phasor:
> 
>   /   /  /   /   /  /
> /  |/  |/  |/  |/  |/  |
>   /|  /|  /|  /|  /|  /|
> /  |/  |/  |/  |/  |/  |
> 
> square (2:1):
> __
> |  |   |  |   |
> |  |   |  |   |
> |  ||  ||
> 
> 
> so, a relation HIGH:LOW holds a high or a low value (1 or 0) a indicate
> number of cycles.

Check out doc/3.audio.examples/J02.trapezoids.pd for a patch that can
make all kinds of waveforms with jumps (discontinuities) from a phasor
signal. In that patch, if the Amplitudes add up to 0 you get a waveform
with only horizontal segments.

For your 2:1 square wave, just set the amplitudes of the first two
wrap-phases to 100 and -100, and the phases to e.g. 33 and 66.

For the theory behind this technique read the final chapter in
Miller's book, e.g.
http://crca.ucsd.edu/~msp/techniques/latest/book-html/node186.html

Ciao
-- 
 Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Gridflow-dev] some audio-visual drones made with Pd + GridFlow

2008-01-20 Thread alexandre r. decoupigny
thats amazing.. thanks for sharing ! how did you render it ?

alexandre

On 20/01/2008, Luke Iannini (pd) <[EMAIL PROTECTED]> wrote:
>
> Claude, this is awesome.  Reminded me of the John Cage documentary
> "From Zero"; in part 4 he reads his poetry over a video piece in which
> the screen intermittently turns blue at the moment a bass drum is
> struck.
>
> Thanks as always for sharing your work, I consider it among of my
> favorite material.
>
> Cheers
> Luke
>
> On Jan 17, 2008 4:16 AM, Claude Heiland-Allen
> <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I made some audio-visual drones with Pd + GridFlow:
> >
> >
> http://www.archive.org/details/ClaudiusMaximus_-_CycleTile_Sonification_1
> >
> > Various download formats available in the left sidebar.
> >
> > The source code is there too (select "all files" and find the .pd).
> >
> >
> > Claude
> > --
> > http://claudiusmaximus.goto10.org
> >
> > ___
> > Gridflow-dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.artengine.ca/cgi-bin/mailman/listinfo/gridflow-dev
> >
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
alexandre r. decoupigny

www.listeningart.blogspot.com

www.myspace.com/alexandredecoupigny
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Frank Barknecht
Hallo,
Andy Farnell hat gesagt: // Andy Farnell wrote:

> Nice, I think I'll abstract that, it has some good applications for 
> engine noises :)

It's actually very similar to the [vosim~] abstraction I posted a
while ago, which is also based on phasors with a silent period. The
phasors are then used to lookp a squared cosine, with additional
damping. 

Ciao
-- 
 Frank Barknecht _ __footils.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Gridflow-dev] some audio-visual drones made with Pd + GridFlow

2008-01-20 Thread Claude Heiland-Allen
Hi all,

Thanks for the feedback :)

alexandre r. decoupigny wrote:
> how did you render it ?

Like this:

 mkfifo fifo.ppm
 pd -lib gridflow -open cycletile1.pd &
 cat fifo.ppm |
 ppmtoy4m -S 420mpeg2 -F 25:1 |
 mpeg2enc -f 8 -a 2 -o video.m2v

The Pd patch writes success frames in uncompressed PPM format into a 
unix FIFO (named pipe), which is sent to mpeg2enc (as above).  The patch 
also writes audio in WAV format, which I then trimmed in Audacity to be 
the same length as the video, and encoded/multiplexed like this:

 twolame -b 224 audio.wav audio.m2a
 mplex -f 8 -V -o final.mpeg video.m2v audio.m2a

Hope that helps,


Claude
-- 
http://claudiusmaximus.goto10.org


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] phasor to square

2008-01-20 Thread Andy Farnell

Yes, I noticed that. I followed it with a sin function to get 
little bursts of cycles and they have a formant like property.
With certain settings it sounds like a resonant tube. 

cheers,
Andy


On Sun, 20 Jan 2008 23:05:33 +0100
Frank Barknecht <[EMAIL PROTECTED]> wrote:

> Hallo,
> Andy Farnell hat gesagt: // Andy Farnell wrote:
> 
> > Nice, I think I'll abstract that, it has some good applications for 
> > engine noises :)
> 
> It's actually very similar to the [vosim~] abstraction I posted a
> while ago, which is also based on phasors with a silent period. The
> phasors are then used to lookp a squared cosine, with additional
> damping. 
> 
> Ciao
> -- 
>  Frank Barknecht _ __footils.org__
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


-- 
Use the source

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] robotcowboy on tour

2008-01-20 Thread Daniel Wilcox
yoyo,

I'm out on tour in the US until March. Mabey I will see some of you?

Come for a pd enabled wearable compurock show.

Dates here. 

-- 
Dan Wilcox
danomatika
www.robotcowboy.com
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Mac OS X Intel autobuilds

2008-01-20 Thread bsoisoi
Hello everyone,

Is there a reason there hasn't been an autobuild for Mac OS X x86  
since around 2007-12-07?  Do we know when we can expect the Intel  
builds to resume?

Thanks,
~Brandon

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mac OS X Intel autobuilds

2008-01-20 Thread marius schebella
jan 17 has one.
the reason why the machine is down isvery trivial. the autobuild process 
was set up on a school machine which is in daily use by students and 
good students turn off the machine during night. Afaik the machines got 
totally reset for the beginning of the new semester (starting with 
jan22). don't know if it will be up again. hans?
marius.

bsoisoi wrote:
> Hello everyone,
> 
> Is there a reason there hasn't been an autobuild for Mac OS X x86  
> since around 2007-12-07?  Do we know when we can expect the Intel  
> builds to resume?
> 
> Thanks,
> ~Brandon
> 
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Capturing Gem Video in Linux

2008-01-20 Thread jim
Hi I'm using the Ubuntu Gutsy 7.10 pd-extended and trying to get
pix_record to work with mild success. Seems to keep crashing when trying
to capture fullscreen. I've had better success with Yukon
http://dbservice.com/projects/yukon/
, though it's a bit choppy. Just curious if anyone else using this
distribution is able to get pix_record to work well at fullscreen and if
so what codec are you using ? Thanks 
Jim


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mac OS X Intel autobuilds

2008-01-20 Thread vade
What machine is it hans/marius? Perhaps we can set aside an intel box  
for um, us researchers and we can leave it on :) Since I am probably  
around more than Hans is I can check on it periodically.

I believe PPC systems can compile intel builds, with 10.5, no (im not  
positive but I think you can target them??)? If so, we may have a  
spare machine for this at Poly we can put in the research area that no  
one will mess with...

On Jan 20, 2008, at 10:20 PM, marius schebella wrote:

> jan 17 has one.
> the reason why the machine is down isvery trivial. the autobuild  
> process
> was set up on a school machine which is in daily use by students and
> good students turn off the machine during night. Afaik the machines  
> got
> totally reset for the beginning of the new semester (starting with
> jan22). don't know if it will be up again. hans?
> marius.
>
> bsoisoi wrote:
>> Hello everyone,
>>
>> Is there a reason there hasn't been an autobuild for Mac OS X x86
>> since around 2007-12-07?  Do we know when we can expect the Intel
>> builds to resume?
>>
>> Thanks,
>> ~Brandon
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
> ___
> PD-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Gridflow-dev] some audio-visual drones made with Pd + GridFlow

2008-01-20 Thread Chris McCormick
> On Jan 17, 2008 4:16 AM, Claude Heiland-Allen
> <[EMAIL PROTECTED]> wrote:
> > I made some audio-visual drones with Pd + GridFlow:
> > http://www.archive.org/details/ClaudiusMaximus_-_CycleTile_Sonification_1
>
On Sun, Jan 20, 2008 at 10:33:14AM -0800, Luke Iannini (pd) wrote:
> Thanks as always for sharing your work, I consider it among of my
> favorite material.

Same here, thanks for sharing, Claude!

Best,

Chris.

---
http://mccormick.cx

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Ergates music video

2008-01-20 Thread Chris McCormick
> On Jan 20, 2008 10:57 AM, Chris McCormick <[EMAIL PROTECTED]> wrote:
> > My experimental music video 'Ergates' is up on archive.org
> > 

On Sun, Jan 20, 2008 at 12:58:48PM -0600, chris clepper wrote:
> I like the white background.  How is the shadow done?

Use a separator to create two gem pathways and on one of them [scaleXYZ]
to 0 in the y dimenson and expand slightly in the x and z, and then color
everything black. I have an abstraction to do this automatically but it's
a bit fiddly and doesn't always work 100% correctly. You can see that
the shadows aren't "real" if you do certain things, like their size and
position should be dependent on the height of the geom, but they aren't.
With a vertex shader it would probably be much easier to do this still
of shadow and make it look good (e.g. set the y component of verticies
to 0 and then stretch the x and z componentents depending on the
original y value).

Best,

Chris.

---
http://mccormick.cx

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list