[PD] Dynamic Object Creation

2010-02-14 Thread Ben Baker-Smith
Hello List,

I know this has been addressed a few times on the list in past years,
but I couldn't find any concrete instructions.. so, here's my
question.  What is the best way to approach dynamic object creation?
I'm hoping that there are some messages that can create instances of
abstractions or objects.  If these exist, are they documented
somewhere?

Thanks everyone!

-Ben

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


Re: [PD] Dynamic Object Creation

2010-02-14 Thread Pierre Massat
Hi Ben,

If i m not mistaken someone on the Pd forum managed to do this in a set of
patches he posted here :
http://puredata.hurleur.com/sujet-3625-pdlive
There is a main patch from which you choose which objects to add to a
secondary patch. I couldn't tell you exactly how he did that, but it didn't
look too complicated.

Pierre

2010/2/14 Ben Baker-Smith 

> Hello List,
>
> I know this has been addressed a few times on the list in past years,
> but I couldn't find any concrete instructions.. so, here's my
> question.  What is the best way to approach dynamic object creation?
> I'm hoping that there are some messages that can create instances of
> abstractions or objects.  If these exist, are they documented
> somewhere?
>
> Thanks everyone!
>
> -Ben
>
> ___
> 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] Dynamic Object Creation

2010-02-14 Thread Marco Donnarumma
Sorry if you already took a look at those patches, but you might want to
check the Pd browser > manuals/ > pd-msg/ > 1.msg_and_patch/


M




> Hello List,
>
> I know this has been addressed a few times on the list in past years,
> but I couldn't find any concrete instructions.. so, here's my
> question.  What is the best way to approach dynamic object creation?
> I'm hoping that there are some messages that can create instances of
> abstractions or objects.  If these exist, are they documented
> somewhere?
>
> Thanks everyone!
>
> -Ben
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] vista & win7 support ?

2010-02-14 Thread rene beekman
we're having problems running pd-extended 0.41.4 on vista & windows7
problems seem to be related to several particular objects or patches
one example is the select-help patch. opening the help patch either via the 
desktop, or from within pd via the browser or via the context menu's 'help' 
option results in windows closing pd

the application error log on one particular machine shows this:

Faulting application pd.exe, version 0.0.0.0, time stamp 0x4a277929, faulting 
module ntdll.dll, version 6.0.6002.18005, time stamp 0x49e03821, exception code 
0xc005, fault offset 0x00041f3c, process id 0x1534, application start time 
0x01caad6a4a506d60.

on the windows7 machine, it is the same library that is marked as "faulting 
module", only it's a 6.1 version 

is this a known bug?
any workarounds?

thanks in advance

rene


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


[PD] printing "long" patches

2010-02-14 Thread Matteo Sisti Sette

Hi,

I had never felt the need for printing a patch into a sheet of paper up 
to now, so I have just tried the file/print option for the first time 
(hadn't even realised it existed).


However, if the patch is very "long" vertically, I get just one page (of 
an arbitrary size, I guess A4 or similar) with the part of the patch 
fitting in it visible and the rest is lost, or maybe it is virtually 
there but there's no way to see nor print it.
At least that's what I see by opening the generated ps file with 
GhostView (Windows).


Is there any trick to get the exceeding part split into pages? (other 
than making screenshots manually)


thanks
m.

--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


Re: [PD] Small bug with comment

2010-02-14 Thread Matteo Sisti Sette

> It's unfortunate, but it's in fact a 'feature' - 1. is a number
> and all numbers are printed in their 'simplest' form  :)

Yes but why do that _in comments_??? I guess comments get parsed like 
any other object? Why? What's the use in parsing the content of a 
comment? (you won't see a "$1" replaced by its valued anyway)


--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


Re: [PD] Dynamic Object Creation

2010-02-14 Thread Frank Barknecht
Hallo,
Ben Baker-Smith hat gesagt: // Ben Baker-Smith wrote:

> I know this has been addressed a few times on the list in past years,
> but I couldn't find any concrete instructions.. so, here's my
> question.  What is the best way to approach dynamic object creation?
> I'm hoping that there are some messages that can create instances of
> abstractions or objects.  If these exist, are they documented
> somewhere?

Enrique Erne just posted his fabulous abstraction for simlifying all this:
http://github.com/eerne/Pd-Dom

Ciao
-- 
Frank

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


Re: [PD] vista & win7 support ?

2010-02-14 Thread Hans-Christoph Steiner


1) try a Pd-extended 0.42.5 nightly build

