Re: [PD] iemlib compilation failed with -Werror

2010-08-17 Thread Willy WOLFF
On 08/17/2010 02:18 PM, IOhannes m zmoelnig wrote:
> On 2010-08-17 13:33, Willy WOLFF wrote:
>> Can we omit this flag in all Make.include and makefile_linux in CLFAGS?
>> If yes, can you change that?
> 
> i would prefer to fix the warning rather than suppressing it.
> 
> fgmasdr
> IOhannes
> 

Ok.
I have this error when i compile it :

make[1]: Entering directory `/home/will/develop/svn/iemlib/iem_mp3/src'
touch iem_mp3.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-fno-stack-protector -I. -I/usr/local/src/pd/src -c - iem_mp3.o iem_mp3.c
touch mp3play~.c
cc -DPD -DUNIX -W -Werror -Wno-unused -Wno-parentheses -Wno-switch -O6
-funroll-loops -fomit-frame-pointer -fno-strict-aliasing -DDL_OPEN -fPIC
-fno-stack-protector -I. -I/usr/local/src/pd/src -c - mp3play~.o mp3play~.c
cc1: warnings being treated as errors
mp3play~.c: In function ‘mp3play_tilde_read_frame_length_first’:
mp3play~.c:3196: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c:3198: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c:3201: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c:3204: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c: In function ‘mp3play_tilde_read_frame_length_next’:
mp3play~.c:3282: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c:3284: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c:3287: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c:3290: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c: In function ‘mp3play_tilde_do_open’:
mp3play~.c:3445: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
mp3play~.c: In function ‘mp3play_tilde_perform’:
mp3play~.c:3580: error: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
make[1]: *** [mp3play~.o] Error 1
make[1]: Leaving directory `/home/will/develop/svn/iemlib/iem_mp3/src'
make: *** [iem_mp3] Error 2

The result of the fread function is not used, so we could delete it?

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


[PD] job opening at GSU Atlanta

2010-08-17 Thread michael fowler




For those interested in academia jobs, a new one appearing at GSU (Georgia 
State University), Atlanta. See description below, more info and application 
procedures found at: 

http://www.cas.gsu.edu/secondcentury_newmedia.html#mus


DIGITAL MUSIC TECHNOLOGY (open rank, tenure track)


The School of Music at Georgia State University invites 
applications for an anticipated tenure-track position in Digital Music 
Technology as part of a four-person cluster hire in New Media. Terminal 
degree (Ph.D. preferred) in music composition, music technology, sonic 
art, or performance (or equivalent professional experience) required. 
Demonstrated success in publication and presentation of original 
research, and an established record of performances, recordings, and 
exhibitions is expected. Salary and rank will be commensurate with 
qualifications. 

The successful candidate will be a professionally active 
composer, performer, or sound artist, engaged in music research that 
expresses the currency of digital technology in a number of the 
following areas: electroacoustic music, computer music synthesis, 
technology in live performance, musical signal processing, multi-channel
 sound spatializaton, computer-aided algorithmic composition, musical 
psychoacoustics, real­ time interactivity, hyperimprovisation, interface
 design, new/virtual instruments, new interfaces and performance 
systems, telematic performance, sound installation, radiophonic art, and
 analysis of electroacoustic music. Intersections with digital art, 
computer graphics, computer animation, virtual art, Internet art, 
interactive art technologies, computer robotics, and art as 
biotechnology are highly desirable. Experience with audio recording 
production and sound design for video, film, installation, and 
performance is also sought. Finally, the candidate should demonstrate 
success in the area of external funding support through grants and 
fellowships.

Consideration will be given to a person capable of teaching a
 broad range of courses in music technology studies and related areas on
 the undergraduate and graduate levels within a comprehensive School of 
Music. Applicants must demonstrate an in-depth knowledge of contemporary
 trends in music, the role of new media and technology in contemporary 
music performance and composition, and new developments in the field of 
music and technology. Excellent communication and organizational skills 
are expected. Well-developed collaborative skills are essential to 
facilitate and develop new research and programming agenda within the 
School of Music and in collaborations with the following departments: 
Communication, School of Art and Design, and English.

Send cover letter, CV, artist statement, statement of 
teaching philosophy, representative examples of creative work in the 
form of scores, recordings, software applications, published papers, and
 etc., three letters of reference, and a supplemental reference list 
including contact information. Position will remain open until filled. 
Send materials to: Digital Music Technology Search c/o Ms. Julinda 
Norton, School of Music, Georgia State University, 75 Poplar Street. 
Atlanta, GA 30303. 

Georgia State University, a Research University of the University 
System of Georgia, is an AA/EEO employer. 


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


Re: [PD] GEM: pix_film terribly slow in Ubuntu

2010-08-17 Thread Mathieu Bouchard

On Wed, 18 Aug 2010, Matteo Sisti Sette wrote:

I'll try that, but as I mentioned other players are not having troubles 
decoding these files


but as I mentioned, players that would need a little bit more than 100% 
CPU are sometimes found to behave very erratically, such as look like 
they'd need 500% CPU, and produce 4 fps.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM: pix_film terribly slow in Ubuntu

2010-08-17 Thread Matteo Sisti Sette

On 08/17/2010 11:30 PM, Mathieu Bouchard wrote:

On Tue, 17 Aug 2010, matteo sisti sette wrote:


Is there anything more I can try to find out what's wrong? I'm a bit
desperate...


can you recode the video with less pseudo-frames ?


I'll try that, but as I mentioned other players are not having troubles 
decoding these files



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


Re: [PD] I wanna sing like Paris - zerocrossing for vanilla

2010-08-17 Thread Martin Schied
I made a cheap vanilla zero crossing patch some time ago. it doesn't 
work properly if the signal has zero samples between crossings though.


Martin

Roman Haefeli wrote:

On Tue, 2010-08-17 at 13:59 +0200, Matteo Sisti Sette wrote:
  

On 08/17/2010 01:39 PM, Roman Haefeli wrote:


On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:

  

i will try this when i have found a way to extract
single-cycle waves from audio input in pd...


Not yet tried it myself, but what about writing live input to a table
(for instance with [tabwrite~]) in order to have access to the audio
data with message based objects? With those it should be fairly easy to
the detect the exact position of a zero crossing. For finding a single
cycle, it would be sufficient to find a positive crossing - for
instance-  and from there find the next one, so you have the exact end
points of one single cycle.

  
How would you look for zero crossings? With message based objects such 
as [until], a counter, [tabread] and comparing to zero?

Is that feasible?

(sorry for hijacking the discussion, I am curious about that)



yeah, actually that's what I thought about. I guess, one would not
compare to zero, but compare to the previous sample and check whether
the sign has changed. One could even perform linear (or even polynomial
interpolation) to find the subsample accurate location of the crossing. 


Roman


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

  




z1~.pd
Description: application/puredata


ppd_zerocross~-help.pd
Description: application/puredata


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


Re: [PD] List with variable number of floats

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Sorry guys... It seems I'm not getting all the responses to the threads.
I know this because I'm receiving the "packs" of daily threads and in them I'm 
seeing messages I'm not getting...
Some of those messages have attachments that I can't access!
For the case being discussed, I missed Frank Barknecht's attachment! Could you 
please resend it!?

Thanks!
Joao Vidigal


On 17 Aug 2010, at 17:07, Mathieu Bouchard wrote:

On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote:

> Is there a possibility of storing the ID of the slots already triggered? Like 
> a list? The thing is that if it is a list it would have to have a variable 
> number of floats (wouldn't it?). Why do I need this? Because after triggering 
> a random slot ON I want to trigger a random slot OFF. So, I have to know what 
> are the slots triggered on in order to trigger one of these OFF and not one 
> 18. Otherwise I could end up triggering off a slot that was never on! As well 
> I need to know witch ones are OFF to randomly select and turn one on.

Send 18 to configure an [urn]. then banging it 18 times will give you the 
numbers from 0 to 17 in random order. If you bang it one more time it will 
produce a bang that you can use to reset it with a 18.

If you actually need more than that (e.g. see the actual list of remaining 
numbers), [urn] doesn't provide that, so, you will have to make your own [urn], 
or make your own special patching around a plain [urn].

_ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


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


Re: [PD] GEM: pix_film terribly slow in Ubuntu

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, matteo sisti sette wrote:


Is there anything more I can try to find out what's wrong? I'm a bit
desperate...


can you recode the video with less pseudo-frames ?

for example, there is an encoding setting which, when set to '8', it 
encodes one frame completely (usually as some variant of JPEG) and then 
the next 7 frames are encoded as "diffs" of some kind (codec-specific 
format). It's possible that this setting is very high, and that halving 
this setting changes the fps radically in your decoding.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GEM: pix_film terribly slow in Ubuntu

2010-08-17 Thread matteo sisti sette
Is there anything more I can try to find out what's wrong? I'm a bit
desperate...

I'm getting significantly better performance in Windows 7 on a virtual
machine on Ubuntu than natively in Ubuntu


Thank you
m.





2010/8/16 Matteo Sisti Sette :
> On 08/16/2010 05:37 PM, Mathieu Bouchard wrote:
>
>> If a movie decoding induces frame skipping, the frame skipping consumes
>> a lot more CPU than the normal decoding. I've seen this happen in MAX as
>> well.
>
> The slowness and high CPU consumption happens even with "auto 1": shouldn't
> frame skipping happen only for speeds greater than the original framerate
> (that is, only when you actually have to skip frames)?
>
> OR, maybe, it could also be expectable, if the implementation is not "overly
> smart", that it would do frame skipping (even to skip from frame n to frame
> n itself) whenever "auto" mode is turned off
>
>>
>> Can you put it in slow motion (play at a lesser fps than what's
>> indicated by the file) and confirm that below a certain wanted fps, it
>> starts to take radically less real time per logical time ? that should
>> be when it stops skipping frames.
>
> I don't understand that very well: it should stop "skipping" frames as soon
> as the wanted fps is _equal_ to the file's fps; if you go much lower, I
> would guess it would actually not only stop "skipping" frames, but stop
> _decoding_ frames when it just repeats the same frame
>
> Indeed, if it started taking less real time per frame only when demanded a
> _very_ low fps, I would rather interpret that it is actually doing "frame
> skipping" every time it is asked for a new frame, whichever it is (even the
> next one), except when it is the same frame it is already at.
>
> ...what am I missing?
>
>



-- 
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] Pd on Maemo N900 WAS: pd on ipad with externals

2010-08-17 Thread Hans-Christoph Steiner


Its easy enough to throw this stuff in a wiki page and build from there:

http://puredata.info/docs/developer/BuildingPdforMaemo

Please add and improve! :)

.hc


On Aug 17, 2010, at 2:01 AM, Koray Tahiroglu wrote:


Hi Peter, Alexander

We will document it more later, but very briefly first you need root  
on the device, and make sure that you have the latest version of  
Maemo 5 10.2010.19-1, then the usual ones,  
tcl8.5_8.5.8-2maemo2_armel.deb, tcl8.5-dev_8.5.8-2maemo2_armel.deb,  
tk8.5_8.5.8-1maemo1_armel.deb, tk8.5-dev_8.5.8-1maemo1_armel.deb.  
And for Alsa libasound2-dev is necessary. After that you can ./ 
configure and make  pd-0.42-5. This will at least make you run Pd  
and  for better audio, we are working on that at the moment.



Koray

On Aug 14, 2010, at 12:36 PM, Peter Plessas wrote:


Dear Koray,

any things one has to consider when compiling pd for Maemo then?

thanks!
P

On 08/14/2010 08:08 AM, Koray Tahiroglu wrote:

Hei Peter,

Maemo runs Pd GUI as any linux machine runs Pd. Maemo is OS, I am  
not sure what Nokia thinks about its development, they might have  
weird decisions sometimes. At the moment, Jari Kleimola and I are  
working on this, currently focusing on the audio porting, and got  
good results immediately.



Best,

Koray


On Aug 13, 2010, at 3:59 PM, Peter Plessas wrote:


Merhaba Koray,

