[PD] Fwd: new editing features of Pd-extended 0.43, now in beta!
Begin forwarded message: From: Hans-Christoph Steiner h...@at.or.at Date: February 18, 2012 9:02:07 PM GMT+01:00 To: Ángel Faraldo angelfara...@gmail.com Cc: João Pais jmmmp...@googlemail.com, pd-list@iem.at List pd-list@iem.at Subject: Re: [PD] new editing features of Pd-extended 0.43, now in beta! also frequent and irregular audio clicks on mac OSX 10.6.8, no matter how big the delay time is set to in the audio properties. (Tested with 'test audio/midi patch' @ SR 44100 and 48000 Hz with built-in audio, portaudio). What kind of computer and audio interface are you using? macbook pro 2.66GHz Intel Core 2 Duo with OSX 10.6.8. I tested it with the built-in audio and a RME Fireface 800 with similar results. Hmm yeah, [cputime] does seem broken. Could you post a bug report please? done ángel faraldo .hc On Feb 18, 2012, at 2:54 PM, Ángel Faraldo wrote: Hi there, also frequent and irregular audio clicks on mac OSX 10.6.8, no matter how big the delay time is set to in the audio properties. (Tested with 'test audio/midi patch' @ SR 44100 and 48000 Hz with built-in audio, portaudio). also, [cputime] appears not to work. (pd-0.43.1-extended-20120218-macosx105-i386) Ángel Faraldo _ www.angelfaraldo.info On Feb 18, 2012, at 6:41 PM, João Pais wrote: It sounds as if the audio isn't synced to the system card, or something. The sinus in the audio test patch has lots of irregular clicks, almost as if they would be dropouts. What do you mean by noisy? Can you give more information? I really don't know much about Windows, so I rely on others to tell me how things there should be handled. patco and pob have been doing a lot of valuable work there. .hc On Feb 18, 2012, at 12:13 PM, João Pais wrote: Hi Hans, great job. But, here in XP, I get audio problems: trying to run with asio (as I always do with 0.42), the audio is very noisy. Audio options are -asio -audioindev 2 -audiooutdev 2 -channels 2 -midiindev 1 -midioutdev 1 -audiobuf 40, and they always worked with previous versions of pd-ext. João http://at.or.at/hans/blog/2012/02/17/new-editing-feature-of-pd-extended-0-43-now-in-beta/ The Pd-extended 0.43 release has been brewing an extra long time, about 18 months now, mostly because there are lots of big improvements, and we wanted to make sure we got it right, so your patches all work, but the improvements all shine. Its now solidly beta, so we’re looking for testers. Download a nightly build to try here: http://autobuild.puredata.info/auto-build/latest/ First off, the pd-gui side of Pd has been re-written from scratch. When you run Pd, you are actually running two programs: pd is the core engine and pd-gui is the GUI. Since basically all computers now come with multiple CPU cores, this means that pd-gui will usually run on a separate CPU core than pd, so they don’t step on each other’s toes. pd can entirely take over its own core. If you want to make your patch use more CPU cores, then check out the [pd~] object introduced in the last release (0.42.5). pd still handles some of the GUI stuff, but we are working on splitting that out for the 0.44 release. That is a big chunk of work but it will also bring big gains. In particular, it means that it will be possible for people to write their own GUIs for Pd, covering not just the display of the patch, but also the editing, and everything else. You like OpenFrameworks, python, iOS, JUCE, Qt, etc.? Write your own pd-gui using the toolkit of your choice. That’s the idea at least. That will take a solid chunk of work, so we are looking for people to join that effort. There are so many ideas for making a better editing experience in Pd, this release makes big strides to address the editing experience. There are new features like Magic Glass, Autotips, Autopatch and Perf Mode, all available on the Edit menu. • Magic Glass let’s you magically see the messages as they pass through the cords. Just turn it on and hover above a cord, and you’ll see the messages as they go by. You can even look at signal/audio cords. • Autotips gives you tips about what an object does, what its inlet expects, and what comes out of the outlets. • Autopatch mode automatically connects objects as you create them. • Perf Mode, is a mode for performance that makes it harder to accidentally close windows that are part of your performance. The Pd Window is also majorly overhauled. First of all, its fast. Much much faster than the old one. You can now print thousands of messages per second to the Pd Window and still edit your patch. No more will an accidental dump of info cause the GUI to freeze up (well, ok, maybe if you send 10,000 messages/second but that is a way too many). There are also now 5 levels of printing messages to the Pd Window: fatal, error, normal, debug, all. If you are only
[PD] Error Message 0.43-1 Windows
When I try to open a patch with 0.43-1the error pasted below pops up. I can then close the error and patch as normally and everything seems to work fine but I it's a bit annoying. I've tried clearing the Pd registry entries but I still get the same error. Any ideas?! Would be greatly appreciated as always! John. couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path while executing load {C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll} registry (package ifneeded registry 1.2.1 script) invoked from within package require registry (procedure write_config_win line 2) invoked from within write_config_win $data $adomain $akey $arr (procedure write_config line 4) invoked from within write_config $::recentfiles_list $::recentfiles_domain $::recentfiles_key true (procedure ::pd_guiprefs::write_recentfiles line 2) invoked from within ::pd_guiprefs::write_recentfiles (procedure ::pd_menus::update_recentfiles_on_menu line 24) invoked from within ::pd_menus::update_recentfiles_on_menu $menubar.file $write (procedure ::pd_menus::update_recentfiles_menu line 5) invoked from within ::pd_menus::update_recentfiles_menu (procedure ::pd_guiprefs::update_recentfiles line 8) invoked from within ::pd_guiprefs::update_recentfiles $filename (procedure open_file line 11) invoked from within open_file $filename (procedure menu_open line 6) invoked from within menu_open (command bound to event) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition
Dear all, I'm coming back to Europe in few hours, but wanted to share this news. http://www.gtcmt.gatech.edu/news/marco-donnarumma ’s-xth-sense-named-world’s-most-innovative-new-musical-instrument thanks to the whole community, without which this research would have not been possible. best wishes, -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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] [PD-announce] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition
Congratulations Marco! I was lucky enough to see your performances during the competition. Great work! Scott On Sun, Feb 19, 2012 at 9:28 AM, Marco Donnarumma de...@thesaddj.comwrote: Dear all, I'm coming back to Europe in few hours, but wanted to share this news. http://www.gtcmt.gatech.edu/news/marco-donnarumma ’s-xth-sense-named-world’s-most-innovative-new-musical-instrument thanks to the whole community, without which this research would have not been possible. best wishes, -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition
Congratulations! Well done! J On Sun, Feb 19, 2012 at 9:48 AM, Scott McCoid mccoid.sc...@gmail.com wrote: Congratulations Marco! I was lucky enough to see your performances during the competition. Great work! Scott On Sun, Feb 19, 2012 at 9:28 AM, Marco Donnarumma de...@thesaddj.com wrote: Dear all, I'm coming back to Europe in few hours, but wanted to share this news. http://www.gtcmt.gatech.edu/news/marco-donnarumma’s-xth-sense-named-world’s-most-innovative-new-musical-instrument thanks to the whole community, without which this research would have not been possible. best wishes, -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR jo2...@columbia.edu www.jaimeoliver.pe 858 750 0924 (cel) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-extended 0.43 tests builds usable again
Le 2012-02-02 à 22:12:00, Hans-Christoph Steiner a écrit : On Feb 2, 2012, at 1:59 AM, Mathieu Bouchard wrote: Pd is «half» of a Cocoa app, because on one hand Tcl/Tk on OSX is a portability layer over Cocoa, but on the other hand doesn't follow every convention specified by Cocoa, and isn't designed to let a Tcl/Tk app access every existing Cocoa feature either. Tk/Cocoa is Cocoa, Pd-extended is still using Tk/Carbon. Hopefully we can switch to Tk/Cocoa in 0.44. Right. What I say only applies if replacing the word Cocoa by the word Carbon. In any case, making Tk buttons and sliders on either Tk/Carbon or Tk/Cocoa gives round Aqua buttons sliders using Apple's code (no imitation), but people using Tk are often not trying to follow Apple's UI guidelines, except maybe the most important ones. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
Le 2012-02-03 à 09:46:00, Frank Barknecht a écrit : Most filters in the rj library (https://github.com/rjdj/rjlib) use a similar approach. They even include a biquad-clone written with elementary filters. Why would you clone biquad using elementary filters ? Is it just to show that it's possible, or is it to make it fully signal-rate ? __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] minicomputers for pd + gem (linux)
On 02/17/12 21:43, Andy Farnell wrote: As Ubuntu continues to get heavier I heartily recommend you look at stock Debian Squeeze with a lite window manager if you want to use the machine for artistic work, rather than as a general purpose desktop. as a system administrator i think Debian squeeze is a great distribution to run my servers. as an artist working with multimedia content, i would rather go with something more experimental, namely Debian wheezy (aka testing). in reality i usually run Debian wheezy/sid (aka testing/unstable), but then i'm doing debian development and the like (so this might be a bit too hot for ordinary users) wheezy usually has up-to-data packages, e.g. you get Pd-0.43.1 note however, that since testing is a moving target, you might get masses of updates every other week. mfg.sv IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hid object does not work for wacom tablet under Linux
On 02/18/12 20:36, Hans-Christoph Steiner wrote: [hid] on Linux relies on a /dev/input/event* devices. If that device does not provide a /dev/input/event* device, then [hid] can't read it. One possibility is that you are using an X driver for that tablet, so not a /dev/input/event* device. another possibility is, that you don't have read permissions for the /dev/input/eventX device (that points to your wacom tablet) gfmasfrt IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
Le 2012-02-02 à 19:13:00, Mike Moser-Booth a écrit : a = -r² b = 2r*cos(ω) c = 1 (an overall gain is applied separately, which is like scaling a,b,c all at once) I don't think this is entirely accurate. I think a and c should be switched here, though of course when finding b²-4ac that doesn't really matter. It depends whether you write ax²+bx+c or a+bx+cx². Both forms are convenient, and the latter expands better in cases of variable degrees (letters don't get renamed when adding a term), but the former is more common for cases that have only a degree fixed at 2 or 3. Also, when applying a gain to a recursive filter, it's not really the same as scaling all the coefficients. If you were to scale them first, then the gain would affect the feedback portions of the filter. Applying the gain after means the feedback samples are not scaled by the gain. Those filters are all linear. This means that you can effectively commute them with a constant gain [*~] without any difference. However, it will make a difference when the gain of [*~] changes quickly while the main input changes too. If you think of it in terms of its transfer function, it would look more like this: H(z) = g*(1 / (1 - 2r*cos(ω)*(z^-1) + r^2 * z(^-2) )) Well, I was thinking of it in terms of 1/H(z) or 1/gH(z). But are you sure that you got the signs right in the denominator ? It seems that [bp~] is a mere combination of a [lop~], a [hip~] and a [*~] (plus the calculation of their coefficients). But [hip~] isn't an all-pole filter. It has a zero at DC. oops. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] new editing features of Pd-extended 0.43, now in beta!
On Sun, Feb 19, 2012, at 11:19, Ángel Faraldo wrote: Begin forwarded message: From: Hans-Christoph Steiner h...@at.or.at Date: February 18, 2012 9:02:07 PM GMT+01:00 To: Ángel Faraldo angelfara...@gmail.com Cc: João Pais jmmmp...@googlemail.com, pd-list@iem.at List pd-list@iem.at Subject: Re: [PD] new editing features of Pd-extended 0.43, now in beta! also frequent and irregular audio clicks on mac OSX 10.6.8, no matter how big the delay time is set to in the audio properties. (Tested with 'test audio/midi patch' @ SR 44100 and 48000 Hz with built-in audio, portaudio). What kind of computer and audio interface are you using? macbook pro 2.66GHz Intel Core 2 Duo with OSX 10.6.8. I tested it with the built-in audio and a RME Fireface 800 with similar results. I'm on a very similar machine', a MacBook pro 3 - 2.4ghz running 10.6.8. Ive never seen this before. I don't have any external interface, perhaps its related to the drivers from your interface? Just a guess. Do other audio apps work? Like Audacity? It also uses portaudio. Please file a bug report on this one too. .hc Hmm yeah, [cputime] does seem broken. Could you post a bug report please? done ángel faraldo .hc On Feb 18, 2012, at 2:54 PM, Ángel Faraldo wrote: Hi there, also frequent and irregular audio clicks on mac OSX 10.6.8, no matter how big the delay time is set to in the audio properties. (Tested with 'test audio/midi patch' @ SR 44100 and 48000 Hz with built-in audio, portaudio). also, [cputime] appears not to work. (pd-0.43.1-extended-20120218-macosx105-i386) Ángel Faraldo _ www.angelfaraldo.info On Feb 18, 2012, at 6:41 PM, João Pais wrote: It sounds as if the audio isn't synced to the system card, or something. The sinus in the audio test patch has lots of irregular clicks, almost as if they would be dropouts. What do you mean by noisy? Can you give more information? I really don't know much about Windows, so I rely on others to tell me how things there should be handled. patco and pob have been doing a lot of valuable work there. .hc On Feb 18, 2012, at 12:13 PM, João Pais wrote: Hi Hans, great job. But, here in XP, I get audio problems: trying to run with asio (as I always do with 0.42), the audio is very noisy. Audio options are -asio -audioindev 2 -audiooutdev 2 -channels 2 -midiindev 1 -midioutdev 1 -audiobuf 40, and they always worked with previous versions of pd-ext. João http://at.or.at/hans/blog/2012/02/17/new-editing-feature-of-pd-extended-0-43-now-in-beta/ The Pd-extended 0.43 release has been brewing an extra long time, about 18 months now, mostly because there are lots of big improvements, and we wanted to make sure we got it right, so your patches all work, but the improvements all shine. Its now solidly beta, so we’re looking for testers. Download a nightly build to try here: http://autobuild.puredata.info/auto-build/latest/ First off, the pd-gui side of Pd has been re-written from scratch. When you run Pd, you are actually running two programs: pd is the core engine and pd-gui is the GUI. Since basically all computers now come with multiple CPU cores, this means that pd-gui will usually run on a separate CPU core than pd, so they don’t step on each other’s toes. pd can entirely take over its own core. If you want to make your patch use more CPU cores, then check out the [pd~] object introduced in the last release (0.42.5). pd still handles some of the GUI stuff, but we are working on splitting that out for the 0.44 release. That is a big chunk of work but it will also bring big gains. In particular, it means that it will be possible for people to write their own GUIs for Pd, covering not just the display of the patch, but also the editing, and everything else. You like OpenFrameworks, python, iOS, JUCE, Qt, etc.? Write your own pd-gui using the toolkit of your choice. That’s the idea at least. That will take a solid chunk of work, so we are looking for people to join that effort. There are so many ideas for making a better editing experience in Pd, this release makes big strides to address the editing experience. There are new features like Magic Glass, Autotips, Autopatch and Perf Mode, all available on the Edit menu. • Magic Glass let’s you magically see the messages as they pass through the cords. Just turn it on and hover above a cord, and you’ll see the messages as they go by. You can even look at signal/audio cords. • Autotips gives you tips about what an object does, what its inlet expects, and what comes out of the outlets. • Autopatch mode automatically connects objects as you create them. • Perf Mode, is a mode for performance that makes it harder to accidentally close windows that
Re: [PD] vbap speaker position not correct?
If the amp numbers coming out of vbap are correct, then I think the problem is in your patch ' your speaker setup, or your space. .hc On Sat, Feb 18, 2012, at 20:16, Christoph Kuhr wrote: Hi list, i used the following define_loudspeakers object: define_loudspeakers 3 -45 0 0 4545 090 45145 0180 45-145 0-90 45 but if i make a horizontal circle trajectory, the sound comes from strange positions. its like an inclined ellipse or something... i also tried ls-triplets and ls-directions messages without effort. the values at the vbap outputs are correct. what could be the problem? regards Ck ___ 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] Error Message 0.43-1 Windows
I'm struggling with that one (it's reported on http://sourceforge.net/tracker/?func=detailaid=3484492group_id=55736atid=478070 ) and hope to have a fix in a few days. cheers Miller On Sun, Feb 19, 2012 at 04:37:00AM -0800, JF wrote: When I try to open a patch with 0.43-1the error pasted below pops up. I can then close the error and patch as normally and everything seems to work fine but I it's a bit annoying. I've tried clearing the Pd registry entries but I still get the same error. Any ideas?! Would be greatly appreciated as always! John. couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path while executing load {C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll} registry (package ifneeded registry 1.2.1 script) invoked from within package require registry (procedure write_config_win line 2) invoked from within write_config_win $data $adomain $akey $arr (procedure write_config line 4) invoked from within write_config $::recentfiles_list $::recentfiles_domain $::recentfiles_key true (procedure ::pd_guiprefs::write_recentfiles line 2) invoked from within ::pd_guiprefs::write_recentfiles (procedure ::pd_menus::update_recentfiles_on_menu line 24) invoked from within ::pd_menus::update_recentfiles_on_menu $menubar.file $write (procedure ::pd_menus::update_recentfiles_menu line 5) invoked from within ::pd_menus::update_recentfiles_menu (procedure ::pd_guiprefs::update_recentfiles line 8) invoked from within ::pd_guiprefs::update_recentfiles $filename (procedure open_file line 11) invoked from within open_file $filename (procedure menu_open line 6) invoked from within menu_open (command bound to event) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] new editing features of Pd-extended 0.43, now in beta!
Right. But why is it looking for that one if the correct one is included in the Pd-0.43.1-extended app? When I took out the one had installed, I still got the error. But it worked fine when I copied the one in the app and replaced the bad version. I guess I'm just wondering why the Tcl framework is in the app if it's not being used. .mmb On Sat, Feb 18, 2012 at 8:25 PM, Hans-Christoph Steiner h...@at.or.at wrote: That's the right one. Here's the problem: Reason: no suitable image found. Did find: /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl: mach-o, but wrong architecture You have installed a Tcl framework in /Library/Frameworks that seems to be for the wrong architecture. .hc On Feb 18, 2012, at 3:53 PM, Mike Moser-Booth wrote: I downloaded the one named Pd-0.43.1-extended-macosx105-i386.dmg. Is that not the right one? .mmb On Sat, Feb 18, 2012 at 2:45 PM, Hans-Christoph Steiner h...@at.or.at wrote: Looks like you downloaded the 64-bit version. See my previous mail in this thread about the 64-bit version. .hc On Feb 18, 2012, at 1:44 PM, Mike Moser-Booth wrote: Hey Hans, I'm on OSX 10.5, and I'm getting this at startup: /Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin: dlopen(/Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin, 10): Library not loaded: @executable_path/../Frameworks/Tcl.framework/Versions/8.5/Tcl Referenced from: /Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin Reason: no suitable image found. Did find: /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl: mach-o, but wrong architecture /Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../startup/tclpd: can't load startup library'! For shits and giggles, I tried replacing the bad 8.5 folder that it does find with the one included in the Pd-extended-20120217.app package, and the error goes away. So, I'm guessing the @executable_path isn't set correctly? .mmb -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology If you think education is expensive, try ignorance -Derek Bok ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] unpack type mismatch?
On 02/16/12 19:49, Hans-Christoph Steiner wrote: What if this was handled in [float]? Something like this: - add a symbol method to [float] - convert the symbol to a float, then back and compare - if it matches, output the float out of the left inlet - if it does not match, output the original symbol out of a new right outlet, which would be an everything else outlet like [select] [route], etc. i like the idea, so i added it to zexy's [atoi] and [atof] methods. regarding [f], i think it would be feature bloat and would rather not have it. mgf IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
On Sun, Feb 19, 2012 at 1:04 PM, Mathieu Bouchard ma...@artengine.ca wrote: Le 2012-02-02 à 19:13:00, Mike Moser-Booth a écrit : I don't think this is entirely accurate. I think a and c should be switched here, though of course when finding b²-4ac that doesn't really matter. It depends whether you write ax²+bx+c or a+bx+cx². Both forms are convenient, and the latter expands better in cases of variable degrees (letters don't get renamed when adding a term), but the former is more common for cases that have only a degree fixed at 2 or 3. Ah, okay. Also, when applying a gain to a recursive filter, it's not really the same as scaling all the coefficients. If you were to scale them first, then the gain would affect the feedback portions of the filter. Applying the gain after means the feedback samples are not scaled by the gain. Those filters are all linear. This means that you can effectively commute them with a constant gain [*~] without any difference. However, it will make a difference when the gain of [*~] changes quickly while the main input changes too. Right. I was just saying that, if you separate the gain from the filter, the gain has to be applied at the input or the output. It's a single operation. So if you incorporate it into the filter, scaling the feedback coefficients has the effect of making it multiple operations. Or at least that's how I understand it, anyway. At any rate, the only reason I picked up on that in your previous email is because I wanted to plot the frequency response of [bp~], and at first I just applied the gain to all the coefficients without thinking about. It didn't work. Then I remembered the gain should just be applied to the FIR part of the filter, and it worked fine. If you think of it in terms of its transfer function, it would look more like this: H(z) = g*(1 / (1 - 2r*cos(ω)*(z^-1) + r^2 * z(^-2) )) Well, I was thinking of it in terms of 1/H(z) or 1/gH(z). But are you sure that you got the signs right in the denominator ? Pretty sure, though I mess that up all the time. Aren't you supposed change the signs of the feedback coefficients when z-transforming the difference equation? .mmb -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology If you think education is expensive, try ignorance -Derek Bok ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hid object does not work for wacom tablet under Linux
Hello, I used the last input-wacom driver : insmod /home/.../input-wacom-0.12.1/2.6.30/wacom.ko When loaded it creates /dev/input/event14 and a /dev/input/wacom entries I ran pd with sudo. I tested the HID object with the example of the documentation. The info message displayed correctly the properties of the tablet. However, when I tried to use the polling function, nothing happened. On 19/02/2012 18:42, IOhannes m zmölnig wrote: On 02/18/12 20:36, Hans-Christoph Steiner wrote: [hid] on Linux relies on a /dev/input/event* devices. If that device does not provide a /dev/input/event* device, then [hid] can't read it. One possibility is that you are using an X driver for that tablet, so not a /dev/input/event* device. another possibility is, that you don't have read permissions for the /dev/input/eventX device (that points to your wacom tablet) gfmasfrt IOhannes ___ 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] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition
Thanks guys! (sorry for the double first prize in the subject) I'm honestly flattered, as the quality of the ideas presented at the event was very high. A rewarding experience overall, great conversations, inspiring jurors. Will post a report as soon as I get back home. And besides, I'm proud to keep on the fame of the Pure Data tradition in this field following the work of Jaime... which was a great inspiration for me. who will be the next one?? :) cheers, Marco p.s. Scott I didn't know you work in Pd, should have told me! Congratulations Marco! I was lucky enough to see your performances during the competition. Great work! Scott ~ Congratulations! Well done! J -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sigmund list sort
Thank you! I really have to get into GridFlow. All the best, c Am Samstag, den 18.02.2012, 11:28 -0500 schrieb Mathieu Bouchard: Le 2012-02-18 à 16:19:00, labyrinthuscochlearis a écrit : what would be a good way to transform sigmund~'s peaks output so that I get a list with peak amplitudes but in the ascending order of the corresponding frequencies? GridFlow's [#grade] gives you a list of item numbers in the order that you need to pick them so that they be sorted. This can be used for sorting a table with multiple columns according to one column, whereas other sorting tools in Pd might only support sorting individual values. http://gridflow.ca/help/%23grade-help.html You will need the appropriate conversion from list to grid (a kind of super-list type) and grid to list. Also, [#store] is a great shortcut for reordering elements using the output of [#grade]. This uses a plugin that you'd download from http://gridflow.ca/ __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition
Congratulations Marco! Eduardo Am 19.02.2012 15:28, schrieb Marco Donnarumma: Dear all, I'm coming back to Europe in few hours, but wanted to share this news. http://www.gtcmt.gatech.edu/news/marco-donnarumma’s-xth-sense-named-world’s-most-innovative-new-musical-instrument thanks to the whole community, without which this research would have not been possible. best wishes, -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com http://marcodonnarumma.com/ Research: http://res.marcodonnarumma.com http://res.marcodonnarumma.com/ | http://www.thesaddj.com http://www.thesaddj.com/ | http://www.flxer.net http://www.flxer.net/ Director: http://www.liveperformersmeeting.net http://www.liveperformersmeeting.net/ ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Error Message 0.43-1 Windows
I think Roman found the answer, it seems that the tclreg12.dll file is included in pd/bin rather than the path mentioned in the error message. .hc On Feb 19, 2012, at 1:19 PM, Miller Puckette wrote: I'm struggling with that one (it's reported on http://sourceforge.net/tracker/?func=detailaid=3484492group_id=55736atid=478070 ) and hope to have a fix in a few days. cheers Miller On Sun, Feb 19, 2012 at 04:37:00AM -0800, JF wrote: When I try to open a patch with 0.43-1the error pasted below pops up. I can then close the error and patch as normally and everything seems to work fine but I it's a bit annoying. I've tried clearing the Pd registry entries but I still get the same error. Any ideas?! Would be greatly appreciated as always! John. couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path while executing load {C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll} registry (package ifneeded registry 1.2.1 script) invoked from within package require registry (procedure write_config_win line 2) invoked from within write_config_win $data $adomain $akey $arr (procedure write_config line 4) invoked from within write_config $::recentfiles_list $::recentfiles_domain $::recentfiles_key true (procedure ::pd_guiprefs::write_recentfiles line 2) invoked from within ::pd_guiprefs::write_recentfiles (procedure ::pd_menus::update_recentfiles_on_menu line 24) invoked from within ::pd_menus::update_recentfiles_on_menu $menubar.file $write (procedure ::pd_menus::update_recentfiles_menu line 5) invoked from within ::pd_menus::update_recentfiles_menu (procedure ::pd_guiprefs::update_recentfiles line 8) invoked from within ::pd_guiprefs::update_recentfiles $filename (procedure open_file line 11) invoked from within open_file $filename (procedure menu_open line 6) invoked from within menu_open (command bound to event) ___ 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 I hate it when they say, He gave his life for his country. Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Error Message 0.43-1 Windows
I think so too, just need to fix whatever script did the damage and test it. cheers Miller On Sun, Feb 19, 2012 at 04:46:34PM -0500, Hans-Christoph Steiner wrote: I think Roman found the answer, it seems that the tclreg12.dll file is included in pd/bin rather than the path mentioned in the error message. .hc On Feb 19, 2012, at 1:19 PM, Miller Puckette wrote: I'm struggling with that one (it's reported on http://sourceforge.net/tracker/?func=detailaid=3484492group_id=55736atid=478070 ) and hope to have a fix in a few days. cheers Miller On Sun, Feb 19, 2012 at 04:37:00AM -0800, JF wrote: When I try to open a patch with 0.43-1the error pasted below pops up. I can then close the error and patch as normally and everything seems to work fine but I it's a bit annoying. I've tried clearing the Pd registry entries but I still get the same error. Any ideas?! Would be greatly appreciated as always! John. couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path couldn't load library C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll: this library or a dependent library could not be found in library path while executing load {C:/Documents and Settings/Chopstickkk/Desktop/!!!pd/lib/tcl8.5/reg/tclreg12.dll} registry (package ifneeded registry 1.2.1 script) invoked from within package require registry (procedure write_config_win line 2) invoked from within write_config_win $data $adomain $akey $arr (procedure write_config line 4) invoked from within write_config $::recentfiles_list $::recentfiles_domain $::recentfiles_key true (procedure ::pd_guiprefs::write_recentfiles line 2) invoked from within ::pd_guiprefs::write_recentfiles (procedure ::pd_menus::update_recentfiles_on_menu line 24) invoked from within ::pd_menus::update_recentfiles_on_menu $menubar.file $write (procedure ::pd_menus::update_recentfiles_menu line 5) invoked from within ::pd_menus::update_recentfiles_menu (procedure ::pd_guiprefs::update_recentfiles line 8) invoked from within ::pd_guiprefs::update_recentfiles $filename (procedure open_file line 11) invoked from within open_file $filename (procedure menu_open line 6) invoked from within menu_open (command bound to event) ___ 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 I hate it when they say, He gave his life for his country. Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
Le 2012-02-19 à 14:08:00, Mike Moser-Booth a écrit : Pretty sure, though I mess that up all the time. Aren't you supposed change the signs of the feedback coefficients when z-transforming the difference equation? Why would you change the signs of a and b but not c ? (Was I giving the formula relative to ax²+bx+c=0 or did I assume ax²+bx=c by accident ?) __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Language Design / Conlang: do you know any examples in Sound Art or Arts in general?
Le 2012-01-21 à 22:49:00, Andy Farnell a écrit : Actually I had a little play around with it since Matju made me use mbrola But did you get IPA to work, in the end ? And you didn't explain about the UTF problem. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] new editing features of Pd-extended 0.43, now in beta!
Good point, hopefully fixed with this commit: http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=revisionrevision=16002 .hc On Feb 19, 2012, at 1:25 PM, Mike Moser-Booth wrote: Right. But why is it looking for that one if the correct one is included in the Pd-0.43.1-extended app? When I took out the one had installed, I still got the error. But it worked fine when I copied the one in the app and replaced the bad version. I guess I'm just wondering why the Tcl framework is in the app if it's not being used. .mmb On Sat, Feb 18, 2012 at 8:25 PM, Hans-Christoph Steiner h...@at.or.at wrote: That's the right one. Here's the problem: Reason: no suitable image found. Did find: /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl: mach-o, but wrong architecture You have installed a Tcl framework in /Library/Frameworks that seems to be for the wrong architecture. .hc On Feb 18, 2012, at 3:53 PM, Mike Moser-Booth wrote: I downloaded the one named Pd-0.43.1-extended-macosx105-i386.dmg. Is that not the right one? .mmb On Sat, Feb 18, 2012 at 2:45 PM, Hans-Christoph Steiner h...@at.or.at wrote: Looks like you downloaded the 64-bit version. See my previous mail in this thread about the 64-bit version. .hc On Feb 18, 2012, at 1:44 PM, Mike Moser-Booth wrote: Hey Hans, I'm on OSX 10.5, and I'm getting this at startup: /Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin: dlopen(/Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin, 10): Library not loaded: @executable_path/../Frameworks/Tcl.framework/Versions/8.5/Tcl Referenced from: /Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../extra/tclpd/tclpd.pd_darwin Reason: no suitable image found. Did find: /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl: mach-o, but wrong architecture /Applications/Pd-0.43.1-extended-20120217.app/Contents/Resources/Scripts/../startup/tclpd: can't load startup library'! For shits and giggles, I tried replacing the bad 8.5 folder that it does find with the one included in the Pd-extended-20120217.app package, and the error goes away. So, I'm guessing the @executable_path isn't set correctly? .mmb -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology If you think education is expensive, try ignorance -Derek Bok Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] patching circle tomorrow Monday Feb 20 in nyc
Hello, tomorrow at 6 we will have the february nyc patching circle at 319 scholes here are the details for anyone interested. See you there! Enter a New Dawn, The NYC Patching Circle is a monthly meetup for patchers to come together. Weather you work with or on Pd, Max/MSP/Jitter, , Eyesweb, Labview, Touchdesigner, Grasshopper, etc. or even if you have never tried before, the Patching Circle is a place to share and ask questions. Beginners and experienced patchers are welcome. This week we will go into the basics of graphics programming in pure data, play with kinects, and take advantage of the venue to jam. Work on personal projects, professional projects, school projects, ask for help, help others, or just patch quietly to yourself, in a venue space equipped for performance, full of other people patching patches and helping other people patch. Monday February 2o, 2012, 6:00pm-10:00pm Free! Sofy Yuditskaya s~ http://yuditskaya.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hid object does not work for wacom tablet under Linux
I believe that X11 gets locks access to the device exclusively. This affects all devices. Search puredata.info and the archives of this list for notes on how to get around this. .hc On Feb 19, 2012, at 2:22 PM, Sylvain Hanneton wrote: Hello, I used the last input-wacom driver : insmod /home/.../input-wacom-0.12.1/2.6.30/wacom.ko When loaded it creates /dev/input/event14 and a /dev/input/wacom entries I ran pd with sudo. I tested the HID object with the example of the documentation. The info message displayed correctly the properties of the tablet. However, when I tried to use the polling function, nothing happened. On 19/02/2012 18:42, IOhannes m zmölnig wrote: On 02/18/12 20:36, Hans-Christoph Steiner wrote: [hid] on Linux relies on a /dev/input/event* devices. If that device does not provide a /dev/input/event* device, then [hid] can't read it. One possibility is that you are using an X driver for that tablet, so not a /dev/input/event* device. another possibility is, that you don't have read permissions for the /dev/input/eventX device (that points to your wacom tablet) gfmasfrt IOhannes ___ 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 I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
On Sun, Feb 19, 2012 at 4:54 PM, Mathieu Bouchard ma...@artengine.ca wrote: Why would you change the signs of a and b but not c ? (Was I giving the formula relative to ax²+bx+c=0 or did I assume ax²+bx=c by accident ?) I think it has to do with where c is in the difference equation: c*y[n] = g*x[n] + a*y[n-1] + b*y[n-2] Julius Smith explains it better than I could: https://ccrma.stanford.edu/~jos/fp2/Z_Transform_Difference_Equations.html .mmb -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology If you think education is expensive, try ignorance -Derek Bok ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] patching circles other than New York
I am wicked jealous of Sofy's New York Patching circle, because I'm just far enough away and just employed enough that I can't get up for it. Are there folks near Washington DC who would like to have a patching circle? I will try to organize a space if there are some people into it And there can be beer here, too, if that's all it takes. -Jim Hickcox www.jimhickcox.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
Le 2012-02-19 à 17:48:00, Mike Moser-Booth a écrit : On Sun, Feb 19, 2012 at 4:54 PM, Mathieu Bouchard ma...@artengine.ca wrote: Why would you change the signs of a and b but not c ? (Was I giving the formula relative to ax²+bx+c=0 or did I assume ax²+bx=c by accident ?) I think it has to do with where c is in the difference equation: c*y[n] = g*x[n] + a*y[n-1] + b*y[n-2] This equation uses a for the middle term (y[n-1]) ? Weird. I'd expect b to go with y[n-1], whereas a and c would go with either y[n] or y[n-2]... BTW, the equations I used are things that I reconstituted from the source code of [biquad~] in pd/src/d_filter.c. They don't come from manuals. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Xth Sense awarded first prize first prize at Guthman Musical Instrument Competition
Sorry I didn't say anything Marco...yes, I'm definitely a Pd user. I'm usually just kind of lurking on the mailing list. On Sun, Feb 19, 2012 at 3:27 PM, Eduardo Flores Abad m...@eduardoflores.dewrote: ** Congratulations Marco! Eduardo Am 19.02.2012 15:28, schrieb Marco Donnarumma: Dear all, I'm coming back to Europe in few hours, but wanted to share this news. http://www.gtcmt.gatech.edu/news/marco-donnarumma ’s-xth-sense-named-world’s-most-innovative-new-musical-instrument thanks to the whole community, without which this research would have not been possible. best wishes, -- Marco Donnarumma New Media + Sonic Arts Practitioner, Performer, Teacher, Director. ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ Pd-announce mailing listPd-announce@iem.athttp://lists.puredata.info/listinfo/pd-announce ___pd-l...@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] floating-point question
That's a problem with floating point calculations on computers, unfortuantely. Hard to work around that. .hc On Feb 17, 2012, at 4:27 PM, Mirko Petrovich wrote: Hi all, I'm having a problem with a patch doing some very simple math. The problem is that float 0.1 represents as 0.085 in some cases. I know this has to do with floating-point representation but sometimes this lead to bigger errors. Is there any way to fix this ? Changing the width of the number box doesn't work. Thanks for any help and sorry if this has been discussed earlier. Saludos Mirko basic_subtraction.pd___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I hate it when they say, He gave his life for his country. Nobody gives their life for anything. We steal the lives of these kids. -Admiral Gene LeRocque ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] floating-point question
Le 2012-02-19 à 21:52:00, Hans-Christoph Steiner a écrit : On Feb 17, 2012, at 4:27 PM, Mirko Petrovich wrote: I'm having a problem with a patch doing some very simple math. The problem is that float 0.1 represents as 0.085 in some cases. That's a problem with floating point calculations on computers, unfortuantely. Hard to work around that. 0.1 is usually represented as exactly 13421773/134217728 = 0.10001490116... where 134217728 = pow(2,27) For various reasons, the numerator can be a few units up or down : 13421772/134217728 = 0.099940395355... 13421769/134217728 = 0.099716877937... 13421776/134217728 = 0.100238418580... As you can see, 0.085 is way off. You get that kind of value with a numerator around 13421571. That's 202 notches off ! If you sum together a lot of 0.001 values to make a 0.1, the error accumulates. It's more accurate to count using whole numbers, and divide the whole number each time. It's sometimes important to cut down on accuracy for the benefit of efficiency, but doing audio on today's laptops, you will probably not encounter them. However, tablets and phones often have slow float calculators. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] calling free-method on pd quit (was Re: Problem with tcpserver from iemnet)
On Feb 16, 2012, at 11:46 AM, IOhannes m zmölnig wrote: On 02/16/12 17:13, IOhannes m zmölnig wrote: fine; but not if you just do a [; pd quit(; see also my bug-report/patch about this on sf ( which seems to be down currently) it's up again, so here is the ticket: http://sf.net/tracker/index.php?func=detailaid=1502860group_id=55736atid=478072 I included it in Pd-extended 0.43. So far, so good. Doesn't seem to change quit times. I tried some really big patches. .hc We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
On Sun, Feb 19, 2012 at 6:12 PM, Mathieu Bouchard ma...@artengine.ca wrote: Le 2012-02-19 à 17:48:00, Mike Moser-Booth a écrit : On Sun, Feb 19, 2012 at 4:54 PM, Mathieu Bouchard ma...@artengine.ca wrote: Why would you change the signs of a and b but not c ? (Was I giving the formula relative to ax²+bx+c=0 or did I assume ax²+bx=c by accident ?) I think it has to do with where c is in the difference equation: c*y[n] = g*x[n] + a*y[n-1] + b*y[n-2] This equation uses a for the middle term (y[n-1]) ? Weird. I'd expect b to go with y[n-1], whereas a and c would go with either y[n] or y[n-2]... Sorry, I kind of confused myself. I'm used to thinking of the coefficients as a_0, a_1, etc. You're right, b should go with y[n-1], and the one that should go with y[n] is which ever one is equal to 1, which would be c if you think of it as a + bx + cx^2, not ax^2 + bx + c. To clarify, think of the z-transform of the filter as H(z) = 1/A(z), where A(z) = 1 - 2r*cos(ω)*z^-1 + r^2*z^-2. If we decide c=1, b=2r*cos(ω), and a=r^2, we have A(z) = c - bz^-1 + az^-2. In order to apply the quadratic formula, those exponents need to be positive, so you have to multiply by (z^2)/(z^2), which leaves you with H(z) = z^2 / (cz^2 - bz +a). That's what I meant earlier when I said a and c should be switched, and I thought you were trying to say that you were thinking in terms of a + bx +cx^2. ;-) BTW, the equations I used are things that I reconstituted from the source code of [biquad~] in pd/src/d_filter.c. They don't come from manuals. You mean for [bp~]? The equation used for [biquad~] is in the helpfile, if I'm not mistaken. But, yeah, that's what I'm going off of, too. btw, you wouldn't happen to know where the source for [vcf~] is, would you? I'd like to know how that one works as well, but I can't find it. .mmb ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
Le 2012-02-19 à 22:31:00, Mike Moser-Booth a écrit : To clarify, think of the z-transform of the filter as H(z) = 1/A(z), where A(z) = 1 - 2r*cos(ω)*z^-1 + r^2*z^-2. If we decide c=1, b=2r*cos(ω), and a=r^2, we have A(z) = c - bz^-1 + az^-2. In order to apply the quadratic formula, those exponents need to be positive, so you have to multiply by (z^2)/(z^2), which leaves you with H(z) = z^2 / (cz^2 - bz +a). Alternately, with a backwards z transform, they're already positive, but then you get a backwards transfer function. code of [biquad~] in pd/src/d_filter.c. They don't come from manuals. You mean for [bp~]? Yes. Dumb mistake. btw, you wouldn't happen to know where the source for [vcf~] is, would you? I'd like to know how that one works as well, but I can't find it. Curiously (but not interestingly), it's in d_osc.c instead of d_filter.c. This makes no sense and you shouldn't try to make sense of it. Just use grep or any other means to search multiple files for a word, and you'll find anything. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] floating-point question
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list@iem.at; Mirko Petrovich mirko.petrov...@gmail.com Sent: Sunday, February 19, 2012 10:12 PM Subject: Re: [PD] floating-point question Le 2012-02-19 à 21:52:00, Hans-Christoph Steiner a écrit : On Feb 17, 2012, at 4:27 PM, Mirko Petrovich wrote: I'm having a problem with a patch doing some very simple math. The problem is that float 0.1 represents as 0.085 in some cases. That's a problem with floating point calculations on computers, unfortuantely. Hard to work around that. 0.1 is usually represented as exactly 13421773/134217728 = 0.10001490116... where 134217728 = pow(2,27) For various reasons, the numerator can be a few units up or down : 13421772/134217728 = 0.099940395355... 13421769/134217728 = 0.099716877937... 13421776/134217728 = 0.100238418580... As you can see, 0.085 is way off. You get that kind of value with a numerator around 13421571. That's 202 notches off ! If you sum together a lot of 0.001 values to make a 0.1, the error accumulates. It's more accurate to count using whole numbers, and divide the whole number each time. With 64-bit floats does this problem practically go away (like getting an index into a large table)? -Jonathan It's sometimes important to cut down on accuracy for the benefit of efficiency, but doing audio on today's laptops, you will probably not encounter them. However, tablets and phones often have slow float calculators. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC ___ 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] floating-point question
Le 2012-02-19 à 19:42:00, Jonathan Wilkes a écrit : With 64-bit floats does this problem practically go away (like getting an index into a large table)? Depends on how practical you need it to be. 32-bit floats have 23 explicit bits of numerator, and an implicit high bit that is always one. This causes the numerators to always be whole numbers picked between 16777216 and 33554431. 64-bit floats have 52 explicit bits of numerator, and an implicit high bit. This means 29 doublings of precision. Every error is 536870912 times smaller. For indexing into a table, it's very hard to do something wrong using float64. For other things, ... you can always find something more picky about precision of floats, but they can get really hard to find as you increase precision. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Resonant filter using cpole~ czero~
On Sun, Feb 19, 2012 at 10:41 PM, Mathieu Bouchard ma...@artengine.ca wrote: Curiously (but not interestingly), it's in d_osc.c instead of d_filter.c. This makes no sense and you shouldn't try to make sense of it. Just use grep or any other means to search multiple files for a word, and you'll find anything. I assure you, I won't try to make sense of it. ;-) Never used grep before. Thanks! .mmb -- Mike Moser-Booth - mmoserbo...@gmail.com Master's Student in Music Technology Schulich School of Music, McGill University Centre for Interdisciplinary Research in Music Media and Technology If you think education is expensive, try ignorance -Derek Bok ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] minicomputers for pd + gem (linux)
On 20/02/12 01:39, IOhannes m zmölnig wrote: On 02/17/12 21:43, Andy Farnell wrote: As Ubuntu continues to get heavier I heartily recommend you look at stock Debian Squeeze with a lite window manager if you want to use the machine for artistic work, rather than as a general purpose desktop. as a system administrator i think Debian squeeze is a great distribution to run my servers. as an artist working with multimedia content, i would rather go with something more experimental, namely Debian wheezy (aka testing). in reality i usually run Debian wheezy/sid (aka testing/unstable), but then i'm doing debian development and the like (so this might be a bit too hot for ordinary users) wheezy usually has up-to-data packages, e.g. you get Pd-0.43.1 note however, that since testing is a moving target, you might get masses of updates every other week. and you can make installing and maintaining Debian wheezy/sid quite a bit easier by using aptosid to install it, I've found their installer and kernel quite good at recognising new hardware, and their manual pages very helpful in describing basic methods to configure Debian. The xfce version is reasonably minimal. They install almost pure Debian sid, with their own kernel (but switching to the stock debian one, or something else, is quite possible) ... while maintaining a small repository of current bugfixes, keeping a few packages on hold while their updates are problematic, and maintaining a good warning system for updates. http://aptosid.com/ Simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] IPA Vowel space analyzer
Le 2010-10-28 à 18:53:00, Ed Kelly a écrit : I had a go a number of years ago at coding an LPC-based formant detector for PD, based on the Speech Filing System from University College London. It has since remained on my to do list, since I got the object to load but there were problems in getting it working (i.e. it didn't, and crashed PD). In theory, if you can detect the peaks in a Linear Predictive Coding-derive polynomial plot, then you can determine the vowel very accurately. It would be nice to make this work - I'll dig it out and perhaps someone can help me understand why it doesn't work (and fix it). I'll dig it out and try to GDB it tonight, but I have to feed my child now. Any news on this ? __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list