Re: [PD] dssi~
Hi Victor, On Thu, 2007-06-21 at 20:58 +0200, victor wrote: I compiled dssi~ on debian etch (adjunt) but dont appear the text of object's box, using pd extended. I supose the use is: [dssi~ /path/to/plugin] dssi~: DSSI/LADSPA host - version 0.96 dssi~: error: plugin not loaded dssi~ has one compulsary creation argument. This should be either the plugin label: [dssi~ sine_faaa] ..or the path to the library and the plugin label separated by a colon: [dssi~ /path/to/sine.so:sine_faaa] There is a file called dssi-manual.txt in the doc/ directory that comes with the dssi~ source tarball that explains this and some other pretty essential info. After that error message I must to restart pd, because only may to see object lines, not text. I think this is due to a bug in a certain Tcl/Tk version. If you can, you should try to upgrade to a more recent version. Let me know if this _doesn't_ fix the problem. best, Jamie ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Any relation between pidip and Gem??
hola, pidip is searching for libquicktime at the wrong place is an affirmation, unjustified and not founded at all, that's where the abuse is, unverified information. and now something totally different : what's the status of the moonlibs http://www.moonix.freesurf.fr/ ? did a. rousseau gave up pd? is it included in pd.-extended? in cvs? i happen to like some of the objects there.. peace, sevy ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] posting
I'd like to use the e-mail I'm using here to post to the list and was advised in the list subscriber acceptance e-mail to e-mail [EMAIL PROTECTED] thanks - Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your freeaccount today.___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Extracting textfile columns for audio
Hello PD list I'm trying to extract one of three number columns from a text file to drive the pitch of an audio oscillator. I have the .txt file reading all 3 columns of numbers into an array at present but I only want the second column. Ideally I'd like to extract the 2nd column before being read into the array but another solution in this case may also be limiting the numbers read from the array to the oscillator to within a particular range (i.e. the number value range of the 2nd column; 840 - 890). Though the latter wouldn't provide a pure solution it would be workable in this case. As you may have guessed, I'm grapping with pd fundamentals here as an abolute beginner, so I'd really appreciate any suggestions/ patch examples/ explanations etc. thanks Toby - Yahoo! Answers - Get better answers from someone who knows. Tryit now.___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Extracting textfile columns for audio
A more workable solution might be to use the IEM matrix object set, which is designed for exactly this sort of tabular data. I hacked together a pretty good preset saving system a month or two ago using them. You might have to format the txt file you are using a bit to get it to load, however. Check 5.reference/iemmatrix/matrix-help.pd (at least on Extended) for details. d. toby zardoz wrote: Hello PD list I'm trying to extract one of three number columns from a text file to drive the pitch of an audio oscillator. I have the .txt file reading all 3 columns of numbers into an array at present but I only want the second column. Ideally I'd like to extract the 2nd column before being read into the array but another solution in this case may also be limiting the numbers read from the array to the oscillator to within a particular range (i.e. the number value range of the 2nd column; 840 - 890). Though the latter wouldn't provide a pure solution it would be workable in this case. As you may have guessed, I'm grapping with pd fundamentals here as an abolute beginner, so I'd really appreciate any suggestions/ patch examples/ explanations etc. thanks Toby -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 57: Do the words need changing? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Extracting textfile columns for audio
hi toby since [textfile] doesn't provide any mechanism to jump to a certain line, you need to step through all lines from the beginning. this conflicts with your intention to only read certain lines out, not all of them. you could solve this conflict by appending a [spigot] object to [textfile]. [spigot] lets you choose, if messages should get passed or not, by sending to its right inlet '1' or '0'. a solution would be to set [spigot] to '0' until [textfile] reaches the line you want. then you could set [spigot] to '1', so that the output of [textfile] is sent to the array. if you are on pd-extended or you have the zexy external installed, then you could also use [msgfile] (on pd-extended you may need to create a [import zexy] first). it works similar to [textfile], but provides more 'commands'. you could send it a 'goto 2' message in order to set the read pointer to line 2. sending it a 'bang' now, will let it output line 2. roman On Fri, 2007-06-22 at 12:11 +0100, toby zardoz wrote: Hello PD list I'm trying to extract one of three number columns from a text file to drive the pitch of an audio oscillator. I have the .txt file reading all 3 columns of numbers into an array at present but I only want the second column. Ideally I'd like to extract the 2nd column before being read into the array but another solution in this case may also be limiting the numbers read from the array to the oscillator to within a particular range (i.e. the number value range of the 2nd column; 840 - 890). Though the latter wouldn't provide a pure solution it would be workable in this case. As you may have guessed, I'm grapping with pd fundamentals here as an abolute beginner, so I'd really appreciate any suggestions/ patch examples/ explanations etc. thanks Toby __ Yahoo! Answers - Get better answers from someone who knows. Try it now. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] posting
well i got your mail through the list, so i guess it's all good. welcome aboard ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] posting
You've just posted to the list! Welcome. -Chuckk On 6/22/07, toby zardoz [EMAIL PROTECTED] wrote: I'd like to use the e-mail I'm using here to post to the list and was advised in the list subscriber acceptance e-mail to e-mail [EMAIL PROTECTED] thanks -- Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for your free account todayhttp://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html . ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://www.badmuthahubbard.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Extracting textfile columns for audio
Hallo, toby zardoz hat gesagt: // toby zardoz wrote: I'm trying to extract one of three number columns from a text file to drive the pitch of an audio oscillator. I have the .txt file reading all 3 columns of numbers into an array at present but I only want the second column. I don't yet understand why you are reading the numbers into an array? Anyway, assuming you use [textfile] to read in the file, you can extract the middle number of each row using a message box with [$2( in it. An alternative approach is to load your external data into data structures. That's a bit more advanced, but very flexible. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Extracting textfile columns for audio
On Fri, 2007-06-22 at 14:51 +0200, Frank Barknecht wrote: Hallo, toby zardoz hat gesagt: // toby zardoz wrote: I'm trying to extract one of three number columns from a text file to drive the pitch of an audio oscillator. I have the .txt file reading all 3 columns of numbers into an array at present but I only want the second column. I don't yet understand why you are reading the numbers into an array? Anyway, assuming you use [textfile] to read in the file, you can extract the middle number of each row using a message box with [$2( in it. An alternative approach is to load your external data into data structures. That's a bit more advanced, but very flexible. Ciao oops, i mixed up columns and lines in my previous post. sorry for that roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Extracting textfile columns for audio
Hello Toby, I hope that it will help you. Jack Hello PD list I'm trying to extract one of three number columns from a text file to drive the pitch of an audio oscillator. I have the .txt file reading all 3 columns of numbers into an array at present but I only want the second column. Ideally I'd like to extract the 2nd column before being read into the array but another solution in this case may also be limiting the numbers read from the array to the oscillator to within a particular range (i.e. the number value range of the 2nd column; 840 - 890). Though the latter wouldn't provide a pure solution it would be workable in this case. As you may have guessed, I'm grapping with pd fundamentals here as an abolute beginner, so I'd really appreciate any suggestions/ patch examples/ explanations etc. thanks Toby - Yahoo! Answers - Get better answers from someone who knows. Tryit now.___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list reader.pd Description: Binary data 700 855 977; 655 900 778; 300 875 98; 245 900 390; 700 805 977; 655 863 778;___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] matrices in gridflow
hi, my project has reached that point when all hardware interfacing issues got more or less solved and i started gathering and crunching the data. with it, something that i was expecting but was totally not ready for has arrived... matrices, yeah, the hard stuff for non-programmer like myself. on the channel i was kindly adviced to give GridFlow a shot in doing the job, but as i mentioned my math skills are nothing, and so far GridFlow to me is like a logarithmic ruler to a newborn. my question is if any of you here knows of some abstractions that make use of GF in matrix comparison? i need to compare 5-d matrix to a value in order to choose a best possible match (matrices have holes). sorry, i can even speak math... :) best, danja ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Problems using M-Audio Soundcards with a Dell Laptop Computer
After making tedious and exhaustive tests I finally discovered that using an M-Audio Audiophile Firewire Sound Card connected to a Dell Inspiron Laptop produces random little chirps while recordings that are -to my present knowledge- unavoidable and due to some kind of incompatibility between those two devices. Of course I did all the Audio optimizations on the system required and recommended. The Customer Service of M-Audio said laconically that it may be likely an IRQ conflict and gave me elemmental and useless advices already known by any newbie computer user. I tried to reconfigure all the system and to leave the less IRQ in use as possible. It did not work either. The curious thing is that with other laptops I had no problem recording with the Audiophile Sound Card while using a different sound card (Old but very good Edirol UA-5) I could use the Dell Laptop successfuly. If you are experiencing a similar problem and can tell something about I will appreciate any help. Anyway, think it twice if you have a Dell Laptop and you are to buy an M-Audio Sound Card or vice-versa... :) Most Cordially Isi Looking for earth-friendly autos? Browse Top Cars by Green Rating at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] arduino+solenoid concert
So, SMS is signicantly slower because it uses ASCII conversion ? Interesting. Even at high baud rates ? SMS is aimed at ease of use and precision. Although I am surprised to ear about SMS's and Pduino's speed problems. I made an installation with an SSC-32 servo controller controlling 24 servos connected to PD. The SSC-32 is based on the SAME chip as the Arduino and uses a communication protocol VERY similar to SMS and I never experienced any problems. Maybe you are not keeping your messages simple enough? Or maybe the big difference was that I was using a hardware serial port and not a USBSerial chip/converter. Tom On 6/21/07, Alexandre Quessy [EMAIL PROTECTED] wrote: Hi, 2007/6/21, tim [EMAIL PROTECTED]: Roman Haefeli wrote: On Thu, 2007-06-21 at 09:21 -0400, Alexandre Quessy wrote: Hi! I don't want to insist... but a task like this would be much easier with the http://www.arduino.cc/playground/Code/SimpleMessageSystem than with something not-as-flexible like Pduino. I agree to that. We did something similar a while ago, with realys, shift-registers and 13 solenoids. It was fairly easy to make one firmware for pd communication with SMS as well as shifting code to drive the relays. More complex passages showed some timing fluctuation, but overall timing was pretty good. Polyphony was kept at a maximum of 4, above that, things became more unstable. So, SMS is signicantly slower because it uses ASCII conversion ? Interesting. Even at high baud rates ? In case you're interested, see www.timvets.net/projects/erkiandtim/poltergeist We obviously were more inclined to drink beer than to shoot film that night...;) Error 404 ! a Tim -- Alexandre Quessy http://alexandre.quessy.net http://www.puredata.info/Members/aalex ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [Gem] pix_film error question
Hello, I sometimes encounter messages error: [pix_filmNEW]: unable to open file: (filename) due to some unsupported codices in [pix_file], which is not that big a problem to me. But as I want to play a list of files in a row, is there a specific message on any outlet of [pix_film] associated with this error, similar to streams outputting a length a -1 at the second outlet, so that I can bang a new file to load? Thanks in advance, Thomas -- Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance. (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] dropout save metro
hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gemmouse wish
Hi, it would be very helpful to change the behaviour of gemmouse a little bit (to get similar results to the translation of objects in the gemwindow). [gemmouse 8] should normalize to the height (like gemwin) and not to the width. given a rectangular gemwin any aspect ratio (no difference between 2:1 and 1:2...) always normalizes to the height and sets (with the default view) the top and bottom borders to +4 and -4 gemmouse 8 on the other hand normalizes to the width. this makes it very difficult (unpossible?) to build mouse interaction with variable window sizes. another feature wish: to be able to tell the dimensions of the gemwin. esp. after resizing by mousedrawing. thanks, marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
I have thought about making a 'real time' metro. One of the features I was considering was what to do if the event happens too late, would the output fire or drop the event? On 6/22/07, Enrique Erne [EMAIL PROTECTED] wrote: hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ 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] dropout save metro
the problem with timer is, that it only sends an output, when banged. you could bang it with some insane rate using a [metro 1000] and according to the measured (real)time, you send a bang or not. this approach would *might* work, but it has several disadvantages, if i do understand the underlying architecture of pd correctly. first, you cannot be sure, that each desired time will be triggered. lets assume you want to schedule the next 'bang' to 43s297ms, but the output of [timer] maybe is '43 296', '43 296', '43 298'. in that case '43 297' won't be hit at all. then i think, that this approach wouldn't be accurate at all, since there is no logical time involved. the advantage of logical time is, that it doesn't matter at all, when the [metro] object is processed by pd, the output of it will be accurate (as long there are no dropouts). with a purely realtime based solution, you'll never know, when exactly the object, that does the time measuring, is processed. the time, when [timer] receives your bang is not exactly defined and can happen anywhere between now and the amount of your buffersize later. correct me, if i am wrong, but as i understand pd, there will be no accurate realtime based solution. roman On Fri, 2007-06-22 at 17:56 +0200, Enrique Erne wrote: hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
if the event(s) happen to late i.e after a dropout i wouldn't want it to trigger anything. but on the other hand: i would anyway use it for a counter... then i wanted it to count further. if it counts from 1 to 4 and misses the 2th event it should go to 3 on the next supposed event to be in sync with outside. the realmetro could have 2 outlets one for events in time the other for the ones who are too late. if i had a realmetro i'd built a realcounter that'd output 1 _ 3 4 5 6 but still no idea how it can get achieved :( On Jun 22, 2007, at 6:11 PM, chris clepper wrote: I have thought about making a 'real time' metro. One of the features I was considering was what to do if the event happens too late, would the output fire or drop the event? On 6/22/07, Enrique Erne [EMAIL PROTECTED] wrote: hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ 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] dropout save metro
Hallo, Enrique Erne hat gesagt: // Enrique Erne wrote: has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? Some quick ideas: Use an external metro and receive it with netreceive/OSC. This will be quantized to message blocks of course, but maybe OSC timestamps can be used. jack_transport: Will only work on systems with jack. I don't know, if there's an external available, but it shouldn't be too hard to write. [adc~]: Use a click signal coming in over [adc~]. Advantage: This will not be quantized. But you need some objects to make use of these signal clicks. Eric Lyon wrote some, they are in CVS. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
one solution, that might would work, came to my mind. you could run two instances of pd, one does only hold a [metro] and has a slightly higher priority than the other instance. the second pd does all the audio stuff and therefore might have some dropouts. now you could send the output of the 'dropout safe' [metro] to the audio instance of pd. this would be a clean solution, but it requires some connection between the two instances of pd, most probably a tcp-connection. due to this connection, this approach might be inaccurate as well. roman On Fri, 2007-06-22 at 19:06 +0200, Enrique Erne wrote: i think your totally right... too bad. On Jun 22, 2007, at 6:54 PM, Roman Haefeli wrote: the problem with timer is, that it only sends an output, when banged. you could bang it with some insane rate using a [metro 1000] and according to the measured (real)time, you send a bang or not. this approach would *might* work, but it has several disadvantages, if i do understand the underlying architecture of pd correctly. first, you cannot be sure, that each desired time will be triggered. lets assume you want to schedule the next 'bang' to 43s297ms, but the output of [timer] maybe is '43 296', '43 296', '43 298'. in that case '43 297' won't be hit at all. then i think, that this approach wouldn't be accurate at all, since there is no logical time involved. the advantage of logical time is, that it doesn't matter at all, when the [metro] object is processed by pd, the output of it will be accurate (as long there are no dropouts). with a purely realtime based solution, you'll never know, when exactly the object, that does the time measuring, is processed. the time, when [timer] receives your bang is not exactly defined and can happen anywhere between now and the amount of your buffersize later. correct me, if i am wrong, but as i understand pd, there will be no accurate realtime based solution. roman On Fri, 2007-06-22 at 17:56 +0200, Enrique Erne wrote: hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
On Fri, 2007-06-22 at 19:22 +0200, Roman Haefeli wrote: one solution, that might would work, came to my mind. you could run two instances of pd, one does only hold a [metro] and has a slightly higher priority than the other instance. the second pd does all the audio stuff and therefore might have some dropouts. now you could send the output of the 'dropout safe' [metro] to the audio instance of pd. this would be a clean solution, but it requires some connection between the two instances of pd, most probably a tcp-connection. due to this connection, this approach might be inaccurate as well. frank mentioned using an audio connection. with an audio connection between both instances you wouldn't have any glitches. the main problem is how to 'encode' and 'decode' the audio signal, so that you don't lose sample accuracy. there are possibly many approaches, but one comes to mind using [pack~] and [unpack~] from zexy. dependent on when the 'bang' from the metro happens withing a block, you could encode that time into the first sample of a block with a list like '23 0 0 0 0 0 . ' sent to [pack~] . ('23' means, that the bang should be triggered at the 23th sample of that block). on the receiver side, you could use an [unpack~] | [$1] construction to 'decode' the audio block. hope, that makes sense.. roman On Fri, 2007-06-22 at 19:06 +0200, Enrique Erne wrote: i think your totally right... too bad. On Jun 22, 2007, at 6:54 PM, Roman Haefeli wrote: the problem with timer is, that it only sends an output, when banged. you could bang it with some insane rate using a [metro 1000] and according to the measured (real)time, you send a bang or not. this approach would *might* work, but it has several disadvantages, if i do understand the underlying architecture of pd correctly. first, you cannot be sure, that each desired time will be triggered. lets assume you want to schedule the next 'bang' to 43s297ms, but the output of [timer] maybe is '43 296', '43 296', '43 298'. in that case '43 297' won't be hit at all. then i think, that this approach wouldn't be accurate at all, since there is no logical time involved. the advantage of logical time is, that it doesn't matter at all, when the [metro] object is processed by pd, the output of it will be accurate (as long there are no dropouts). with a purely realtime based solution, you'll never know, when exactly the object, that does the time measuring, is processed. the time, when [timer] receives your bang is not exactly defined and can happen anywhere between now and the amount of your buffersize later. correct me, if i am wrong, but as i understand pd, there will be no accurate realtime based solution. roman On Fri, 2007-06-22 at 17:56 +0200, Enrique Erne wrote: hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
On Fri, 2007-06-22 at 19:40 +0200, Roman Haefeli wrote: On Fri, 2007-06-22 at 19:22 +0200, Roman Haefeli wrote: one solution, that might would work, came to my mind. you could run two instances of pd, one does only hold a [metro] and has a slightly higher priority than the other instance. the second pd does all the audio stuff and therefore might have some dropouts. now you could send the output of the 'dropout safe' [metro] to the audio instance of pd. this would be a clean solution, but it requires some connection between the two instances of pd, most probably a tcp-connection. due to this connection, this approach might be inaccurate as well. frank mentioned using an audio connection. with an audio connection between both instances you wouldn't have any glitches. the main problem is how to 'encode' and 'decode' the audio signal, so that you don't lose sample accuracy. there are possibly many approaches, but one comes to mind using [pack~] and [unpack~] from zexy. dependent on when the 'bang' from the metro happens withing a block, you could encode that time into the first sample of a block with a list like '23 0 0 0 0 0 . ' sent to [pack~] . ('23' means, that the bang should be triggered at the 23th sample of that block). on the receiver side, you could use an [unpack~] | [$1] construction to 'decode' the audio block. hope, that makes sense.. (sorry for spaming so much about this topic) i just realized, that you couldn't send higher values than '1' over an audio connection. therefore the 'encode' should scaled down in order to fit into the transmittable range. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
i think your totally right... too bad. On Jun 22, 2007, at 6:54 PM, Roman Haefeli wrote: the problem with timer is, that it only sends an output, when banged. you could bang it with some insane rate using a [metro 1000] and according to the measured (real)time, you send a bang or not. this approach would *might* work, but it has several disadvantages, if i do understand the underlying architecture of pd correctly. first, you cannot be sure, that each desired time will be triggered. lets assume you want to schedule the next 'bang' to 43s297ms, but the output of [timer] maybe is '43 296', '43 296', '43 298'. in that case '43 297' won't be hit at all. then i think, that this approach wouldn't be accurate at all, since there is no logical time involved. the advantage of logical time is, that it doesn't matter at all, when the [metro] object is processed by pd, the output of it will be accurate (as long there are no dropouts). with a purely realtime based solution, you'll never know, when exactly the object, that does the time measuring, is processed. the time, when [timer] receives your bang is not exactly defined and can happen anywhere between now and the amount of your buffersize later. correct me, if i am wrong, but as i understand pd, there will be no accurate realtime based solution. roman On Fri, 2007-06-22 at 17:56 +0200, Enrique Erne wrote: hi has anybody built a dropout save metro ... say if pd freezes for a while and comes back that the metro would still be in sync with the 'outside' world. that would be very nice in a life situation. some ideas ? do you think it can be done in plain pd? i failed when i tried to measure the periods between the 'ticks' and calculated the new delay time. i just discovered [time] from zexy which is the system time ... has anyone yet built a metro with [time] ? :) eni ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dropout save metro
yeah that sounds like nice solution. and a reason to install jack . thank you all. On Jun 22, 2007, at 7:52 PM, Roman Haefeli wrote: On Fri, 2007-06-22 at 19:40 +0200, Roman Haefeli wrote: On Fri, 2007-06-22 at 19:22 +0200, Roman Haefeli wrote: one solution, that might would work, came to my mind. you could run two instances of pd, one does only hold a [metro] and has a slightly higher priority than the other instance. the second pd does all the audio stuff and therefore might have some dropouts. now you could send the output of the 'dropout safe' [metro] to the audio instance of pd. this would be a clean solution, but it requires some connection between the two instances of pd, most probably a tcp-connection. due to this connection, this approach might be inaccurate as well. frank mentioned using an audio connection. with an audio connection between both instances you wouldn't have any glitches. the main problem is how to 'encode' and 'decode' the audio signal, so that you don't lose sample accuracy. there are possibly many approaches, but one comes to mind using [pack~] and [unpack~] from zexy. dependent on when the 'bang' from the metro happens withing a block, you could encode that time into the first sample of a block with a list like '23 0 0 0 0 0 . ' sent to [pack~] . ('23' means, that the bang should be triggered at the 23th sample of that block). on the receiver side, you could use an [unpack~] | [$1] construction to 'decode' the audio block. hope, that makes sense.. (sorry for spaming so much about this topic) i just realized, that you couldn't send higher values than '1' over an audio connection. therefore the 'encode' should scaled down in order to fit into the transmittable range. roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
Hi Alexandre, I've always kept my machines on, and my projectors/screens are the things that get switched on and off. Most of my installations deal with previous days anyhow... I've has installations running for many weeks on constantly. The current one uses [shell] to turn dpms on and off on the monitor to make it suspend, and turns off the camera movement according to a schedule in the patch. Are you worried about wearing out the HW? (mechanical parts?) B. Bogart Alexandre Quessy wrote: Hi all, I was wondering if someone has an idea on how one could create a switch to turn on and off an installation. I was thinking about either a push button to turn it off, or a web interface. Maybe one of those two things could make Pd (or PHP) write to a file that would be parsed by a cron job every minute. That cron job should be owned by root in order to be able to halt the computer. Then, to turn it on, I guess one could set the bios to turn on the computer automagically when the power gets down and then up again... Or one could use the computer power button (but in this case, it is an laptop that I want to hide deeply...) The whole idea behind this is to avoid to suddenly turn off the computer, which would probably corrupt the file system at some point. Of course I use GNU/Linux : probably Ubuntu Server or Debian. Any suggestion ? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gem] pix_film error question
Thomas Mayer wrote: Hello, I sometimes encounter messages error: [pix_filmNEW]: unable to open file: (filename) due to some unsupported codices in [pix_file], which is not that big a problem to me. But as I want to play a list of files in a row, is there a specific message on any outlet of [pix_film] associated with this error, similar to streams outputting a length a -1 at the second outlet, so that I can bang a new file to load? hmm, i guess (haven't checked) that when [pix_film] fails to load the movie, it will not output anything at the info-output. you can use the absence of the message to detect the failure. and of course you can just detect whether there is an image in the chain or not (use [pix_info] for that) and react accordingly. but i like the first approach more. fgmads.r IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gem] pix_film error question
I thought pix_ouput a -1 as the frame count when it did not properly load a movie (there is something in the doc related to that) but I can not get it to work. Tom On 6/22/07, IOhannes m zmoelnig [EMAIL PROTECTED] wrote: Thomas Mayer wrote: Hello, I sometimes encounter messages error: [pix_filmNEW]: unable to open file: (filename) due to some unsupported codices in [pix_file], which is not that big a problem to me. But as I want to play a list of files in a row, is there a specific message on any outlet of [pix_film] associated with this error, similar to streams outputting a length a -1 at the second outlet, so that I can bang a new file to load? hmm, i guess (haven't checked) that when [pix_film] fails to load the movie, it will not output anything at the info-output. you can use the absence of the message to detect the failure. and of course you can just detect whether there is an image in the chain or not (use [pix_info] for that) and react accordingly. but i like the first approach more. fgmads.r IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
Hi Ben, Alexandre, I think Alex is worried about his file system. The answer is simple: 1) Mount all drives read-only in /etc/fstab 2) Put a startup script so that whenever the machine is booted, it starts your patch (check PD archives for this, there was lots of discussion. My solution is pasted below***) 3) Museum/gallery people can *never* be bothered to learn how to start/stop things safely, so if you do the above they can hit the power button/turn off the circuitbreaker/pull the plug/do whatever to it every night and you shouldn't have any problems. I've run several installations in this way before. best, d. *** I used .xinitrc to start everything: #~/.xinitrc # make sure your system is set up so that X starts when the machine boots, and it autologs you as this user! # first set LADSPA_PATH for [plugin~] # open alsamixer to set soundcard levels # make sure jackd isn't running already by killing it # start jackd [if PD uses it in your case] # start pd [optional: use -open /path/to/installation.patch.pd if it's not in your ~/.pdrc or ~/.pdsettings] export LADSPA_PATH=/usr/lib/ladspa fluxbox xterm -exec alsamixer killall jackd jackd -d alsa r 44100 pd # end ~/.xinitrc B. Bogart wrote: Are you worried about wearing out the HW? (mechanical parts?) The whole idea behind this is to avoid to suddenly turn off the computer, which would probably corrupt the file system at some point. Of course I use GNU/Linux : probably Ubuntu Server or Debian. -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 169: Use filters ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [Gem] pix_film error question
oups: pix_ouput = pix_film outputed On 6/22/07, Thomas O Fredericks [EMAIL PROTECTED] wrote: I thought pix_ouput a -1 as the frame count when it did not properly load a movie (there is something in the doc related to that) but I can not get it to work. Tom On 6/22/07, IOhannes m zmoelnig [EMAIL PROTECTED] wrote: Thomas Mayer wrote: Hello, I sometimes encounter messages error: [pix_filmNEW]: unable to open file: (filename) due to some unsupported codices in [pix_file], which is not that big a problem to me. But as I want to play a list of files in a row, is there a specific message on any outlet of [pix_film] associated with this error, similar to streams outputting a length a -1 at the second outlet, so that I can bang a new file to load? hmm, i guess (haven't checked) that when [pix_film] fails to load the movie, it will not output anything at the info-output. you can use the absence of the message to detect the failure. and of course you can just detect whether there is an image in the chain or not (use [pix_info] for that) and react accordingly. but i like the first approach more. fgmads.r IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada -- thomas ouellet fredericks, [EMAIL PROTECTED], montreal, canada ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
On shutdown sync is also your friend sync; sleep 3; halt; if you don't want the patch running as root (if on network) then sudo the shutdown script. On Fri, 22 Jun 2007 21:03:02 +0200 Derek Holzer [EMAIL PROTECTED] wrote: Hi Ben, Alexandre, I think Alex is worried about his file system. The answer is simple: 1) Mount all drives read-only in /etc/fstab 2) Put a startup script so that whenever the machine is booted, it starts your patch (check PD archives for this, there was lots of discussion. My solution is pasted below***) 3) Museum/gallery people can *never* be bothered to learn how to start/stop things safely, so if you do the above they can hit the power button/turn off the circuitbreaker/pull the plug/do whatever to it every night and you shouldn't have any problems. I've run several installations in this way before. best, d. *** I used .xinitrc to start everything: #~/.xinitrc # make sure your system is set up so that X starts when the machine boots, and it autologs you as this user! # first set LADSPA_PATH for [plugin~] # open alsamixer to set soundcard levels # make sure jackd isn't running already by killing it # start jackd [if PD uses it in your case] # start pd [optional: use -open /path/to/installation.patch.pd if it's not in your ~/.pdrc or ~/.pdsettings] export LADSPA_PATH=/usr/lib/ladspa fluxbox xterm -exec alsamixer killall jackd jackd -d alsa r 44100 pd # end ~/.xinitrc B. Bogart wrote: Are you worried about wearing out the HW? (mechanical parts?) The whole idea behind this is to avoid to suddenly turn off the computer, which would probably corrupt the file system at some point. Of course I use GNU/Linux : probably Ubuntu Server or Debian. -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 169: Use filters ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Use the source ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] To (re)set block~
The fact that [set new-size-as-a-power-of-2( | [block~] resets the block size seam not mentioned in the help patch (nor the manual). It might be obvious for some, though, i don't know. I had to guess how to use that inlet. Hence i'd like to suggest that this information gets added to the help patch. The question is, then, how to suggest it in the best manner? - by this email? - by altering the help patch and send it to Miller? - by altering the help patch and add it to the patch tracker? - by altering the help patch, 'diff -uw' and add that diff to the patch tracker? - by making a feature request in the tracker? - another way? Thanks for your patients. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM: [part_damp] help patch doesnt show anything
noone knows anything about [part_damp] From: Javier García [EMAIL PROTECTED] To: PD-list@iem.at Subject: [PD] GEM: [part_damp] help patch doesnt show anything Date: Tue, 19 Jun 2007 02:13:06 +0200 Hi, can you see anything?, I just see the render window in black. Regards Javi _ ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list _ Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
Does anyone have a similar workflow for OS X? I am struggling with this problem right now for an installation I've helped with.( (Shameless plug: http://perhapsidid.wordpress.com/2007/06/19/calm-dome-photos/) ~Kyle On 6/22/07, Derek Holzer [EMAIL PROTECTED] wrote: Hi Ben, Alexandre, I think Alex is worried about his file system. The answer is simple: 1) Mount all drives read-only in /etc/fstab 2) Put a startup script so that whenever the machine is booted, it starts your patch (check PD archives for this, there was lots of discussion. My solution is pasted below***) 3) Museum/gallery people can *never* be bothered to learn how to start/stop things safely, so if you do the above they can hit the power button/turn off the circuitbreaker/pull the plug/do whatever to it every night and you shouldn't have any problems. I've run several installations in this way before. best, d. *** I used .xinitrc to start everything: #~/.xinitrc # make sure your system is set up so that X starts when the machine boots, and it autologs you as this user! # first set LADSPA_PATH for [plugin~] # open alsamixer to set soundcard levels # make sure jackd isn't running already by killing it # start jackd [if PD uses it in your case] # start pd [optional: use -open /path/to/installation.patch.pd if it's not in your ~/.pdrc or ~/.pdsettings] export LADSPA_PATH=/usr/lib/ladspa fluxbox xterm -exec alsamixer killall jackd jackd -d alsa r 44100 pd # end ~/.xinitrc B. Bogart wrote: Are you worried about wearing out the HW? (mechanical parts?) The whole idea behind this is to avoid to suddenly turn off the computer, which would probably corrupt the file system at some point. Of course I use GNU/Linux : probably Ubuntu Server or Debian. -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 169: Use filters ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- - - - -- http://perhapsidid.wordpress.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM: [part_damp] help patch doesnt show anything
send a [draw point( message to [part_draw] On 6/22/07, Javier García [EMAIL PROTECTED] wrote: noone knows anything about [part_damp] From: Javier García [EMAIL PROTECTED] To: PD-list@iem.at Subject: [PD] GEM: [part_damp] help patch doesnt show anything Date: Tue, 19 Jun 2007 02:13:06 +0200 Hi, can you see anything?, I just see the render window in black. Regards Javi _ ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list _ Acepta el reto MSN Premium: Protección para tus hijos en internet. Descárgalo y pruébalo 2 meses gratis. http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_proteccioninfantil ___ 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] gemmouse wish
Why not do [gemmouse 8 4] for 2:1 window? Of course you have to keep track of your own window size and alter the coords in responce, but that is largely the PD way anyhow, to keep track of what your doing yourself. You could just normalize from 0 to 1 and rescale based on your window size? As far as I know most platforms don't even allow mouse resizing of gemwindows... .b. marius schebella wrote: Hi, it would be very helpful to change the behaviour of gemmouse a little bit (to get similar results to the translation of objects in the gemwindow). [gemmouse 8] should normalize to the height (like gemwin) and not to the width. given a rectangular gemwin any aspect ratio (no difference between 2:1 and 1:2...) always normalizes to the height and sets (with the default view) the top and bottom borders to +4 and -4 gemmouse 8 on the other hand normalizes to the width. this makes it very difficult (unpossible?) to build mouse interaction with variable window sizes. another feature wish: to be able to tell the dimensions of the gemwin. esp. after resizing by mousedrawing. thanks, marius. ___ 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