that's exciting news! Does Maemo run Pd's GUI too? Do you know if  
Maemo
(that's the OS, right?) will be developed further, I heard it  
will be

merged with MeeGo? Oh, and who is 'we', the people developing it?

all the best,
Peter

On 08/13/2010 09:41 AM, Koray Tahiroglu wrote:
Maemo N900 is another option, as you can run Pd-vanilla and you  
can compile any external you like ( although we haven't test GEM  
yet) in the actual device. We are currently fixing the audio and  
later on we might take a look at some GUI development, but the  
good thing is, it is the same Pd version you use in your  
computers, so all your previous patches will also work in Maemo  
as well. Later on we will also try Pd-extended  in N900. I will  
post the link later on when we will have time to document all  
these.



Koray

On Aug 11, 2010, at 5:47 PM, pd-list-requ...@iem.at wrote:


Message: 2
Date: Wed, 11 Aug 2010 09:31:39 -0400
From: Hans-Christoph Steiner 
Subject: Re: [PD] pd on ipad with externals
To: Peter Plessas 
Cc: pd-list 
Message-ID: <1281533499.2724.18.ca...@palatschinken>
Content-Type: text/plain; charset="UTF-8"


Right now, Peter Brinkmann, Peter Kirn, and I are leading the  
effort,

but there have been a number of contributors as the project was
developed.  We have a nice Android/libpd app design and are now  
working
on finalizing a proper release.  The source code is available,  
break out

your Eclipse and your phone (or use the emulator) and try it out!

http://gitorious.org/pdlib

.hc

On Wed, 2010-08-11 at 13:16 +0200, Peter Plessas wrote:

Lieber Hans,

Who is developing what here? Is there a name for the project?  
What's the

status?

liebe Gr?sse,
Peter

On 08/10/2010 06:42 PM, Hans-Christoph Steiner wrote:


I suggest getting an Android device, we have the loading of  
externals
working so its only a matter of time before we have Pd- 
extended in the

Android Marketplace.

That said, you can build Pd for iPhoneOS, run it from the cmd  
line, then
load externals.  Then you can use the [apple/multitouch] to  
get data

from the touch.

.hc

On Aug 10, 2010, at 6:07 AM, Jo?o Pais wrote:

but to make patches run, they have to be programmed in  
vanilla, right?
and it's not possible to do reatime control like input  
numbers, or

anything more than the touchpad control?

or is it possible to use pd-ext in the iphone or ipod maxi?


rjdj is on the ipad, so Pd runs on the iPad.  There are two  
other Pd for
iPhoneOS branch projects out there (iJam?), so they should  
be runnable.
If someone wants to take on merging all these iPhoneOS  
branches I'll
help get it into the new libpd/Android branch and vanilla  
too.


.hc

On Fri, 2010-08-06 at 22:52 +0200, Peter Plessas wrote:

Dear list,

Does Pd run on an iPad? Can one compile externals for it  
and how is the
development situation for the device? Thanks for any  
pointers!

P

___
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



--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
jmmmp...@googlemail.com | skype: jmmmpjmmmp








-
M.Koray Tahiroğlu
Media Lab,
Aalto University,
School of Art and Design
http://mlab.taik.fi/~korayt
tel: +358 45 233 6272








___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-manage

Re: [PD] "new wrap incompatible object" error

2010-08-17 Thread Hans-Christoph Steiner


On Aug 17, 2010, at 3:16 AM, Frank Barknecht wrote:


Hi,

On Mon, Aug 16, 2010 at 11:09:20PM -0400, Hans-Christoph Steiner  
wrote:

That's the idea of Pd-extended: a standard install.


... which still can be immensely different from machine to machine,  
like by
library updates or by changed start-up defaults (e.g. removal/ 
addition of
loaded libs) or by installing libraries not in pd-x (sssad, rj, ...)  
etc.


Pd-extended is a more powerful, but in fact less standardized  
platform than

Pd-vanilla w/o externals. It's in its nature.



That's not a really useful comparison.  GNU without X is really  
standardized, but if you want a GUI, then you get into GNOME, KDE,  
xfce, etc.


Try doing lots of list operations without list-abs on Pd-vanilla, or  
try doing OpenGL without Gem on Pd-vanilla.  Libraries are very useful  
things.


.hc




As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously. - Benjamin Franklin




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


Re: [PD] on mouse over

2010-08-17 Thread Ariane stolfi
hi

I was trying with [iem_event],
and it was working, but now I got an error

error: ivnt: no method for 'move_x_y',
(see atached patch)

also, it cant find the help patch for ivnt.pd,
and I had to open the file from the pd patch to figure how it works

now I'm gonna try with gridflow, but I would prefer to work with built-in
externals from pd-extended

thanks
Ariane

2010/8/16 Mathieu Bouchard 

> On Mon, 16 Aug 2010, Ariane stolfi wrote:
>
>  as I can see it can be done with mouse coordinates, but it would be nicer
>> if it was something that could be dragable. I want to make one object to
>> play each chord when the mouse is over, and to be able to select one scale
>> for each music by placing the objects together
>> can I use [iem_event] or [gf/mouse_spy] to do that?
>>
>
> [gf/mouse_spy] also will reports clicks and unclicks, and you can process
> that with [#mouse] to give you a simple drag-and-drop mechanism, but at the
> same time, it won't prevent pd's own interpretation of mouse clicks in a
> canvas.
>
> with [#see] you can display a picture in a patch and get the same output as
> [gf/mouse_spy] clipped and translated to the rectangle of the picture.
> (mouse over top left corner of the picture will give 0 0 regardless of the
> position of the picture in the patch).
>
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>


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


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mario Mora
Hi Joao

You can achieve that by starting one instance of pd in the usual way (for
audio process by example) and the other one using the terminal app , writing
there the adress to the app and starting it with the ./Pd-extended  command
by exampleit is recommended that you start the pd instace for video
(gem) with -noaudio flag or, alternatively desctivating the audio in the
menu of the app.

I have used that approach with success for audio and video processing in
real-time like this:
http://www.vimeo.com/12532169

hope it helps

bests

Mario


2010/8/17 João de Brito Rocha Reis Vidigal 

> I'm using OSX
> I want to sync 2 PD's (not 2 PD patches). One to control sound the other to
> control video (GEM).
>
> "(your OS can tell you in which CPU a process is running, there are several
> cmd tools in linux for that)"
> can OSX do it as well?
>
> On 17 Aug 2010, at 16:15, Pedro Lopes wrote:
>
> Can you clarify this a bit further?
>
> What are the two things you want to sync? (Arduino and pd? No need for OSC
> for that...but very do-able)
>
> (your OS can tell you in which CPU a process is running, there are several
> cmd tools in linux for that)
>
>
> Best regards,
> Pedro
>
> 2010/8/17 João de Brito Rocha Reis Vidigal 
>
>> Any idea on how to get the first Pd working with one  processor and the
>> second with the other?
>>
>> I'm using the Arduino firmata to trigger both sound and video. I think I
>> can't open twice the same port! So how can I use the OSC then to sync the
>> triggering!?
>>
>>
>> On 17 Aug 2010, at 16:05, Mathieu Bouchard wrote:
>>
>> On Tue, 17 Aug 2010, Pierre Massat wrote:
>>
>> > Does this mean that in Linux and on a dual core machine one instance of
>> Pd only uses one processor?
>>
>> No, it doesn't mean that.
>>
>> But all the messages and signals circulate in a since thread (on a single
>> cpu) unless you use special tools to split it into several threads.
>>
>> Then there is the "client process", which "own" the patch windows and the
>> main window. This runs separately.
>>
>> Also, [soundfiler], some GEM input/output classes, and much of PDP, can
>> run in an alternate thread.
>>
>> > Is there a way to know which processor it uses, and whether it always
>> uses the same processor?
>>
>> No idea... I still run a single-core all day long.
>>
>> _ _ __ ___ _  _ _ ...
>> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>>
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> --
> Pedro Lopes (ongoing MSc)
> contact: pedro.lo...@ist.utl.pt
> website: http://web.ist.utl.pt/Pedro.Lopes
>
>
> ___
> 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] Invasion Prague ! : 20-22 August

2010-08-17 Thread Jonathan Wilkes


--- On Tue, 8/17/10, ydego...@gmail.com  wrote:

> From: ydego...@gmail.com 
> Subject: [PD] Invasion Prague ! : 20-22 August
> To: "p1k53l workshop" , "PD List" 
> Date: Tuesday, August 17, 2010, 7:11 PM
> 
> http://invaze.tk/
> 
> 
> the format of the festival is rather 'free',
> so they told me to present our projects,
> i might talk of streaming and opencv,,,
> or of something totally different,
> who knows ?
> 
> ( maybe of the wonderful vloopback
> or my life of dirty hacker
> ( some fsf people call us like that ) )...

Why do they call you a dirty hacker?  And what does it mean?

> 
> good fun anyway,
> sevy
> 
> 
> ___
> 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] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Max
download these patches, they describe different approaches in how to approach 
this
http://web.uni-weimar.de/medien/wiki/Audiovideo

mn.

Am 17.08.2010 um 17:18 schrieb João de Brito Rocha Reis Vidigal:

> I'm using OSX
> I want to sync 2 PD's (not 2 PD patches). One to control sound the other to 
> control video (GEM).
> 
> "(your OS can tell you in which CPU a process is running, there are several 
> cmd tools in linux for that)"
> can OSX do it as well?
> 
> On 17 Aug 2010, at 16:15, Pedro Lopes wrote:
> 
> Can you clarify this a bit further?
> 
> What are the two things you want to sync? (Arduino and pd? No need for OSC 
> for that...but very do-able)
> 
> (your OS can tell you in which CPU a process is running, there are several 
> cmd tools in linux for that)
> 
> 
> Best regards,
> Pedro
> 
> 2010/8/17 João de Brito Rocha Reis Vidigal 
> Any idea on how to get the first Pd working with one  processor and the 
> second with the other?
> 
> I'm using the Arduino firmata to trigger both sound and video. I think I 
> can't open twice the same port! So how can I use the OSC then to sync the 
> triggering!?
> 
> 
> On 17 Aug 2010, at 16:05, Mathieu Bouchard wrote:
> 
> On Tue, 17 Aug 2010, Pierre Massat wrote:
> 
> > Does this mean that in Linux and on a dual core machine one instance of Pd 
> > only uses one processor?
> 
> No, it doesn't mean that.
> 
> But all the messages and signals circulate in a since thread (on a single 
> cpu) unless you use special tools to split it into several threads.
> 
> Then there is the "client process", which "own" the patch windows and the 
> main window. This runs separately.
> 
> Also, [soundfiler], some GEM input/output classes, and much of PDP, can run 
> in an alternate thread.
> 
> > Is there a way to know which processor it uses, and whether it always uses 
> > the same processor?
> 
> No idea... I still run a single-core all day long.
> 
> _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
> 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> -- 
> Pedro Lopes (ongoing MSc)
> contact: pedro.lo...@ist.utl.pt
> website: http://web.ist.utl.pt/Pedro.Lopes 
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list



PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] object that only outputs list when it changes?

2010-08-17 Thread Johnny Ferguson

On 08/17/2010 10:08 AM, Mathieu Bouchard wrote:

On Tue, 17 Aug 2010, Johnny Ferguson wrote:


when [list.==] puts out a 1, I want the spigot to close (avoid
duplicates). When [list.==] puts out a 0 I want the spigot to open
(the list has changed).


ah sorry... I didn't think about it long enough...


I tried looking for a NOT object, but couldn't find one.


[==] is a NOT object. That is, it's [== 0], as 0==0 gives 1, and as 1==0
gives 0.


Moses and the 2 message boxes are as close as I can get.


With GridFlow, there is also [shunt], which is like [spigot] but has two
outlets (or any number of outlets). You can use that to make a [spigot]
and negation in a single box. (it's nearly the same as what is called
[demux] in other libraries).



Just a quick question on gridflow. Is it possible to install help files 
or something (so I can right click gridflow objects for help)? I had the 
doc folder after compiling from source, but I wasn't sure where to put it.



_ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801



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


[PD] Invasion Prague ! : 20-22 August

2010-08-17 Thread ydego...@gmail.com


http://invaze.tk/


the format of the festival is rather 'free',
so they told me to present our projects,
i might talk of streaming and opencv,,,
or of something totally different,
who knows ?

( maybe of the wonderful vloopback
or my life of dirty hacker
( some fsf people call us like that ) )...

good fun anyway,
sevy


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


Re: [PD] Pd 0.42 sigmund~

2010-08-17 Thread Pierre Massat
Oh yeah!
Thanks,

Pierre

2010/8/17 Miller Puckette 

> Hi all --
>
> just grab the sigmund~ from vanilla and put it in your patch's directory
> and
> it should get loaded instead of the installed version.
>
> cheers
> Miller
>
> On Tue, Aug 17, 2010 at 06:09:28PM +0200, Pierre Massat wrote:
> > Hi all,
> > I read on Miller Puckette's webpage that [sigmund~] has improved in the
> > latest Pd-vanilla. I use this object in my guitar patch and i have never
> > been fully happy with the previous version.
> > Does anybody know how much different and better the new sigmund~ is? I
> would
> > be glad to have a better psychoanalyst to reveal the pitch in my signal,
> but
> > my patch was made using pd-extended and i m wondering whether a
> > vanilla-rewrite is worth the trouble.
> >
> > Pierre
>
> > ___
> > 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] List with variable number of floats

2010-08-17 Thread Frank Barknecht
Hi,

On Tue, Aug 17, 2010 at 06:40:16PM +0200, tim vets wrote:
> see attachment
> uses tabdumb and list-idx
> chooses one of 18 'onn/off states' in a table randomly and flips it

I think, this also isn't wat Joao wanted, but there is a more direct
approach to flipping, see attm.

