Re: [PD] pduino test patch: old analog/digital controls
On 06/17/2011 12:24 AM, Matteo Sisti Sette wrote: On 06/16/2011 05:44 PM, olsen wrote: it's all in the arduino-help.pd by Gerda Strobl and Georg Holzmann! Which one??? Not the one that is distributed together with [arduino] and [arduino-test] at http://at.or.at/hans/pd/objects.html, right? yo it's in Pduino-0.5beta8 linked on this page in the last subpatch [pd SWITCHING-INPUTS] you'll find the apropriate messages. There I find the same analogIns messages that are supposed to be the old ones (but are the only ones I've found that work for analog pins with the latest version of Firmata) jep i agree they're the same - i think it's a matter of wrong denotation so due to my knowledge there's nothing like old and newer messages - the current 'contemporary' message for enabling the analog inputs is: [analogIns pinumber 1=on; 0=off( f.e. to enable analog pin 1: [analogIns 1 1( correct me if i'm wrong! i don't know why this is commented with (optional) I must have another version of the help patch, as I don't see such a comment right behind the [pd SWITCHING-INPUTS] is a comment - example of switching inputs on and off (optional) How are the messages you're talking about? i guess it's a firmata peculiarity that you've explicit have to enable the analog pins as in arduino they are enabled by default - but correct me if i'm wrong. Yes, I guess what you have to explicitly enable is to have the firmware _send_ the values to the computer. It would be undesirable to have a constant flood of values of all pins whether you use them or not. jep right so with firmata the analogIns have to be enabled explicitly to use them. i think the (optional) comment somehow makes it ambiguous. as told i'll try to consider this in the improvements we're working on! salutis ø -- ETs DNA will not be televised http://hasa-labs.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] d-scale abstraction with rjdj
Hi I did not hear back yesterday and I am wondering Can I use the d-scale abstraction David Mccallum wrote in rjdj? pp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Piezo, trigger, Arduino
Dear List, This is yet another question about Arduino. Sorry about that. I want to use piezos to trigger samples using my arduino board. I want the trigger to be sensitive, and a quick google search seems to show that piezo is the way to go. Does anybody have any experience with piezo triggers (what type of piezo, isolating each piezo, etc.)? I will hit the piezos with my bare fingers (no drumsticks or anything like that), but i guess it doesn't really matter since i can control the threshold within Pd. This last sentence is just to make sure that everyone knows i'm talking about piezos in case there wasn't enough occurences of the word in my message. Cheers! Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Pd-berlin meeting next tuesday, 21st June
Hello, next tuesday, 21st June, will be the next meeting of Pure Data users in Berlin at NK (http://www.nkprojekt.de/) - Elsenstr. 52, 2HH 2Etage. For more information, look up http://puredata.info/community/organization/pd-berlin/pd-berlin-users-group. We also encourage you to take an active part, and put up suggestions for topics you want to talk about / topics you want to be talked about. Pd-Berlin Google group: You can join the open group http://groups.google.com/group/pd_berlin, and make questions to the users there. Doors are open from 20h-20h15. After that they'll be closed, and you will have to call someone from the Pd-meeting to get in. To get a telephone number to call or confirm assistance you can write to info_at_minitronics.net. Please, don´t call to the staff of NK to open the doors. They let us use the space but we have to take care about having the meeting without producing any disturbance to them, and to clean the space after the meeting. We would apreciate if you would send us a small mail to info_at_minitronics.net with your name, Pd experience and interests, so that we know how many people might be coming. Or put your name in the pd-berlin wiki page. We would like to thank the support and willingness of NK in the organization of these events. João Pais ___ 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] Piezo, trigger, Arduino
Hi Pierre Actually, I wouldn't connect the piezos to an arduino, but to a sound card, because the piezos will likely give very very short spikes and the sampling rate of the analogIns of the arduino is quite low (don't know the exact value) compared to the sampling rate of a common sound card. Also, you have more control in Pd to build a trigger detection filter then on the arduino. Also you would likely get much lower latency with a good audio setup than with the atmega-ftdi-usb-comport path. Also when using the soundcard, the latency is constant, while you would have glitches with the arduino. I'd be glad to hear other opinions, though, since my thoughts are purely theoretical. I haven't implemented a piezo-based trigger, neither with sound card nor arduino. Roman On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote: Dear List, This is yet another question about Arduino. Sorry about that. I want to use piezos to trigger samples using my arduino board. I want the trigger to be sensitive, and a quick google search seems to show that piezo is the way to go. Does anybody have any experience with piezo triggers (what type of piezo, isolating each piezo, etc.)? I will hit the piezos with my bare fingers (no drumsticks or anything like that), but i guess it doesn't really matter since i can control the threshold within Pd. This last sentence is just to make sure that everyone knows i'm talking about piezos in case there wasn't enough occurences of the word in my message. Cheers! 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] Piezo, trigger, Arduino
Hi Roman, thanks for your reply. I'm afraid i can't use a soundcard to capture the input from the piezo (I don't want to buy one just for three little triggers). If what you're saying is true i guess i will just use three switches and forget about the sensitivity. Pierre 2011/6/17 Roman Haefeli reduz...@gmail.com Hi Pierre Actually, I wouldn't connect the piezos to an arduino, but to a sound card, because the piezos will likely give very very short spikes and the sampling rate of the analogIns of the arduino is quite low (don't know the exact value) compared to the sampling rate of a common sound card. Also, you have more control in Pd to build a trigger detection filter then on the arduino. Also you would likely get much lower latency with a good audio setup than with the atmega-ftdi-usb-comport path. Also when using the soundcard, the latency is constant, while you would have glitches with the arduino. I'd be glad to hear other opinions, though, since my thoughts are purely theoretical. I haven't implemented a piezo-based trigger, neither with sound card nor arduino. Roman On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote: Dear List, This is yet another question about Arduino. Sorry about that. I want to use piezos to trigger samples using my arduino board. I want the trigger to be sensitive, and a quick google search seems to show that piezo is the way to go. Does anybody have any experience with piezo triggers (what type of piezo, isolating each piezo, etc.)? I will hit the piezos with my bare fingers (no drumsticks or anything like that), but i guess it doesn't really matter since i can control the threshold within Pd. This last sentence is just to make sure that everyone knows i'm talking about piezos in case there wasn't enough occurences of the word in my message. Cheers! 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] Piezo, trigger, Arduino
ej pierre regarding sensitivity a FSR = force sensitive resistor might be interesting as well?! salutis ø On 06/17/2011 03:15 PM, Pierre Massat wrote: Hi Roman, thanks for your reply. I'm afraid i can't use a soundcard to capture the input from the piezo (I don't want to buy one just for three little triggers). If what you're saying is true i guess i will just use three switches and forget about the sensitivity. Pierre 2011/6/17 Roman Haefeli reduz...@gmail.com mailto:reduz...@gmail.com Hi Pierre Actually, I wouldn't connect the piezos to an arduino, but to a sound card, because the piezos will likely give very very short spikes and the sampling rate of the analogIns of the arduino is quite low (don't know the exact value) compared to the sampling rate of a common sound card. Also, you have more control in Pd to build a trigger detection filter then on the arduino. Also you would likely get much lower latency with a good audio setup than with the atmega-ftdi-usb-comport path. Also when using the soundcard, the latency is constant, while you would have glitches with the arduino. I'd be glad to hear other opinions, though, since my thoughts are purely theoretical. I haven't implemented a piezo-based trigger, neither with sound card nor arduino. Roman On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote: Dear List, This is yet another question about Arduino. Sorry about that. I want to use piezos to trigger samples using my arduino board. I want the trigger to be sensitive, and a quick google search seems to show that piezo is the way to go. Does anybody have any experience with piezo triggers (what type of piezo, isolating each piezo, etc.)? I will hit the piezos with my bare fingers (no drumsticks or anything like that), but i guess it doesn't really matter since i can control the threshold within Pd. This last sentence is just to make sure that everyone knows i'm talking about piezos in case there wasn't enough occurences of the word in my message. Cheers! Pierre ___ Pd-list@iem.at mailto: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 -- ETs DNA will not be televised http://hasa-labs.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] shell
Hello I work with shell and I have a problem with the out of [shell] when I send a message as [wc -l $File.txt( I have no problem to have number of the line but when I send this message [sed -n '$=' $File.txt( I have no message in out. With the Terminal I have no problem, I have the number of line, but in pd no result. I have the same problem with awk [awk 'END {print NR}' $File.txt( Do you have a solution to obtain the number in the out of [shell] ? thx p ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] export from gem
Hello Max, Open this .zip and tell me if it is working now. I just added the message [color $1 $2 $3( in the abstraction to have the background white with [absCaptureHD myPicture 6000 6000 1 1 1]. Be aware that your saved picture is not anti aliased (maybe use another application - like photoshop or the gimp - to reduce the resolution with interpolation). ++ Jack Le vendredi 17 juin 2011 à 13:02 +0200, Max a écrit : hi jack, i'd be glad if you could have a look: Am 17.06.2011 um 01:38 schrieb Jack: Yes, put a [t a a] or [t a a a a a a ...] after [absCaptureHD] to 'set in order' your scene you want to capture. As Mathieu says, you have to render the scene before you capture it. Tell me if you still have a problem. Send your patch to have a look. ++ Jack Le jeudi 16 juin 2011 à 18:20 -0400, Mathieu Bouchard a écrit : On Thu, 16 Jun 2011, Max wrote: that's a useful abstraction, however in this specific scene it renders black only if i put it right after the gemhead. where's the catch? BTW, you need to have proper priority for this operation, using either [t a a] or a numbered [gemhead] so that [pix_snap] snaps *after* the rendering is done. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC signature.asc Description: This is a digitally signed message part ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sort and init objects
On Wed, Jun 15, 2011 at 02:11:20PM -0400, Mathieu Bouchard wrote: On Wed, 15 Jun 2011, Pagano, Patrick wrote: It seems to want a list-drip? Get the whole list-abs library. Recent versions (since about two years) include my accelerated [list-drip] (formerly known as [list-drip-quick]). It's not the fastest, but it's the simplest of the fast ones. If you get the newest [list]-abs now, you'll also get a new [list-sort] which now uses the fast data structure sorting method, replacing Michael Seta's very first [list-sort] implementation. Inside it requires [list-rdrip] which is a simplified version Matju's [list-drip] stripped of the reordering, so it drips a list in reverse order, which is a little bit faster again. (As we resort the list anyhow, the drip-order doesn't matter.) All in all it doesn't compare to Zexy's [sort] yet, because it drips and then rebuilds a list with the slow [list prepend]x[t a] idiom, but all in all it's already pretty okay. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Piezo, trigger, Arduino
I found that it works better if you put some kind of peak detector op-amp circuit between the piezo and the arduino. See the peak detector circuit in here: http://www.st-andrews.ac.uk/~www_pa/Scots_Guide/audio/part8/Page3.html The diode rectifies the signal and the capacitor stretches it out so the arduino has time to measure it, the resistor drains the capacitor so it doesn't hold the peak forever. Putting weights on top of the piezos increases their output, as does gluing them to a resonant object. Martin On 2011-06-17 08:53, Roman Haefeli wrote: Hi Pierre Actually, I wouldn't connect the piezos to an arduino, but to a sound card, because the piezos will likely give very very short spikes and the sampling rate of the analogIns of the arduino is quite low (don't know the exact value) compared to the sampling rate of a common sound card. Also, you have more control in Pd to build a trigger detection filter then on the arduino. Also you would likely get much lower latency with a good audio setup than with the atmega-ftdi-usb-comport path. Also when using the soundcard, the latency is constant, while you would have glitches with the arduino. I'd be glad to hear other opinions, though, since my thoughts are purely theoretical. I haven't implemented a piezo-based trigger, neither with sound card nor arduino. Roman On Fri, 2011-06-17 at 14:27 +0200, Pierre Massat wrote: Dear List, This is yet another question about Arduino. Sorry about that. I want to use piezos to trigger samples using my arduino board. I want the trigger to be sensitive, and a quick google search seems to show that piezo is the way to go. Does anybody have any experience with piezo triggers (what type of piezo, isolating each piezo, etc.)? I will hit the piezos with my bare fingers (no drumsticks or anything like that), but i guess it doesn't really matter since i can control the threshold within Pd. This last sentence is just to make sure that everyone knows i'm talking about piezos in case there wasn't enough occurences of the word in my message. Cheers! 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] converting accelerometer gyro to positive values
On Thu, Jun 16, 2011 at 09:21:53AM -0400, Pagano, Patrick wrote: I am still fooling around with rjdj and I was wondering what way people are using to turn r #acceleromter r #gyro to positive values. I usually use a mccallum abstraction d-scale for stuff like this but I am not sure it will work with vanilla/rjlib, so I am wondering what others may suggest. You can use the [m_scale] abstraction in rj to rescale values between various ranges, also using non-linear translations. If you are interested in the magnitude of the accelerometer settings you can also use the [m_accel_magnitude] abstraction, which whill give you the magnitude in all directions (i.e. how hard someone is shaking the device). Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Launching puredata -nogui from a terminal
Hi, If I launch Pd from a terminal (without ), when the terminal is closed Pd dies, which is fine for me. However, if from the terminal I launch Pd with the -nogui option, then it survives and keeps running even if the terminal is closed. Is there a way to launch Pd from a script with -nogui in such a way that when the terminal in which it was launched is closed, the Pd process is also killed? Thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] d-scale abstraction with rjdj
Hi, On Fri, Jun 17, 2011 at 07:37:00AM -0400, Pagano, Patrick wrote: I did not hear back yesterday and I am wondering Can I use the d-scale abstraction David Mccallum wrote in rjdj? I answered now, but to answer in more general terms: If an abstraction uses only the objects and features that are in Pd-vanilla as downloadable from Miller's site and if it in addition does not use objects from the expr-family ([expr], [fexpr], [expr~]) which are GPL, then it will run in RjDj on iOS. A nice way to check this with Pd-extended instead of vanilla is starting Pd with the -noprefs option, so it does not load any externals and doesn't set any paths. If the abstraction doesn't give any errors about missing objects and if it doesn't use expr, then it will be fine. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] converting accelerometer gyro to positive values
Thanks frank, you rule pp On 6/17/11 10:37 AM, Frank Barknecht f...@footils.org wrote: On Thu, Jun 16, 2011 at 09:21:53AM -0400, Pagano, Patrick wrote: I am still fooling around with rjdj and I was wondering what way people are using to turn r #acceleromter r #gyro to positive values. I usually use a mccallum abstraction d-scale for stuff like this but I am not sure it will work with vanilla/rjlib, so I am wondering what others may suggest. You can use the [m_scale] abstraction in rj to rescale values between various ranges, also using non-linear translations. If you are interested in the magnitude of the accelerometer settings you can also use the [m_accel_magnitude] abstraction, which whill give you the magnitude in all directions (i.e. how hard someone is shaking the device). 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] Launching puredata -nogui from a terminal
2011/6/17 Matteo Sisti Sette matteosistise...@gmail.com: Is there a way to launch Pd from a script with -nogui in such a way that when the terminal in which it was launched is closed, the Pd process is also killed? That's what already happen with all jobs running on one particular terminal. If you open a text editor from terminal, you can't close that terminal until you save your text.. etc.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Launching puredata -nogui from a terminal
On 06/17/2011 04:58 PM, Bernardo Barros wrote: That's what already happen with all jobs running on one particular terminal. If you open a text editor from terminal, you can't close that terminal until you save your text.. etc.. But strangely, that doesn't happen with the puredata process when launched with -nogui. Try it. Write in a terminal: puredata -nogui Close the terminal. You don't get the usual dialog asking for confirmation. After closing the terminal open the system monitor, you will see the puredata process is still there. When you launch Pd without -gui, then it's like you say. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Launching puredata -nogui from a terminal
strange indeed.. :/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Another arduino weirdness
On 2011-06-14 19:22, Matteo Sisti Sette wrote: I've found out that if I send the arduino the version message, then these messages _are_ received (also in Windows), while when the Arduino send them just after connecting, they are lost in Windows. So I think there must be an issue either in the Windows version of [comport] or in the Windows drivers, that if a message is received too soon after connecting, it is lost. O, it may be relevant (though I don't directly see how) that when I test on Windows I do it through a virtual machine (on a linux host which is the one on which i test it in Linux). Yes I think that is relevant. I just tried it on WinXP and at least that part works properly. (arduino duemilanove / firmata2.2 / Pduino-0.5beta8) Usually emulators don't do a good job with I/O. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] room reflections: cart2del_damp_2d
Hi List, I'm experimenting with Thomas Musil's externals ambi_encode and room_sim_3d (the GUI object, set up in 2d) to spatialise mono sources. I'm using these presently with ambdec as an external decoder and it seems to be working well. I'd like to try simulating early room reflections with cart2del_damp_2d but can't figure out how to use it properly (have looked at the help file included in pd-extended). Is there a more developed patch available somewhere or could someone please send me an example? Thanks, Iain ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] room reflections: cart2del_damp_2d
Hi List, I'm experimenting with Thomas Musil's externals ambi_encode and room_sim_3d (the GUI object, set up in 2d) to spatialise mono sources. I'm using these presently with ambdec as an external decoder and it seems to be working well. I'd like to try simulating early room reflections with cart2del_damp_2d but can't figure out how to use it properly (have looked at the help file included in pd-extended). Is there a more developed patch available somewhere or could someone please send me an example? Thanks, Iain ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Another arduino weirdness
On 06/17/2011 05:29 PM, Martin Peach wrote: O, it may be relevant (though I don't directly see how) that when I test on Windows I do it through a virtual machine (on a linux host which is the one on which i test it in Linux). Yes I think that is relevant. I just tried it on WinXP and at least that part works properly. (arduino duemilanove / firmata2.2 / Pduino-0.5beta8) Well I've tried again with a _real_ windows (I mean no virtual machine), and the following happens: - with a Dumelilanove, the arduino resets every time I open the connection from Pd (open message to [arduino]) - with a UNO, it doesn't. I guess the difference is due to the difference in drivers rather than in hardware, as in Linux both boards behave the same way (they both reset when you open the connection). ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] room reflections: cart2del_damp_2d
sorry - i think i worked it out - will email back if i get stuck. Iain On Fri, 2011-06-17 at 12:49 -0300, Iain Mott wrote: Hi List, I'm experimenting with Thomas Musil's externals ambi_encode and room_sim_3d (the GUI object, set up in 2d) to spatialise mono sources. I'm using these presently with ambdec as an external decoder and it seems to be working well. I'd like to try simulating early room reflections with cart2del_damp_2d but can't figure out how to use it properly (have looked at the help file included in pd-extended). Is there a more developed patch available somewhere or could someone please send me an example? Thanks, Iain ___ 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] Another arduino weirdness
On 2011-06-17 12:04, Matteo Sisti Sette wrote: On 06/17/2011 05:29 PM, Martin Peach wrote: O, it may be relevant (though I don't directly see how) that when I test on Windows I do it through a virtual machine (on a linux host which is the one on which i test it in Linux). Yes I think that is relevant. I just tried it on WinXP and at least that part works properly. (arduino duemilanove / firmata2.2 / Pduino-0.5beta8) Well I've tried again with a _real_ windows (I mean no virtual machine), and the following happens: - with a Dumelilanove, the arduino resets every time I open the connection from Pd (open message to [arduino]) - with a UNO, it doesn't. I guess the difference is due to the difference in drivers rather than in hardware, as in Linux both boards behave the same way (they both reset when you open the connection). From the arduino hardware description http://arduino.cc/en/Main/Boards: [The Uno] is similar to the Duemilanove, but has a different USB-to-serial chip the ATMega8U2 and The '8U2 firmware uses the standard USB COM drivers, and no external driver is needed. However, on Windows, a .inf file is required. I don't have a Uno so I can't test it. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pd crashed
pd crashed while I was saving a large patch. now, when I open that patch, about a third of the objects are gone, and ALL of the connections. what the heck happened.. and am I totally screwed or can I fix it. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Launching puredata -nogui from a terminal
On Fri, 2011-06-17 at 16:39 +0200, Matteo Sisti Sette wrote: Hi, If I launch Pd from a terminal (without ), when the terminal is closed Pd dies, which is fine for me. However, if from the terminal I launch Pd with the -nogui option, then it survives and keeps running even if the terminal is closed. Is there a way to launch Pd from a script with -nogui in such a way that when the terminal in which it was launched is closed, the Pd process is also killed? Hm.. don't know why it shows this behaviour with -nogui. Perhaps the pd process is a child process of the pd-gui process, and probably pd-gui immediately stops running after launch when -nogui is set, thus pd is not a child process of the terminal and won't shutdown when the terminal is killed? just some thoughts Anyway, you still could send the 'pd -nogui' process to the background and then later kill it by its process ID: $ pd -nogui $ pdpid=$? and later: $ kill $pdpid Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Launching puredata -nogui from a terminal
On 06/17/2011 08:30 PM, Roman Haefeli wrote: Hm.. don't know why it shows this behaviour with -nogui. Perhaps the pd process is a child process of the pd-gui process, and probably pd-gui immediately stops running after launch when -nogui is set, thus pd is not a child process of the terminal and won't shutdown when the terminal is killed? just some thoughts Same thoughts here :) Anyway, you still could send the 'pd -nogui' process to the background and then later kill it by its process ID: $ pd -nogui $ pdpid=$? and later: $ kill $pdpid But I would have to do it manually, right? Since it's not me who have to use the patch, I'm looking for a way to ensure that one cannot forget to do something and end up with half a dozen puredata processes running without being aware (i.e. without any open window), but at the same time I do want to launch this particular Pd instance with nogui. Is there a way to use that approach (in a shell script or something) in such a way that I can ensure that the killing is done when the terminal is closed? (by the way I need something that would work on Mac OS, but usually as far as shell scripts and the like are concerned, simple stuff that works in linux also works in Mac OS with little changes...) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] shell
Hi, I guess you're on osx since you mention 'Terminal'. Try with escaping the quotes : sed -n \'$=\' $File.txt and eventually the dollar too : sed -n \'\$=\' $File.txt On archlinux it works without escaping. see you, Charlot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd crashed
On 06/17/2011 07:37 PM, Cody Loyd wrote: pd crashed while I was saving a large patch. now, when I open that patch, about a third of the objects are gone, and ALL of the connections. what the heck happened.. In my experience Pd crashes quite often when I save. In some cases, it crashes _before_ it saves the file, so any change I've made since the last save is lost; in some other cases, it crashes just _after_ saving, so the changes are saved. It never happened to me that after such a crash I got a corrupted patch or that I loose any object that were present the previous time I had saved the patch. I don't know whether it is your case. Maybe the objects that are gone are those that you had added after the last-but-one save and before the save that triggered the crash. and am I totally screwed or can I fix it. If that is the case, I'm afraid there's no fix :( ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] kinect external
Yop I try to built, and I don't ? I have changed all directory in the makefile. but I have error when I make ??? THX p Le 17 juin 2011 à 18:56, Budi Prakosa a écrit : hi all, i want to share simple kinect external based on libfreenect glview.c and some examples from gem mailing list cheers Budi Prakosa house of natural fiber (HONF) yogyakarta new media art laboratory wora wari A80/6 baciro yogyakarta indonesia http://www.natural-fiber.com kinect.zip___ 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] kinect external
What is ur platform? Its only works on mac right now On Saturday, June 18, 2011, philippe boisnard philem...@mac.com wrote: Yop I try to built, and I don't ? I have changed all directory in the makefile. but I have error when I make ??? THX p Le 17 juin 2011 à 18:56, Budi Prakosa a écrit : hi all, i want to share simple kinect external based on libfreenect glview.c and some examples from gem mailing list cheers Budi Prakosa house of natural fiber (HONF) yogyakarta new media art laboratory wora wari A80/6 baciro yogyakarta indonesia http://www.natural-fiber.com kinect.zip___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- -BEGIN P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ASl TH4XCBuUJwXKmMLSuoJg5gAlS5K5u9IO/dkV6nnOJcZ8zNXGwzA639CGC4iedl6n QWtbk2AG8T6xWVvUyAAP5uEWaxJ7yIqz4/inaIfw/al6wkAK3RRBK4GZ1dGbdDqz DQfm10ut3V07LQpR00z7BooatmWAq68wb1HPABEBAAGJAj4EGAECAAkFAk1C2ZUC Gy4BKQkQxp50gka35bjAXSAEGQECAAYFAk1C2ZUACgkQPkyD0TpxcgYR1Af/ZlrJ VF6kci7Mn0EzThWRxHlR9l05QWDYkzV8JacLuM3XK9zNWre8bU10Z08a1ysGH5hM 7Ut9OYVTM7D+Fj3DKhekEX2cl+Atx24XIcFWhydL8+5LTidNjVJVA1/wxjXDYP7u XPdRYbS6V0zvaAxRlPptyi/fjEETzH+KUOMNy2tf9wi5HWrR/uOxf9Ni+hQ4zmw/ ls6jzhIviogWg3Qw+IJIoZKT4LUh0Y4Wg8T/BraaEDLpmxMHkfrnzyJFrsMwSLjp SYjlZCMZTuBgNFvHpdElBBhkv7W04rp7gsmZuvXCc0oM3Vz2qUharz7j8wIEiH43 3R0M39FByhtwvjN456AqB/9522DOOY1LDq93KGOLCiUj3atZ+IiIEjhQFKbl/Rvr o0I/nybIB217iQFQNom4MMRoSmi/WhzxgJNCAwQbUvULa651p2wkwHOJG0RVPcx+ I4DhNkgVJmXYcHigXEG0G/GlhKFBXmxoXcRJ45XFa99SJCNDT+Gzkcz/g4npjx9g gBXOkdGjD5QeScZC30G/xapwEExzqZoOw/k3YcDP2gjlfBMl4HJfz1DHnxwQjqla 2TwhMnrVNqHUhLG9XeNmS4n8KxfrQHFKelpx596FyaWOKcUU4qzSf+imnmFIM2jm RwF2zuKgn+wroBpDTPZ9FgtZEQBTOoeiPrUkhkCzbhYB =Nna7 -END PGP PUBLIC KEY BLOCK- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] shell
On Fri, 17 Jun 2011, Charles Goyard wrote: I guess you're on osx since you mention 'Terminal'. Try with escaping the quotes : sed -n \'$=\' $File.txt and eventually the dollar too : sed -n \'\$=\' $File.txt On archlinux it works without escaping. Those don't sound like actual OSX/Linux differences. I don't think that there are _any_ quoting differences between OSX and Linux, especially ever since OSX switched to the BASH shell. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd crashed
The problem is not that is just didn't save... So dang. Pd has been crashing more often for me lately, with no more terminal output than Segmentation fault... Is there a log somewhere where I can try to see what's causing these? On Linux. Sent from my iPad On Jun 17, 2011, at 4:06 PM, Matteo Sisti Sette matteosistise...@gmail.com wrote: On 06/17/2011 07:37 PM, Cody Loyd wrote: pd crashed while I was saving a large patch. now, when I open that patch, about a third of the objects are gone, and ALL of the connections. what the heck happened.. In my experience Pd crashes quite often when I save. In some cases, it crashes _before_ it saves the file, so any change I've made since the last save is lost; in some other cases, it crashes just _after_ saving, so the changes are saved. It never happened to me that after such a crash I got a corrupted patch or that I loose any object that were present the previous time I had saved the patch. I don't know whether it is your case. Maybe the objects that are gone are those that you had added after the last-but-one save and before the save that triggered the crash. and am I totally screwed or can I fix it. If that is the case, I'm afraid there's no fix :( ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] shell
Hi I can't type \ in my pd-extended. thus no result with this. THX p Le 17 juin 2011 à 21:52, Charles Goyard a écrit : Hi, I guess you're on osx since you mention 'Terminal'. Try with escaping the quotes : sed -n \'$=\' $File.txt and eventually the dollar too : sed -n \'\$=\' $File.txt On archlinux it works without escaping. see you, Charlot ___ 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] kinect external
could u try the precompiled binary? it need libfreenect to be installed first On Sat, Jun 18, 2011 at 10:41 AM, philippe boisnard philem...@mac.com wrote: I Have tested with a make and make clean ??? and no result Le 18 juin 2011 à 00:45, Budi Prakosa a écrit : What is ur platform? Its only works on mac right now On Saturday, June 18, 2011, philippe boisnard philem...@mac.com wrote: Yop I try to built, and I don't ? I have changed all directory in the makefile. but I have error when I make ??? THX p Le 17 juin 2011 à 18:56, Budi Prakosa a écrit : hi all, i want to share simple kinect external based on libfreenect glview.c and some examples from gem mailing list cheers Budi Prakosa house of natural fiber (HONF) yogyakarta new media art laboratory wora wari A80/6 baciro yogyakarta indonesia http://www.natural-fiber.com kinect.zip___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- -BEGIN PGP PUBLIC KEY BLOCK- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) mQENBE1C2ZUBCAC6xh9GLuryhzrPiWj8/BzuDHdikoxQgc5Dg179xRiXHfqAwt69 uAdojv5N3lSF4YSQl53maM8El2TLgPQldcxtL5OihBf7HAt2XxGqYqBdux/lfvWn f7DMQiN2ASMkkyQ2oNtMUK5IsjLsQHOOnihglLfiiSZDFNgoq2xi4MNW7mWQBdcC z7yTL7I5Gto1VDdy5jswuFTFgnkuxLn+B9ItebJR9mY0ta71EAxveOE0NTWvGpnB 32cyObZ96cmviMwkdH3nJWx5YBTr6pawa5r6cYz6lijpHpKuUeOa+BJwF+WIuLVW onOysIrtnQ53hfldE/71L21l042bU9uJdRQxABEBAAG0I0J1ZGkgUHJha29zYSA8 aXlva0BkZWFkbWVkaWFmbS5vcmc+iQE4BBMBAgAiBQJNQtmVAhsvBgsJCAcDAgYV CAIJCgsEFgIDAQIeAQIXgAAKCRDGnnSCRrfluLyhCACzRKN/VcWECBjfaqWPimGV A9mi0CzKY0ZfBJdlERy6Qq+QV0/zyyHxcYIKtgeIgi+LF1bwDCYehnk+pSR8tGOM NVlkEPYg9rKWQpwV7X7bETwFCxM9LP/D9HxEwuxOdEEU/Bg8iE6+AC35zW7qRXMz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NIa8+v93Xr/Bo9E8G9lV1Gl/pwxzJwWa S+jb1MwDPH5Wb5dnQ6CY5mC9eK72ZoUfSgA+R6Lgn8neJ/H6XXxG8hGNLVtoi4co uQENBE1C2ZUBCACiUHz5YcVFgjD0QWdWL03yNCzFJW+kAuwM21YZbMlqah6z0DE5 LbRPKBqhT3O3GBPH/XC8WL+UaFqNnZoOuSqQJRVvTQoV4ZQW1ScfTykaQzbfqU8T Zbamts3UyCWWqhOqfU+dW6pBRetIeVrT9VErj1vrxIPwOfX2q2v6YJzxKtZe0ASl TH4XCBuUJwXKmMLSuoJg5gAlS5K5u9IO/dkV6nnOJcZ8zNXGwzA639CGC4iedl6n QWtbk2AG8T6xWVvUyAAP5uEWaxJ7yIqz4/inaIfw/al6wkAK3RRBK4GZ1dGbdDqz DQfm10ut3V07LQpR00z7BooatmWAq68wb1HPABEBAAGJAj4EGAECAAkFAk1C2ZUC Gy4BKQkQxp50gka35bjAXSAEGQECAAYFAk1C2ZUACgkQPkyD0TpxcgYR1Af/ZlrJ VF6kci7Mn0EzThWRxHlR9l05QWDYkzV8JacLuM3XK9zNWre8bU10Z08a1ysGH5hM 7Ut9OYVTM7D+Fj3DKhekEX2cl+Atx24XIcFWhydL8+5LTidNjVJVA1/wxjXDYP7u XPdRYbS6V0zvaAxRlPptyi/fjEETzH+KUOMNy2tf9wi5HWrR/uOxf9Ni+hQ4zmw/ ls6jzhIviogWg3Qw+IJIoZKT4LUh0Y4Wg8T/BraaEDLpmxMHkfrnzyJFrsMwSLjp SYjlZCMZTuBgNFvHpdElBBhkv7W04rp7gsmZuvXCc0oM3Vz2qUharz7j8wIEiH43
Re: [PD] shell
On 18/06/11 11:45, philippe boisnard wrote: Hi I can't type \ in my pd-extended. thus no result with this. try saving the script as an executable file, and call that with [shell] instead. Simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list