Re: [PD] Turning on/off an installation
On 23 Jun 2007, at 7:20 AM, Kyle Klipowicz wrote: Does anyone have a similar workflow for OS X? I am struggling with this problem right now for an installation I've helped with.( OSX seems very tolerant of just turning the power off, at least my laptop has a faulty connector to the battery and has lost power and crashed many times without problems rebooting, and a few installations I've got running do get turned off from time to time accidentally without problems rebooting. Settings are: 1/ make sure your file system is journalled (it is by default) - use Disk Utility 2/ set 'Restart automatically after power failure' in SystemPreferences:EnergySaver:Options 3/ set a schedule for automatic sleeps etc in SystemPreferences:EnergySaver:Schedule 4/ set system to login to YourUser automatically in SystemPreferences:Accounts:LoginOptions 5/ set Pd to start or a script to run on login in SystemPreferences:Accounts:YourUser:LoginItems I guess that the file system journalling is helping to prevent corruption, but I still don't rely on that and either leave it running or use the schedule to sleep and startup as required, Note that if you shutdown manually (or by the schedule) then later turn the power off then on again it is not a 'power failure' and the system won't reboot automatically, it only does so when it lost power while running. Also you have to make sure Pd quits before any automatic shutdown because it does not quit when the system asks it to during normal shutdowns. You could also try mounting drives read only etc - but I haven't tested that and would like to know more possibilities in this area! simon ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To (re)set block~
Hallo, Steffen hat gesagt: // Steffen wrote: 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). Are we using the same help file? The one attached mentions this in the [pd block-example] subpatch. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ block~-help.pd Description: application/puredata ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] matrices in gridflow
On Fri, 22 Jun 2007, binarykoala wrote: 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). You have to know what kind of comparison you want to make. there's no obvious way to compare a 5-d grid and a single value. I don't know what's a best possible match. Are you looking for closest value? When you say that the grid has holes, what does a hole mean here? how do you represent the holes as numbers? how big is the grid? how many holes are there? _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To (re)set block~
On 23/06/2007, at 10.52, Frank Barknecht wrote: Are we using the same help file? The one attached mentions this in the [pd block-example] subpatch. It is the same file, i admit. The set-messages in the sub-patch are sent to the a switch~ object, not a block~ object. Maybe I'm misunderstanding something very fundamental, are they not different? Anyways, that's what sourced my guess. Thanks for the answer. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] dropout save metro
On Fri, 22 Jun 2007, Enrique Erne wrote: On Jun 22, 2007, at 6:54 PM, Roman Haefeli wrote: lets assume you want to schedule the next 'bang' to 43s297ms, but the output of [timer] maybe is '43 296', '43 296', '43 298'. 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, i think your totally right... too bad. Then both of you need to read the helpfile of [timer] and compare it with the one of [realtime]: [timer] works in logical time only. If you want to make a [realmetro] abstraction, you use [realtime] to figure out whether you are late, and in the case you figure out that you are too late, you bang to the right outlet of your [realmetro], so that the user can bang some kind of catch-up routine in order to skip a frame while keeping everything else in sync with the logical time. In no case, [realmetro] will ever be in advance, except to the extent that buffering happens in order to smooth out the irregularities in the schedule (afaik this only happens for audio). It may look in advance if even the first bang of a given [metro] was late and you assumed that it wasn't. _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To (re)set block~
Steffen wrote: On 23/06/2007, at 10.52, Frank Barknecht wrote: Are we using the same help file? The one attached mentions this in the [pd block-example] subpatch. It is the same file, i admit. The set-messages in the sub-patch are sent to the a switch~ object, not a block~ object. Maybe I'm misunderstanding something very fundamental, are they not different? Anyways, that's what sourced my guess. Thanks for the answer. Similarly, [qlist] accepts read file.txt cr as well as read file.txt which isn't mentioned in the help patch for [qlist], but only the help patch for [textfile]. Claude -- http://claudiusmaximus.goto10.org ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM]: GL Shader Language
[EMAIL PROTECTED] a écrit : Yep, very interesting example ! You can boost Gem with glsl object. Is there workshop in Paris about that Cyrille ? not yet, but i think i'll contact the CRAS in september in order to make a Gem workshop. in this list, who would be interested in a Gem workshop in paris? a glsl workshop? cyrille I think, that it would be interesting to do. Jack Hans-Christoph Steiner a écrit : On Jun 17, 2007, at 6:58 AM, cyrille henry wrote: hello, Kyle Klipowicz a écrit : Ooop please send any elementary examples of these things. i post a few very diferents shader and the pd patch to use them here : http://drpichon.free.fr/gem_glsl_ch_200070617.zip Wow, these are some nice examples, these should be included in the examples section of Pd-extended. well, i think i should clean up some code and check licence for the shader i did not write. where should i put them in order to include them in pd-extended? cyrille .hc I got confused by the Gem docs (they don't explain OpenGL as thoroughly as the vanilla Pd-docs explain DSP). Gem doc aim is to explain gem specific stuf. but in order to use Gem, you also need a good openGL book. (you can find lot's of them) cyrille ~Kyle On 6/17/07, cyrille henry [EMAIL PROTECTED] wrote: hello, Alexandre Quessy a écrit : Hi all ! The Toon.vert and Toon.frag shaders don't seem to work quite well here. I only get some kind of darker or lighter grey depending on the value of the Phong variable I set it to have. I am using Pd-extended 0.39-2 test 5 on Ubuntu Linux Intel. Gem is 0.91-cvs compiled on Mar 16 2007. Should I generate something any better ? this is exactly what the toon shader is aiming to do. look at it's code to undersant why. Anyone has an other GLSL shader to suggest to try it with ? yes, google has a lot. i have a few other exemple on my computer, tell me if you're looking for some specific stuf. cyrille Thanks !! a 2007/6/16, chris clepper [EMAIL PROTECTED]: GEM is a bit easier to deal with for shaders since there is no need to do any specific wrapper. Any ARB_ vertex or fragment shader and any GLSL shader you find on the web can work in GEM without modification. In some cases you might need to change something in the shader text to deal with rectangle vs 2D textures. On 6/16/07, Cypod [EMAIL PROTECTED] wrote: On the cycling74 webpage there is an interesting article about writing shaders for jitter: http://cycling74.com/story/2007/5/23/181113/507 is there a similar function available for GEM? Has anyone had experience with doing this? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list http://at.or.at/hans/ ___ 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] [Gem] pix_film error question
Thomas O Fredericks wrote: 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. According to the help-patch, [pix_film] outputs -1 when dealing with a stream. On 6/22/07, IOhannes m zmoelnig [EMAIL PROTECTED] wrote: 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. Thanks, that did it (when second outlet of [pix_info] is -1, I use that for banging my playlist-subpatch). cu 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
Re: [PD] To (re)set block~
Thanks for the clarifications on this. I rest my case (which asked for rigid explanations). ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
Thanks for this! Interesting thread. I kind of came to the same conclusions via the method of trial and error. I'm currently compiling a tutorial on building 'curatorial friendly' boxes for art students...so this discussion helps a lot... Question: Is fluxbox necessary? X alone has been working fine for me although troubleshooting can be a pain... Question #2: On PPC/linux how does one turn OFF 'hibernate/sleep'. Suggestions? Thanks again! mark --- 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 mark edward grimm | m.f.a | ed.m megrimm.net | socialmediagroup.org .com [EMAIL PROTECTED] | 585.509.8703 __ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
Thanks for this! Interesting thread. I kind of came to the same conclusions via the method of trial and error. I'm currently compiling a tutorial on building 'curatorial friendly' boxes for art students...so this discussion helps a lot... Question: Is fluxbox necessary? X alone has been working fine for me although troubleshooting can be a pain... Question #2: On PPC/linux how does one turn OFF 'hibernate/sleep'. Suggestions? Thanks again! mark --- 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 mark edward grimm | m.f.a | ed.m megrimm.net | socialmediagroup.org .com [EMAIL PROTECTED] | 585.509.8703 __ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] To (re)set block~
Hallo, Steffen hat gesagt: // Steffen wrote: On 23/06/2007, at 10.52, Frank Barknecht wrote: Are we using the same help file? The one attached mentions this in the [pd block-example] subpatch. It is the same file, i admit. The set-messages in the sub-patch are sent to the a switch~ object, not a block~ object. Maybe I'm misunderstanding something very fundamental, are they not different? They are basically the same objects, their differences are described in the comments of the (shared) help-patch and mainly are how [switch~] reacts to a bang- and a 0/1-message. Ciao -- Frank Barknecht _ __footils.org_ __goto10.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] spectral shift
hello list, does anybody have a fft patch with the possibility to transpose each bin individually? regards, mirko -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
Thanks for the information Simon! A few more details I'd like to ask you if you don't mind. On 6/23/07, simon wise [EMAIL PROTECTED] wrote: 1/ make sure your file system is journalled (it is by default) - use Disk Utility 2/ set 'Restart automatically after power failure' in SystemPreferences:EnergySaver:Options 3/ set a schedule for automatic sleeps etc in SystemPreferences:EnergySaver:Schedule 4/ set system to login to YourUser automatically in SystemPreferences:Accounts:LoginOptions These are all simple enough, but what about this next one? 5/ set Pd to start or a script to run on login in SystemPreferences:Accounts:YourUser:LoginItems I looked into /LIbrary/StartupItems/iScroll2 for a startup example. Would I just modify the following shell script and create a /Library/StartupItems/Pd to get things working? #!/bin/sh daemonpath=/Library/StartupItems/iScroll2 daemonname=iScroll2Daemon daemonpidfile=/var/run/${daemonname}.pid . /etc/rc.common StartService () { ConsoleMessage Starting iScroll2 ${daemonpath}/${daemonname} ConsoleMessage -S } StopService () { ConsoleMessage Stopping iScroll2 kill $(cat ${daemonpidfile}) ConsoleMessage -S } RestartService () { StopService; StartService; } How well would this work with a bundled *.app file, say Pd-extended.app? How do I choose the proper patch to launch? Thanks a lot for any answers you can provide, I've never had to deal with this before so I am learning a ton from the advice on this list. ~Kyle I guess that the file system journalling is helping to prevent corruption, but I still don't rely on that and either leave it running or use the schedule to sleep and startup as required, Note that if you shutdown manually (or by the schedule) then later turn the power off then on again it is not a 'power failure' and the system won't reboot automatically, it only does so when it lost power while running. Also you have to make sure Pd quits before any automatic shutdown because it does not quit when the system asks it to during normal shutdowns. You could also try mounting drives read only etc - but I haven't tested that and would like to know more possibilities in this area! simon -- - - - -- http://perhapsidid.wordpress.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turning on/off an installation
mark edward grimm wrote: Question: Is fluxbox necessary? X alone has been working fine for me although troubleshooting can be a pain... Probably fluxbox isn't required. It's so light that I don't think it hurts to add it. Procedure could be different with X alone. Question #2: On PPC/linux how does one turn OFF 'hibernate/sleep'. Suggestions? Check out pbbuttonsd (powerbook buttons daemon). http://pbbuttons.sourceforge.net/projects/pbbuttonsd/ There's a GTK GUI for it too. Also PowerPrefs. good luck, d. -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 58: Do we need holes? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM]: GL Shader Language
[EMAIL PROTECTED] a écrit : Yep, very interesting example ! You can boost Gem with glsl object. Is there workshop in Paris about that Cyrille ? not yet, but i think i'll contact the CRAS in september in order to make a Gem workshop. in this list, who would be interested in a Gem workshop in paris? a glsl workshop? Yep, i'm interesting. cyrille I think, that it would be interesting to do. Jack Hans-Christoph Steiner a écrit : On Jun 17, 2007, at 6:58 AM, cyrille henry wrote: hello, Kyle Klipowicz a écrit : Ooop please send any elementary examples of these things. i post a few very diferents shader and the pd patch to use them here : http://drpichon.free.fr/gem_glsl_ch_200070617.zip Wow, these are some nice examples, these should be included in the examples section of Pd-extended. well, i think i should clean up some code and check licence for the shader i did not write. where should i put them in order to include them in pd-extended? cyrille .hc I got confused by the Gem docs (they don't explain OpenGL as thoroughly as the vanilla Pd-docs explain DSP). Gem doc aim is to explain gem specific stuf. but in order to use Gem, you also need a good openGL book. (you can find lot's of them) cyrille ~Kyle On 6/17/07, cyrille henry [EMAIL PROTECTED] wrote: hello, Alexandre Quessy a écrit : Hi all ! The Toon.vert and Toon.frag shaders don't seem to work quite well here. I only get some kind of darker or lighter grey depending on the value of the Phong variable I set it to have. I am using Pd-extended 0.39-2 test 5 on Ubuntu Linux Intel. Gem is 0.91-cvs compiled on Mar 16 2007. Should I generate something any better ? this is exactly what the toon shader is aiming to do. look at it's code to undersant why. Anyone has an other GLSL shader to suggest to try it with ? yes, google has a lot. i have a few other exemple on my computer, tell me if you're looking for some specific stuf. cyrille Thanks !! a 2007/6/16, chris clepper [EMAIL PROTECTED]: GEM is a bit easier to deal with for shaders since there is no need to do any specific wrapper. Any ARB_ vertex or fragment shader and any GLSL shader you find on the web can work in GEM without modification. In some cases you might need to change something in the shader text to deal with rectangle vs 2D textures. On 6/16/07, Cypod [EMAIL PROTECTED] wrote: On the cycling74 webpage there is an interesting article about writing shaders for jitter: http://cycling74.com/story/2007/5/23/181113/507 is there a similar function available for GEM? Has anyone had experience with doing this? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list http://at.or.at/hans/ ___ 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] Turning on/off an installation
On 6/23/07, Kyle Klipowicz [EMAIL PROTECTED] wrote: These are all simple enough, but what about this next one? 5/ set Pd to start or a script to run on login in SystemPreferences:Accounts:YourUser:LoginItems Kyle you are overdoing it! Just drag Pd.app into the Login Items in the Accounts pref pane and then add -open /path/to/my/patch.pd to the Pd startup. Easy. I looked into /LIbrary/StartupItems/iScroll2 for a startup example. Would I just modify the following shell script and create a /Library/StartupItems/Pd to get things working? #!/bin/sh daemonpath=/Library/StartupItems/iScroll2 daemonname=iScroll2Daemon daemonpidfile=/var/run/${daemonname}.pid . /etc/rc.common StartService () { ConsoleMessage Starting iScroll2 ${daemonpath}/${daemonname} ConsoleMessage -S } StopService () { ConsoleMessage Stopping iScroll2 kill $(cat ${daemonpidfile}) ConsoleMessage -S } RestartService () { StopService; StartService; } How well would this work with a bundled *.app file, say Pd-extended.app? How do I choose the proper patch to launch? Thanks a lot for any answers you can provide, I've never had to deal with this before so I am learning a ton from the advice on this list. ~Kyle I guess that the file system journalling is helping to prevent corruption, but I still don't rely on that and either leave it running or use the schedule to sleep and startup as required, Note that if you shutdown manually (or by the schedule) then later turn the power off then on again it is not a 'power failure' and the system won't reboot automatically, it only does so when it lost power while running. Also you have to make sure Pd quits before any automatic shutdown because it does not quit when the system asks it to during normal shutdowns. You could also try mounting drives read only etc - but I haven't tested that and would like to know more possibilities in this area! simon -- - - - -- http://perhapsidid.wordpress.com ___ 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] Measuring position between two microphones?
Hi, I made a patch to locate the position of a sound source between two microphones, which looks like this: [adc~] | | |[threshold~ 0.2 100] || [threshold~ 0.2 100] | | [delay 10] | | [timer] So a number of 10ms means that the source is exactly between the two microphones. This patch works kind of reliable and accurate. But I was wondering if there is a better possibility with higher resolution? At the moment I can distinguish the position with an accuracy of 1.333 ms, means I get about 12 different values out of my tube. Has anyone an idea how I can get more precise readings? I thought about comparing the amplitudes of the two waves I get, but I have no idea how to do this or if this would be more exact. Thanks for any help, Chris ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Teaching Pd
On Wed, 20 Jun 2007 00:18:23 -0500 Kyle Klipowicz [EMAIL PROTECTED] wrote: Hi List~ I'm curious about teaching Pd to interested people, and know that a number of you have given workshops on the subject. I could really use some collective wisdom on this. Teaching Pd is something I really enjoy. What I've seen so far are great differences in audience goals and the need to prepare and research exactly who you are talking to and why, because Pd has such wide applications. Look for your own niche skill that Pd allows you to express and use that as a guide. What methods do you use to structure and communicate your course material? How do you market it within the city that you are teaching? What sorts of materials do you use? Often people bring their own laptops and headphones. The best format imho is lots of practical elements, short exercises that can be done individually or in small groups, keep dove-tailing talk time with hacking time. If machines are available but are administrated workstations it helps to take live CD environments so you aren't treading on anyones toes having groups of students install stuff. Or make sure whoever invited you or organised the talk has done the groundwork for any practical element. A copy of PureDyne is useful, with the patches used in a workshop handed out on thumbdrive, by web-site or burned into the distro. For the cost and time it takes to run off a dozen copies it's worth it for everyone to take home a workable Pd environment for the PC. I guess it depends on whether you're teaching audio, video or physical computing what needs and priorities you might have. For audio I always want a good stereo sound system and a pocket mixer is a useful gadget. For Gem/Visual presentations I suppose you'd spend more thought on the beamer resolution and framerate. For physical you need desk space where people can play with components and wires. Often it's requested that laptop users install Pd on their machines and get it running before coming to a session, that way everyone is ready to go *and* they can take their work home with them. What makes it fun imho, and possible to make focused presentations, is the flexibility of Pd as a teaching tool... it's almost designed for the job! Using Pd itself as the presentation tool, making folders of patches that are linked as slides, and having it self document to pdf handouts and html resources are things I've put a bit of thought into. It's nice if you have a LAN available so you can go into the network parts of Pd. A good finale is to get everyone jamming with some OSC net-pd type patches linked together. For finding audiences, I think the same as Alexandres advice, technical and art colleges and universities doing interactive design, music technology and courses like that. I specialise in audio so I try to use Pd as a vehicle to teach it, rather than generally all about puredata which is quite beyond me. And also try to get groups of producers from standard industry roles interested too, Pd is obviously very enabling in radio, TV, film, animation, games and theatre. To teach Pd generally, finding colleagues is as important as finding audiences. I don't think anybody could tackle the entirety of Pd and it's applications alone without it being a very dull, highly structured and long exercise. I sometimes pair with someone who is teaching visuals or composition or something else that complements my stuff on audio synth. Work together to put on events. With groups of more than 15-20 having a buddy as an extra demonstrator/helper in practicals is essential or you can't give everyone enough 1 to 1 contact time. Best all round Pd presentation I have attended was organised by goto10 at space studios as a summer school with several specialised Pd users teaching individual areas in a structured programme so that the whole 2 week event became more than the sum of its parts. my waffling 2c... hope that helps Andy -- Use the source ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] audio less than or equal, greater than.. cross threshold?
I want to trigger an event when an incoming audio signal (which i know is a ramp between 0 and 1), crosses some threshold. basically i want something like [adc~] | [last sample = x cur sample x] | [a drum or something is triggered] any ideas how i can do that? I don't see how I'd do it with just the built in objects. I realize that the bang will probably only happen at control rate.. I have another app creating this ramp, and I want to be able to sync to it in pd [probably just to trigger drum samples] -Alex ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Measuring position between two microphones?
I think the use of [threshold~] is limiting you to block resolution. Audio to do correlation will give you a theoretical resolution much better than one block, at half the sampling rate, 0.015m (one and a half centimeters) for 44kHz.(?) Assuming that the mics are identical, in phase etc. [snapshot~] seems a better choice than [threshold~] because it gives you the instantaneous vaue of a sample. But I'm not quite sure how best to use it in this context. It depends on the source, if its an impulse or if it's a periodic wave, for which correlation approach. I was reading this interesting one recently and wondered if anyone tried it - Clip the two signals - i.e. amplify and saturate so the signals become a series of 1s and 0s. - XOR the result. You will use this result X in two ways: 1) Integrate X to get Y 2) Measure the variance of Y When the variance of Y approaches zero, there is similarity. Y itself is a measure of time shift between the signals. This works for things like sinusoids. Fred If it's for delocalisation/positioning of emitters where you get to decide what the sound is (and choose a nice ultrasonic sine wave) then it seems potentialy fast because it can be crudely sampled and carried out as logic. On Sat, 23 Jun 2007 22:12:53 +0200 Chris [EMAIL PROTECTED] wrote: Hi, I made a patch to locate the position of a sound source between two microphones, which looks like this: [adc~] | | |[threshold~ 0.2 100] || [threshold~ 0.2 100] | | [delay 10] | | [timer] So a number of 10ms means that the source is exactly between the two microphones. This patch works kind of reliable and accurate. But I was wondering if there is a better possibility with higher resolution? At the moment I can distinguish the position with an accuracy of 1.333 ms, means I get about 12 different values out of my tube. Has anyone an idea how I can get more precise readings? I thought about comparing the amplitudes of the two waves I get, but I have no idea how to do this or if this would be more exact. Thanks for any help, Chris ___ 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
Re: [PD] audio less than or equal, greater than.. cross threshold?
This sounds like a case where [threshold~] would be exactly what you want. It is block based, but for triggering drums it might be accurate enough (play with blocksize). On Sat, 23 Jun 2007 14:24:36 -0700 Alex [EMAIL PROTECTED] wrote: I want to trigger an event when an incoming audio signal (which i know is a ramp between 0 and 1), crosses some threshold. basically i want something like [adc~] | [last sample = x cur sample x] | [a drum or something is triggered] any ideas how i can do that? I don't see how I'd do it with just the built in objects. I realize that the bang will probably only happen at control rate.. I have another app creating this ramp, and I want to be able to sync to it in pd [probably just to trigger drum samples] -Alex ___ 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
Re: [PD] gemmouse wish
B. Bogart wrote: Why not do [gemmouse 8 4] for 2:1 window? but then the window must have an aspect ratio of in 2:1 (which is ok if you do know it beforehand) generally i agree with marius, that it makes more sense if giving only one arg to [gemmouse] it should normalize to y. 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... at least there is one... mfga.sdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] audio less than or equal, greater than.. cross threshold?
ahh, nice, that looks great! -Alex On 6/24/07, Andy Farnell [EMAIL PROTECTED] wrote: This sounds like a case where [threshold~] would be exactly what you want. It is block based, but for triggering drums it might be accurate enough (play with blocksize). On Sat, 23 Jun 2007 14:24:36 -0700 Alex [EMAIL PROTECTED] wrote: I want to trigger an event when an incoming audio signal (which i know is a ramp between 0 and 1), crosses some threshold. basically i want something like [adc~] | [last sample = x cur sample x] | [a drum or something is triggered] any ideas how i can do that? I don't see how I'd do it with just the built in objects. I realize that the bang will probably only happen at control rate.. I have another app creating this ramp, and I want to be able to sync to it in pd [probably just to trigger drum samples] -Alex ___ 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-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Measuring position between two microphones?
It depends on the source, if its an impulse or if it's a periodic wave, for which correlation approach. I was reading this interesting one recently and wondered if anyone tried it Try using my sxcorr or sxcov patches from the previous thread about cross correlation, with pique~ to find the location of the peaks. It will give you sample accurate measurements. You'll get better temporal accuracy using broadband signals, I think. Just play noise or frequency sweeps through the channel and correlate it with what you get back. I have tested this idea with blocksize of about 16384 (wy more than 10 ms) and it's not so cpu intensive. (but I only have a single microphone... your calculations must be more involved) Good luck, Chuck ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list