Ciao
-- 
Frank
#N canvas 0 0 601 322 10;
#X obj 82 121 tabread \$0-active;
#X obj 82 147 ==;
#X obj 82 170 tabwrite \$0-active;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-active 18 float 0;
#X coords 0 1 17 -1 200 140 1;
#X restore 253 49 graph;
#X obj 82 96 t f f;
#X msg 82 50 bang;
#X obj 82 73 random 18;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 4 0 0 0;
#X connect 4 1 2 1;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd 0.42 sigmund~

2010-08-17 Thread Miller Puckette
Hi all --

just grab the sigmund~ from vanilla and put it in your patch's directory and
it should get loaded instead of the installed version.

cheers
Miller

On Tue, Aug 17, 2010 at 06:09:28PM +0200, Pierre Massat wrote:
> Hi all,
> I read on Miller Puckette's webpage that [sigmund~] has improved in the
> latest Pd-vanilla. I use this object in my guitar patch and i have never
> been fully happy with the previous version.
> Does anybody know how much different and better the new sigmund~ is? I would
> be glad to have a better psychoanalyst to reveal the pitch in my signal, but
> my patch was made using pd-extended and i m wondering whether a
> vanilla-rewrite is worth the trouble.
> 
> Pierre

> ___
> 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] List with variable number of floats

2010-08-17 Thread tim vets
i mean 'tabdump' not 'tabdumB' :)

2010/8/17 tim vets 

> see attachment
> uses tabdumb and list-idx
> chooses one of 18 'onn/off states' in a table randomly and flips it
> gr,
> Tim
>
> 2010/8/17 Frank Barknecht 
>
>> Hi João,
>>
>> On Tue, Aug 17, 2010 at 04:30:00PM +0100, João de Brito Rocha Reis Vidigal
>> wrote:
>> > Here's what I wanna do:
>> >
>> > I have 18 slot for audio and video to play. There can be one playing,
>> none or even um to the 18.
>> > These slots are to be triggered randomly.
>> > Is there a possibility of storing the ID of the slots already triggered?
>> Like a list? The thing is that if it is a list it would have to have a
>> variable number of floats (wouldn't it?).
>> > Why do I need this? Because after triggering a random slot ON I want to
>> trigger a random slot OFF. So, I have to know what are the slots triggered
>> on in order to trigger one of these OFF and not one 18. Otherwise I could
>> end up triggering off a slot that was never on!
>> > As well I need to know witch ones are OFF to randomly select and turn
>> one on.
>>
>> A brute-force approach to your problem is attached: It uses [select] to
>> re-trigger the random selection if you get a slot-value that already is
>> off.
>> If instead you get a usable slot-value, it stores this in a [f] object
>> by using the cold, right inlet, so it can be switched off later, then
>> also updates the [select] via its right inlet to watch for the new "ON"
>> slot.
>>
>> There is a small risk to get a lot of the same values from [random] but
>> this is very, very unlikely.
>>
>> You should remember the
>>
>>  [t f b]
>>  \/
>>  /\
>>  [f ]
>>
>> idiom to delay the output of a float value by one execution step. It's
>> often useful, and also the use of [select] to filter out unwanted
>> values.
>>
>> You can also do all this without storing the OFF value by transferring
>> the logic of switching off or on into your "slot" abstractions. The
>> c_tgl.pd abstractions shows how to do that. It compares an incoming
>> slot-number with [== $1] where $1 is the slot-id passed as argument. It
>> has a global receiver in it to simplify patching a bit.
>>
>> Ciao
>> --
>> Frank
>>
>> ___
>> 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] List with variable number of floats

2010-08-17 Thread tim vets
see attachment
uses tabdumb and list-idx
chooses one of 18 'onn/off states' in a table randomly and flips it
gr,
Tim

2010/8/17 Frank Barknecht 

