Re: [PD] Pd GUI freeze with error message(Tcl)

2014-01-28 Thread Miller Puckette
Hi Jong -

I think the "*(Tcl) INVALID COMMAND NAME' stuff isn't related to Pd freezing,
but I'd like to find out how it happens and fix it.

The GUI can freeze if Pd is overloaded with audio computation on Mcintosh
compuers - the only thing I can suggest is reduce the amount of audio
computation (I know - nobody would ever want to do that :)

cheers
Miller

On Wed, Jan 29, 2014 at 04:03:17AM +0100, Jonghyun Kim wrote:
> Hi list,
> 
> I don't know why this cause, but sometimes it appears and GUI freeze, but
> still Audio alive. Only GUI die...
> 
> Number Box, Vu meter, Sliders, and so on, these GUIs  all stop, and don't
> show the actual numbers...
> 
> Anyone knows this issue?
> 
> --
> *(Tcl) INVALID COMMAND NAME: invalid command name ".x4de9a0.c"*
> *while executing*
> *"$tkcanvas itemconfig $tag -text $text"*
> *(procedure "pdtk_text_set" line 2)*
> *invoked from within*
> *"pdtk_text_set .x4de9a0.c .x4de9a0.t395fcb0{98.13}"*
> *("uplevel" body line 19)*
> *invoked from within*
> *"uplevel #0 $docmds"*
> --
> 
> Pd-0.45-4 (32bit)
> Mac OS X Mavericks
> 
> Screenshot attached.
> 
> Thanks,
> Jong


> ___
> 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] get current FileName or CanvasName?

2014-01-28 Thread Jonghyun Kim
Thanks IOhannes for the tip! I'll try it. I know you made many libraries
for pd. I thanks so much!


On Tue, Jan 28, 2014 at 9:39 AM, IOhannes m zmoelnig wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
>
> On 2014-01-28 00:57, Jonghyun Kim wrote:
> > Thanks IOhannes,
> >
> > I'm using Pd-0.45-4 (Vanilla)
> >
> > My iemguts were from Pd-extended 0.43-4. You said this cause
> > problem, right?
> >
> > So, which version of IEMGUTS should I use?
>
> the version of iemguts doesn't matter - iirc iemguts doesn't have any
> version numbers yet, so just use the latest and greatest.
>
> the problem is, that you should make sure that the iemguts binary you
> are using was compiled against the very Pd-version you are using.
>
> i don't provide any binaries (this is on purpose, please don't ask me
> for binaries). the only binaries available for download are the ones
> shipped with Pd-extended.
>
> this gives you two possibilities:
> - - either use Pd-extended 0.43-4 with it's version of iemguts
> - - or compile iemguts yourself (it's not complicated if you have a
> compiler)
>
> fgamsdr
> IOhannes
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1
> Comment: Using GnuPG with Icedove - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJS52y3AAoJELZQGcR/ejb4trwP/2ajIJbhVifVBVfGwsYukPt4
> 8rWnrCxSfkUulOeGzQF/BwUGBgMHx5jyYu0iW1/pb3qIxQMRJX5jaoOGFaKijEDg
> 0tlN0nTEtmfB0GW+del2ZC9VgFtgX+Bx9ThGaGGBUe+nUu0tRBHn6JsroHQM65PO
> sEija/mv6NjDZsJnJElRZHxUGvt7kh70v7aIpOQVDPbEf8Lke5anKiVw0f//p/1H
> 3lJx4rfVGgT3v1R4qM2z+ybVZ+MfrnDxyyytcr3bOBYahtNB79k1Krjbr5UvdaMy
> G/fDGsu5YmpX8iYjPabwH46ufRSL6ZAo0iRcPSaXsnuo3LIzekP5gVvJSpmQwbUU
> tN5jpQT8ZUBDaeV2iMZeJm5vGSFyTPVLvMHZC5LCOrZFkmER7iCuheEvRHTPws9o
> 5zSoihFlnJYUWuHP70aesH+yhdm5yQpKldQDJHqxonWXcxihv/dutKZtsL7lN79w
> 8Pa5UXeSUhcJ2rqEAHfnBtEE8ChmVZICTXYL8zk8X1E9M1dd/PZ24Dmsb/9V076q
> 4CaXQlcrspXGc3v6LF/ZkqWfXCQcBb14suxRFmJ98R08suoz7XKXQHg7Cxi6ddpc
> oc9c4BlyKQtpPGQ7Bpje8cxO74pTGvoH6eTGXUYcXXxwHBtiw5GEo7U9+TXNczq3
> 6obhZSPOduashgg9UCI7
> =rYWJ
> -END PGP SIGNATURE-
>
> ___
> 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] jack periods 32 = no pd