2) try this version with the [multiselect] object removed from the  
"related objects" subpatch




select-help.pd
Description: Binary data




.hc

On Feb 14, 2010, at 7:59 AM, rene beekman wrote:


we're having problems running pd-extended 0.41.4 on vista & windows7
problems seem to be related to several particular objects or patches
one example is the select-help patch. opening the help patch either  
via the desktop, or from within pd via the browser or via the  
context menu's 'help' option results in windows closing pd


the application error log on one particular machine shows this:

Faulting application pd.exe, version 0.0.0.0, time stamp 0x4a277929,  
faulting module ntdll.dll, version 6.0.6002.18005, time stamp  
0x49e03821, exception code 0xc005, fault offset 0x00041f3c,  
process id 0x1534, application start time 0x01caad6a4a506d60.


on the windows7 machine, it is the same library that is marked as  
"faulting module", only it's a 6.1 version


is this a known bug?
any workarounds?

thanks in advance

rene


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






"We have nothing to fear from love and commitment." - New York Senator  
Diane Savino, trying to convince the NY Senate to pass a gay marriage  
bill


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


Re: [PD] Dynamic Object Creation

2010-02-14 Thread Ben Baker-Smith
Thanks to the both of you.  I haven't checked out the forum patch yet
(I will), but the help browser page (1.msg_and_patch) is exactly what
I was looking for.

-Ben

On Sun, Feb 14, 2010 at 5:59 AM, Marco Donnarumma  wrote:
> Sorry if you already took a look at those patches, but you might want to
> check the Pd browser > manuals/ > pd-msg/ > 1.msg_and_patch/
>
>
> M
>
>
>
>>
>> Hello List,
>>
>> I know this has been addressed a few times on the list in past years,
>> but I couldn't find any concrete instructions.. so, here's my
>> question.  What is the best way to approach dynamic object creation?
>> I'm hoping that there are some messages that can create instances of
>> abstractions or objects.  If these exist, are they documented
>> somewhere?
>>
>> Thanks everyone!
>>
>> -Ben
>

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


Re: [PD] Install pd-extended on Ubuntu Jaunty 9.04 i686

2010-02-14 Thread Ben Baker-Smith
2010/2/12 András Murányi :
> 2010/2/12 Ben Baker-Smith 
>>
>> 2010/2/11 András Murányi :
>> > On Thu, Feb 11, 2010 at 3:21 AM, Ben Baker-Smith 
>> > wrote:
>> >>
>> >> Thanks for getting back to me so quickly.
>> >>
>> >> Sorry, there was a typo in my initial message, it should say "there is
>> >> no i686 package available".
>> >>
>> >> When I tried to install the Jaunty package I got a "wrong kernel type"
>> >> error. All the packages seem to be for i386 and lpia, while my machine
>> >> is running i686. The only mention of an i686 version that I have found
>> >> is for Karmic in the 02-10-10 nightly build (and it seems rather small
>> >> at 5.1M).
>> >>
>> >> When I tried adding adding to sources.list and installing via apt-get
>> >> I received the following error:
>> >> "Failed to fetch
>> >>
>> >> http://apt.puredata.info/releases/dists/jaunty/main/binary-amd64/Packages
>> >> 404 Not Found"
>> >>
>> >> Anyway, I ended up installing pd vanilla, gem, and zexy seperately and
>> >> adding the appropriate paths in the file > startup menu.  Everything
>> >> is working just fine now.
>> >>
>> >> -Ben
>> >
>> > Hello Ben,
>> >
>> > I am on amd64 too, and my best recommendation is that you use the i386
>> > version. At the moment it is just faster and more stable than 64-bit
>> > builds.
>> > To set up an i386 package on your 64-bit Jaunty and satisfy all the
>> > 32-bit
>> > dependecies you'll most likely want to use getlibs:
>> > http://ubuntuforums.org/showthread.php?t=474790
>> >
>> > Andras
>> >
>> >
>>
>> Thanks Andras, that sounds like just what I need.
>> I'll give it a shot this weekend after I fix a botched dist-upgrade.
>>
>> -Ben
>
> I just noticed there are more specifics at
> http://puredata.info/docs/developer/64BitLinux/ under "Method 2"
> (...you didn't mistakenly upgrade to Karmic did u? ;o) My girlfriend did
> that on her laptop and err... not so good! Been told however that it is less
> bad with the RT kernel -  a thing missing from Jaunty.)
> Andras
>