> Hi João,
>
> On Tue, Aug 17, 2010 at 04:30:00PM +0100, João de Brito Rocha Reis Vidigal
> wrote:
> > Here's what I wanna do:
> >
> > I have 18 slot for audio and video to play. There can be one playing,
> none or even um to the 18.
> > These slots are to be triggered randomly.
> > Is there a possibility of storing the ID of the slots already triggered?
> Like a list? The thing is that if it is a list it would have to have a
> variable number of floats (wouldn't it?).
> > Why do I need this? Because after triggering a random slot ON I want to
> trigger a random slot OFF. So, I have to know what are the slots triggered
> on in order to trigger one of these OFF and not one 18. Otherwise I could
> end up triggering off a slot that was never on!
> > As well I need to know witch ones are OFF to randomly select and turn one
> on.
>
> A brute-force approach to your problem is attached: It uses [select] to
> re-trigger the random selection if you get a slot-value that already is
> off.
> If instead you get a usable slot-value, it stores this in a [f] object
> by using the cold, right inlet, so it can be switched off later, then
> also updates the [select] via its right inlet to watch for the new "ON"
> slot.
>
> There is a small risk to get a lot of the same values from [random] but
> this is very, very unlikely.
>
> You should remember the
>
>  [t f b]
>  \/
>  /\
>  [f ]
>
> idiom to delay the output of a float value by one execution step. It's
> often useful, and also the use of [select] to filter out unwanted
> values.
>
> You can also do all this without storing the OFF value by transferring
> the logic of switching off or on into your "slot" abstractions. The
> c_tgl.pd abstractions shows how to do that. It compares an incoming
> slot-number with [== $1] where $1 is the slot-id passed as argument. It
> has a global receiver in it to simplify patching a bit.
>
> Ciao
> --
> Frank
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
#N canvas 50 347 563 424 10;
#X obj 70 39 random 18;
#X obj 70 105 tabdump statelist;
#X obj 70 198 tabwrite statelist;
#X obj 70 68 t b f;
#X obj 70 136 list-idx;
#X obj 70 15 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 70 165 == 0;
#N canvas 0 0 450 300 (subpatch) 0;
#X array statelist 18 float 3;
#A 0 0 1 0 0 0 1 1 1 1 1 0 0 1 1 1 1 1 0;
#X coords 0 1 17 -1 200 140 1;
#X restore 212 59 graph;
#X connect 0 0 3 0;
#X connect 1 0 4 0;
#X connect 3 0 1 0;
#X connect 3 1 2 1;
#X connect 3 1 4 1;
#X connect 4 0 6 0;
#X connect 5 0 0 0;
#X connect 6 0 2 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] List with variable number of floats

2010-08-17 Thread Frank Barknecht
Hi,

ah, I misunderstood you a bit: I thought, you wanted only a single slot
active all the time, never more or less. This won't be able with the
simple select-solution I provided. As Matju wrote, you either need an
urn (there is one called urne.pd in purepd, or two incompatible ones as
externals called [urn] in Cyclone and zexy).

Ciao
-- 
Frank

On Tue, Aug 17, 2010 at 06:28:06PM +0200, Frank Barknecht wrote:
> Hi João,
> 
> On Tue, Aug 17, 2010 at 04:30:00PM +0100, João de Brito Rocha Reis Vidigal 
> wrote:
> > Here's what I wanna do:
> > 
> > I have 18 slot for audio and video to play. There can be one playing, none 
> > or even um to the 18.
> > These slots are to be triggered randomly.
> > Is there a possibility of storing the ID of the slots already triggered? 
> > Like a list? The thing is that if it is a list it would have to have a 
> > variable number of floats (wouldn't it?).
> > Why do I need this? Because after triggering a random slot ON I want to 
> > trigger a random slot OFF. So, I have to know what are the slots triggered 
> > on in order to trigger one of these OFF and not one 18. Otherwise I could 
> > end up triggering off a slot that was never on!
> > As well I need to know witch ones are OFF to randomly select and turn one 
> > on.
> 
> A brute-force approach to your problem is attached: It uses [select] to
> re-trigger the random selection if you get a slot-value that already is off.
> If instead you get a usable slot-value, it stores this in a [f] object
> by using the cold, right inlet, so it can be switched off later, then
> also updates the [select] via its right inlet to watch for the new "ON"
> slot.
> 
> There is a small risk to get a lot of the same values from [random] but
> this is very, very unlikely. 
> 
> You should remember the 
> 
>  [t f b]
>   \/
>   /\
>  [f ]
> 
> idiom to delay the output of a float value by one execution step. It's
> often useful, and also the use of [select] to filter out unwanted
> values.
> 
> You can also do all this without storing the OFF value by transferring
> the logic of switching off or on into your "slot" abstractions. The
> c_tgl.pd abstractions shows how to do that. It compares an incoming
> slot-number with [== $1] where $1 is the slot-id passed as argument. It
> has a global receiver in it to simplify patching a bit.
> 
> Ciao 
> -- 
> Frank

> #N canvas 84 0 1114 648 10;
> #X obj 180 170 select 0;
> #X obj 210 141 random 18;
> #X floatatom 293 288 5 0 0 0 ON - -;
> #X floatatom 231 288 5 0 0 0 OFF - -;
> #X floatatom 252 166 5 0 0 0 - - -;
> #X obj 293 315 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
> -1 -1 13;
> #X obj 294 339 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
> -1 -1 5;
> #X msg 210 112 bang;
> #X obj 151 215 bng 15 250 50 0 empty empty duplicate 17 7 0 10 -262144
> -1 -1;
> #X floatatom 270 112 5 0 0 0 - - -;
> #X obj 231 240 f;
> #X obj 233 202 t f b f f;
> #X obj 783 47 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 47 r 1003-in1-0;
> #X obj 783 77 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 77 r 1003-in1-1;
> #X obj 783 107 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 107 r 1003-in1-2;
> #X obj 783 137 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 137 r 1003-in1-3;
> #X obj 783 167 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 167 r 1003-in1-4;
> #X obj 783 197 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 197 r 1003-in1-5;
> #X obj 783 227 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 227 r 1003-in1-6;
> #X obj 783 257 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 257 r 1003-in1-7;
> #X obj 783 287 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 287 r 1003-in1-8;
> #X obj 783 317 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 317 r 1003-in1-9;
> #X obj 783 347 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 347 r 1003-in1-10;
> #X obj 783 377 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 377 r 1003-in1-11;
> #X obj 783 407 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 407 r 1003-in1-12;
> #X obj 783 437 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 1 1;
> #X obj 683 437 r 1003-in1-13;
> #X obj 783 467 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 467 r 1003-in1-14;
> #X obj 783 497 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 497 r 1003-in1-15;
> #X obj 783 527 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 527 r 1003-in1-16;
> #X obj 783 557 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
> #X obj 683 557 r 1003-in1-17;
> #X msg 231 394 0 1003-in1-\$1;
> #X msg 340 391 1 1003-in1-\$1;
> #X obj 231 429 unpack 0 s;
> #X obj 231 455 send;
> #X obj 376 107 u_robinpoly 18 c_tgl;
> #X obj 888 45 c_tgl 0;
> #X obj 888 75 c_tgl 1;
> #X obj 888 105 c_tgl 2;
> #X obj 888 135 c_tgl 3;
> #X obj 888 165 c_tgl 4;
> #X obj 888 195 c_tgl 5;
> #X obj 888 225 c_tgl 6;
> #X obj 888

Re: [PD] unchange detection

2010-08-17 Thread Marek Vanbykow
2010/8/17 Mathieu Bouchard 

> On Tue, 17 Aug 2010, Andy Farnell wrote:
>
>  Pure Evil(tm)
>>
>
> http://www.sinfest.net/comikaze/comics/2002-10-23.gif
>
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>

My request was somewhat vague.

However, thanks for your help:
that was exactely what i was looking for:

|
[t b]
|
[delay]
|

Simple & efficient !
muchas gracias !
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] List with variable number of floats

2010-08-17 Thread Frank Barknecht
Hi João,

On Tue, Aug 17, 2010 at 04:30:00PM +0100, João de Brito Rocha Reis Vidigal 
wrote:
> Here's what I wanna do:
> 
> I have 18 slot for audio and video to play. There can be one playing, none or 
> even um to the 18.
> These slots are to be triggered randomly.
> Is there a possibility of storing the ID of the slots already triggered? Like 
> a list? The thing is that if it is a list it would have to have a variable 
> number of floats (wouldn't it?).
> Why do I need this? Because after triggering a random slot ON I want to 
> trigger a random slot OFF. So, I have to know what are the slots triggered on 
> in order to trigger one of these OFF and not one 18. Otherwise I could end up 
> triggering off a slot that was never on!
> As well I need to know witch ones are OFF to randomly select and turn one on.

A brute-force approach to your problem is attached: It uses [select] to
re-trigger the random selection if you get a slot-value that already is off.
If instead you get a usable slot-value, it stores this in a [f] object
by using the cold, right inlet, so it can be switched off later, then
also updates the [select] via its right inlet to watch for the new "ON"
slot.

There is a small risk to get a lot of the same values from [random] but
this is very, very unlikely. 

You should remember the 

 [t f b]
  \/
  /\
 [f ]

idiom to delay the output of a float value by one execution step. It's
often useful, and also the use of [select] to filter out unwanted
values.

You can also do all this without storing the OFF value by transferring
the logic of switching off or on into your "slot" abstractions. The
c_tgl.pd abstractions shows how to do that. It compares an incoming
slot-number with [== $1] where $1 is the slot-id passed as argument. It
has a global receiver in it to simplify patching a bit.

Ciao 
-- 
Frank
#N canvas 84 0 1114 648 10;
#X obj 180 170 select 0;
#X obj 210 141 random 18;
#X floatatom 293 288 5 0 0 0 ON - -;
#X floatatom 231 288 5 0 0 0 OFF - -;
#X floatatom 252 166 5 0 0 0 - - -;
#X obj 293 315 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 13;
#X obj 294 339 hradio 15 1 0 18 empty empty empty 0 -8 0 10 -262144
-1 -1 5;
#X msg 210 112 bang;
#X obj 151 215 bng 15 250 50 0 empty empty duplicate 17 7 0 10 -262144
-1 -1;
#X floatatom 270 112 5 0 0 0 - - -;
#X obj 231 240 f;
#X obj 233 202 t f b f f;
#X obj 783 47 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 47 r 1003-in1-0;
#X obj 783 77 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 77 r 1003-in1-1;
#X obj 783 107 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 107 r 1003-in1-2;
#X obj 783 137 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 137 r 1003-in1-3;
#X obj 783 167 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 167 r 1003-in1-4;
#X obj 783 197 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 197 r 1003-in1-5;
#X obj 783 227 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 227 r 1003-in1-6;
#X obj 783 257 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 257 r 1003-in1-7;
#X obj 783 287 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 287 r 1003-in1-8;
#X obj 783 317 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 317 r 1003-in1-9;
#X obj 783 347 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 347 r 1003-in1-10;
#X obj 783 377 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 377 r 1003-in1-11;
#X obj 783 407 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 407 r 1003-in1-12;
#X obj 783 437 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 1 1;
#X obj 683 437 r 1003-in1-13;
#X obj 783 467 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 467 r 1003-in1-14;
#X obj 783 497 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 497 r 1003-in1-15;
#X obj 783 527 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 527 r 1003-in1-16;
#X obj 783 557 tgl 15 0 0 0 empty 17 7 0 10 -262144 -1 -1 0 1;
#X obj 683 557 r 1003-in1-17;
#X msg 231 394 0 1003-in1-\$1;
#X msg 340 391 1 1003-in1-\$1;
#X obj 231 429 unpack 0 s;
#X obj 231 455 send;
#X obj 376 107 u_robinpoly 18 c_tgl;
#X obj 888 45 c_tgl 0;
#X obj 888 75 c_tgl 1;
#X obj 888 105 c_tgl 2;
#X obj 888 135 c_tgl 3;
#X obj 888 165 c_tgl 4;
#X obj 888 195 c_tgl 5;
#X obj 888 225 c_tgl 6;
#X obj 888 255 c_tgl 7;
#X obj 888 285 c_tgl 8;
#X obj 888 315 c_tgl 9;
#X obj 888 345 c_tgl 10;
#X obj 888 375 c_tgl 11;
#X obj 888 405 c_tgl 12;
#X obj 888 435 c_tgl 13;
#X obj 888 465 c_tgl 14;
#X obj 888 495 c_tgl 15;
#X obj 888 525 c_tgl 16;
#X obj 888 555 c_tgl 17;
#X obj 363 286 send TOGGLE;
#X text 447 288 in c_tgl!!;
#X connect 0 0 1 0;
#X connect 0 0 8 0;
#X connect 0 1 11 0;
#X connect 1 0 0 0;
#X connect 1 0 4 0;
#X connect 2 0 5 0;
#X connect 2 0 49 0;
#X connect 2 0 71 0;
#X connect 3 0 6 0;
#X connect 3 0 48 0;
#X connect 7 0 1 0;
#X connect 9 0 1 1;
#X connect 10 0 3 0;
#X connect 11 0 10 1;
#X connect 11 1 10 0;
#X connect 11 2 0 1;

Re: [PD] List with variable number of floats

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Ok... I was correct... I didn't make myself clear.

Imagine I have the table (0-17).
I want to turn the ID of a random index to 1. Lets say I randomly turn 3 
indexes to 1: index 3, 7 and 14.
All good until here!!!
Now I need to turn one of these off. The issue is how do I know that these are 
the ones that have an ID 1?
The same to the other way around: How do I know that the other ones have an ID 
0?
Because I want to randomly turn to 1 one of the 0's and/or turn to 0 one of the 
1's.

João Vidigal

On 17 Aug 2010, at 16:57, tim vets wrote:

you could also use [list-find] and a list of 1's and 0's
gr,
Tim


2010/8/17 Roman Haefeli 
If I understand you correctly, you basically need a table of the size
18. Then you can use [tabwrite] to set any of the IDs (0-17) on or off
(respectively: 1 or 0).
Use [tabread] to check the state of a certain ID.

Roman

On Tue, 2010-08-17 at 16:30 +0100, João de Brito Rocha Reis Vidigal
wrote:
> Here I am again!!!
>
> This time with a list problem! Or at least I think it's a list problem!
>
> Here's what I wanna do:
>
> I have 18 slot for audio and video to play. There can be one playing, none or 
> even um to the 18.
> These slots are to be triggered randomly.
> Is there a possibility of storing the ID of the slots already triggered? Like 
> a list? The thing is that if it is a list it would have to have a variable 
> number of floats (wouldn't it?).
> Why do I need this? Because after triggering a random slot ON I want to 
> trigger a random slot OFF. So, I have to know what are the slots triggered on 
> in order to trigger one of these OFF and not one 18. Otherwise I could end up 
> triggering off a slot that was never on!
> As well I need to know witch ones are OFF to randomly select and turn one on.
>
> I don't know if was very clear!!! I hope so!
> Thanks guys!
> ___
> 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


[PD] Pd 0.42 sigmund~

2010-08-17 Thread Pierre Massat
Hi all,
I read on Miller Puckette's webpage that [sigmund~] has improved in the
latest Pd-vanilla. I use this object in my guitar patch and i have never
been fully happy with the previous version.
Does anybody know how much different and better the new sigmund~ is? I would
be glad to have a better psychoanalyst to reveal the pitch in my signal, but
my patch was made using pd-extended and i m wondering whether a
vanilla-rewrite is worth the trouble.

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


Re: [PD] List with variable number of floats

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote:

Is there a possibility of storing the ID of the slots already triggered? 
Like a list? The thing is that if it is a list it would have to have a 
variable number of floats (wouldn't it?). Why do I need this? Because 
after triggering a random slot ON I want to trigger a random slot OFF. 
So, I have to know what are the slots triggered on in order to trigger 
one of these OFF and not one 18. Otherwise I could end up triggering off 
a slot that was never on! As well I need to know witch ones are OFF to 
randomly select and turn one on.


Send 18 to configure an [urn]. then banging it 18 times will give you the 
numbers from 0 to 17 in random order. If you bang it one more time it will 
produce a bang that you can use to reset it with a 18.


If you actually need more than that (e.g. see the actual list of remaining 
numbers), [urn] doesn't provide that, so, you will have to make your own 
[urn], or make your own special patching around a plain [urn].


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] unchange detection

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, Andy Farnell wrote:


Pure Evil(tm)


http://www.sinfest.net/comikaze/comics/2002-10-23.gif

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] List with variable number of floats

2010-08-17 Thread tim vets
you could also use [list-find] and a list of 1's and 0's
gr,
Tim


2010/8/17 Roman Haefeli 

> If I understand you correctly, you basically need a table of the size
> 18. Then you can use [tabwrite] to set any of the IDs (0-17) on or off
> (respectively: 1 or 0).
> Use [tabread] to check the state of a certain ID.
>
> Roman
>
> On Tue, 2010-08-17 at 16:30 +0100, João de Brito Rocha Reis Vidigal
> wrote:
> > Here I am again!!!
> >
> > This time with a list problem! Or at least I think it's a list problem!
> >
> > Here's what I wanna do:
> >
> > I have 18 slot for audio and video to play. There can be one playing,
> none or even um to the 18.
> > These slots are to be triggered randomly.
> > Is there a possibility of storing the ID of the slots already triggered?
> Like a list? The thing is that if it is a list it would have to have a
> variable number of floats (wouldn't it?).
> > Why do I need this? Because after triggering a random slot ON I want to
> trigger a random slot OFF. So, I have to know what are the slots triggered
> on in order to trigger one of these OFF and not one 18. Otherwise I could
> end up triggering off a slot that was never on!
> > As well I need to know witch ones are OFF to randomly select and turn one
> on.
> >
> > I don't know if was very clear!!! I hope so!
> > Thanks guys!
> > ___
> > 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] Bang order entry

2010-08-17 Thread Matteo Sisti Sette
I feel like I'm missing a simpler way, but this one should do the trick 
(see attachment).


The delay amount determines the maximum time that can elapse between the 
bangs of the two sensors. If a single bang is received from one sensor 
and the other doesn't arrive within that time, the "orphan" bang will be 
forgotten.


Is it what you were looking for?


On 08/17/2010 03:51 PM, João de Brito Rocha Reis Vidigal wrote:

As it is coming from the arduino firmata, the only way I know is that
the signal inputs a bang.
So I'll have 2 bangs being hit with a delay between them. this delay
depends on the speed of the body crossing the sensors and its size!
calling them bang1 and bang2, if the order is bang1 then bang2 = coming
in, if it is bang2 then bang1 it means coming out.
the thing is I think I have to pair the hits to set an order and I just
don't know how to pair them and read it to then bang an "in" or an "out".




On 17 Aug 2010, at 14:29, Andrew Faraday wrote:

what form is this coming into pd in?

If it's a list (such as (door_crossing in) or (door_crossing out))

then you could parse it down with routes

e.g.
[route door_crossing] (removes the first item in the list, if it's
door_crossing)
|
[sel in out] (the first two inlets will be a bang if it's in or out
respectively)

Not sure how else you might be getting the data into pd


 From: jbvidi...@gmail.com 
 Date: Tue, 17 Aug 2010 13:45:53 +0100
 To: pd-list@iem.at 
 Subject: [PD] Bang order entry

 Hi again.
 Here goes another problem!

 Ok. So I'm working with Arduino firmata here...
 To expose to problem in a simple way, I have 2 sensors that are

detecting a door crossing.

 The 2 detectors give an order to the door crossing: coming in or going

out.

 Now I just don't know how I can translate that to bang 2 different

[bang( depending on if someone's comming in or going out!


 Can you help me with that!?
 Thanks

 Joao Vidigal
 ___
 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


#N canvas 362 126 620 608 10;
#X text 131 15 Here comes your signal;
#X text 132 30 Use these bangs to simulate it;
#X text 149 59 => coming in;
#X text 149 74 <= going out;
#X obj 126 69 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 260 69 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 197 278 +;
#X obj 197 301 t f f;
#X obj 197 330 select 0;
#X obj 200 371 f;
#X obj 203 401 select -1 1;
#X obj 166 444 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 257 442 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 151 468 IN;
#X text 251 470 OUT;
#X msg 128 103 1;
#X msg 260 104 -1;
#X obj 238 288 clip -1 1;
#X obj 196 158 t f f b b;
#X obj 242 212 delay 1000;
#X msg 260 186 stop;
#X msg 237 242 0;
#X connect 4 0 15 0;
#X connect 5 0 16 0;
#X connect 6 0 7 0;
#X connect 7 0 8 0;
#X connect 7 1 17 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 10 1 12 0;
#X connect 15 0 18 0;
#X connect 16 0 18 0;
#X connect 17 0 6 1;
#X connect 18 0 6 0;
#X connect 18 1 9 1;
#X connect 18 2 19 0;
#X connect 18 3 20 0;
#X connect 19 0 21 0;
#X connect 20 0 19 0;
#X connect 21 0 6 1;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, Frank Barknecht wrote:

On Tue, Aug 17, 2010 at 11:05:57AM -0400, Mathieu Bouchard wrote:

Also, [soundfiler], some GEM input/output classes, and much of PDP, can
run in an alternate thread.

I think, you mean [readsf~] and [writesf~] instead of [soundfiler] here, which
in upstream Pd is unthreaded.


right. The code of the threaded [soundfiler], which was made in 2004 or 
so, was lost in the sea of indifference.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] List with variable number of floats

2010-08-17 Thread Roman Haefeli
If I understand you correctly, you basically need a table of the size
18. Then you can use [tabwrite] to set any of the IDs (0-17) on or off
(respectively: 1 or 0). 
Use [tabread] to check the state of a certain ID.

Roman

On Tue, 2010-08-17 at 16:30 +0100, João de Brito Rocha Reis Vidigal
wrote:
> Here I am again!!!
> 
> This time with a list problem! Or at least I think it's a list problem!
> 
> Here's what I wanna do:
> 
> I have 18 slot for audio and video to play. There can be one playing, none or 
> even um to the 18.
> These slots are to be triggered randomly.
> Is there a possibility of storing the ID of the slots already triggered? Like 
> a list? The thing is that if it is a list it would have to have a variable 
> number of floats (wouldn't it?).
> Why do I need this? Because after triggering a random slot ON I want to 
> trigger a random slot OFF. So, I have to know what are the slots triggered on 
> in order to trigger one of these OFF and not one 18. Otherwise I could end up 
> triggering off a slot that was never on!
> As well I need to know witch ones are OFF to randomly select and turn one on.
> 
> I don't know if was very clear!!! I hope so!
> Thanks guys!
> ___
> 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 with variable number of floats

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Here I am again!!!

This time with a list problem! Or at least I think it's a list problem!

Here's what I wanna do:

I have 18 slot for audio and video to play. There can be one playing, none or 
even um to the 18.
These slots are to be triggered randomly.
Is there a possibility of storing the ID of the slots already triggered? Like a 
list? The thing is that if it is a list it would have to have a variable number 
of floats (wouldn't it?).
Why do I need this? Because after triggering a random slot ON I want to trigger 
a random slot OFF. So, I have to know what are the slots triggered on in order 
to trigger one of these OFF and not one 18. Otherwise I could end up triggering 
off a slot that was never on!
As well I need to know witch ones are OFF to randomly select and turn one on.

I don't know if was very clear!!! I hope so!
Thanks guys!
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Matteo Sisti Sette

On 08/17/2010 02:11 PM, João de Brito Rocha Reis Vidigal wrote:

Hi
I remember reading somewhere that it is possible to have 2 Pd patches open 
running synched at the same time.
This would be to manage sound and video in different patches in order not to 
get (or get less) glitches in sound and video.

How do I do this?


Depends on what you mean by synched.

Well of course you need to run two instances of Pd as if it was two 
different programs.


If you mean using one patch (in one pd instance) for audio and the other 
(another pd instance) for video, which is i think the only solution to 
get both audio and video work well, I usually synchronize them by 
exchanging messages through [netsend]/[netreceive] pairs, via either TCP 
or UDP.


I would periodically send a packet from audio patch to video patch to 
tell it the current time. The video patch would then compare it with its 
own time. If the difference (measured in frames) is above a certain 
threshold, it would use some strategy to correct the situation in the 
least disturbing way depending on the application.


In the most simple case, you would detect if the difference in frames is 
>1 (or <-1) and you would wait or skip the necessary number of frmaes.


Depending on the application, you may need much less than that (or a bit 
more).
For example, when you have to start playing an audio and video clip at 
the same time (which may be an audio and video file or the generation of 
images and sound), you just send one message from the "master" (e.g. to 
the audio patch) to the "slave" (e.g. the video patch) so they would 
start at the same time. If the audio and videos you're playing or 
generating are short enough (few minutes) you may even not observe 
significant desynchronization. If you do, then you can resort to the 
above strategies to correct it.


All depends on the precision you need.

I usually use audio as a master and video as a slave because slightly 
affecting the speed of the video (or even skipping a frame) for 
resynching is usually much easier and more acceptable than doing the 
same on the audio side - but of course it depends.


Well I'm kind of assuming you're using GEM for the video; GEM is pretty 
good at maintaining a reliable timing; if it gets slow because of CPU 
load for a limited period of time, it tries to compensate it when it 
can, so it tends to not accumulate big errors soon.


Is this what you were talking about?


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


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Pedro Lopes
Then OSC will suit your perfectly (you can just use your messages through
sockets, if you don't want to use OSC, but I like it personally for many
reasons).

Just have one pd sending OSC messages to the other through a port. There's
several issues regarding serious sync, but if you feel that its do-able in
this easy way.. gor for bingo (as we say in portuguese).

best regards,
Pedro

2010/8/17 João de Brito Rocha Reis Vidigal 

>  One to control sound the other to control video (GEM).
>
> "(your OS can tell you in which CPU a process is running, there are several
> cmd tools in linux for that)"
>



-- 
Pedro Lopes (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread João de Brito Rocha Reis Vidigal
I'm using OSX
I want to sync 2 PD's (not 2 PD patches). One to control sound the other to 
control video (GEM).

"(your OS can tell you in which CPU a process is running, there are several cmd 
tools in linux for that)"
can OSX do it as well?

On 17 Aug 2010, at 16:15, Pedro Lopes wrote:

Can you clarify this a bit further?

What are the two things you want to sync? (Arduino and pd? No need for OSC for 
that...but very do-able)

(your OS can tell you in which CPU a process is running, there are several cmd 
tools in linux for that)


Best regards,
Pedro

2010/8/17 João de Brito Rocha Reis Vidigal 
Any idea on how to get the first Pd working with one  processor and the second 
with the other?

I'm using the Arduino firmata to trigger both sound and video. I think I can't 
open twice the same port! So how can I use the OSC then to sync the triggering!?


On 17 Aug 2010, at 16:05, Mathieu Bouchard wrote:

On Tue, 17 Aug 2010, Pierre Massat wrote:

> Does this mean that in Linux and on a dual core machine one instance of Pd 
> only uses one processor?

No, it doesn't mean that.

But all the messages and signals circulate in a since thread (on a single cpu) 
unless you use special tools to split it into several threads.

Then there is the "client process", which "own" the patch windows and the main 
window. This runs separately.

Also, [soundfiler], some GEM input/output classes, and much of PDP, can run in 
an alternate thread.

> Is there a way to know which processor it uses, and whether it always uses 
> the same processor?

No idea... I still run a single-core all day long.

_ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


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



-- 
Pedro Lopes (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes 

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


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Pedro Lopes
Can you clarify this a bit further?

What are the two things you want to sync? (Arduino and pd? No need for OSC
for that...but very do-able)

(your OS can tell you in which CPU a process is running, there are several
cmd tools in linux for that)


Best regards,
Pedro

2010/8/17 João de Brito Rocha Reis Vidigal 

> Any idea on how to get the first Pd working with one  processor and the
> second with the other?
>
> I'm using the Arduino firmata to trigger both sound and video. I think I
> can't open twice the same port! So how can I use the OSC then to sync the
> triggering!?
>
>
> On 17 Aug 2010, at 16:05, Mathieu Bouchard wrote:
>
> On Tue, 17 Aug 2010, Pierre Massat wrote:
>
> > Does this mean that in Linux and on a dual core machine one instance of
> Pd only uses one processor?
>
> No, it doesn't mean that.
>
> But all the messages and signals circulate in a since thread (on a single
> cpu) unless you use special tools to split it into several threads.
>
> Then there is the "client process", which "own" the patch windows and the
> main window. This runs separately.
>
> Also, [soundfiler], some GEM input/output classes, and much of PDP, can run
> in an alternate thread.
>
> > Is there a way to know which processor it uses, and whether it always
> uses the same processor?
>
> No idea... I still run a single-core all day long.
>
> _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
Pedro Lopes (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Miller Puckette
There's also the pd~ object that embeds a Pd instance within an object
inside another one.  It's still under development but I've already been
using it pretty hard.

cheers
Miller

On Tue, Aug 17, 2010 at 12:05:26PM -0300, Bernardo Barros wrote:
> For communications between the two instances you can use OSC - that's
> very flexible.
> 
> Em 17 de agosto de 2010 11:55, Pierre Massat  escreveu:
> > Does this mean that in Linux and on a dual core machine one instance of Pd
> > only uses one processor? Is there a way to know which processor it uses, and
> > whether it always uses the same processor?
> >
> > Pierre
> >
> > 2010/8/17 Mathieu Bouchard 
> >>
> >> On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote:
> >>
> >>> I remember reading somewhere that it is possible to have 2 Pd patches
> >>> open running synched at the same time.
> >>> This would be to manage sound and video in different patches in order not
> >>> to get (or get less) glitches in sound and video.
> >>> How do I do this?
> >>
> >> It's OS-dependent. In Linux you just click on Pd a second time (or third
> >> time, etc).
> >>
> >> In OSX, the dock prevents this to happen, so, you have to go in Finder,
> >> ctrl-click, "Show Contents", and inside of that there's a "MACOS" folder
> >> with file named just "Pd" (no suffix). If you click on this several times,
> >> it starts Pd several times.
> >>
> >>  _ _ __ ___ _  _ _ ...
> >> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
> >> ___
> >> 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

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


Re: [PD] unchange detection

2010-08-17 Thread Andy Farnell


Pure Evil(tm)

> >> Could i find some kind of object in pd who outputs a single bang when it
> >> recieves nothing ?
> >> Thanks for your help.
> >
> > [until]
> > but you have to start the detection by sending it a [bang( once.
> 
> You're so BOFH.
> 
> http://www.bofh.ws/bofh.png

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


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Frank Barknecht
Hi,
On Tue, Aug 17, 2010 at 11:05:57AM -0400, Mathieu Bouchard wrote:
> Also, [soundfiler], some GEM input/output classes, and much of PDP, can  
> run in an alternate thread.

I think, you mean [readsf~] and [writesf~] instead of [soundfiler] here, which
in upstream Pd is unthreaded. 

[pd~] may be worth a look to distribute load on more cores but ...

> No idea... I still run a single-core all day long.

... me, too.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Any idea on how to get the first Pd working with one  processor and the second 
with the other?

I'm using the Arduino firmata to trigger both sound and video. I think I can't 
open twice the same port! So how can I use the OSC then to sync the triggering!?


On 17 Aug 2010, at 16:05, Mathieu Bouchard wrote:

On Tue, 17 Aug 2010, Pierre Massat wrote:

> Does this mean that in Linux and on a dual core machine one instance of Pd 
> only uses one processor?

No, it doesn't mean that.

But all the messages and signals circulate in a since thread (on a single cpu) 
unless you use special tools to split it into several threads.

Then there is the "client process", which "own" the patch windows and the main 
window. This runs separately.

Also, [soundfiler], some GEM input/output classes, and much of PDP, can run in 
an alternate thread.

> Is there a way to know which processor it uses, and whether it always uses 
> the same processor?

No idea... I still run a single-core all day long.

_ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


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


Re: [PD] unchange detection

2010-08-17 Thread Frank Barknecht
Hi,

On Tue, Aug 17, 2010 at 10:00:05AM +0200, IOhannes m zmoelnig wrote:
> On 2010-08-17 09:57, Marek Vanbykow wrote:
> > Could i find some kind of object in pd who outputs a single bang when it
> > recieves nothing ?
> > Thanks for your help.
> 
> 
> [until]
> 
> but you have to start the detection by sending it a [bang( once.

Took me a while to get this. :)

But although it answered the question, maybe Marek was instead looking for a
way to output a bang after nothing has happened for a while, like a kind of
activity meter. At least that's a common need on many occasions.

For this, [delay] is a great object because it resets the scheduled delay
whenever it receives a new bang. A simple activity monitor could look like
this:

 [r is_there_something_happing]
 |
 [bang]
 |
 [delay 1000]
 |
 [s nothing_happened_during_the_last_second!]

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, Pierre Massat wrote:

Does this mean that in Linux and on a dual core machine one instance of 
Pd only uses one processor?


No, it doesn't mean that.

But all the messages and signals circulate in a since thread (on a single 
cpu) unless you use special tools to split it into several threads.


Then there is the "client process", which "own" the patch windows and the 
main window. This runs separately.


Also, [soundfiler], some GEM input/output classes, and much of PDP, can 
run in an alternate thread.


Is there a way to know which processor it uses, and whether it always 
uses the same processor?


No idea... I still run a single-core all day long.

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Bernardo Barros
For communications between the two instances you can use OSC - that's
very flexible.

Em 17 de agosto de 2010 11:55, Pierre Massat  escreveu:
> Does this mean that in Linux and on a dual core machine one instance of Pd
> only uses one processor? Is there a way to know which processor it uses, and
> whether it always uses the same processor?
>
> Pierre
>
> 2010/8/17 Mathieu Bouchard 
>>
>> On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote:
>>
>>> I remember reading somewhere that it is possible to have 2 Pd patches
>>> open running synched at the same time.
>>> This would be to manage sound and video in different patches in order not
>>> to get (or get less) glitches in sound and video.
>>> How do I do this?
>>
>> It's OS-dependent. In Linux you just click on Pd a second time (or third
>> time, etc).
>>
>> In OSX, the dock prevents this to happen, so, you have to go in Finder,
>> ctrl-click, "Show Contents", and inside of that there's a "MACOS" folder
>> with file named just "Pd" (no suffix). If you click on this several times,
>> it starts Pd several times.
>>
>>  _ _ __ ___ _  _ _ ...
>> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>> ___
>> 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] object that only outputs list when it changes?

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, Frank Barknecht wrote:


On Mon, Aug 16, 2010 at 10:34:03PM -0400, Johnny Ferguson wrote:

I'm wondering if anyone knows of an object that will only pass on a list
if it changes. I'm sure I could whip something up, but I'd rather not if
it exists.

[list-compare] in the [list]-abs is a vanilla way to compare two lists.


It's only vanilla if you don't count the fact that [list]-abs have to be 
installed too.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Pierre Massat
Does this mean that in Linux and on a dual core machine one instance of Pd
only uses one processor? Is there a way to know which processor it uses, and
whether it always uses the same processor?

Pierre

2010/8/17 Mathieu Bouchard 

> On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote:
>
>  I remember reading somewhere that it is possible to have 2 Pd patches open
>> running synched at the same time.
>> This would be to manage sound and video in different patches in order not
>> to get (or get less) glitches in sound and video.
>> How do I do this?
>>
>
> It's OS-dependent. In Linux you just click on Pd a second time (or third
> time, etc).
>
> In OSX, the dock prevents this to happen, so, you have to go in Finder,
> ctrl-click, "Show Contents", and inside of that there's a "MACOS" folder
> with file named just "Pd" (no suffix). If you click on this several times,
> it starts Pd several times.
>
>  _ _ __ ___ _  _ _ ...
> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
> ___
> 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] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, João de Brito Rocha Reis Vidigal wrote:


I remember reading somewhere that it is possible to have 2 Pd patches open 
running synched at the same time.
This would be to manage sound and video in different patches in order not to 
get (or get less) glitches in sound and video.
How do I do this?


It's OS-dependent. In Linux you just click on Pd a second time (or third 
time, etc).


In OSX, the dock prevents this to happen, so, you have to go in Finder, 
ctrl-click, "Show Contents", and inside of that there's a "MACOS" folder 
with file named just "Pd" (no suffix). If you click on this several times, 
it starts Pd several times.


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] unchange detection

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, IOhannes m zmoelnig wrote:

On 2010-08-17 09:57, Marek Vanbykow wrote:

Hi there !
Could i find some kind of object in pd who outputs a single bang when it
recieves nothing ?
Thanks for your help.


[until]
but you have to start the detection by sending it a [bang( once.


You're so BOFH.

http://www.bofh.ws/bofh.png

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] unchange detection

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, Marek Vanbykow wrote:

Could i find some kind of object in pd who outputs a single bang when it 
recieves nothing ?


just after your [metro] (i assume you have one), insert a [t b b b]. With 
the right outlet, send a 1 to turn on a [spigot]. With the middle outlet 
of t, connect to your stuff that should produce a message or not. Use that 
to send a 0 to turn off the spigot. Then with the left outlet of t, send a 
bang in the spigot and see whether it goes through. It will go through 
only when nothing was received to turn off the [spigot].


for other occasions, you can swap some outlets of the [t b b b], or 
replace the [metro] by something else...


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] object that only outputs list when it changes?

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, IOhannes m zmoelnig wrote:


try [!=]


you mean [!= 1]


try "1-x"


that would be [swap 1] with [-] using builtins
or [expr 1-$f1] with expr
or [inv+ 1] with GridFlow


try [select 0]


[listread 1 0] also swaps 0 and 1

[listfind 1 0] also swaps 0 and 1 because listfind is the inverse 
function of listread, and because the swapping of 0 and 1 is its own 
inverse.


the latter two are in GridFlow.

  http://gridflow.ca/help/inv+-help.html
  http://gridflow.ca/help/inv*-help.html
  http://gridflow.ca/help/listread-help.html
  http://gridflow.ca/help/listfind-help.html

 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] object that only outputs list when it changes?

2010-08-17 Thread Mathieu Bouchard

On Tue, 17 Aug 2010, Johnny Ferguson wrote:

when [list.==] puts out a 1, I want the spigot to close (avoid duplicates). 
When [list.==] puts out a 0 I want the spigot to open (the list has changed).


ah sorry... I didn't think about it long enough...


I tried looking for a NOT object, but couldn't find one.


[==] is a NOT object. That is, it's [== 0], as 0==0 gives 1, and as 1==0 
gives 0.



Moses and the 2 message boxes are as close as I can get.


With GridFlow, there is also [shunt], which is like [spigot] but has two 
outlets (or any number of outlets). You can use that to make a [spigot] 
and negation in a single box. (it's nearly the same as what is called 
[demux] in other libraries).


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Bang order entry

2010-08-17 Thread João de Brito Rocha Reis Vidigal
As it is coming from the arduino firmata, the only way I know is that the 
signal inputs a bang.
So I'll have 2 bangs being hit with a delay between them. this delay depends on 
the speed of the body crossing the sensors and its size!
calling them bang1 and bang2, if the order is bang1 then bang2 = coming in, if 
it is bang2 then bang1 it means coming out.
the thing is I think I have to pair the hits to set an order and I just don't 
know how to pair them and read it to then bang an "in" or an "out".




On 17 Aug 2010, at 14:29, Andrew Faraday wrote:

what form is this coming into pd in? 

If it's a list (such as (door_crossing in) or (door_crossing out))

then you could parse it down with routes

e.g. 
[route door_crossing] (removes the first item in the list, if it's 
door_crossing)
|
[sel in out] (the first two inlets will be a bang if it's in or out 
respectively)

Not sure how else you might be getting the data into pd

> From: jbvidi...@gmail.com
> Date: Tue, 17 Aug 2010 13:45:53 +0100
> To: pd-list@iem.at
> Subject: [PD] Bang order entry
> 
> Hi again.
> Here goes another problem!
> 
> Ok. So I'm working with Arduino firmata here... 
> To expose to problem in a simple way, I have 2 sensors that are detecting a 
> door crossing.
> The 2 detectors give an order to the door crossing: coming in or going out.
> Now I just don't know how I can translate that to bang 2 different [bang( 
> depending on if someone's comming in or going out!
> 
> Can you help me with that!?
> Thanks
> 
> Joao Vidigal
> ___
> 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] Bang order entry