2014-01-28 Thread Miller Puckette
OK... that's really quite strange indeed.  FWIW the 'mmap' alsa code, as
far as I know, is only selected for RME devices.  I don't have any of those
handy so have little way to check any of this on my end.  It was written by
Winfried Ritsch a decade or more ago :)

Miller

> 
> Made a latency test with pd's own latency testing patch 
> /usr/local/lib/pd/doc/7.stuff/tools/latency.pd
> 
> -alsa -rt -audiobuf 2 -channels 18 on an HDSPe card with Multiface and
> a loopback analogue cable gives 6.5ms, which I consider great!
> 
> Interestingly Pd gives this latency value regardless of setting
> -audiobuf to values 1-6, which I suppose is because of rounding this
> value to something usable by the dsp part. Pd also reports on startup
> "...buffer_time 2902 us opened"
> "using mmap audio interface"
> 
> Now what is weird, is that I can't get clean audio under alsa with any
> values larger than -audiobuf 6. The sound is very distorted.
> 
> Using the -oss emulation and -rt, clean audio is available for values larger
> than -audiobuf 2 such as:
> 
> -audiobuf 3 with measured latency of 7.9ms (Pd choses blocksze 56)
> -audiobuf 5 with measured latency of 9.4ms (Pd choses blocksze 56)
> -audiobuf 6 with measured latency of 10.9ms (Pd choses blocksze 56)
> and so on.
> 
> Oh this is on a Debian system running kernel 3.2.0-4-rt-amd64
> 
> Nice that Pd can do so low latencies, but that's a strange thing about alsa 
> though...
> > 
> > best, 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

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


Re: [PD] jack periods 32 = no pd

2014-01-28 Thread Peter P.
* Peter P.  [2014-01-28 00:35]:
> * Miller Puckette  [2014-01-28 00:02]:
> > Probably that's so - but Pd should still be able to deal with the mismatch.
> > OTOH, since Pd is built-in 64 blocksize, you wouldn't be able to reduce Pd's
> > latency by reducing jack's blocksize below 64.
> Allright, then I can live without going lower.
>  
> > I'm not sure about this, but I believe that Pd running standalone (using 
> > ALSA
> > driver) can achieve as low or perhaps slightly lower latency than Pd running
> > under jack.  This is only of interest if Pd's the only audio application
> > you're running on that particular audio interface, however.
> I can currently start pd using
> -alsa -rt -audiobuf 2
> and get click-free performance, as long as I don't the classic "Select
> all.." and move things around in Tcl/Tk, which of course causes
> drop-outs. Haven't measured latency with that setup yet, but it sure
> sounds promising. Using the oss emulation of alsa works too, but
> slightly more clicks when moving objects on the canvas.

Made a latency test with pd's own latency testing patch 
/usr/local/lib/pd/doc/7.stuff/tools/latency.pd

-alsa -rt -audiobuf 2 -channels 18 on an HDSPe card with Multiface and
a loopback analogue cable gives 6.5ms, which I consider great!

Interestingly Pd gives this latency value regardless of setting
-audiobuf to values 1-6, which I suppose is because of rounding this
value to something usable by the dsp part. Pd also reports on startup
"...buffer_time 2902 us opened"
"using mmap audio interface"

Now what is weird, is that I can't get clean audio under alsa with any
values larger than -audiobuf 6. The sound is very distorted.