In fact.. that's exactly what happened (dist-upgrade from Jaunty to
Karmic). The sad thing is that this is the second machine I've tried
the upgrade on, and the second to fail. I was prepared this time,
backed everything up prior to the attempt, so it's more of an
annoyance than anything.

-Ben

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


Re: [PD] printing "long" patches

2010-02-14 Thread András Murányi
On Sun, Feb 14, 2010 at 3:58 PM, Matteo Sisti Sette <
matteosistise...@gmail.com> wrote:

> Hi,
>
> I had never felt the need for printing a patch into a sheet of paper up to
> now, so I have just tried the file/print option for the first time (hadn't
> even realised it existed).
>
> However, if the patch is very "long" vertically, I get just one page (of an
> arbitrary size, I guess A4 or similar) with the part of the patch fitting in
> it visible and the rest is lost, or maybe it is virtually there but there's
> no way to see nor print it.
> At least that's what I see by opening the generated ps file with GhostView
> (Windows).
>
> Is there any trick to get the exceeding part split into pages? (other than
> making screenshots manually)
>
> thanks
> m.
>

Hello Matteo,

afaik the ultimate trick is to code it up in tcl :-o
i took a look some time ago but and found that it is one of things which are
currently terribly cumbersome to do in tcl - i'm not saying impossible,
though ;o)

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


[PD] (dynamically, temporarily) suppressing error message printing

2010-02-14 Thread Matteo Sisti Sette

Hi,