2010-08-17 Thread Andrew Faraday

what form is this coming into pd in? 

If it's a list (such as (door_crossing in) or (door_crossing out))

then you could parse it down with routes

e.g. 
[route door_crossing] (removes the first item in the list, if it's 
door_crossing)
|
[sel in out] (the first two inlets will be a bang if it's in or out 
respectively)

Not sure how else you might be getting the data into pd

> From: jbvidi...@gmail.com
> Date: Tue, 17 Aug 2010 13:45:53 +0100
> To: pd-list@iem.at
> Subject: [PD] Bang order entry
> 
> Hi again.
> Here goes another problem!
> 
> Ok. So I'm working with Arduino firmata here... 
> To expose to problem in a simple way, I have 2 sensors that are detecting a 
> door crossing.
> The 2 detectors give an order to the door crossing: coming in or going out.
> Now I just don't know how I can translate that to bang 2 different [bang( 
> depending on if someone's comming in or going out!
> 
> Can you help me with that!?
> Thanks
> 
> Joao Vidigal
> ___
> 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] Bang order entry

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Hi again.
Here goes another problem!

Ok. So I'm working with Arduino firmata here... 
To expose to problem in a simple way, I have 2 sensors that are detecting a 
door crossing.
The 2 detectors give an order to the door crossing: coming in or going out.
Now I just don't know how I can translate that to bang 2 different [bang( 
depending on if someone's comming in or going out!