Using the -oss emulation and -rt, clean audio is available for values larger
than -audiobuf 2 such as:

-audiobuf 3 with measured latency of 7.9ms (Pd choses blocksze 56)
-audiobuf 5 with measured latency of 9.4ms (Pd choses blocksze 56)
-audiobuf 6 with measured latency of 10.9ms (Pd choses blocksze 56)
and so on.

Oh this is on a Debian system running kernel 3.2.0-4-rt-amd64

Nice that Pd can do so low latencies, but that's a strange thing about alsa 
though...
> 
> best, 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] Face tracking

2014-01-28 Thread puredata

i don't know if it's exactly what you need:

Make me (opencv / gem):
http://puredata.info/Members/patrick


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


[PD] [PD-announce] Dancing with Laptops

2014-01-28 Thread eldad tsabary
Dancing with Laptops is a conversation between sonic gestures (generated on 
laptops) and physical movement. It is a performance where dancers don’t just 
dance to the music, but drive it like a passionate orchestra conductor.

Who: Concordia Laptop Orchestra (CLOrk) & Le Collab'Art de Stéph B
Location: Concordia's John Molson building, 1450 Guy Street, 7th floor, room MB 
7.265 (BlackBox)
Date: January 30th, 2014 (Chinese New Year)
Time: 8PM
Admission: Free, volunteers are welcome
https://www.facebook.com/events/610658695650590/

This collaboration between Concordia Laptop Orchestra (CLOrk) and Collab'Art de 
Stéph B is part of a research/creation project designed to discover ways for 
creating an improvisatory dialogue between art forms.

Le Collab'Art will be presenting an evening-long performance May 16th and 17th, 
at Théatre Aux Écuries.

Artists:

Dancers: Stéphanie Bernard, Claudine Dubé, Émilie Morin

Concordia Laptop Orchestra, Marcus Aterman, Aidan Charlton, Kevin Cogen, 
Mariana Costa De Hutten Czapski, Daniel Dixon, Malcolm Duncan, Matthew Hills, 
Simon Lacelle, David Macri, Andrew McConnell, Patrick McDowall, Wesley Moran, 
Perrin Moss, Joseph Najm, Keith Odell, Michael Palumbo, David Russell, Evan 
Stepanian, Stephen Trepanier, Simon White, Vanessa Zaurrini, Peter van Haaften, 
Eldad Tsabary

Light designer: Josée Fontaine Rubis
Audio and logistics: Regy Guzman
Video: Alex Metcalfe and Jamie Woollard

Special thanks to Michael Montanaro & the Contemporary Dance Department for 
their support.

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


Re: [PD] Face tracking

2014-01-28 Thread Òscar Martínez Carmona
It is not an object for pd but you can easily connect it throught OSC:
https://github.com/kylemcdonald/ofxFaceTracker/downloads
It's called FaceOSC btw..

El dia dimarts, 28 gener de 2014, Jean-Marie Adrien <
j...@jeanmarie-adrien.net> va escriure:

> Hello list
> for a specific application I would need an object that detects a human
> face facing the camera,
> not very close but not far either : 2 meters away from an ordinary webcam
> lens).
>
> I do not know exactly where the face will be in the frame, and I would
> need its "center" and "size" or so in real time.
> Anything in GEM opencv ? Any tutorial/example patch around ?
> Thanks a lot !
> Jm
>
>
>
> ___
> Pd-list@iem.at  mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>


-- 
Òscar Martínez Carmona
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Face tracking

2014-01-28 Thread Jean-Marie Adrien
Hello list
for a specific application I would need an object that detects a human face 
facing the camera, 
not very close but not far either : 2 meters away from an ordinary webcam 
lens). 

I do not know exactly where the face will be in the frame, and I would need its 
"center" and "size" or so in real time.
Anything in GEM opencv ? Any tutorial/example patch around ?
Thanks a lot !
Jm



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


Re: [PD] Data structures and their clickable area