When I dream about the Pd of the future one of the few new features I 
see (not so few as in Miller's dreams) is error handling.


In the meantime, is there a way to suppress (and restore) the printing 
of error messages in the console? Maybe by sending some message to pd?


I'm using [textfile] to read and write files, and sometimes I cannot 
foresee in advance whether a file exists or not, so I detect the file 
doesn't exist by checking whether the [textfile] contains any message 
after reading it (by banging it etc)... (ok I can't distinguish between 
file-not-found and empty file but it's fine for me by now)
So in these cases I'd like to avoid printing an error message for a 
condition that is indeed ok. Especially because it can happen a lot of 
times and generate a huge lot of "junk" (in this case) erro rmessages 
which make it difficult to read real useful output.


If I could send Pd a message to suppress error messages, I would do it 
just before reading the file and restore them just after...


Is that possible?
Any other trick?

P.S. in Pd Vanilla if possible.

thanks
m.

--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


[PD] White noise, Gaussian White Noise

2010-02-14 Thread Guilherme Lunhani
Hi,
I have a doubt about random generator in [noise~]:

I would like to make a "gaussian white noise",
buti don't know if [noise~] have (or not) a gaussian probablistic function
that generate random numbers...

well, i send a [gaussian~] that i make for comparisons

Thanks

Abstract: [gaussian~]

#N canvas 130 291 1151 548 10;
#X obj 76 273 gauss;
#X obj 292 247 expr if($f1==0 \, 0.5 \, $f1);
#X obj 292 1 loadbang;
#X obj 318 60 \$2;
#X obj 292 60 \$3;
#X obj 346 60 \$1;
#X obj 346 83 expr if($f1==0 \, 100 \, $f1);
#X obj 346 105 * 44.1;
#X text 389 107 100ms;
#X text 484 188 sigma = 1/12;
#X text 451 247 mu = 0.5;
#X obj 76 51 route generate bang play;
#X obj 76 23 inlet;
#N canvas 0 22 450 300 (subpatch) 0;
#X array \$0-gaussian_noise 10 float 3;
#A 0 -0.00524598 0 0 0 0 0 0 0 0 0;
#X coords 0 1 10 -1 200 70 1;
#X restore 277 334 graph;
#X msg 373 152 resize \$1;
#X obj 442 151 s \$0-gaussian_noise;
#X obj 346 128 t f f;
#X obj 103 190 counter;
#X obj 76 372 tabwrite \$0-gaussian_noise;
#X obj 76 82 t b b;
#X msg 122 99 0;
#X obj 76 158 t b f;
#X msg 146 17 generate;
#X obj 75 129 for++ 0 4410;
#X obj 401 -4 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X floatatom 505 247 5 0 0 0 - - -;
#X floatatom 567 187 5 0 0 0 - - -;
#X floatatom 429 106 5 0 0 0 - - -;
#X obj 318 186 expr if($f1==0 \, 0.083 \, $f1);
#X obj 76 301 * 2;
#X obj 76 330 - 1;
#X obj 120 482 outlet~;
#X obj 172 482 outlet;
#X obj 120 450 tabplay~ \$0-gaussian_noise;
#X obj 534 66 samplerate~;
#X obj 293 32 t b b b b;
#X obj 534 87 / 1000;
#X connect 0 0 29 0;
#X connect 1 0 0 2;
#X connect 1 0 25 0;
#X connect 2 0 35 0;
#X connect 3 0 28 0;
#X connect 4 0 1 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 7 0 16 0;
#X connect 7 0 27 0;
#X connect 11 0 19 0;
#X connect 11 1 33 0;
#X connect 11 2 33 0;
#X connect 12 0 11 0;
#X connect 14 0 15 0;
#X connect 16 0 23 1;
#X connect 16 1 14 0;
#X connect 17 0 18 1;
#X connect 19 0 23 0;
#X connect 19 1 20 0;
#X connect 20 0 17 2;
#X connect 21 0 0 0;
#X connect 21 1 17 0;
#X connect 22 0 11 0;
#X connect 23 0 21 0;
#X connect 24 0 35 0;
#X connect 28 0 0 1;
#X connect 28 0 26 0;
#X connect 29 0 30 0;
#X connect 30 0 18 0;
#X connect 33 0 31 0;
#X connect 33 1 32 0;
#X connect 34 0 36 0;
#X connect 35 0 4 0;
#X connect 35 1 3 0;
#X connect 35 2 5 0;
#X connect 35 3 34 0;
#X connect 36 0 7 1;
#X coords 0 -1 1 1 215 110 1 270 300;

Help:

#N canvas 184 300 547 305 10;
#X msg 16 62 generate;
#X obj 16 254 dac~;
#X msg 33 86 play;
#X text 71 62 generate random numbers;
#X text 67 86 or;
#X obj 90 87 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 241 120 args: time \, sigma(variation) \, mu;
#X text 241 137 default: time: 100ms \, sigma: 1/12 \, mu: 0.5;
#X obj 231 245 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 16 123 gaussian~ 2000 0.083 0.5;
#X obj 286 56 noise~;
#X obj 357 223 samplerate~;
#X text 289 274 Guilherme Lunhani \, gcravi...@gmail.com;
#X connect 0 0 9 0;
#X connect 2 0 9 0;
#X connect 5 0 9 0;
#X connect 9 0 1 1;
#X connect 9 0 1 0;
#X connect 9 1 8 0;
#N canvas 184 300 547 305 10;
#X msg 16 62 generate;
#X obj 16 254 dac~;
#X msg 33 86 play;
#X text 71 62 generate random numbers;
#X text 67 86 or;
#X obj 90 87 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 241 120 args: time \, sigma(variation) \, mu;
#X text 241 137 default: time: 100ms \, sigma: 1/12 \, mu: 0.5;
#X obj 231 245 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 16 123 gaussian~ 2000 0.083 0.5;
#X obj 286 56 noise~;
#X obj 357 223 samplerate~;
#X text 289 274 Guilherme Lunhani \, gcravi...@gmail.com;
#X connect 0 0 9 0;
#X connect 2 0 9 0;
#X connect 5 0 9 0;
#X connect 9 0 1 1;
#X connect 9 0 1 0;
#X connect 9 1 8 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Dynamic Object Creation

2010-02-14 Thread Jordi Sala
An example:http://vimeo.com/9447773

On 14 February 2010 18:35, Ben Baker-Smith  wrote:
> Thanks to the both of you.  I haven't checked out the forum patch yet
> (I will), but the help browser page (1.msg_and_patch) is exactly what
> I was looking for.
>
> -Ben
>
> On Sun, Feb 14, 2010 at 5:59 AM, Marco Donnarumma  wrote:
>> Sorry if you already took a look at those patches, but you might want to
>> check the Pd browser > manuals/ > pd-msg/ > 1.msg_and_patch/
>>
>>
>> M
>>
>>
>>
>>>
>>> Hello List,
>>>
>>> I know this has been addressed a few times on the list in past years,
>>> but I couldn't find any concrete instructions.. so, here's my
>>> question.  What is the best way to approach dynamic object creation?
>>> I'm hoping that there are some messages that can create instances of
>>> abstractions or objects.  If these exist, are they documented
>>> somewhere?
>>>
>>> Thanks everyone!
>>>
>>> -Ben
>>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Jordi Sala
http://musa.poperbu.net

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


Re: [PD] White noise, Gaussian White Noise

2010-02-14 Thread Guilherme Lunhani
Sorry,

I found the answer
http://www.mail-archive.com/pd-list@iem.at/msg16694.html

2010/2/14 Guilherme Lunhani 

> Hi,
> I have a doubt about random generator in [noise~]:
>
> I would like to make a "gaussian white noise",
> buti don't know if [noise~] have (or not) a gaussian probablistic function
> that generate random numbers...
>
> well, i send a [gaussian~] that i make for comparisons
>
> Thanks
>
> Abstract: [gaussian~]
>
> #N canvas 130 291 1151 548 10;
> #X obj 76 273 gauss;
> #X obj 292 247 expr if($f1==0 \, 0.5 \, $f1);
> #X obj 292 1 loadbang;
> #X obj 318 60 \$2;
> #X obj 292 60 \$3;
> #X obj 346 60 \$1;
> #X obj 346 83 expr if($f1==0 \, 100 \, $f1);
> #X obj 346 105 * 44.1;
> #X text 389 107 100ms;
> #X text 484 188 sigma = 1/12;
> #X text 451 247 mu = 0.5;
> #X obj 76 51 route generate bang play;
> #X obj 76 23 inlet;
> #N canvas 0 22 450 300 (subpatch) 0;
> #X array \$0-gaussian_noise 10 float 3;
> #A 0 -0.00524598 0 0 0 0 0 0 0 0 0;
> #X coords 0 1 10 -1 200 70 1;
> #X restore 277 334 graph;
> #X msg 373 152 resize \$1;
> #X obj 442 151 s \$0-gaussian_noise;
> #X obj 346 128 t f f;
> #X obj 103 190 counter;
> #X obj 76 372 tabwrite \$0-gaussian_noise;
> #X obj 76 82 t b b;
> #X msg 122 99 0;
> #X obj 76 158 t b f;
> #X msg 146 17 generate;
> #X obj 75 129 for++ 0 4410;
> #X obj 401 -4 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X floatatom 505 247 5 0 0 0 - - -;
> #X floatatom 567 187 5 0 0 0 - - -;
> #X floatatom 429 106 5 0 0 0 - - -;
> #X obj 318 186 expr if($f1==0 \, 0.083 \, $f1);
> #X obj 76 301 * 2;
> #X obj 76 330 - 1;
> #X obj 120 482 outlet~;
> #X obj 172 482 outlet;
> #X obj 120 450 tabplay~ \$0-gaussian_noise;
> #X obj 534 66 samplerate~;
> #X obj 293 32 t b b b b;
> #X obj 534 87 / 1000;
> #X connect 0 0 29 0;
> #X connect 1 0 0 2;
> #X connect 1 0 25 0;
> #X connect 2 0 35 0;
> #X connect 3 0 28 0;
> #X connect 4 0 1 0;
> #X connect 5 0 6 0;
> #X connect 6 0 7 0;
> #X connect 7 0 16 0;
> #X connect 7 0 27 0;
> #X connect 11 0 19 0;
> #X connect 11 1 33 0;
> #X connect 11 2 33 0;
> #X connect 12 0 11 0;
> #X connect 14 0 15 0;
> #X connect 16 0 23 1;
> #X connect 16 1 14 0;
> #X connect 17 0 18 1;
> #X connect 19 0 23 0;
> #X connect 19 1 20 0;
> #X connect 20 0 17 2;
> #X connect 21 0 0 0;
> #X connect 21 1 17 0;
> #X connect 22 0 11 0;
> #X connect 23 0 21 0;
> #X connect 24 0 35 0;
> #X connect 28 0 0 1;
> #X connect 28 0 26 0;
> #X connect 29 0 30 0;
> #X connect 30 0 18 0;
> #X connect 33 0 31 0;
> #X connect 33 1 32 0;
> #X connect 34 0 36 0;
> #X connect 35 0 4 0;
> #X connect 35 1 3 0;
> #X connect 35 2 5 0;
> #X connect 35 3 34 0;
> #X connect 36 0 7 1;
> #X coords 0 -1 1 1 215 110 1 270 300;
>
> Help:
>
> #N canvas 184 300 547 305 10;
> #X msg 16 62 generate;
> #X obj 16 254 dac~;
> #X msg 33 86 play;
> #X text 71 62 generate random numbers;
> #X text 67 86 or;
> #X obj 90 87 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X text 241 120 args: time \, sigma(variation) \, mu;
> #X text 241 137 default: time: 100ms \, sigma: 1/12 \, mu: 0.5;
> #X obj 231 245 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
> -1 -1;
> #X obj 16 123 gaussian~ 2000 0.083 0.5;
> #X obj 286 56 noise~;
> #X obj 357 223 samplerate~;
> #X text 289 274 Guilherme Lunhani \, gcravi...@gmail.com;
> #X connect 0 0 9 0;
> #X connect 2 0 9 0;
> #X connect 5 0 9 0;
> #X connect 9 0 1 1;
> #X connect 9 0 1 0;
> #X connect 9 1 8 0;
> #N canvas 184 300 547 305 10;
> #X msg 16 62 generate;
> #X obj 16 254 dac~;
> #X msg 33 86 play;
> #X text 71 62 generate random numbers;
> #X text 67 86 or;
> #X obj 90 87 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X text 241 120 args: time \, sigma(variation) \, mu;
> #X text 241 137 default: time: 100ms \, sigma: 1/12 \, mu: 0.5;
> #X obj 231 245 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
> -1 -1;
> #X obj 16 123 gaussian~ 2000 0.083 0.5;
> #X obj 286 56 noise~;
> #X obj 357 223 samplerate~;
> #X text 289 274 Guilherme Lunhani \, gcravi...@gmail.com;
> #X connect 0 0 9 0;
> #X connect 2 0 9 0;
> #X connect 5 0 9 0;
> #X connect 9 0 1 1;
> #X connect 9 0 1 0;
> #X connect 9 1 8 0;
>
>
>
>


-- 
Página pessoal:
http://gcravista.googlepages.com/guilhermemartinslunhanii
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] peak amplitude in pd vanilla (was: [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?)

2010-02-14 Thread ypatios
hello

im sorry i left the thread for some time now.
thank you all very much for your replies.

Your results are confirmed here too: the two methods with vsnapshot~  and
writing-reading to a table are equally inefficient.
Matt's suggestion --whilst much more efficient-- has a serious disadvantage:
it seems that there is no way of reseting [max~ ] without losing some
samples (which could include a "peak").
Generally, i had many confusing problems while testing that one. Has anyone
else tried it??

I give up for now due to the lack of time
if anyone has another idea, please share! :-)

(By the way: there is another limitation i noticed in [bang~ ]: it won't go
faster than 1 bang every 64 samples, even if the block size is set under
that)


thanks again

alabala

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