Can you help me with that!?
Thanks

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


Re: [PD] how to set paths in Pd running on windows xp?

2010-08-17 Thread Marco Donnarumma
It might also be useful something like:

[bng]
|
[openpanel]
|
[prepend set]
|
[empty message box(


this way the path to the selected file will show up in the message box and
you'll be able to save it, re-use it dynamically, etc..

Best,


M


Hello,
>
> I am having trouble setting paths to load some wav-files in Pd running on
> Windows XP, as for path setting backslash (\) is used instead of
> forwardslash (/). When I try putting the backslash it given me the error
> keycode 92: dropped.
>
> Please let me know how I can fix this problem?
>
> Regards,
>
> Tania
>

-- 
Marco Donnarumma aka TheSAD
Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK


PORTFOLIO: http://marcodonnarumma.com
LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
http://www.flxer.net
EVENT: http://www.liveperformersmeeting.net
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] make me

2010-08-17 Thread ydego...@gmail.com

Roman Haefeli wrote:

On Tue, 2010-08-17 at 13:58 +0200, ydego...@gmail.com wrote:
   

patrick wrote:
 

yes, faceapi by seeing machines is closed source (there's a
non-commercial license with limitations) and guess what yves, only for
windows :)
   

g of course, no windows machine here.
 

basically what is missing from opencv is an 6 DOF Head Tracking.

   

and the 6 point are : eyes, nose, mouth, ears ?
is it??
 

I guess "6 DOF" refers to "6 Degrees of freedom", which means, tracking
both the position (X, Y, Z) and the orientation (pitch, roll, yaw).
   


yes of course...
don't know why i was thinking of points tracking..
it could also be done this way
cos you can calculate vectors from the points

sevy

Roman



   



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


Re: [PD] I wanna sing like Paris

2010-08-17 Thread Roman Haefeli


On Tue, 2010-08-17 at 13:52 +0200, Pierre Massat wrote:
> I don't understand this cycle and zero-crossing thing... 

Sorry, this was targeted to the question about how to extract exactly
one single cycle of a recording of a periodic waveform. I don't know how
this could help in building an autotune-like patch. It might help to
build a pitch-shifter, but I rather would go for the pase-vocoder way
since I would expect much better results from it.

Roman

> 2010/8/17 Roman Haefeli 
> On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:
> 
> > i will try this when i have found a way to extract
> > single-cycle waves from audio input in pd...
> 
> 
> Not yet tried it myself, but what about writing live input to
> a table
> (for instance with [tabwrite~]) in order to have access to the
> audio
> data with message based objects? With those it should be
> fairly easy to
> the detect the exact position of a zero crossing. For finding
> a single
> cycle, it would be sufficient to find a positive crossing -
> for
> instance-  and from there find the next one, so you have the
> exact end
> points of one single cycle.
> 
> Of course, there might be waveforms which have several zero
> crossings
> per cycle, but the above approach might be a start.
> 
> Roman
> 
> 
> 
> 
> 
> ___
> 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] iemlib compilation failed with -Werror

2010-08-17 Thread IOhannes m zmoelnig
On 2010-08-17 13:33, Willy WOLFF wrote:
> Can we omit this flag in all Make.include and makefile_linux in CLFAGS?
> If yes, can you change that?

i would prefer to fix the warning rather than suppressing it.

fgmasdr
IOhannes



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] make me

2010-08-17 Thread Roman Haefeli
On Tue, 2010-08-17 at 13:58 +0200, ydego...@gmail.com wrote:
> patrick wrote:
> > yes, faceapi by seeing machines is closed source (there's a 
> > non-commercial license with limitations) and guess what yves, only for 
> > windows :)
> g of course, no windows machine here.
> >
> > basically what is missing from opencv is an 6 DOF Head Tracking.
> >
> and the 6 point are : eyes, nose, mouth, ears ?
> is it??

I guess "6 DOF" refers to "6 Degrees of freedom", which means, tracking
both the position (X, Y, Z) and the orientation (pitch, roll, yaw).

Roman



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


[PD] Using dual processor to manage 2 Pd at the same time

2010-08-17 Thread João de Brito Rocha Reis Vidigal
Hi
I remember reading somewhere that it is possible to have 2 Pd patches open 
running synched at the same time.
This would be to manage sound and video in different patches in order not to 
get (or get less) glitches in sound and video.

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


Re: [PD] I wanna sing like Paris

2010-08-17 Thread Roman Haefeli
On Tue, 2010-08-17 at 13:59 +0200, Matteo Sisti Sette wrote:
> On 08/17/2010 01:39 PM, Roman Haefeli wrote:
> > On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:
> >
> >> i will try this when i have found a way to extract
> >> single-cycle waves from audio input in pd...
> >
> > Not yet tried it myself, but what about writing live input to a table
> > (for instance with [tabwrite~]) in order to have access to the audio
> > data with message based objects? With those it should be fairly easy to
> > the detect the exact position of a zero crossing. For finding a single
> > cycle, it would be sufficient to find a positive crossing - for
> > instance-  and from there find the next one, so you have the exact end
> > points of one single cycle.
> >
> 
> How would you look for zero crossings? With message based objects such 
> as [until], a counter, [tabread] and comparing to zero?
> Is that feasible?
> 
> (sorry for hijacking the discussion, I am curious about that)

yeah, actually that's what I thought about. I guess, one would not
compare to zero, but compare to the previous sample and check whether
the sign has changed. One could even perform linear (or even polynomial
interpolation) to find the subsample accurate location of the crossing. 

Roman


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


Re: [PD] make me

2010-08-17 Thread ydego...@gmail.com

patrick wrote:
yes, faceapi by seeing machines is closed source (there's a 
non-commercial license with limitations) and guess what yves, only for 
windows :)

g of course, no windows machine here.


basically what is missing from opencv is an 6 DOF Head Tracking.


and the 6 point are : eyes, nose, mouth, ears ?
is it??

something could be done maybe with SURF algorithm.

salaam,
sevy

à+
pat



___
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] I wanna sing like Paris

2010-08-17 Thread Matteo Sisti Sette

On 08/17/2010 01:39 PM, Roman Haefeli wrote:

On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:


i will try this when i have found a way to extract
single-cycle waves from audio input in pd...