2014-01-28 Thread João Pais
there might be a complicated and confuse way of doing it - by clicking the  
scalar, you activate a click message to the drawing window, that clicks in  
the drawed number. For that you would have to look around the click  
messages in the pd documents, which I didn't really understood so far.


João


On 01/27/2014 05:35 PM, Roman Haefeli wrote:

Hi

I'm using a template consisting of a rectangle done with [filledpolygon]
and a number [drawnumber] in it. While mouse clicks anywhere in the area
of the rectangle are detected, it's only possible to change the number
with the keyboard when I exactly click on the number. Is there a way to
make the number catch the keyboard no matter where I click in the
rectangle?


That's not possible.  Essentially what you want is to take a click from  
one draw command-- [filledpolygon]-- and "map" it or forward it to  
another-- [drawnumber].  Scalars don't give you any tools to hook in to  
a parent drawing command's widgetbehavior that way.



  Similarly, I'd like to be able to mouse-drag anywhere in the
rectangle in order to change the value of the number.


You could probably do it if you use a field variable to define hotspots  
on every 6x6 tile of the rectangle.  But you'd also have to constrain  
movement of the rectangle by abusing the quanta syntax, something like  
(-whatever:whatever)(0:0).  That would presumably constrain the field  
variable's screen coordinates so that it doesn't move when you  
click-drag it.  Then use the same field variable for your [drawnumber].


I'm almost finished with some new drawing instructions for data  
structures in Pd-l2ork that implement a subset of the svg spec. I've got  
some mouseover/mouseout widgetbehaviors working, but still nothing  
particularly sophisticated in terms of mapping mouse/keyboard  
interaction to field variables.


One possibility is to make the hotspot bbox settable.  Or maybe have a  
method to forward widgetbehaviors to another drawing command.


-Jonathan



Any ideas?

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


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


[PD] Fwd: [LAC-team] LAC 2014: the Linux Audio Conference - Deadline Extension

2014-01-28 Thread Jörn Nettingsmeier

FYI


 Original Message 
Subject: [LAC-team] LAC 2014: the Linux Audio Conference - Deadline 
Extension

Date: Mon, 27 Jan 2014 20:02:53 +0100
From: Götz Dipper 
To: lac-t...@lists.linuxaudio.org

sorry for ><  please >> <<

Hi all,

The Linux Audio Conference submissions deadline has been extended! It is
now February 3rd, 2014 (23:59 HAST)

So, if you were considering to submit a paper but couldn't make up your
mind yet, here is your chance to become active! Never forget that this
conference lives through the people participating in it.

February 3rd is the new deadline for all submission types: papers,
music, installations, workshop proposals.

Check out the link below for more info:
 http://lac.linuxaudio.org/2014/participation

Please spread this information to anyone who might be interested.
If you have any questions, drop us a line at l...@linuxaudio.org

We are looking forward to seeing you in Karlsruhe in May!
Thanks,

The LAC2014 organization team


___
LAC-team mailing list
lac-t...@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/lac-team



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


Re: [PD] Compile iem_ambi from svn?

2014-01-28 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2014-01-28 00:24, Peter P. wrote:
> in the iem_ambi directory I get makefile:12: ../../Make.include: No
> such file or directory which indeed does not exist.

i was going to say: you need to checkout the entire externals/iem
subfolder. if you don't want that, you could also just download the
`Make.include` (and `include/iemlib.h`) from
https://svn.code.sf.net/p/pure-data/svn/trunk/externals/iem

but while i was writing this down, i noticed that indeed these files
were missing in action... seems like somebody forgot to commit them.
i've checked these files in.