Not yet tried it myself, but what about writing live input to a table
(for instance with [tabwrite~]) in order to have access to the audio
data with message based objects? With those it should be fairly easy to
the detect the exact position of a zero crossing. For finding a single
cycle, it would be sufficient to find a positive crossing - for
instance-  and from there find the next one, so you have the exact end
points of one single cycle.



How would you look for zero crossings? With message based objects such 
as [until], a counter, [tabread] and comparing to zero?

Is that feasible?

(sorry for hijacking the discussion, I am curious about that)

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


Re: [PD] I wanna sing like Paris

2010-08-17 Thread Pierre Massat
I don't understand this cycle and zero-crossing thing...

2010/8/17 Roman Haefeli 

> On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:
>
> > i will try this when i have found a way to extract
> > single-cycle waves from audio input in pd...
>
> Not yet tried it myself, but what about writing live input to a table
> (for instance with [tabwrite~]) in order to have access to the audio
> data with message based objects? With those it should be fairly easy to
> the detect the exact position of a zero crossing. For finding a single
> cycle, it would be sufficient to find a positive crossing - for
> instance-  and from there find the next one, so you have the exact end
> points of one single cycle.
>
> Of course, there might be waveforms which have several zero crossings
> per cycle, but the above approach might be a start.
>
> Roman
>
>
>
>
> ___
> 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] I wanna sing like Paris

2010-08-17 Thread Roman Haefeli
On Tue, 2010-08-17 at 12:59 +0200, martin brinkmann wrote:

> i will try this when i have found a way to extract
> single-cycle waves from audio input in pd...

Not yet tried it myself, but what about writing live input to a table
(for instance with [tabwrite~]) in order to have access to the audio
data with message based objects? With those it should be fairly easy to
the detect the exact position of a zero crossing. For finding a single
cycle, it would be sufficient to find a positive crossing - for
instance-  and from there find the next one, so you have the exact end
points of one single cycle. 

Of course, there might be waveforms which have several zero crossings
per cycle, but the above approach might be a start.

Roman

  


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


Re: [PD] how to set paths in Pd running on windows xp?

2010-08-17 Thread ypatios
Hi

I am having trouble setting paths to load some wav-files in Pd running on
> Windows XP, as for path setting backslash (\) is used instead of
> forwardslash (/). When I try putting the backslash it given me the error
> keycode 92: dropped.
>


try using slash (/) instead.

Also, it is a good strategy to have your wav files (or whatever) in
directories whose names do not contain spaces.


alabala

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


[PD] iemlib compilation failed with -Werror

2010-08-17 Thread Willy WOLFF

Can we omit this flag in all Make.include and makefile_linux in CLFAGS?
If yes, can you change that?

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/iemlib/Make.include

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/iemlib/iem_mp3/src/makefile_linux

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/iemlib/iem_t3_lib/src/makefile_linux

http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/iemlib/iemlib1/src/makefile_linux


http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/iemlib/iemlib2/src/makefile_linux

Thanks.

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


[PD] how to set paths in Pd running on windows xp?

2010-08-17 Thread tania habib
Hello,

I am having trouble setting paths to load some wav-files in Pd running on
Windows XP, as for path setting backslash (\) is used instead of
forwardslash (/). When I try putting the backslash it given me the error
keycode 92: dropped.

Please let me know how I can fix this problem?

Regards,

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


Re: [PD] I wanna sing like Paris

2010-08-17 Thread martin brinkmann
On 08/17/2010 11:25 AM, Pierre Massat wrote:
> I have never tried autotune. I gather from what you wrote that it can be
> used in realtime?

yes, it adds only very little latency

> I always thought the signal was split in two
> parts, one used to analyse the spectrum, and one to analyse the pitch. In
> this model the pitch would be modified according to some rules and the
> timbre would be stamped back on it. That's what it sounds like to me, but i
> may be mistaken to a great extent.

i am not shure either. probably you (and wikipedia) are right,
and autotune uses a phase-vocoder. using millers phase-vocoder with
small window-sizes sounds awfull though. but maybe, with
waves which are already periodic (like single cycles) it is possible
to do without windowing and short fft sizes (like 128 or even 64).
i will try this when i have found a way to extract
single-cycle waves from audio input in pd...

bis denn!
martin

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


Re: [PD] prepending osc messages with a tag

2010-08-17 Thread Peter Plessas
Magic Roman,

nice, elegant, amazing!

Thank you so much! Exactly what I had in mind.

Have a great day!
P.

On 08/16/2010 08:27 PM, Roman Haefeli wrote:
> Check attached patch. Rename it to fit your needs.
> 
> Roman
>  
> 
> On Mon, 2010-08-16 at 19:39 +0200, Peter Plessas wrote:
>> Dear List,
>>
>> how to prepend an OSC message with a (ideally settable) tag?
>>
>> [/sheep 4>
>>  |
>>  |
>>  |
>> [magic-object /animal]
>>  |
>>  |
>>
>> resulting in: [/animal/sheep 4<
>>
>> A normal [prepend] does not work as it includes a whitespace.
>> A [makefilename] will not work with OSC messages of varying length and
>> content.
>> The [prefix ...< message of [packOSC] is not usable in my case.
>>
>> Looking forward to good and inspiring ideas!
>>
>> P
>>
>> ___
>> 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 ipad with externals

2010-08-17 Thread Peter Plessas
Thank you! Great info!
best,
P

On 08/17/2010 08:01 AM, Koray Tahiroglu wrote:
> Hi Peter, Alexander
> 
> We will document it more later, but very briefly first you need root on the 
> device, and make sure that you have the latest version of Maemo 5 
> 10.2010.19-1, then the usual ones, tcl8.5_8.5.8-2maemo2_armel.deb, 
> tcl8.5-dev_8.5.8-2maemo2_armel.deb, tk8.5_8.5.8-1maemo1_armel.deb, 
> tk8.5-dev_8.5.8-1maemo1_armel.deb. And for Alsa libasound2-dev is necessary. 
> After that you can ./configure and make  pd-0.42-5. This will at least make 
> you run Pd and  for better audio, we are working on that at the moment.
> 
> 
> Koray
> 
> On Aug 14, 2010, at 12:36 PM, Peter Plessas wrote:
> 
>> Dear Koray,
>>
>> any things one has to consider when compiling pd for Maemo then?
>>
>> thanks!
>> P
>>
>> On 08/14/2010 08:08 AM, Koray Tahiroglu wrote:
>>> Hei Peter,
>>>
>>> Maemo runs Pd GUI as any linux machine runs Pd. Maemo is OS, I am not sure 
>>> what Nokia thinks about its development, they might have weird decisions 
>>> sometimes. At the moment, Jari Kleimola and I are working on this, 
>>> currently focusing on the audio porting, and got good results immediately.
>>>
>>>
>>> Best,
>>>
>>> Koray
>>>
>>>
>>> On Aug 13, 2010, at 3:59 PM, Peter Plessas wrote:
>>>
 Merhaba Koray,

 that's exciting news! Does Maemo run Pd's GUI too? Do you know if Maemo
 (that's the OS, right?) will be developed further, I heard it will be
 merged with MeeGo? Oh, and who is 'we', the people developing it?

 all the best,
 Peter

 On 08/13/2010 09:41 AM, Koray Tahiroglu wrote:
> Maemo N900 is another option, as you can run Pd-vanilla and you can 
> compile any external you like ( although we haven't test GEM yet) in the 
> actual device. We are currently fixing the audio and later on we might 
> take a look at some GUI development, but the good thing is, it is the 
> same Pd version you use in your computers, so all your previous patches 
> will also work in Maemo as well. Later on we will also try Pd-extended  
> in N900. I will post the link later on when we will have time to document 
> all these.
>
>
> Koray
>
> On Aug 11, 2010, at 5:47 PM, pd-list-requ...@iem.at wrote:
>
>> Message: 2
>> Date: Wed, 11 Aug 2010 09:31:39 -0400
>> From: Hans-Christoph Steiner 
>> Subject: Re: [PD] pd on ipad with externals
>> To: Peter Plessas 
>> Cc: pd-list 
>> Message-ID: <1281533499.2724.18.ca...@palatschinken>
>> Content-Type: text/plain; charset="UTF-8"
>>
>>
>> Right now, Peter Brinkmann, Peter Kirn, and I are leading the effort,
>> but there have been a number of contributors as the project was
>> developed.  We have a nice Android/libpd app design and are now working
>> on finalizing a proper release.  The source code is available, break out
>> your Eclipse and your phone (or use the emulator) and try it out!
>>
>> http://gitorious.org/pdlib
>>
>> .hc
>>
>> On Wed, 2010-08-11 at 13:16 +0200, Peter Plessas wrote:
>>> Lieber Hans,
>>>
>>> Who is developing what here? Is there a name for the project? What's the
>>> status?
>>>
>>> liebe Gr?sse,
>>> Peter
>>>
>>> On 08/10/2010 06:42 PM, Hans-Christoph Steiner wrote:

 I suggest getting an Android device, we have the loading of externals
 working so its only a matter of time before we have Pd-extended in the
 Android Marketplace.

 That said, you can build Pd for iPhoneOS, run it from the cmd line, 
 then
 load externals.  Then you can use the [apple/multitouch] to get data
 from the touch.

 .hc

 On Aug 10, 2010, at 6:07 AM, Jo?o Pais wrote:

> but to make patches run, they have to be programmed in vanilla, right?
> and it's not possible to do reatime control like input numbers, or
> anything more than the touchpad control?
>
> or is it possible to use pd-ext in the iphone or ipod maxi?
>
>
>> rjdj is on the ipad, so Pd runs on the iPad.  There are two other Pd 
>> for
>> iPhoneOS branch projects out there (iJam?), so they should be 
>> runnable.
>> If someone wants to take on merging all these iPhoneOS branches I'll
>> help get it into the new libpd/Android branch and vanilla too.
>>
>> .hc
>>
>> On Fri, 2010-08-06 at 22:52 +0200, Peter Plessas wrote:
>>> Dear list,
>>>
>>> Does Pd run on an iPad? Can one compile externals for it and how is 
>>> the
>>> development situation for the device? Thanks for any pointers!
>>> P
>>>
>>> ___
>>> Pd-list@iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>>

Re: [PD] I wanna sing like Paris

2010-08-17 Thread Pierre Massat
I have never tried autotune. I gather from what you wrote that it can be
used in realtime? It sounds a bit like the whammy pedal for a guitar to me,
because the sound is altered. I always thought the signal was split in two
parts, one used to analyse the spectrum, and one to analyse the pitch. In
this model the pitch would be modified according to some rules and the
timbre would be stamped back on it. That's what it sounds like to me, but i
may be mistaken to a great extent.

Pierre

2010/8/17 martin brinkmann 

> On 08/16/2010 06:21 PM, Pierre Massat wrote:
> > Hi,
> >
> > I've been thinking of writing a pd version of autotune, but before i get
> > started i m wondering if anybody as ever tried doing this?
>
> not in pd, but in reaktor and c. combining pitch-detection and a
> pitchshifter (and some quantization) works quite well, and should
> be not too hard to do in pd (fiddle and the pitchshifter from
> the docs).
> though this is quite good for subtle pitch correction, it does
> not create the typical, metallic, vocoder-like "cher-effect".
>
> maybe something like taking single-cycle-samples of the input,
> when a constant pitch  is detected, and playing these instead
> of the original audio would do better, but i have not tried
> yet. (and i think detecting zero-crossings in pd (vanilla) is
> rather difficult...)
>
> > I m assuming
> > they're making a ton of money selling it, so there 's probably not much
> > information available as to how it actually works, but i guess Miller
> > Puckette's Phase vocoder example could be a good starting point.
>
> i do not think that autotune uses fft-based methods,
> since it has very little latency (and does not need too much cpu).
>
> bis denn!
> martin
>
> ___
> 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] I wanna sing like Paris

2010-08-17 Thread martin brinkmann
On 08/16/2010 06:21 PM, Pierre Massat wrote:
> Hi,
> 
> I've been thinking of writing a pd version of autotune, but before i get
> started i m wondering if anybody as ever tried doing this?

not in pd, but in reaktor and c. combining pitch-detection and a
pitchshifter (and some quantization) works quite well, and should
be not too hard to do in pd (fiddle and the pitchshifter from
the docs).
though this is quite good for subtle pitch correction, it does
not create the typical, metallic, vocoder-like "cher-effect".

maybe something like taking single-cycle-samples of the input,
when a constant pitch  is detected, and playing these instead
of the original audio would do better, but i have not tried
yet. (and i think detecting zero-crossings in pd (vanilla) is
rather difficult...)

> I m assuming
> they're making a ton of money selling it, so there 's probably not much
> information available as to how it actually works, but i guess Miller
> Puckette's Phase vocoder example could be a good starting point.

i do not think that autotune uses fft-based methods,
since it has very little latency (and does not need too much cpu).

bis denn!
martin

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


Re: [PD] "new wrap incompatible object" error

2010-08-17 Thread Matteo Sisti Sette
I don't know what the general solution would be, to avoid all problems 
of this kind,


but only in the very case of [wrap], IF i understands things correctly:

- zexy's wrap includes all the functionality of [wrap] and a bit more
- any patch using puredata's [wrap] would work the same if [wrap] were 
replaced with [zexy/wrap] (obviously the viceversa is _not_ rue)

- puredata's [wrap] has no advantage over zexy's wrap

So why not do the following?:

- extends puredata (vanilla) 's [wrap] so that it works like zexy's one, 
i.e. can use arguments to set range
- (not necessary for the issue being discussed, but necessary for 
consistency with puredata's usual conventions): extend both to have two 
inlets to also set the range

- suppress any warning related to [wrap]
- keep zexys/wrap, which would be _identical_ to puredata's [wrap], just 
for backward compatibility with patches written with the current Pd 
Extended in mind (i.e. people in point 3 of Claude's synopsis)



Wouldn't that eliminate all problems with wrap?
Is it undesirable for some reason?
Or not possible (perhaps for the impossibility of suppress general 
warnings in a special case?)?



On 08/17/2010 04:23 AM, Claude Heiland-Allen wrote:

On 17/08/10 01:38, Hans-Christoph Steiner wrote:


On Aug 16, 2010, at 8:30 PM, Mathieu Bouchard wrote:


On Mon, 16 Aug 2010, Hans-Christoph Steiner wrote:


Personally, its much more annoying if you have used [wrap] in your
patch, then your patch mysteriously breaks. Hence the error. I could
be worded better, so I'm updating it.


can you make it a warn() instead, so that people can use "Find Last
Error" for things that are really Errors ? That's especially because
"Find Last Error" can really find only the Last one.



a broken wrap or pow~ is really an error in my opinion.


The timeline is important here, because I know that I (and possibly
others) have a tendency to remember things in a way that justifies my
own current viewpoint:

0. puredata had [wrap~] but not [wrap]
1. [zexy/wrap] was implemented
2. pd-extended imports -lib zexy unqualified
3. some people using pd-extended use [wrap] (from zexy)
4a. puredata implemented [wrap] that isn't quite the same
4b. puredata implemented "externals can override internals" (+warnings)
4c. pd-extended removed "externals can override internals"
5. some people write patches using [wrap] (from puredata)
6. pd-extended changes [wrap] to emit warnings
7a. puredata [wrap] users get upset about the warnings from pd-extended
7b. pd-extended [wrap] users get upset about the warnings from puredata

The point here is that, the puredata users in 5 who want to make patches
with [wrap] work with both puredata and pd-extended without
warnings/error message, now have NO options and the suggested solution
from pd-extended BREAKS puredata:

A. using plain [wrap], puredata works fine and pd-extended complains
B. using -lib zexy [wrap], puredata complains and pd-extended complains
C. using -lib zexy [zexy/wrap], puredata FAILS*, pd-extended works fine

So, given that C is not an option for most puredata users, pd-extended
should certainly not be recommending this as the way to fix patches, at
least not unconditionally (afaik in some modes -lib zexy [wrap] behaves
the same as puredata [wrap], but it can do more?)

Other solutions might be:
I. allow externals to override internals, like puredata
II. extend pd-extended's [wrap] to behave just like -lib zexy [wrap]
when zexy is loaded/imported
III. extend puredata's [wrap] to behave just like -lib zexy [wrap] and
then port the changes to pd-extended

--[[-- opinion

The pd-extended users in 3 who want to make patches with [wrap] work
with both puredata and pd-extended should have known that they were
using an extension, but sadly pd-extended's decision to load everything
automatically to "make life easier for users" caused this mess in the
first place, in the end making life harder for everybody.

The incompatible suggestion smacks of pd-embrace-and-extend...
http://en.wikipedia.org/wiki/Embrace_and_extend

--]]-- opinion


(*) with puredata and pd-zexy from Ubuntu Lucid 'universe':
$ pd -stderr -verbose -lib zexy
Pd version 0.42-5
compiled 20:01:18 Jan 5 2010
[snip]
tried ./zexy.l_ia64 and failed
tried /usr/lib/pd/extra/zexy.l_ia64 and failed
tried ./zexy.pd_linux and failed
tried /usr/lib/pd/extra/zexy.pd_linux and succeeded
warning: class 'wrap' overwritten; old one renamed 'wrap_aliased'
warning: class 'abs~' overwritten; old one renamed 'abs~_aliased'


© the zexy external 2.1 ©
© (l) forum::für::umläute ©
© compiled: May 30 2008 ©
© send me a 'help' message ©


tried /home/claude/zexy/wrap.l_ia64 and failed
tried /usr/lib/pd/extra/zexy/wrap.l_ia64 and failed
tried /home/claude/zexy/wrap.pd_linux and failed
tried /usr/lib/pd/extra/zexy/wrap.pd_linux and failed
tried /home/claude/zexy/wrap/wrap.l_ia64 and failed
tried /usr/lib/pd/extra/zexy/wrap/wrap.l_ia64 and failed
tried /

Re: [PD] simple complex FM-Synthesis with pure Data

2010-08-17 Thread martin brinkmann
On 08/17/2010 09:52 AM, hghoyer wrote:

> I have the FM patch improved a little. With the link it can be downloaded. I
> welcome feedback on the patch. Maybe someone else has a suggestion for
> improvement.

i think i would add a slider (or better number2) for the
frequency ratios, which are fixed values in your patch.
these have great influence on the sound.

dynamicly changing the modulation depth of operators
(with envelopes, lfos, sequencers,---) could create
interessting sounds too.

using set-messages and loadbang for remembering the slider-values
is not necessary: you could just set "init" in the sliders
properties.

bis denn!
martin

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


[PD] find last error was Re: "new wrap incompatible object" error

2010-08-17 Thread Matteo Sisti Sette

On 08/17/2010 02:30 AM, Mathieu Bouchard wrote:

 That's especially because
"Find Last Error" can really find only the Last one.


Would it be a great effort to improve the "find last error" so that you 
could then find the previous one, then the previous one and so on?


I dream of a world where you can click on any error message in the 
console and it will bring you to the source of the error...


(though before that, I dream of a world where "find last error", just as 
is, works also with GOP)


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


Re: [PD] prepending osc messages with a tag

2010-08-17 Thread Roman Haefeli
oops, sorry for double posting.

On Tue, 2010-08-17 at 09:59 +0200, Roman Haefeli wrote:
> Check attached patch. Rename it to fit your needs.
> 
> Roman
>  



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


Re: [PD] unchange detection

2010-08-17 Thread IOhannes m zmoelnig
On 2010-08-17 09:57, Marek Vanbykow wrote:
> Hi there !
> Could i find some kind of object in pd who outputs a single bang when it
> recieves nothing ?
> Thanks for your help.


[until]

but you have to start the detection by sending it a [bang( once.

fgmnasdr
IOhannes



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] prepending osc messages with a tag

2010-08-17 Thread Roman Haefeli
Check attached patch. Rename it to fit your needs.

Roman
 

On Mon, 2010-08-16 at 19:39 +0200, Peter Plessas wrote:
> Dear List,
> 
> how to prepend an OSC message with a (ideally settable) tag?
> 
> [/sheep 4>
>  |
>  |
>  |
> [magic-object /animal]
>  |
>  |
> 
> resulting in: [/animal/sheep 4<
> 
> A normal [prepend] does not work as it includes a whitespace.
> A [makefilename] will not work with OSC messages of varying length and
> content.
> The [prefix ...< message of [packOSC] is not usable in my case.
> 
> Looking forward to good and inspiring ideas!
> 
> P
> 
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list




magicobject.tar.gz
Description: application/compressed-tar
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] unchange detection

2010-08-17 Thread Marek Vanbykow
Hi there !
Could i find some kind of object in pd who outputs a single bang when it
recieves nothing ?
Thanks for your help.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] simple complex FM-Synthesis with pure Data

2010-08-17 Thread hghoyer
Hi,

I have the FM patch improved a little. With the link it can be downloaded. I
welcome feedback on the patch. Maybe someone else has a suggestion for
improvement.

http://www.supercue.de/audio/simple_complex_fm.pd

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


Re: [PD] object that only outputs list when it changes?

2010-08-17 Thread tim vets
or [nchange l]
(from maxlib, I think)
gr,
Tim



2010/8/17 Johnny Ferguson 

> On 08/17/2010 01:13 AM, Mathieu Bouchard wrote:
>
>> On Tue, 17 Aug 2010, Johnny Ferguson wrote:
>>
>>  Awesome external. I've coded up an abstraction to filter out repeated
>>> lists. See attached.
>>>
>>
>> What are you trying to achieve using [moses] and the two messageboxes ?
>> I don't understand.
>>
>> _ _ __ ___ _  _ _ ...
>> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
>>
>
> when [list.==] puts out a 1, I want the spigot to close (avoid duplicates).
> When [list.==] puts out a 0 I want the spigot to open (the list has
> changed).
>
> I tried looking for a NOT object, but couldn't find one. Moses and the 2
> message boxes are as close as I can get.
>
>
> -Johnny
>
> ___
> 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] "new wrap incompatible object" error

2010-08-17 Thread Frank Barknecht
Hi,

On Mon, Aug 16, 2010 at 11:09:20PM -0400, Hans-Christoph Steiner wrote:
> That's the idea of Pd-extended: a standard install.

... which still can be immensely different from machine to machine, like by
library updates or by changed start-up defaults (e.g. removal/addition of
loaded libs) or by installing libraries not in pd-x (sssad, rj, ...) etc. 

Pd-extended is a more powerful, but in fact less standardized platform than
Pd-vanilla w/o externals. It's in its nature.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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


Re: [PD] object that only outputs list when it changes?

2010-08-17 Thread IOhannes m zmoelnig
On 2010-08-17 09:12, Johnny Ferguson wrote:
> On 08/17/2010 01:13 AM, Mathieu Bouchard wrote:
>> On Tue, 17 Aug 2010, Johnny Ferguson wrote:
>>
>>> Awesome external. I've coded up an abstraction to filter out repeated
>>> lists. See attached.
>>
>> What are you trying to achieve using [moses] and the two messageboxes ?
>> I don't understand.
>>
>> _ _ __ ___ _  _ _ ...
>> | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801
> 
> when [list.==] puts out a 1, I want the spigot to close (avoid
> duplicates). When [list.==] puts out a 0 I want the spigot to open (the
> list has changed).
> 
> I tried looking for a NOT object, but couldn't find one. Moses and the 2
> message boxes are as close as I can get.


how have you looked for the object?

try [!=]

try "1-x"

try [select 0]

fgmasdr
IOhannes



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] "new wrap incompatible object" error

2010-08-17 Thread IOhannes m zmoelnig
On 2010-08-17 04:51, Hans-Christoph Steiner wrote:
> Patches welcome.  At this point I'm satisified with keeping an error
> message for the 0.42 release, then downgrading it to a warning in 0.43
> 

i most likely don't have time.
but the pd-extended built-in [wrap] should _only_ emit errors/warnings
if the object is used in a way that is incompatible.
creating [wrap] (pd-vanilla, or zexy; and i guess others as well), will
wrap between [0,1).
this is 100% compatible; issueing an error doesn't do any good.

the same goes for [wrap 1] or [wrap 0 1] (however, the vanilla object
will silently ignore the arguments, even though their presence might
suggest that they have a meaning; so i guess it would be ok if there was
a warning whenever arguments were used)




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] object that only outputs list when it changes?

2010-08-17 Thread Johnny Ferguson

On 08/17/2010 01:13 AM, Mathieu Bouchard wrote:

On Tue, 17 Aug 2010, Johnny Ferguson wrote:


Awesome external. I've coded up an abstraction to filter out repeated
lists. See attached.


What are you trying to achieve using [moses] and the two messageboxes ?
I don't understand.

_ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


when [list.==] puts out a 1, I want the spigot to close (avoid 
duplicates). When [list.==] puts out a 0 I want the spigot to open (the 
list has changed).


I tried looking for a NOT object, but couldn't find one. Moses and the 2 
message boxes are as close as I can get.


-Johnny

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


Re: [PD] "new wrap incompatible object" error

2010-08-17 Thread IOhannes m zmoelnig
On 2010-08-17 05:09, Hans-Christoph Steiner wrote:
>
> 
> There is no standard vanilla+zexy install, so there is no real way to
> support it.  That's the idea of Pd-extended: a standard install.
>

on Debian the standard vanilla+zexy install is called "apt-get install
puredata pd-zexy"

on other systems it is more like: get pd from miller's side and install,
get zexy from puredata.info and install using the provided instructions.

just because there is no one-click installer doesn't meant that there is
no standard way.

fgamr
IOhannes



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] object that only outputs list when it changes?

2010-08-17 Thread Frank Barknecht
On Mon, Aug 16, 2010 at 10:34:03PM -0400, Johnny Ferguson wrote:
> I'm wondering if anyone knows of an object that will only pass on a list  
> if it changes. I'm sure I could whip something up, but I'd rather not if  
> it exists.

[list-compare] in the [list]-abs is a vanilla way to compare two lists. 

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

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