fgvadrt
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJS53EHAAoJELZQGcR/ejb4Zw8P/1FLapO/F/Uea5WRR6q8x6S4
n+2sbt3VnozKM3MFibx/Du07gMo9E2oYG8TLxVhkX6IPwt15YxpxFXZfS4cyzQY7
F6pgIiH6OrVzxEBeN8gdsrtCOT1YAZcMVODbORhsyQ1Wl2QP661KPC5vRa6KhUCI
99HymhfUvae+tdWhqvvF3YXgt7zjVfzHxWNZDNjQiVsaxNkx2hQ/0SPzeYx8SXhc
nki/D3N3uGUEUuwYPPB11lze3tCQKV5wODQR4DbK4vencxtAofFTiQSeY6mKwyeb
K1um3U4W1xg6Z4as/DIkzaUj3H2MWpHL+Mt5gtk1OXCCMtDl2AIBGfey1fhTSZs5
wzhmSWpXlQs7Bwd8bKizo40GlPJzIy/eQTvNDMOVTD2OZVoSPp6DbuCxq8nWW9l9
Nm0HOsLIMoqe/4VPOONGwKaQtFx9faVe9ag3vqa16VwM64enq2vVV3yuwpjSH4qj
vMREq65pwts/m1YRDERlQfBC22UKQmG5DfS4nWC7HMYvfJP1jY7jK/ikEsl74X3u
jMVnF72hgCGXL48CAZb3qbOU5kPMoNcTB/MFNg/b/Q16Sb3QC+zFJeXYUpz1AVGe
7HtskrBcW8C1nDcxDMLU4zIfuBIK/DPEuPkgs5f9hapmw9tH9apONAGLys/hABVc
OkXUmAvG43YSovYQk9Rw
=LePT
-END PGP SIGNATURE-

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


Re: [PD] get current FileName or CanvasName?

2014-01-28 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2014-01-28 00:57, Jonghyun Kim wrote:
> Thanks IOhannes,
> 
> I'm using Pd-0.45-4 (Vanilla)
> 
> My iemguts were from Pd-extended 0.43-4. You said this cause
> problem, right?
> 
> So, which version of IEMGUTS should I use?

the version of iemguts doesn't matter - iirc iemguts doesn't have any
version numbers yet, so just use the latest and greatest.

the problem is, that you should make sure that the iemguts binary you
are using was compiled against the very Pd-version you are using.

i don't provide any binaries (this is on purpose, please don't ask me
for binaries). the only binaries available for download are the ones
shipped with Pd-extended.

this gives you two possibilities:
- - either use Pd-extended 0.43-4 with it's version of iemguts
- - or compile iemguts yourself (it's not complicated if you have a
compiler)

fgamsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBCAAGBQJS52y3AAoJELZQGcR/ejb4trwP/2ajIJbhVifVBVfGwsYukPt4
8rWnrCxSfkUulOeGzQF/BwUGBgMHx5jyYu0iW1/pb3qIxQMRJX5jaoOGFaKijEDg
0tlN0nTEtmfB0GW+del2ZC9VgFtgX+Bx9ThGaGGBUe+nUu0tRBHn6JsroHQM65PO
sEija/mv6NjDZsJnJElRZHxUGvt7kh70v7aIpOQVDPbEf8Lke5anKiVw0f//p/1H
3lJx4rfVGgT3v1R4qM2z+ybVZ+MfrnDxyyytcr3bOBYahtNB79k1Krjbr5UvdaMy
G/fDGsu5YmpX8iYjPabwH46ufRSL6ZAo0iRcPSaXsnuo3LIzekP5gVvJSpmQwbUU
tN5jpQT8ZUBDaeV2iMZeJm5vGSFyTPVLvMHZC5LCOrZFkmER7iCuheEvRHTPws9o
5zSoihFlnJYUWuHP70aesH+yhdm5yQpKldQDJHqxonWXcxihv/dutKZtsL7lN79w
8Pa5UXeSUhcJ2rqEAHfnBtEE8ChmVZICTXYL8zk8X1E9M1dd/PZ24Dmsb/9V076q
4CaXQlcrspXGc3v6LF/ZkqWfXCQcBb14suxRFmJ98R08suoz7XKXQHg7Cxi6ddpc
oc9c4BlyKQtpPGQ7Bpje8cxO74pTGvoH6eTGXUYcXXxwHBtiw5GEo7U9+TXNczq3
6obhZSPOduashgg9UCI7
=rYWJ
-END PGP SIGNATURE-

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