Re: [PD] iem_bin_ambi confusion
Iain, you might try to contact the author of these externals, Thomas Musil (musil AT iem DOT at), I am not sure how closely he monitors the list, so it might be better writing him directly (and communicating the answer to the list later for reference). best, P * Iain Mott m...@reverberant.com [2012-03-15 23:37]: Hi List, I may be completely confused about this - but does iem_bin_ambi decode ambisonic-encoded material as a binaural signal? If so, does anyone have any example of its use beyond the help files available in Pd? I'm not able to work out how to use it. I have an ambisonic project in which i'm using cart2del_damp_2d to to simulate the early reflections of moving sources relative to a virtual listener in a virtual room - and ambi_encode to do 2nd order encoding of the scene. The scene is ultimately decoded by ambdec for a 2D speaker array via jack. Can iem_bin_ambi be used to produce a binaural mix of this - or am i right off track? Other suggestions? I've been playing around with cw_binaural~ as an alternative technique (sending it angle values from a GUI and cart2del_damp_2d and damping the signal with distance) - sounds great but I can only spatialise the direct signal and the 1st set of early reflections from cart2del_damp_2d (using another 4 instances of cw_binaural~) before the computer starts to pack it in. I'm hoping that iem_bin_ambi might be more efficient. Cheers, Iain -- Iain Mott www.reverberant.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
Re: [PD] Analog square wave?
* chris clepper cgclep...@gmail.com [2012-02-06 15:49]: In an analog synth the square wave has some distortion to it: the rise is not instantaneous and there is some overshoot of the peak too. Over the years this was minimized by using high slew rate amp circuits and the like so an old Moog pulse wave is less ideal in shape than a new one. For a digital square wave you would want to use band limiting to avoid alias artifacts which are quite severe for a square or sawtooth wave. As the frequency goes higher both of those waves will begin to look more like sine waves as the partials are filtered out. Pretty much every commercial digital synth and plugin uses anti-aliased waveforms. out of interest Chris, do they use wavetables (possible of different lengths for different octaves) or internal oversampling a la Millers example in the doc patches? best, P On Mon, Feb 6, 2012 at 8:31 AM, Pierre Massat pimas...@gmail.com wrote: Dear List, I need a square wave to use as an LFO in a ring mod patch. Though i could simply use [expr~ $v10.5], I m wondering if I could get a smoother square wave. I tried to use a bandlimited square wave, but I don't have enough harmonics and the top of the wave isn't flat enough. Incidentally, what do analog square waves from old synths look like? Anyway, I think i want a square wave with no jumps between 0 and 1. Cheers! Pierre. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [semi-OT] PhD position at IEM: Sonification research
Dear List, forwarding this job posting, as people on this list could be interested: best, P Job posted by Institute of Electronic Music and Acoustics/ University of Music and Performing Arts Graz (23/11/2011) PhD student in Sonification Research (Audio Engineering/ Climate Science) Applications are invited for a postgraduate student to join the Institute for Electronic Music and Acoustics (IEM, http://iem.kug.ac.at) at the University of Music and Performing Arts Graz for the FWF funded project SysSon – A systematic procedure to develop sonifications. The goal of SysSon is the systematic development of sonifications - from finding sound metaphors and creating a ‘sound library’ to aesthetic/ scientific evaluation and finally the sonification tool ‘ClAudio-Climate Audio’. The procedure is developed with and tested on data from Climate Science. Main researchers of the project (and supervisors of the PhD) are R. Höldrich and K. Vogt at IEM, where the PhD student will be based. Cooperation partners are the Wegener Center for Climate and Global Change (www.wegcenter.at) and the Center for Systematic Musicology (www.uni-graz.at/en/muwi99ww). The PhD will comprise the application of the procedure to data from climate science: handling data compatibility issues, sound synthesis, co-development of evaluation test design, finalizing of ClAudio, and supporting of sound installation. The position is available from 1st February 2012 and financial support is guaranteed for 2 1⁄2 years (an additional half year of support for writing up the thesis is envisaged). Salary will be paid according to www.fwf.ac.at („Personalkostensätze“ – „DoktorandIn“). The closing date for applications is 25th December 2011. (Skype) interviews are planned for January. Female applicants are preferentially considered in case of equal qualification. We expect: + A Master’s degree in audio engineering and electrical engineering or computer science or similar, who have a solid scientific background in acoustics, sound synthesis and auditory perception. An additional background in sciences (physics/ climate science) is beneficial. Candidates about to earn their degree are welcome to apply. + Familiarity with programming languages (either SuperCollider3 or Pure Data; plus other programs such as Max MSP, MATLAB, etc.) is a precondition. + High motivation for interdisciplinary and application-oriented work and a special interest for sonification research. + An integrative and cooperative personality. + Very good communication skills in English. We offer: + A top-level research environment at the edge of technology and the arts; the IEM is considered to be Austria’s leading research institution in the field of audio engineering with the three research areas Artistic Research, Signal Processing and Acoustics, and Computer Music (including sonification). + Efficient supervision by an interdisciplinary team of supervisors, strong communication and interaction between the involved institutions. + The location in Graz – a city of five universities (two are involved in SysSon) and cultural capital of Europe 2003, hosting internationally renowned festivals such as steirischer herbst and Elevate. Please send your applications (in English or German) to vogt(at)iem.at including: + letter of motivation or résumé + CV + copy of relevant university diplomas + a short exposé (1-2 pages) on a previous project related to audio engineering, sonification or similar (sound examples –or their links- are welcome) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] CUBEmixer documentation and binaural ambisonics
* oscar pablo di liscia odilis...@gmail.com [2011-11-03 16:40]: Hello list. I have two related questions. I wonder if somebody know if there is an english translation of the CUBEmixer documentation. did you already see this ressource: http://ambisonics.iem.at/xchange/products/cubemixer/documentation/tutorials/installing-cubemixer Also, a couple of years ago I tried and liked very much an IEM package called bin-ambi or something similar (to make binaural ambisonics), but I can´t find it now. should be in svn; http://pure-data.svn.sourceforge.net/viewvc/pure-data/trunk/externals/iem/iem_bin_ambi/ best, P Thanks -- Oscar Pablo Di Liscia ___ 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] [OT] cool book (maybe relevant to list discussion)
Thanks! I cannot resist pointing to the following article: Teach Yourself Programming in Ten Years http://norvig.com/21-days.html with best regards! Peter Andy Farnell wrote: Anyone seen this? http://pragprog.com/book/btlang/seven-languages-in-seven-weeks I was flicking through it in Foyles bookshop yesterday and thought of many of the discussions we've had here of late. The style and content seem somewhat tuned to a web POV, but I think Pders would find something interesting. Just wondered if anyone else had read more because I'm tempted to buy it. a. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Spectral focusing
Hi Zax, did you look into Miller's timre stamp example file? Perhaps this is also useful for you! best, P e...@mx.kein.org wrote: Hello list, After a few years of maxing I migrated back to PD about a year and a half ago and haven’t looked back. Now I ran into a stumbling block and I figured I turn to you for help: I’m looking for a way to impose a harmonic spectrum on a non-harmonic signal. I tried cross-synthesis with a harmonic signal, which is ok, but what I’m actually trying to do is to “tune” a field recording, in a way, so it can have harmonic relations to a live instrument. I played with the pvtune~ object from fftease which is nice, but the results end up sounding a bit autotune-ish. And I also tried driving a few vcf~ filters with frequencies running from fiddle~/sigmund~ but the fundamental from these objects is too erratic and it sounds very unnatural. Wishart describes in his book a technique he calls spectral focusing, which relies on lpc. He says that lpc can be set to generate a filter bank which is distributed evenly with respect to pitch, but I’m not sure I understand what he means and how it can be done in PD. lpc seems to output a set of amplitudes for the coefficients. Can I set the filters to frequencies of my choice? Any help with this would be greatly appreciated, Zax ___ 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 applications for the blind or other disabled
German Dipl.Ing thesis written by Veronika Putz at IEM Graz: http://iem.at/projekte/dsp/spatial/index_html ICAD paper by members of IEM Graz, not strictly related to Pd: http://iem.at/projekte/publications/paper/3d_audio_interface/index_html/view best, P Stefano Papetti wrote: Hello, I wonder if there exist any examples of applications developed with Pd (from simple patches to externals or libpd-based stuff) aimed at rehabilitation or human-computer interaction for disabled people. I'd be very interested in any examples on this matter. Best, Stefano ___ 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] query blocksize?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear list, there has been some discussion on the pd-dev list about providing an addidional outlet to bang~, which would give the patch's blocksize. Did it ever get implemented? cheerio, P. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk3AO60ACgkQrE8mG1pMpRrxmwCfU2C5qO4JwVzV+u/r9e4KhfUe pzIAniDF+miFaQkwRaOOJyNmXdvTxKtD =2CN0 -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Making a Realtime Convolution External
Seth Nickell wrote: I'm planning to release our realtime convolution engine (extracted from http://meatscience.net/pages/convolution-reverb) as a GPLed Pd external. This is a good idea! It currently accepts 4-channel ('true stereo'), two channel or mono impulse responses, with stereo or mono output. Performance is What is 'true stereo' with four channels by the way? excellent if you have SSE3 and has a fallback in case you don't, and it aims for accuracy (basically that means multi-stage scaling to keep floats within healthy sizes). 1) I'd love to swipe the convolve~ external name, currently installed by mjlib as part of pd-extended. convolve~ from mjlib appears to be a copy of pin~ ? so I think it could be taken? Maybe I mis-read the code. I've cc'ed mark who can probably clarify. 2) Anyone have requests for features/api? Its currently simplistic: - takes a read FILENAME message, loads the file, does a test convolution against pink noise to normalize the gain to something sane Is this done within the main Pd audio thread? - caches the last N impulse responses, as the test convolution takes a little time - allows setting the cache size with a cachesize N message To make sure I understood this: cachesize is not the size of the first partition of the partitioned convolution, but the cache that tries to avoid audio dropouts when performing the test convolution? - disable normalization with normalize 0 or normalize 1 Yes, disabling this could be a good idea! You could also add a gain 0-1 message for manual control. Features I'm considering (let me know if they sound useful): - load from an array instead of from disk (no gain normalization?) Very good. - It wouldn't be hard to enable MxN convolution if that floats somebody's boat. I am sure if you come up with a convolution as efficient and flexible as jconv by Fons within Pd, then soon a multichannel use and hence request will come up fast. [...] 4) Would this be of interest for Pd-extended? This would be of interest for all Pd users, no matter if they like their externals included in a distribution of Pd ('extended') or manuall adding them to their vanilla Pd. best, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Making a Realtime Convolution External
Dear Seth, Seth Nickell wrote: Another question on similar lines... Are the DSP calls liable to vary t_signal-s_n (block size) without notification? 64 samples, apparently the default on pd-extended, is doable without buffering for partitioned convolution on a modern computer, but it exacts a pretty high CPU toll, and if I have to handle random blocksize changes, it gets more expensive. They cannot vary by themselves, but what is usually done (e.g. with FFTs), is to place an signal (tilde ~) object in a subpatch and resize the blocksize for that blocksize using the [switch~] or [block~] objects. You might consider using this very approach. Also, since convolution is much more efficient around block sizes of 256 or 512, perhaps I should default to one of these, buffer a little, and have a runatpdblocksize message or somesuch? I still have not understood if/how the user can set the duration of the first partition of you partitioned convolution, and how these partitions are structured in their (possibly increasing) sizes. Since this first paramter will define the latency-vs-CPU tradeoff it should not be preset by the developers. P. PS: Pd and Pd-extended use the same core, audio engine. You might want to consider Pd-extended as vanilla Pd with a folder full of precompiled externals. On Mon, Apr 4, 2011 at 7:48 PM, Seth Nickell s...@meatscience.net wrote: 2) Anyone have requests for features/api? Its currently simplistic: - takes a read FILENAME message, loads the file, does a test convolution against pink noise to normalize the gain to something sane Is this done within the main Pd audio thread? The convolution engine has support for doing it either on the calling thread, or a background thread. I'm thinking of default to a background thread. That seem like the right move? - caches the last N impulse responses, as the test convolution takes a little time - allows setting the cache size with a cachesize N message To make sure I understood this: cachesize is not the size of the first partition of the partitioned convolution, but the cache that tries to avoid audio dropouts when performing the test convolution? The convolution engine can swap-in a pre-loaded ('cached') IR in realtime without glitching... but it means keeping 2x the Impulse Response data in RAM. To keep the default API simple but useful, I'm defaulting to caching only the last 5 impulse responses in RAM. cachesize N lets you increase that number lets say in a performance you wanted to use 30 different impulse responses and you have 2GB of ram... should be nbd. - disable normalization with normalize 0 or normalize 1 Yes, disabling this could be a good idea! You could also add a gain 0-1 message for manual control. Its worth noting that impulse responses are usually whack without gain normalization like factors of hundreds to millions off a usable signal. Features I'm considering (let me know if they sound useful): - load from an array instead of from disk (no gain normalization?) Very good. - It wouldn't be hard to enable MxN convolution if that floats somebody's boat. I am sure if you come up with a convolution as efficient and flexible as jconv by Fons within Pd, then soon a multichannel use and hence request will come up fast. I'd be interested in what flexibility means in this context, it might give me some good ideas for features to add. Efficiency-wise, last time I benchmarked its more efficient than jconv, but the difference is offset by less graceful degradation under CPU load (I convolve in background threads to preserve realtime in the main thread while avoiding an irritating patent that's going to expire soon...). WRT to Pd's audio scheduling... are Pd signal externals held to realtime or can my dsp call vary the number of cycles it takes by 100% from call to call? VST seems to do ok with this, but AudioUnits get scheduled to run at the very last instant they possibly could. If Pd can have some variance, I can drop the threads and improve the external's degradation under high CPU load. thanks for the feedback (also, is the best list for this kind of feedback?), -Seth ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] access to pd table from another application
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Billy Stiltner wrote: Hey Is there a way for pd to expose it's tables to another application and I think there is [pix_share] using shared memory to communicate with another Pd instance, and there is the pdsend and pdreceive shell commands, which you could pipe stuff to and fro. have both applications able to modify the table. For instance I would like to make a graphical interface to a patch using juce. Or write stuff into a sound file and reload that into the table every time your data has updated. Possibly not very elegant either. best, 23456 P -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk2RuxQACgkQrE8mG1pMpRqvZwCeOz6RHnkEuuAxCA/Yi5V1j2Jl HUoAn249Ue7Zt9waTnrk7SV6p7qY5h4v =pT3B -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] how can I clear [vd~]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was always looking for a clear feature in delay lines. One way to do it is to use tables instead of delwrite~, and send them a clear message ; const 0. Kinda workaround though. P -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1HzqAACgkQrE8mG1pMpRrRIQCfZFKns0rmEz8afkYjpaFcKV9g TNYAnjNT91RRQuqGPbygPT5LREKgpnWe =/CrY -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] how can I clear [vd~]
* Mathieu Bouchard ma...@artengine.ca [2011-02-01 15:26]: On Tue, 1 Feb 2011, Peter Plessas wrote: I was always looking for a clear feature in delay lines. One way to do it is to use tables instead of delwrite~, and send them a clear message ; const 0. Kinda workaround though. Did you see my email that contains the code to modify [delwrite~] to add a 'clear' method ? Yes! I think usually Miller now would check it and see if it can be included in pd, no? best, P. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Another Feature Extraction Library
Dear Adriano, thank you for posting this! Have you already thought about registering with puredata.org and hosting your great abstractions there, along with many excellent contributions by other members of the pure data community? best, P. Adriano Monteiro wrote: Hi list, I'm writing to make available to you a feature extraction library that I implemented as abstractions in PD It can be useful for people who are also studying this subject and other things related to it. Here is the google site with the library attached for download: https://sites.google.com/site/pdescriptors/ I hope you enjoy it Best Adriano ___ 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] Clearing a delwrite~ (revisited)
tim vets wrote: 2010/10/17 Tyler Leavitt thecryofl...@gmail.com http://www.mail-archive.com/pd-list@iem.at/msg00287.html I googled my question and came up with this thread... considering it was 4 years old I figured maybe someone out there had a fresh solution... I need to clear a delay that I have written via delwrite~. Is there any way to do this yet? Yes, let me chime into this topic! I also come accross situations where I need to clear a delay buffer, and I was looking for a message like ; const 0 which can be use to clear tables. And, yes, it needs to be a delay, not a table. Looking forward to suggestions! tabwrite~ ? Tim Tyler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vector based panning
Dear Ronni, just type pd vbap into a decent search engine, such as https://ixquick.com P. On 09/21/2010 06:38 AM, ronni montoya wrote: hello, i was wondering if there are some vector based panning in pd? maybe there are some abstractions or externals? any idea? thanks in advance R. ___ 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] numberbox with empty label x-offset value
Thanks Hans, thanks everyone, P. On 09/01/2010 05:35 AM, Hans-Christoph Steiner wrote: Thanks for reporting this. It should be fixed with this patch: https://sourceforge.net/tracker/?func=detailaid=3057177group_id=55736atid=478072 .hc On Mon, 2010-07-26 at 08:32 +0200, Peter Plessas wrote: Dear list, something funny happens in Pd when the x-offset value of the label in the properties dialog of a numberbox [nbx] is not set at all. Xorg eats all CPU for a while and creates a strange-looking object that can't be erased. This should be reproduceable in most Pd versions, not sure about operating systems though. best, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] signal objects inside dynamically created abstractions?
Dear Matju, Roman, thank you for your explanations which both make sense. I am just wondering why the behavior is different in that: Tilde objects added (dynamically) to a patch force a recompilation of the dsp graph, while tilde objects inside dynamically created (loaded) abstractions do not cause it. best, P On 08/21/2010 05:22 AM, Mathieu Bouchard wrote: On Sat, 21 Aug 2010, Peter Plessas wrote: Just creating tilde objects inside a subpatch (without being contained inside an abstractio) and connecting them works. I suppose there is a reason for this, but didn't find it. Because the DSP is compiled, to save CPU time and SRAM space (that is, space in the fast RAM that accelerates the regular RAM). Then there is no incremental recompilation of the DSP, therefore, if it were a simple automatic recompilation, anytime there is a ~ object, it would recompile the whole thing, so, when you want to add many of them, it'd be very slow. There would be a fast automatic way, involving a [delay 0] (that is, clock_delay(,0)) every time you add a tilde object, such that if you add several objects within a [until], [repeat], [foreach], or [list-drip], it only recompiles once. But Pd doesn't do this. Instead you are responsible for doing it. It wouldn't be so bad, if you had actually access to whether the DSP is currently On, because else you can turn back On a DSP that never was. If you listen to [r pd], you only know about new On/Off switches, not the state when your abstraction was created. We'd need an extra external for that (if it does not exist yet...). _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] signal objects inside dynamically created abstractions?
Thank you! Peter On 08/23/2010 09:46 PM, Miller Puckette wrote: Main difference is that Pd wasn't designed with self-editing patches in mind; sending canvases directly to 'edit' them is effectively relying on Pd's internal mechanisms which aren't designed as a user interface. cheers Miller On Mon, Aug 23, 2010 at 09:39:22PM +0200, Peter Plessas wrote: Dear Matju, Roman, thank you for your explanations which both make sense. I am just wondering why the behavior is different in that: Tilde objects added (dynamically) to a patch force a recompilation of the dsp graph, while tilde objects inside dynamically created (loaded) abstractions do not cause it. best, P On 08/21/2010 05:22 AM, Mathieu Bouchard wrote: On Sat, 21 Aug 2010, Peter Plessas wrote: Just creating tilde objects inside a subpatch (without being contained inside an abstractio) and connecting them works. I suppose there is a reason for this, but didn't find it. Because the DSP is compiled, to save CPU time and SRAM space (that is, space in the fast RAM that accelerates the regular RAM). Then there is no incremental recompilation of the DSP, therefore, if it were a simple automatic recompilation, anytime there is a ~ object, it would recompile the whole thing, so, when you want to add many of them, it'd be very slow. There would be a fast automatic way, involving a [delay 0] (that is, clock_delay(,0)) every time you add a tilde object, such that if you add several objects within a [until], [repeat], [foreach], or [list-drip], it only recompiles once. But Pd doesn't do this. Instead you are responsible for doing it. It wouldn't be so bad, if you had actually access to whether the DSP is currently On, because else you can turn back On a DSP that never was. If you listen to [r pd], you only know about new On/Off switches, not the state when your abstraction was created. We'd need an extra external for that (if it does not exist yet...). _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ 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] signal objects inside dynamically created abstractions?
Dear list, wondering about the following behavior: Pd's dsp is switched on. Creating an abstraction inside a subpatch by internal pd messages like [obj 10 10 abstraction The tilde objects inside this abstraction do not work unless Pd's dsp is toggled (off and on again). Just creating tilde objects inside a subpatch (without being contained inside an abstractio) and connecting them works. I suppose there is a reason for this, but didn't find it. P. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd on ipad with externals
Thank you! Great info! best, P On 08/17/2010 08:01 AM, Koray Tahiroglu wrote: Hi Peter, Alexander We will document it more later, but very briefly first you need root on the device, and make sure that you have the latest version of Maemo 5 10.2010.19-1, then the usual ones, tcl8.5_8.5.8-2maemo2_armel.deb, tcl8.5-dev_8.5.8-2maemo2_armel.deb, tk8.5_8.5.8-1maemo1_armel.deb, tk8.5-dev_8.5.8-1maemo1_armel.deb. And for Alsa libasound2-dev is necessary. After that you can ./configure and make pd-0.42-5. This will at least make you run Pd and for better audio, we are working on that at the moment. Koray On Aug 14, 2010, at 12:36 PM, Peter Plessas wrote: Dear Koray, any things one has to consider when compiling pd for Maemo then? thanks! P On 08/14/2010 08:08 AM, Koray Tahiroglu wrote: Hei Peter, Maemo runs Pd GUI as any linux machine runs Pd. Maemo is OS, I am not sure what Nokia thinks about its development, they might have weird decisions sometimes. At the moment, Jari Kleimola and I are working on this, currently focusing on the audio porting, and got good results immediately. Best, Koray On Aug 13, 2010, at 3:59 PM, Peter Plessas wrote: Merhaba Koray, that's exciting news! Does Maemo run Pd's GUI too? Do you know if Maemo (that's the OS, right?) will be developed further, I heard it will be merged with MeeGo? Oh, and who is 'we', the people developing it? all the best, Peter On 08/13/2010 09:41 AM, Koray Tahiroglu wrote: Maemo N900 is another option, as you can run Pd-vanilla and you can compile any external you like ( although we haven't test GEM yet) in the actual device. We are currently fixing the audio and later on we might take a look at some GUI development, but the good thing is, it is the same Pd version you use in your computers, so all your previous patches will also work in Maemo as well. Later on we will also try Pd-extended in N900. I will post the link later on when we will have time to document all these. Koray On Aug 11, 2010, at 5:47 PM, pd-list-requ...@iem.at wrote: Message: 2 Date: Wed, 11 Aug 2010 09:31:39 -0400 From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] pd on ipad with externals To: Peter Plessas ples...@mur.at Cc: pd-list PD-list@iem.at Message-ID: 1281533499.2724.18.ca...@palatschinken Content-Type: text/plain; charset=UTF-8 Right now, Peter Brinkmann, Peter Kirn, and I are leading the effort, but there have been a number of contributors as the project was developed. We have a nice Android/libpd app design and are now working on finalizing a proper release. The source code is available, break out your Eclipse and your phone (or use the emulator) and try it out! http://gitorious.org/pdlib .hc On Wed, 2010-08-11 at 13:16 +0200, Peter Plessas wrote: Lieber Hans, Who is developing what here? Is there a name for the project? What's the status? liebe Gr?sse, Peter On 08/10/2010 06:42 PM, Hans-Christoph Steiner wrote: I suggest getting an Android device, we have the loading of externals working so its only a matter of time before we have Pd-extended in the Android Marketplace. That said, you can build Pd for iPhoneOS, run it from the cmd line, then load externals. Then you can use the [apple/multitouch] to get data from the touch. .hc On Aug 10, 2010, at 6:07 AM, Jo?o Pais wrote: but to make patches run, they have to be programmed in vanilla, right? and it's not possible to do reatime control like input numbers, or anything more than the touchpad control? or is it possible to use pd-ext in the iphone or ipod maxi? rjdj is on the ipad, so Pd runs on the iPad. There are two other Pd for iPhoneOS branch projects out there (iJam?), so they should be runnable. If someone wants to take on merging all these iPhoneOS branches I'll help get it into the new libpd/Android branch and vanilla too. .hc On Fri, 2010-08-06 at 22:52 +0200, Peter Plessas wrote: Dear list, Does Pd run on an iPad? Can one compile externals for it and how is the development situation for the device? Thanks for any pointers! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp - M.Koray Tahiroğlu Media Lab, Aalto University, School of Art and Design http://mlab.taik.fi/~korayt tel: +358 45 233 6272 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] prepending osc messages with a tag
Magic Roman, nice, elegant, amazing! Thank you so much! Exactly what I had in mind. Have a great day! P. On 08/16/2010 08:27 PM, Roman Haefeli wrote: Check attached patch. Rename it to fit your needs. Roman On Mon, 2010-08-16 at 19:39 +0200, Peter Plessas wrote: Dear List, how to prepend an OSC message with a (ideally settable) tag? [/sheep 4 | | | [magic-object /animal] | | resulting in: [/animal/sheep 4 A normal [prepend] does not work as it includes a whitespace. A [makefilename] will not work with OSC messages of varying length and content. The [prefix ... message of [packOSC] is not usable in my case. Looking forward to good and inspiring ideas! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] prepending osc messages with a tag
Dear List, how to prepend an OSC message with a (ideally settable) tag? [/sheep 4 | | | [magic-object /animal] | | resulting in: [/animal/sheep 4 A normal [prepend] does not work as it includes a whitespace. A [makefilename] will not work with OSC messages of varying length and content. The [prefix ... message of [packOSC] is not usable in my case. Looking forward to good and inspiring ideas! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] exact meaning of netsend outlet
Thank you Martin, Miller, please excuse me, I mixed things up when asking. I wanted to know what the outlet of netSEND really indicates. Ups, sorry! So rephrased: Does it indicate whether Pd was able to open a port through the OS? Does it indicate whether a (TCP) packet actually arrived at the receiver? Does it indicate whether the connection is alive (whatever that means)? Miller, you are right, netsend does not report when a connection got closed, hence my above questions. best, P On 08/13/2010 07:25 PM, martin.pe...@sympatico.ca wrote: wondering what the exact meaning of the outlet of [netreceive] in TCP mode is: Does it indicate whether Pd through the OS was able to open a port The right outlet indicates that the port is open and the other end is listening. or does it indicate if a TCP packet arrived at the destination? And: Am I correct assuming that netsend only outputs a message when it got a (send ...) message into its inlet? So there is no way to indicate whether the receiving machine is online unless I keep sending heartbeat/ping messages? If the other end drops the connection, then the right outlet will output zero, but it might not happen right away. Especially with wireless it's better to have some kind of heartbeat ping-pong going at a higher level than the OS. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd on ipad with externals
Dear Koray, any things one has to consider when compiling pd for Maemo then? thanks! P On 08/14/2010 08:08 AM, Koray Tahiroglu wrote: Hei Peter, Maemo runs Pd GUI as any linux machine runs Pd. Maemo is OS, I am not sure what Nokia thinks about its development, they might have weird decisions sometimes. At the moment, Jari Kleimola and I are working on this, currently focusing on the audio porting, and got good results immediately. Best, Koray On Aug 13, 2010, at 3:59 PM, Peter Plessas wrote: Merhaba Koray, that's exciting news! Does Maemo run Pd's GUI too? Do you know if Maemo (that's the OS, right?) will be developed further, I heard it will be merged with MeeGo? Oh, and who is 'we', the people developing it? all the best, Peter On 08/13/2010 09:41 AM, Koray Tahiroglu wrote: Maemo N900 is another option, as you can run Pd-vanilla and you can compile any external you like ( although we haven't test GEM yet) in the actual device. We are currently fixing the audio and later on we might take a look at some GUI development, but the good thing is, it is the same Pd version you use in your computers, so all your previous patches will also work in Maemo as well. Later on we will also try Pd-extended in N900. I will post the link later on when we will have time to document all these. Koray On Aug 11, 2010, at 5:47 PM, pd-list-requ...@iem.at wrote: Message: 2 Date: Wed, 11 Aug 2010 09:31:39 -0400 From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] pd on ipad with externals To: Peter Plessas ples...@mur.at Cc: pd-list PD-list@iem.at Message-ID: 1281533499.2724.18.ca...@palatschinken Content-Type: text/plain; charset=UTF-8 Right now, Peter Brinkmann, Peter Kirn, and I are leading the effort, but there have been a number of contributors as the project was developed. We have a nice Android/libpd app design and are now working on finalizing a proper release. The source code is available, break out your Eclipse and your phone (or use the emulator) and try it out! http://gitorious.org/pdlib .hc On Wed, 2010-08-11 at 13:16 +0200, Peter Plessas wrote: Lieber Hans, Who is developing what here? Is there a name for the project? What's the status? liebe Gr?sse, Peter On 08/10/2010 06:42 PM, Hans-Christoph Steiner wrote: I suggest getting an Android device, we have the loading of externals working so its only a matter of time before we have Pd-extended in the Android Marketplace. That said, you can build Pd for iPhoneOS, run it from the cmd line, then load externals. Then you can use the [apple/multitouch] to get data from the touch. .hc On Aug 10, 2010, at 6:07 AM, Jo?o Pais wrote: but to make patches run, they have to be programmed in vanilla, right? and it's not possible to do reatime control like input numbers, or anything more than the touchpad control? or is it possible to use pd-ext in the iphone or ipod maxi? rjdj is on the ipad, so Pd runs on the iPad. There are two other Pd for iPhoneOS branch projects out there (iJam?), so they should be runnable. If someone wants to take on merging all these iPhoneOS branches I'll help get it into the new libpd/Android branch and vanilla too. .hc On Fri, 2010-08-06 at 22:52 +0200, Peter Plessas wrote: Dear list, Does Pd run on an iPad? Can one compile externals for it and how is the development situation for the device? Thanks for any pointers! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp - M.Koray Tahiroğlu Media Lab, Aalto University, School of Art and Design http://mlab.taik.fi/~korayt tel: +358 45 233 6272 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list - M.Koray Tahiroğlu Media Lab, Aalto University, School of Art and Design http://mlab.taik.fi/~korayt tel: +358 45 233 6272 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] exact meaning of netsend outlet
Perfect. thank you Martin! P. On 08/14/2010 04:50 PM, Martin Peach wrote: On 2010-08-14 03:55, Peter Plessas wrote: please excuse me, I mixed things up when asking. I wanted to know what the outlet of netSEND really indicates. Ups, sorry! So rephrased: Does it indicate whether Pd was able to open a port through the OS? Yes. Does it indicate whether a (TCP) packet actually arrived at the receiver? Yes. Does it indicate whether the connection is alive (whatever that means)? No. It only changes if you try to send a message and it fails. If the other end drops the connection you won't get notified until you attempt to send something. It could take seconds or minutes before the OS decides the message didn't get through. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd on ipad with externals
Merhaba Koray, that's exciting news! Does Maemo run Pd's GUI too? Do you know if Maemo (that's the OS, right?) will be developed further, I heard it will be merged with MeeGo? Oh, and who is 'we', the people developing it? all the best, Peter On 08/13/2010 09:41 AM, Koray Tahiroglu wrote: Maemo N900 is another option, as you can run Pd-vanilla and you can compile any external you like ( although we haven't test GEM yet) in the actual device. We are currently fixing the audio and later on we might take a look at some GUI development, but the good thing is, it is the same Pd version you use in your computers, so all your previous patches will also work in Maemo as well. Later on we will also try Pd-extended in N900. I will post the link later on when we will have time to document all these. Koray On Aug 11, 2010, at 5:47 PM, pd-list-requ...@iem.at wrote: Message: 2 Date: Wed, 11 Aug 2010 09:31:39 -0400 From: Hans-Christoph Steiner h...@at.or.at Subject: Re: [PD] pd on ipad with externals To: Peter Plessas ples...@mur.at Cc: pd-list PD-list@iem.at Message-ID: 1281533499.2724.18.ca...@palatschinken Content-Type: text/plain; charset=UTF-8 Right now, Peter Brinkmann, Peter Kirn, and I are leading the effort, but there have been a number of contributors as the project was developed. We have a nice Android/libpd app design and are now working on finalizing a proper release. The source code is available, break out your Eclipse and your phone (or use the emulator) and try it out! http://gitorious.org/pdlib .hc On Wed, 2010-08-11 at 13:16 +0200, Peter Plessas wrote: Lieber Hans, Who is developing what here? Is there a name for the project? What's the status? liebe Gr?sse, Peter On 08/10/2010 06:42 PM, Hans-Christoph Steiner wrote: I suggest getting an Android device, we have the loading of externals working so its only a matter of time before we have Pd-extended in the Android Marketplace. That said, you can build Pd for iPhoneOS, run it from the cmd line, then load externals. Then you can use the [apple/multitouch] to get data from the touch. .hc On Aug 10, 2010, at 6:07 AM, Jo?o Pais wrote: but to make patches run, they have to be programmed in vanilla, right? and it's not possible to do reatime control like input numbers, or anything more than the touchpad control? or is it possible to use pd-ext in the iphone or ipod maxi? rjdj is on the ipad, so Pd runs on the iPad. There are two other Pd for iPhoneOS branch projects out there (iJam?), so they should be runnable. If someone wants to take on merging all these iPhoneOS branches I'll help get it into the new libpd/Android branch and vanilla too. .hc On Fri, 2010-08-06 at 22:52 +0200, Peter Plessas wrote: Dear list, Does Pd run on an iPad? Can one compile externals for it and how is the development situation for the device? Thanks for any pointers! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp - M.Koray Tahiroğlu Media Lab, Aalto University, School of Art and Design http://mlab.taik.fi/~korayt tel: +358 45 233 6272 ___ 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] exact meaning of netsend outlet
Dear list, wondering what the exact meaning of the outlet of [netreceive] in TCP mode is: Does it indicate whether Pd through the OS was able to open a port or does it indicate if a TCP packet arrived at the destination? And: Am I correct assuming that netsend only outputs a message when it got a (send ...) message into its inlet? So there is no way to indicate whether the receiving machine is online unless I keep sending heartbeat/ping messages? thank you for your help! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd on ipad with externals
On 08/10/2010 12:07 PM, João Pais wrote: but to make patches run, they have to be programmed in vanilla, right? and it's not possible to do reatime control like input numbers, or anything more than the touchpad control? I'd suppose everything that a mouse pointer can do, or is there a way to access the keyboard from any application? mfg, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pd on ipad with externals
Dear list, Does Pd run on an iPad? Can one compile externals for it and how is the development situation for the device? Thanks for any pointers! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] numberbox with empty label x-offset value
Dear list, something funny happens in Pd when the x-offset value of the label in the properties dialog of a numberbox [nbx] is not set at all. Xorg eats all CPU for a while and creates a strange-looking object that can't be erased. This should be reproduceable in most Pd versions, not sure about operating systems though. best, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] tactex MTC multitouch controller
Dear list, has anyone used a tactex MTC multitouch controller using Pd? I just got one which has a serial port RS232 interface. Any other users around? Does anyone know if the company is still in business, their webpage seems defunct. thank you! Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tactex MTC multitouch controller
Malte Steiner wrote: Hi has anyone used a tactex MTC multitouch controller using Pd? I just got one which has a serial port RS232 interface. Any other users around? Does anyone know if the company is still in business, their webpage seems defunct. I think they are out of business. There should be a Tactex touch controller going into Moog Voyager synth but there has been some problems and they use now another system. I remember reading that they had to change the software to detect the third dimension which is pressure on Tactex and now on the Minimoog its the size of pressurepoints, the more you press the more finger get into contact with the surface, knowledge which can be used somewhere else. Cheers, Malte Thanks, Malte, thanks HC, yes, they are out of business as I learned today. There is some example code on their product CD but I am not sure about the licence. best. P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] - Puredata for mac os Classic Powerbook g3
I run (ran) Pd under Debian-powerpc on my G3 Powerbook. Might take too much time though to set it up. You should give it a try. P bernardo amorim wrote: hi all is there a puredata for os classic 9.22 thanks bern ___ 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] Vu-Meter - WAS: nusmuk_audio
This is getting OT, but here is a nice aspect of the pd mailing list: wget http://lists.puredata.info/pipermail/pd-list.mbox/pd-list.mbox grep -v iem.at pd-list.mbox | grep -B 1 IOhannes | grep ^mfg mfg.txt See: http://plessas.mur.at/mfg.txt Just need someone to recite this poem... sorry for OT again, P jurgen wrote: mfg = mit freundlichen Grüssen (german lingo) adsr = envelope or in german da habe ich dich aber schön eingewickelt just a guess Jurgen On Apr 26, 2010, at 3:00 PM, IOhannes m zmoelnig wrote: On 2010-04-24 12:02, Peter Plessas wrote: mfg.adsr P what does mfg.adsr stand for? mgbarta 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Vu-Meter - WAS: nusmuk_audio
colet.patr...@free.fr wrote: I've made an hybrid with the gem vu-meter and the v-slider mouse bindings, by adding a background image it looks like a decent little mixer track img src=http://megalego.free.fr/pd/Gem/HA_Mixer/gem_fader.jpg; / http://megalego.free.fr/pd/Gem/HA_Mixer/HA_fader.zip now it just need to display correct db values gem_vu ist designed to be used with the prvu~ abstraction (Musil, IEMabs). This abstraction outputs a list with peak and rms values. The peak value gets displayed as the number in gem_vu as well as the single line within the vu meter. The rms value gets displayed by the big vu-bar. Does this help? cheese, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vd~ one-sample delay?
Matteo Sisti Sette wrote: Hi, I've realised that when using vd~, even if you ensure the execution order so that you can have a delay of less than one block, any delay less than one _sample_ will result to a delay of one sample. See the helpfile for block~ for example, or the example patch for Karplus Strong synthesis! Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Vu-Meter - WAS: nusmuk_audio
colet.patr...@free.fr wrote: - Peter Plessas ples...@mur.at a écrit : colet.patr...@free.fr wrote: now it just need to display correct db values gem_vu ist designed to be used with the prvu~ abstraction (Musil, yes, this object is quite usefull, in fact I meant that I need to set up the amplitude modulation for getting a correct db value with the slider, over a logaritmic scale, then the slider setting and the test signal average amplitude should have almost the same value. Be advised that there is many ways of mapping faders to mulipliers. Depending on your practice it is common to have the 0dB (unity gain) mark somewhere 4/5 up the fader's range, which is inherited from analogue mixing desks and which I have found useful in the digital domain as well (despite the danger of clipping at the dac). The mapping of a fader's value to the actual multiplicative value is also a matter of feel (tactile). I don't know if there is much research about this topic, I personally prefer the [fadtodb] abstraction by Thomas Musil (iemabs/iemlib) which we use for our productions here at the IEM, and which to my humble opinion comes closest to the analogue desks i love. chease, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Piezo device comanding a bang in Pd through arduino
Camilo Cadavid Corredor wrote: Date: Mon, 26 Apr 2010 07:54:31 +0200 From: ples...@mur.at To: cccada...@hotmail.com CC: pd-list@iem.at Subject: Re: [PD] Piezo device comanding a bang in Pd through arduino Camilo Cadavid Corredor wrote: Hello, I am new to arduino. I plan to connect a piezo device which can send a signal to b recognized by pd as a bang. I was able to download the firmware into arduino, and worked with the popular example of connection to pd found in the web. Now i am interested in knowing what .pde file should I program for the piezo device to be recognized. Finding out how I should connect the piezo to the arduino, and rewireing this to Pd. Not sure what you are trying to do, but could connecting the piezo to the computer's soundcard, and detecting a volume peak within pd, do the same thing? P You are right. It would be the same thing. The final goal is to connect a wii mote and control it with pd with several movements, controlling pan, volume and Eq in any DAW. This question was really just to getting started with arduino. I want to check its latency and see how efficient it is. Not sure if I get you right here, so let's see: When you use a Wii via Bluetooth into Pd then you don't really need the Arduino (unless there's Arduinos with Bluetooth already). Simply make Pd output Midi controller values which you assign to level, pan, aux etc. in your DAW. Another nice thing could be to make the Arduino output MIDI directly and I think this is not too hard, search the big garbage pile called internet. This would be the equivalent to building a midi fader box essentially. Others might be better at this: If you want to control a DAW's panning with the Wii, be advised that it does not detect rotation. Meaning: If you hold it like a TV remote control and pan it left and right like a compass needle, this does not get detected by the accelerometer. cheez, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Vu-Meter - WAS: nusmuk_audio
colet.patr...@free.fr wrote: very cool! are you also projecting to include mouse bindings for grabbing a slider in there? Actually not, since it's a vu-meter. But of course, doing a fader would not be too hard(tm). Have a try at it! kind, P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Piezo device comanding a bang in Pd through arduino
Camilo Cadavid Corredor wrote: Hello, I am new to arduino. I plan to connect a piezo device which can send a signal to b recognized by pd as a bang. I was able to download the firmware into arduino, and worked with the popular example of connection to pd found in the web. Now i am interested in knowing what .pde file should I program for the piezo device to be recognized. Finding out how I should connect the piezo to the arduino, and rewireing this to Pd. Not sure what you are trying to do, but could connecting the piezo to the computer's soundcard, and detecting a volume peak within pd, do the same thing? P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Vu-Meter - WAS: nusmuk_audio
colet.patr...@free.fr wrote: - Roman Haefeli reduzie...@yahoo.de a écrit : A VU-meter is very expensive to have in a Pd-window, unfortunately. unless you make one in Gem: http://plessas.mur.at/rnd/puredata/puredata.html mfg.adsr P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Turing Machine?
Fbar, as usual :-) http://footils.org/cms/weblog/2007/feb/07/turing-machine-pd/ Jon wrote: Hello, Has someone written a simple turing machine simulator in pd? If not i might try to, but would like to know from you folks' own experiences, as i figured it's something someone must have attempted before... Thanks ___ 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] gem 0.92.2 released!
Thank you IOhannes! P IOhannes m zmoelnig wrote: the second bugfix release for Gem 0.92 has been made available to the public. it fixes a number of showstoppers in 0.92.1, namely: * crasher bugs o fixed bug with threaded image loading o fixed use of openGL-functions without a valid context o fixed FreeFrame-loader with no canvas * compilation issues o fixed compilation of GemPBuffer on OSX 10.4 o fixed compilation with newer versions of libavifile o fixed compilation with newer g++ (char*/const char* confusion) binaries available for w32 (installer), OS-X (universal) and the brave (source code) grab it while it's hot: http://gem.iem.at/releases/0.92.2 alternatively you can get the files from https://sourceforge.net/projects/pd-gem fgmasdr IOhannes ___ 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] gem.conf
IOhannes m zmoelnig wrote: cyrille henry wrote: a nice use i see with this conf file is to change default video in device. so that you don't have change your patch if you change computer (1 with V4L and 1 with V4L2 webcam)... like that. or whether you want to use threaded image loading or not. (i couldn't think of a way to not want that; till karmic...) ((right; we shouldn't use configuration to circumvent bugs)) anyhow, i believe that a patch should be as cross-platform as possible. so indeed something like driver v4l2 is ugly since it is non portable. i also believe that machine configuration should be machine configuration and not patch configuration. What about this: Perhaps indicate the successful loading of those files in the post window instead of posting an error message when the files are not around. I routinely check the Pd window for errors at startup, and stumble accross the gem.conf error messages. Wait, hu? What's there? (relief) oh, only the new gem feature. :-) Since gem.config is an optional and probly very useful mechanism changing the way the file loading mechanism reports back might make the current problem much less of an issue? Peter 2cents fgmasdr 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] bug 2621932 appeared in version 0.42 - was Re: crazy bug: all user actions executed twice
IOhannes m zmölnig wrote: made this feature optional with one of the bugfix releases. jusst add -noautopatch to the startup options. Can i include it in the .pdrc file too? Oh, and i just compiled Gem and at loading the lib it posts a message about gem.conf not being found. What is this file? A config file for Gem itself? thank you! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem compile error: filmAVIPLAY.cpp
Thanks IOhannes, IOhannes m zmoelnig wrote: Peter Plessas wrote: Dear List, getting this trying to compile gem-0.92-1: make[1]: *** [filmAVIPLAY.o] Error 1 this is related to the avifile library, so it might help to know which exact version of avifile-0.7 you are compiling/linking to. This is on Debian, libavifile-0.7-dev is of Version: 1:0.7.48~20090503.ds-2 what did configure say? nothing special as far as i can tell: ... checking for PKG_AVIFILE_CFLAGS... -I/usr/include/avifile-0.7 checking for PKG_AVIFILE_LIBS... -laviplay ... Summary: Result: Target : Gem.pd_linux Objects: Base Controls Geos Manips Nongeos Particles Pixes openGL Vertex Configuration: Compiler : g++ CXXFLAGS : -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -msse2 : -I/usr/include/lqt -I/usr/include/lqt -I/usr/include/avifile-0.7 -I/usr/include/FTGL -I/usr/include/freetype2 INCLUDES : -I/usr/include/FTGL -I/usr/include/freetype2 DEFINES: LIBS : -ldv -lmpeg -lmpeg3 -lstdc++ -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm -lpthread : -lftgl -laviplay -L/usr/lib -lquicktime -lpthread -lm -lz -ldl -lquicktime -lpthread -lm -lz -ldl -lMagick++ -lWand -lMagick LDFLAGS: -shared -Wl,--export-dynamic : Strip : strip --strip-unneeded Install path : /usr/local pure-data: version: 0.40 extension : pd_linux used optional libraries: font-rendering : FTGL image-support use ImageMagick : yes use TIFF : no (forced) use JPEG : no (forced) video-support use mpeg : yes use mpeg-3 : yes use QuickTime: yes use aviplay : yes use gmerlin : no input-support use v4l : yes use ieee1394 : yes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Gem compile error: filmAVIPLAY.cpp
Dear List, getting this trying to compile gem-0.92-1: g++ -c-g -O2 -fPIC -freg-struct-return -O3 -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -msse2 -I/usr/include/lqt -I/usr/include/lqt -I/usr/include/avifile-0.7 -I/usr/include/FTGL -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 filmAVIPLAY.cpp -o ../Objects/filmAVIPLAY.o filmAVIPLAY.cpp: In member function ‘virtual bool filmAVIPLAY::open(char*, int)’: filmAVIPLAY.cpp:96: error: ‘StreamInfo’ was not declared in this scope filmAVIPLAY.cpp:96: error: ‘m_info’ was not declared in this scope make[1]: *** [filmAVIPLAY.o] Error 1 any help greatly appreciated PP ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] default blocksize readsf
Hi, readsf~ has two arguments: The number of channels and a buffersize for storing data from the harddisk in a read buffer. I am interested in the initial value of this buffer when no argument is supplied. PP ypatios wrote: Hello :) Is there such an argument?? I think the HDD blocksize can only be set for the whole disk (during the formating process) and not for specific sectors or files. Unless i miss something.. alabala 2009/11/17 Peter Plessas ples...@mur.at Dear List, what is the default (disk) blocksize of the read/writesf~ objects when one doesn't supply an argument? Thanks! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] default blocksize readsf
Dear List, what is the default (disk) blocksize of the read/writesf~ objects when one doesn't supply an argument? Thanks! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] PD + Lingerie
reminds me of Cyrille's beautiful projections at the Girbaud fashion show (old posting, link inside it leading to video no longer working) http://lists.puredata.info/pipermail/pd-list/2005-03/026372.html P mark edward grimm wrote: Pd meets fashion! http://www.youtube.com/watch?v=C10C1oTfDZM Visuals all PD. Audio is not (obviously). Very bad iPhone video/sound. BUT thought I would share anyway. The event was just super fun cheers mark ___ 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] English-speaking German piano
Yes, it is Winfried Ritsch's Automatenklavier, using custom built electronics (PIC microcontrollers via multiple serial links from a computer, more info: https://algo.mur.at/data/projekte/algopic/ Voice analysis was done at IEM in Pd by Thomas Musil and Winfried Ritsch. The piano (there exist two versions) are also used in installations like: http://ablinger.mur.at/docu11.html http://www.youtube.com/watch?v=31ucja4-w1Y Good samples of the voice analysis can be found in Ablinger's pieces Voice and Piano: http://ablinger.mur.at/voices_and_piano.html And here another piece which uses the pianos(via Pd), two movies (via Gem), audio playback and two ensembles playing the Cityopera Graz: http://ablinger.mur.at/docu15engl_act7.html including video and audio examples. This was done by Ablinger with IEM Graz and Musil/Plessas/Ritsch/Zmölnig. regards, Peter Mathieu Bouchard wrote: On Mon, 5 Oct 2009, Greg wrote: Some frames of this video show puredata in action. Very cool project. Would any German-speaking folk like to say more about this (in English :) )? I'm not German-speaking and frankly I am glad to finally hear more out of this maschine than the abnormally short piece that was played on this system at Pd Convention 2004. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ 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] CW_binaural~
Have a look at the iem_bin_ambi library too, the bin standing for binaural here. regards, P Arxontis Politis wrote: Hi, I'm trying to implement a binaural mixer versus an ambisonic-to-binaural decoder, for a comparison of their performance. For the binaural mixer I'm trying to use the CW_binaural~ object by David Doukhan (which I spotted on the list), since the earplug~ object uses MIT Kemar's hrtfs which don't perform well with elevation (for me) while IRCAM's HRTF database is based on real listener's with more realistic results. I can't quite manage to get CW_binaural to work, I've got th VC++ installed and the object seems to load fine however it doesn't detect the HRTF_PATH environmental variable for the HRTF directory. Have other people experienced the same problem? Also I would like to ask (David?) if there is a chance of a linux version of the plugin? Cheers, Archontis Politis ___ 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] maximum number of outlets, pd file format
Dear list, i want to create a [readsf~] with 120 audio outlets, and connect them to somewhere. I create that very patch in a text editor, since i don't want to pull that many patchcords. If i open that patch with pd, it seems to load it fine, but if i save the same patch from within pd, the maximum number of outlets gets truncated at 64. While i perfectly understand that no one ever thought about someone needing 120 outlets (and yes, there is a reason why i attempt this :-)), it seems 2^6 is a limit for pd's patchfile format. didn't find something in the archives, anyone already had this? Could there be a simple change to pd's sources to increase that limit? thanks! Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] maximum number of outlets, pd file format
(replying to myself) this is only an issue with readsf~. An [unpack] with 120 arguments and outlets works and saves fine. PP Peter Plessas wrote: Dear list, i want to create a [readsf~] with 120 audio outlets, and connect them to somewhere. I create that very patch in a text editor, since i don't want to pull that many patchcords. If i open that patch with pd, it seems to load it fine, but if i save the same patch from within pd, the maximum number of outlets gets truncated at 64. While i perfectly understand that no one ever thought about someone needing 120 outlets (and yes, there is a reason why i attempt this :-)), it seems 2^6 is a limit for pd's patchfile format. didn't find something in the archives, anyone already had this? Could there be a simple change to pd's sources to increase that limit? thanks! Peter ___ 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] maximum number of outlets, pd file format
(replying to myself) this is only an issue with readsf~. An [unpack] with 120 arguments and outlets works and saves fine. Seems to be sth. within readsf~. Initiating that object as [readsf~ 120] does not give an error msg. But is seems it is only created with 64 outlets. The multichannel-wav format seems to allow for more channels than that, i was able to create a file without errors, with its channels getting displayed in audacity (before that software gracefully crashes) PP Peter Plessas wrote: Dear list, i want to create a [readsf~] with 120 audio outlets, and connect them to somewhere. I create that very patch in a text editor, since i don't want to pull that many patchcords. If i open that patch with pd, it seems to load it fine, but if i save the same patch from within pd, the maximum number of outlets gets truncated at 64. While i perfectly understand that no one ever thought about someone needing 120 outlets (and yes, there is a reason why i attempt this :-)), it seems 2^6 is a limit for pd's patchfile format. didn't find something in the archives, anyone already had this? Could there be a simple change to pd's sources to increase that limit? thanks! Peter ___ 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] maximum number of outlets, pd file format
Once more: problem solved: Accessible via #define MAXSFCHANS 64 in d_soundfile.c oh, great Pd! Peter Peter Plessas wrote: Dear list, i want to create a [readsf~] with 120 audio outlets, and connect them to somewhere. I create that very patch in a text editor, since i don't want to pull that many patchcords. If i open that patch with pd, it seems to load it fine, but if i save the same patch from within pd, the maximum number of outlets gets truncated at 64. While i perfectly understand that no one ever thought about someone needing 120 outlets (and yes, there is a reason why i attempt this :-)), it seems 2^6 is a limit for pd's patchfile format. didn't find something in the archives, anyone already had this? Could there be a simple change to pd's sources to increase that limit? thanks! Peter ___ 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] Re : Split multichannel audio file into stereo pairs
IOhannes m zmölnig wrote: dwanafite wrote: Hi You could use [readsf~ 12] to read your file and then several [writesf~ 2] to record, but i guess you want something faster... in 0.42 you can use batchmode to do immediate (faster-than realtime) processing. in older versions you can just use upsampling to speed up the process. If you are on a Linux box you can use sox: sox infile_multichannel.wav outfile_ch1.wav remix 1 sox infile_multichannel.wav outfile_ch2.wav remix 2 If you are not on a Linux box, try using one instead :-) mfg, PP ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] hid without polling
Hi list, i have an endless rotary encoder (Griffin Powermate) which i want to use along the [hid] external. Since the encoder only gives a relative value, it is very important to know, when those relative changes occur. I wonder if there is a way to get the values from the [hid] without polling it. Or is there some basic concept behind it which has to poll it? Any ideas are very welcome! Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] more Pd/shell communication
Flo, i am sure you have tried this, and others have suggested it too, but there is always the [shell] external in externals/ggee i think. mfg,adsr Peter Florian Hollerweger wrote: Hi list, I am a happy user of Chris McCormick's recent suggestion for Pd/shell communication using [netsend], [netreceive] and a shell script piping commands from/to pdreceive/pdsend in a while loop (based on a solution by Claude): http://lists.puredata.info/pipermail/pd-list/2009-02/067864.html However, this ceases to work when the Pd patch is restarted, since the ports remain occupied. While one can close the link from Pd to the script before restarting the patch using the [disconnect message to [netsend], there seems to be no clean way of closing the connection from the script to Pd. I am guessing that one would need to modify Chris' script in a way that it is possible to send a 'disconnect' event from Pd to the script, which causes it to close the pipe to Pd, right? Not being the world's greatest shell scripter, I would appreciate any hints on how this could be accomplished. best, flo.H ___ 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] building vbap on linux fails
Claude Heiland-Allen wrote: Peter Plessas wrote: -Werror Remove this. It's useful when developing personally, but impractical for released code that people with other versions of other compilers need to use. Thanks Claude, that obviously worked! Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem as GUI
See my humble little effort in making a VU meter in Gem, as i was trying to avoid the CPU strain of 24 VU meters in Tcl/Tk. http://plessas.mur.at/ cheers, Peter glerm soares wrote: Is there any project of abstractions that uses Gem as Graphic User Interface seriously? I mean: Create other design of tables, envelopes, data representation, even other design of buttons, leds, sliders and knobs that could be manipulated in realtime A library of Gem objects for that could worth? Or it would be too much cpu expensive for DSP audio ? I'm curious about it... Do we have some examples? thanx glerm ___ 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] wireless contact mics
* Oded Ben-Tal o...@ccrma.stanford.edu [2009-02-15 20:19]: While not directly pd-question I thought someone might know: Does anyone have experience working with wireless contact mics? any recommendations on the not-so-very-expensive end of things? Hi, you might have a look at the AKG C-411 series, which features a variant called L i guess which allows for wireless transmitters from AKG (of course) being connected. Have been using these microphones/pickups in many occasions now, and they are my standard repertoire. Don't forget the DIY-Route as well: Those cheap piezo disks (Radio Shack, etc.) can outperform the AKGs and many others when properly mounted (bees wax being the trick here), but you will have to solder the cable yourself. Connecting this one to a wireless transmitter will as well require some sort of a preamp (which is where things start to become more complicated depending on the amount of time you have) good luck and let me know how you did it. Peter thanks Oded ___ Oded Ben-Tal http://ccrma.stanford.edu/~oded ___ 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] logical timing question
Hi all, Frank Barknecht wrote: Hallo, Peter Plessas hat gesagt: // Peter Plessas wrote: i have a question regarding timing in Pd: I understand that messages to tilde objects just get passed to the DSP tree within DSP blocks. How about the reverse? Found out that snapshot~ is returning the last sample of the last block during which it got banged. This is fine, since it is the sample value most closely to the output of the result. Now when i use the following setup: [bang~] | | [t b b] | | | | [timer] i get a minimum logical time of 1.45 msec (aquivalent to 64samples at 44.1 kHz) even when i use a blocksize of [block~ 32]. I think, bang~ should bang after each block, so with [block~ 32] it should bang every 32 samples. But it seems to have a lower limit of 64 samples. Don't know why. thanks for the reply, Frank. That's what made me curious. Since the duration of a DSP-block does not belong to the realm of clock-delayed messages (pd can't know of the exact duration of the DSP block, assume f.e. an external audio clock with jitter) those values may have to be sampled by the messaging system. This sampling would then appear at a minimum rate of 64 samps. So bang~ only makes sense for blocksizes greater than 32 samples, right? Phew, does that make sense? Still trying to completely understand that. In general, Pd has like to times: One is the time realm of clock-delayed messages, i.e. everything that originates in a clock objects like metro, delay, pipe, qlist, etc. Clock delayed messages have sub-sample accuracy. This is achieved by tagging each normal message with a time tag, similar to the old time tagged triggers in t3_lib. The tags for clocks are invisible, though. Timing is a very interesting topic in pd (and with computers in general). When i try to measure the [realtime] of a [metro 4] object, i get: print: 11.351 print: 0.122 print: 0.11 print: 11.402 print: 0.088 print: 0.119 print: 11.374 I think you get the same values. Can it be true that there is a deviation of 7ms now and then? More interesting: Why is it not only now-and-then, but every fourth sample? So there must be some phase shift which accumulates in the operation of [realtime]. On averaging those values, one gets a value close to 4ms though. Does anyone know about the real-life resolution of [realtime]? cheers, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] logical timing question
Thanks Roman, (see for comments below) Roman Haefeli wrote: On Sun, 2009-01-11 at 12:26 +0100, Peter Plessas wrote: Timing is a very interesting topic in pd (and with computers in general). When i try to measure the [realtime] of a [metro 4] object, i get: print: 11.351 print: 0.122 print: 0.11 print: 11.402 print: 0.088 print: 0.119 print: 11.374 I think you get the same values. Can it be true that there is a deviation of 7ms now and then? More interesting: Why is it not only now-and-then, but every fourth sample? So there must be some phase shift which accumulates in the operation of [realtime]. On averaging those values, one gets a value close to 4ms though. Does anyone know about the real-life resolution of [realtime]? those time steps seem to be related to the audio driver. you seem to run pd on jack with a latency of 23ms / 512 frames per buffer @ 44.1kHz. when i use 2048 per buffer at 44.1kHz, i get 92 ms latency and the numbers look like this: I did this test with -audiobuf 50 running OSS. You are right, the values differ greatly on the kind of audio driver i am using, f.e. with alsa and -audiobuf 50 i get: print: 0.1 print: 4.928 print: 4.991 print: 4.951 print: 4.994 print: 0.098 print: 4.931 print: 4.994 print: 4.949 while using alsa and -audiobuf 100 the result is slightly different as well. And all this while DSP processing is even turned off. i guess, if you want really accurate realtime values, you would have to go for the least possible latency, since it seems, that time of execution of pd is completely dependent on the audio driver. and even if this would cause drop-outs, the results of [realtime] wouldn't be affected in a way, that the overall measured time is still valid. if you use [timer], which measures logical time, and you get drop-outs, all dropped out time is not part of the measurement and you will get wrong (too small) values as a result. So realtime is dependent on the audio clock? I always thought that it took the cputime/OS time... I understand that logical time in timer is the internal perfect representation of pd's time. i never understood, why [timer] is giving different values from the ones that you expected, when connected to a [bang~] inside a re-blocked subpatch. would be cool to have that either explained or declared as a bug. Yes, that one is still unclear to me. regards, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] logical timing question
Hi again, Frank(ly), there is still something unclear to me. Please see below. Frank Barknecht wrote: In general, Pd has like to times: One is the time realm of clock-delayed messages, i.e. everything that originates in a clock objects like metro, delay, pipe, qlist, etc. Clock delayed messages have sub-sample accuracy. This is achieved by tagging each normal message with a time tag, similar to the old time tagged triggers in t3_lib. The tags for clocks are invisible, though. I understand you mean Pd has two times, the first one being the sub-samply accuracy of clock-delayed objects like [delay]. (I exclude metro from this group since it has the hard-coded limit of integer msec values). What would be the other timing then? Thanks! have a nice one, PP ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] logical timing question
Thanks for the discussion Roman, see below Roman Haefeli wrote: while not being 100% sure, what frank meant with the other timing domain, i guess, he meant all the messages, that are not initiated by [metro]/[delay]/[pipe] and co. this would be messages from: - the guis and clicks on message boxes - networking objects [netreceive]/[tcpreceive] etc. - [hid] / [comport] / [arduino] / [wiimote] - [cltin] / [notein] / [midiin] etc. - probably more all those messages lack the extra timing information and thus are executed only at block boundaries. I managed to find something that contradicts here: A Gui-bang to a [t b b] to a [timer] in a subpatch with a [block~ 8192] object. Clicking the bang very fast with my mouse gives smaller than blocksize message intervals: print: 127.71 print: 116.1 print: 116.1 print: 127.71 print: 116.1 print: 127.71 print: 104.49 print: 92.8798 print: 104.49 print: 81.2698 print: 104.49 print: 116.1 usw. Hmmm, still searching. Thanks for all the good pointers! regards, PP ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] logical timing question
Claude Heiland-Allen wrote: Peter Plessas wrote: Thanks for the discussion Roman, see below Roman Haefeli wrote: while not being 100% sure, what frank meant with the other timing domain, i guess, he meant all the messages, that are not initiated by [metro]/[delay]/[pipe] and co. this would be messages from: - the guis and clicks on message boxes - networking objects [netreceive]/[tcpreceive] etc. - [hid] / [comport] / [arduino] / [wiimote] - [cltin] / [notein] / [midiin] etc. - probably more all those messages lack the extra timing information and thus are executed only at block boundaries. That's the adc~/dac~ block boundaries, so... Wow Claude, that explains it. Wonderful indeed. So the logical timing of externally triggered objects, those who don't show a predetermined behavior like a [del 0.3] is dependent on the adc/dac block boundaries. Thanks for calculating the [timer] output into multiples of eight blocks for me! cheers, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] logical timing question
Dear Roman, Frank, List Roman Haefeli wrote: while not being 100% sure, what frank meant with the other timing domain, i guess, he meant all the messages, that are not initiated by [metro]/[delay]/[pipe] and co. this would be messages from: - the guis and clicks on message boxes - networking objects [netreceive]/[tcpreceive] etc. - [hid] / [comport] / [arduino] / [wiimote] - [cltin] / [notein] / [midiin] etc. - probably more all those messages lack the extra timing information and thus are executed only at block boundaries. I'm just interested, how would you argue that the logical timing of the following is sub-adc/dac-block (which it is)? [t b b] |\ | \ | \ | \ [t b b] [random 100] || | [/ 100] | / | / | / [delay] | [t b b] | | [timer] | [print] Clearly we all agree that [del] follows Pd's time tagged execution. So this time tag must be set with respect to the whole logical tree, including the new value given by the [random] object, right? cheers, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Seamless recording of 2 consecutive audio files?
Dear Frank, list, probably having found the culprit, it looks like recording two consecutive 24bit .wav files using the [open -bytes 3 foo.wav] message does introduce a small click at the gap. This behavior is independent of weather the bangs are timed to blocksize intervals explicitely. Can anyone else confirm that? I glued the two file together using sox, and audibly and visually find a small click at the boundary. see attached modified version of Frank's original patch. regards, Peter Frank Barknecht wrote: Hallo, Florian Hollerweger hat gesagt: // Florian Hollerweger wrote: Is it possible to record 2 audio files with [writesf~] in a manner that the second starts exactly after the first one stops? In other words so that there will be a seamless (click-free) transisition when glueing the two together. You have to make sure to activate the next [writesf~] on a block boundary and also close the first [writsf~] in that same block. See the [pd blockbang~] subpatch in the attachement for an example how to do it. Ciao ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 80 0 1175 736 10; #X obj 175 468 tabsend~ \$0-scope; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-scope 64 float 2; #X coords 0 1 63 -1 200 140 1; #X restore 158 554 graph; #X obj 844 584 soundfiler; #X obj 844 533 list append \$0; #X obj 857 511 hradio 15 1 0 2 empty empty empty 0 -8 0 10 -262144 -1 -1 0; #X floatatom 844 612 5 0 0 0 - - -; #X obj 428 423 writesf~; #X obj 669 415 writesf~; #X obj 159 509 throw~ \$0-out; #X obj 477 363 catch~ \$0-out; #X msg 428 188 start; #X msg 478 228 stop; #X msg 669 290 start; #X msg 742 338 stop; #X obj 428 137 t b b; #X obj 669 252 t b b; #X obj 643 256 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 715 253 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 406 139 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 472 140 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 844 557 read -resize /tmp/\$1.wav \$2-file\$1; #X msg 844 490 0 \, 1; #X msg 428 110 record; #N canvas 0 0 463 281 blockbang~ 0; #X obj 148 103 bang~; #X obj 243 80 inlet; #X obj 243 103 b; #N canvas 231 224 450 300 once-closed 0; #X obj 68 68 inlet; #X obj 119 67 inlet; #X msg 119 90 1; #X msg 151 91 0; #X obj 68 144 t a b; #X obj 68 182 outlet; #X obj 68 114 spigot 0; #X connect 0 0 6 0; #X connect 1 0 2 0; #X connect 2 0 6 1; #X connect 3 0 6 1; #X connect 4 0 5 0; #X connect 4 1 3 0; #X connect 6 0 4 0; #X restore 148 128 pd once-closed; #X obj 148 154 outlet; #X text 136 51 bang on block boundaries; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 3 1; #X connect 3 0 4 0; #X restore 742 311 pd blockbang~; #N canvas 0 0 463 281 blockbang~ 0; #X obj 148 103 bang~; #X obj 243 80 inlet; #X obj 243 103 b; #N canvas 231 224 450 300 once-closed 0; #X obj 68 68 inlet; #X obj 119 67 inlet; #X msg 119 90 1; #X msg 151 91 0; #X obj 68 144 t a b; #X obj 68 182 outlet; #X obj 68 114 spigot 0; #X connect 0 0 6 0; #X connect 1 0 2 0; #X connect 2 0 6 1; #X connect 3 0 6 1; #X connect 4 0 5 0; #X connect 4 1 3 0; #X connect 6 0 4 0; #X restore 148 128 pd once-closed; #X obj 148 154 outlet; #X text 136 51 bang on block boundaries; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 3 1; #X connect 3 0 4 0; #X restore 478 205 pd blockbang~; #N canvas 0 0 533 468 open-files 0; #X obj 104 239 hradio 15 1 0 2 empty empty empty 0 -8 0 10 -262144 -1 -1 0; #X obj 314 240 hradio 15 1 0 2 empty empty empty 0 -8 0 10 -262144 -1 -1 1; #X msg 104 214 0; #X msg 314 217 1; #X obj 162 92 t b b; #X obj 104 311 outlet; #X obj 314 314 outlet; #X obj 162 67 inlet; #X msg 104 274 open -bytes 3 /tmp/\$1.wav; #X msg 314 275 open -bytes 3 /tmp/\$1.wav; #X connect 0 0 8 0; #X connect 1 0 9 0; #X connect 2 0 0 0; #X connect 3 0 1 0; #X connect 4 0 2 0; #X connect 4 1 3 0; #X connect 7 0 4 0; #X connect 8 0 5 0; #X connect 9 0 6 0; #X restore 281 135 pd open-files; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-file0 128 float 2; #X coords 0 1 128 -1 200 140 1; #X restore 425 485 graph; #N canvas 0 0 450 300 (subpatch) 0; #X array \$0-file1 128 float 2; #X coords 0 1 128 -1 200 140 1; #X restore 625 485 graph; #X text 578 207 start recording on block boundaries; #X text 314 81 first press prepare \, then record; #X obj 844 466 b; #X msg 844 443 open files into tables; #X msg 281 113 prepare recording; #X floatatom 648 74 5 0 0 0 ms_to_record - -; #X obj 742 289 delay 5; #X obj 478 184 delay 5; #X floatatom 840 186 5 0 0 0 - - -; #X obj 840 150 * 1000; #X obj 840 120 t b a; #X obj 840 99 * 1000; #X floatatom 840 73 5 0 0 0 blocks_to_record - -; #X obj 729 120 r \$0-blockdurs; #X msg 799 44 1.39; #X msg 840 43 2; #X msg 875 44 2.1; #X text 696 73 or:; #X text 739 362 this blockbang~ is not
[PD] logical timing question
Dear list, i have a question regarding timing in Pd: I understand that messages to tilde objects just get passed to the DSP tree within DSP blocks. How about the reverse? Found out that snapshot~ is returning the last sample of the last block during which it got banged. This is fine, since it is the sample value most closely to the output of the result. Now when i use the following setup: [bang~] | | [t b b] | | | | [timer] i get a minimum logical time of 1.45 msec (aquivalent to 64samples at 44.1 kHz) even when i use a blocksize of [block~ 32]. That makes me assume that the sampling period for an external process (such as an audio clock, represented by bang~) is limited to 64 samples. What is also interesting, is that i get the double value of 2.9 msec for blocksizes above 64, for example 65 and above. There are no adc~ or dac~ objects or any subpatches in this setup. So, with predefined timing objects (such as [del]), the resolution of the logical time in [timer] can be as low as a fraction of a millisecond, while non-deterministic events get sampled every 64 DSP ticks (or probably integer mutiples). All still confusing somehow, looking forwards to any answers! regards, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Seamless recording of 2 consecutive audio files?
Hi! Frank Barknecht wrote: Hallo, Peter Plessas hat gesagt: // Peter Plessas wrote: i somehow assumed, that [writesf~] doesn't use scheduled messages... I always thought that Pd would execute messages in between audio blocks. So if i sent two messages (stop old file, start new file), i expected them to happen in a gap between two blocks, hence gapless recorded files possible. Franks demonstration shows that i have to explicitly time those messages according to a block~ (or equivalent) in order to get this behavior. Still all blurry to me, let's look on! Acutally I found that my patch also works without explicit block timing: Just replace the [pd blockbang~] subpatch with [bang] and see for yourself. However it fails if you try to record less than one block. Yes, that seems to work for me too! But, can you test it with stereo [writesf~ 2] files? I get clicks on those ones. thanks for helping out! regards, PP Ciao ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Seamless recording of 2 consecutive audio files?
Dear Frank, List thanks for that help! Yes indeed it works and i have been able of doing it with less objects and the help of bang~ as well. There is one thing i still don't get: I always thought pd would try to execute non-signal messages inbetween audio blocks. And for two messages this would be the same interval unless Pd had too many messages to calculate and defers them after the next audio block. But the writesf~ example shows that this is not necessarily the case. Thanks again! Peter Frank Barknecht wrote: Hallo, Florian Hollerweger hat gesagt: // Florian Hollerweger wrote: Is it possible to record 2 audio files with [writesf~] in a manner that the second starts exactly after the first one stops? In other words so that there will be a seamless (click-free) transisition when glueing the two together. You have to make sure to activate the next [writesf~] on a block boundary and also close the first [writsf~] in that same block. See the [pd blockbang~] subpatch in the attachement for an example how to do it. Ciao ___ 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] Seamless recording of 2 consecutive audio files?
Hi all, Roman Haefeli wrote: On Tue, 2009-01-06 at 13:43 +0100, Peter Plessas wrote: Dear Frank, List thanks for that help! Yes indeed it works and i have been able of doing it with less objects and the help of bang~ as well. There is one thing i still don't get: I always thought pd would try to execute non-signal messages inbetween audio blocks. And for two messages this would be the same interval unless Pd had too many messages to calculate and defers them after the next audio block. But the writesf~ example shows that this is not necessarily the case. i am sorry for being too lazy to test myself, butwhat is the actual result of this? does [writesf~] start recording between block boundaries? or does it stop recording between boundaries? or is there another reason for being forced to use [bang~]? i somehow assumed, that [writesf~] doesn't use scheduled messages... I always thought that Pd would execute messages in between audio blocks. So if i sent two messages (stop old file, start new file), i expected them to happen in a gap between two blocks, hence gapless recorded files possible. Franks demonstration shows that i have to explicitly time those messages according to a block~ (or equivalent) in order to get this behavior. Still all blurry to me, let's look on! regards, PP roman ___ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] looking for open dmx external
* David Kirkpatrick [EMAIL PROTECTED] [2008-10-04 13:24]: Sadly I don't have a linux version of Adrian's [dmxsend] object. He made it specifically for a Windows based theatre work I was doing. [dmxsend] is also designed to work with the Enttec DMX USB Pro, not the Enttec Open DMX. The two devices work quite differently. David, do you know in what respect they differ? Which one is better? Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Random - Different seed each time the patch is loaded
Hi, what do you think about using the (white) background hiss of your adc~ soundcard input? Make a snapshot at different intervals, one for each seed. (not tested myself). good luck, PP * Ignacio Viano [EMAIL PROTECTED] [2008-09-04 19:11]: I want many (let's say 10) [random] objects that give different series of numbers each time the patch is loaded (of course, the 10 [random] give different series from each other). I tried using [time] and [date] objects to generate different seeds, but the same seed (different on each load) is given to the 10 [random]. I tried using a mix of [date], [time] and [realtime], but it's quite unreliable. Any ideas? Thanks Ignacio ___ 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] Random - Different seed each time the patch is loaded
* Charles Henry [EMAIL PROTECTED] [2008-09-04 23:13]: On Thu, Sep 4, 2008 at 1:28 PM, Derek Holzer [EMAIL PROTECTED] wrote: Would $0 instantiation variables be of use here? Or would that make each random generator one value away from the one beside it? not a bad idea--because each random generator would be far apart in sequence--no correlation between the sequences. However, it doesn't solve the original problem, making them different between loads of the patch. Perhaps i am getting you wrong, but if i would want different behavior each time i'd open that patch, the noise from your adc~ would do that, bc it is surely different (thermal noise, etc) every time. (provided you switched your dsp~ on in advance). :-) rgrds, PP d. Charles Henry wrote: In a way~, it's not so straightforward. Let's say the random generators are identical and seeded by another identical random generator with no further modifications. Then, all the other random generators are correlated--using the same sequence, but with slightly different starting points within that sequence. so, you need to have a map of the range of random onto itself, which is different from the random sequence mapping. That way, you actually obtain seed values which are spaced far apart in the sequence. This could be actually pretty simple, e.g. seed=rand_max - input_from_1st_rand Chuck On Thu, Sep 4, 2008 at 12:39 PM, IOhannes m zmölnig [EMAIL PROTECTED] wrote: Martin Peach wrote: Or have a single random generator inside pd that feeds all the random objects. yes of course, this would be the most straight forward solution. mfgasdr 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 -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 24: Bridges -build -burn ___ 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] Random - Different seed each time the patch is loaded
* Charles Henry [EMAIL PROTECTED] [2008-09-04 23:53]: On Thu, Sep 4, 2008 at 4:29 PM, Peter Plessas [EMAIL PROTECTED] wrote: Perhaps i am getting you wrong, but if i would want different behavior each time i'd open that patch, the noise from your adc~ would do that, bc it is surely different (thermal noise, etc) every time. (provided you switched your dsp~ on in advance). :-) ... I like your idea, because you really get a completely independent random variable--but I would try to convince you that, for a large number of instances, you would see some correlations in the sequences. That is right, for really large numbers and critical applications the noise from the soundcard might not be white enough! thanks! PP Chuck ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] OT - force feedback slider
Hi, i recently had the opportunity of testing a recent Lawo broadcast console (mc^2 66) and, surprise, it does not only have motor faders (since most digital consoles for years), but they also programmed nice features like tangible (force-feedback) unity gain positions, rubberband beahvior when a slider is being moved from its snapshot recall position and other things. I was thinking of doing the same in Pd with my cheapo Behringer BCF2000, but touch sensitive faders are much better suited. Heard that some recent BMW car has a force-feedback endless rotary encoder to use the onboard computer/multimedia/navigation/-system as well. thanks for the hint, lg, PP olsen wolf wrote: slightly OT but i just listen to a talk by morten fjeld from the tabletop interaction laboratory in göteborg where he was presenting amongst others an interesting force feedbacked slider might be just for the record if there's anytime anywhere anyone looking for infos on this topic: the thing's talking over i2c latency is pretty minimal: http://www.t2i.se/projects.php?project=ffs http://www.youtube.com/watch?v=IZc0nwy1B24feature=related salutis olsen ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sequencer app for osx
Hi, have a look at damien henry's Open Timeline project too: http://dh7.free.fr/ Screenshot: http://sourceforge.net/project/screenshots.php?group_id=91424 Peter Patrice Colet wrote: i don't believe it's do-able in Pd, not without a ridiculous amount of work, and i'm too lazy to do the work myself (and if i wasn't, i'd do it from scratch in a different programming language eg Processing or C++, rather than fighting Tcl/Tk). I started a tcl-tk piano-roll project, with no knowledge of tcl-tk language, no one proposed to help, no one did care, I stopped the project because the external toxy for building widgets is not any more developped http://megalego.free.fr/pd/pianoroll/ I've also tried to make one with tk-inter with using pyext, is rather horrible, even more difficult than using toxy syntax. I've learned a lot about data structure, it's crappy for drawing but not for sequencing (because it's faster than any message system), it's even the best thing in pd for sequencing messages, without using the old MIDI midi protocol as it is handled by pd internal objects. I believe that it would be possible to make something good with using Gem for interfacing the sequencer, data structures for sequencing messages, I'll try to waste my time on this as well. ___ 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] possible to reset phasor~?
Hi, as i remeber from the phasor's helpfile, sending a bang to one of its inlets resets the phase to zero. rgrds, p8r * Atte André Jensen [EMAIL PROTECTED] [2008-07-02 23:45]: Hi Is it possible to reset phasor, so sending it a message that'll make it start from 0 again? I tried using a metro/vline substitute, but couldn't figure out how to change the speed *within* a cycle. Is such a construction possible? NB: I'm trying to read out a sample from a table... -- peace, love harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk ___ 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] Video with embedded audio track
Dear List, i wonder if anyone has come up with a way to have framewise sync between a gem video and audio via readsf~. Did anyone experience drifts on a 90min video that way? To me it seems like the only way to achieve this is to have a message clock running both readsf~ and the gem movie player. Or to use block~ to have the audio dsp clock as master. Interesting topic indeed. regards, Peter Jack wrote: Le 1 juil. 08 à 17:05, Andre Cardozo a écrit : Hello all, I´m working on a project which requires some videos to be displayed on screens, along with their corresponding soundtracks. I do know how to use GEM to display and manipulate the videos, but as far as I know GEM ignores the embedded audio tracks, as is a visuals-only library. So the questions are: is it possible to display/manipulate a video AND its correspondent/embedded audio track together, maybe using another library or objects? or do I have to extract the audio from the AVI file, handle audio and video separately and synchronize them? Hello, Yes, you can extract the audio from your movie and use something like [readsf~] to synchronize them (using GEM). Or you can use [pdp_qt~] or [pdp_yqt] from PDP and PiDiP. ++ Jack Thanks Andre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Teaching Pd to Children
Kyle Klipowicz wrote: Hello Listers~ I'm teaching a 1 month Summer school session for K-8 grade students and would like to include Pd for a mathematics learning tool. I am wondering if anyone else has done something similar, or has any links to DSP/math related materials that would be suitable for this age group. Also, if anyone is sharing their lesson plans for Pd beginners, I would love to see something that I might be able to adapt for my students. Any ideas would be greatly appreciated, as kids often hate Summer school and I want to make this a fun activity for them. Make sure to tackle number ranges (mapping), like: Moving one slider up will make another one go down, but only half as far, etc... ~Kyle ___ 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] Query Pd internal variables from a patch
Hi Andy, things you might already know, but never the less: [receive pd dsp] will give you the status of the dsp engine (0/1) and [samplerate~] when banged outputs the current samplerate. but getting the number of channels and the device number might be harder though. regards, Peter Andy Farnell wrote: An interesting question on the forum has me scratching my head here, perhaps someone knows this? What's the best method to access to soundcard info and number of channels from a PD patch? I try to explain... I'm comunicating PD patch with Flash using OSC. How can I retry soundcard type, info, and number of channels from the PD patch and send to Flash app? Thanks a lot in advance. So, is there a message that can be used to query the state of the audio engine and return stuff like sample rate, channels? a. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] made with pd: Lost Highway, UK premiere
Dear List, Although Lost Highway, a contemporary opera by composer Olga Neuwirth, had it's world premiere in 2003, i want to point your attention to the UK premiere tonight and it's following six shows at the Young Vic Theatre in London during the next days. The piece itself is an impressive mixture of onstage acting, orchestral music, surround sound, audio samples and live-processed signals. The last being entirely done in Pd of course. Having a strong tradition of working with Olga Neuwirth, the IEM in Graz took it's ambisonic approach to the road, installing almost 30 loudspeakers in the venue. All Pd processing currently runs on a linux machine and is being operated following the orchestral score and stageplay. The show's sound design was done by Markus Noisternig, all Pd programming by Thomas Musil. http://mona.mur.at/youngvic/dsc01082.jpg As this is a fairly large project i would take the opportunity to thank the pd comunity for their work and support. regards, Peter Plessas ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd Fontsizes
Dear Roman, Claude, List, today i had the opportunity to test both of your recommendations regarding different font sizes on identical machines. Claude's hint was very nice, to query the DPI setting via: grep DPI /var/log/Xorg.o.log the nvidia README in /usr/share/doc/nvidia-glx/ gave an additional hint: xdpyinfo | grep dimension Roman was right too, specifying the DPI value at X startup. You can even put this inside your xorg.conf as: Option DPI 85 x 86 thanks for the help! regards, Peter * Roman Haefeli [EMAIL PROTECTED] [2008-02-16 15:50]: if the same os is some linux flavour, it is probably because of different display settings that result in different font scalings. i noticed, that on computers with smaller resolution sometimes tinier fonts are used. unfortunately, i don't know what the correct solution for this problem is, if there is anything that could be considered *correct*. however, i sometimes was able to solve it by giving the option '-dpi 80' when doing 'startx'. alternativel it might also help to specify 'DisplaySize X Y' in 'Section Monitor' in your xorg.conf. Making the Display bigger than it actually is scales down fonts and vice versa. roman On Sat, 2008-02-16 at 11:29 +0100, Peter Plessas wrote: Hi! What reason can there be if the same patch does not display the same fontsizes on two different computers, both running the same OS and the same Pd version? regards, PP ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Der fr?he Vogel f?ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gigaplay
Internet search engines turned up the answer on this one too :-) see: http://lists.puredata.info/pipermail/pd-list/2006-10/042751.html * David Schaffer [EMAIL PROTECTED] [2008-02-19 20:35]: Hi, can anyone tell me where I can get the [gigaplay~] abstraction? Thank you... D.S http://www.flickr.com/photos/schafferdavid/ http://audioblog.arteradio.com/David_Schaffer/ ___ 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] Pd Fontsizes
Hi! What reason can there be if the same patch does not display the same fontsizes on two different computers, both running the same OS and the same Pd version? regards, PP ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd Fontsizes
Thanks, will have a look! glg, Peter Claude Heiland-Allen wrote: Peter Plessas wrote: What reason can there be if the same patch does not display the same fontsizes on two different computers, both running the same OS and the same Pd version? Screen DPI setting. This could even vary between two screens on the same computer in a dual-head setup, here it happens to be the same: [EMAIL PROTECTED]:~$ grep DPI /var/log/Xorg.0.log (++) fglrx(0): DPI set to (100, 100) (++) fglrx(1): DPI set to (100, 100) regards, PP Claude ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sound device positions change after reboot Pd uses wrong soundcard
Hi, have a look at my similar question on the LinuxAudioUsers list some days ago, kindly answered by Frank B. to full satisfaction :-) http://lists.linuxaudio.org/pipermail/linux-audio-user/2008-February/050967.html lg, P tim wrote: Hi all, Sometimes when I reboot, my soundcard seems to move up or down in the list of audio devices, causing Pd do start with the wrong one. Also aconnect 16:0 128:0 fails because 16:0 is now 20:0... It happens only now and then, so it's hard to test. Last time it happened after I accidently turned off the computer (so a 'dirty' reboot). How can I make sure the position and name of my soundcard is consistent throughout several reboots ? Or maybe dynamically adapt pd's startup options so that it will always use the right soundcard ? This is on a desktop with ubuntustudio (7.04 feisty), an internal (VIA8237) soundcard and a PCI with breakout (Echo Layla3G), using alsa and alsa-midi, pd 0.39 (time to upgrade, I know...) Any tips appreciated, Tim ___ 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 thunder
* Andy Farnell [EMAIL PROTECTED] [2008-02-05 23:33]: You're spot on there. I will develop the stereo image as I work on the environment model. But interestingly enough, lightning _is_ an explosion, one hell of a big explosion. The plasma is as hot as the Sun for an instant and that's why the air expands, the energy in a lightning bold makes most bombs seem like little fireworks. The difference is, and this is unusual, it radiates in a cylinder not a sphere, and sound comes from a simultanoeus extent (because the bolt moves at the speed of electricity which is closer to the speed of light than the speed of sound) Isn't the noise happening when the light/plasma channel is collapsing after the lightning happened? regards, Peter ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] live coding, [was: Re: paranoid pd]
Hi Tim, I havent seen many examples yet around here though. Are many people doing this with pd ? The pd-graz group has done a variant of live-coding in its 'blind date' performances. There we take a teamwork approach, letting multiple players edit the same patch at the same time on stage during performance. In the past this was done using multiple mice and keyboards connected to one machine, but we switched to IOhannes' 'multipd' which uses a special proxy written in pd itself which interconnects itself between the gui and dsp part of pd and contributes all events (mouse clicks, object creation) amonst various clients. For the live coding itself, we decide not to use too many abstractions, since we require our patches to be readable by all players, and to make the coding reproduceable to the audience. We definitely start from zero, so the beginning of each concert is, well, silence. The past performances of pd-graz were at Musikprotokoll Graz, Roxy/NoD Praha, PdConvention2 Montreal. See: http://pd-graz.mur.at/concerts/blinddate/praha/praha_pics http://umlaeute.mur.at/Members/zmoelnig/dissertation/papers/pd2007/patchingtogether_slides.pdf glg, PP Is there an audience for it, or is it just pd-geeks who enjoy it? (not that th?t's not an audience ofcourse :) ) Do you start from zero, or do you open an existing patch and start modifying that ? do you restrict yourself to 'basic' objects, or do you use alot of abstractions (so the audience doesn't really see things being built-up from zero)? Tim ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fs1r pd sysex
* Timmy [EMAIL PROTECTED] [2008-01-26 13:05]: random question, just a thought, but do any of you think it would be possible to build a sysex editor for something like a fs1r with pd ? i have some software that i can edit it with, but i cant edit it and play sequences with it at the same time.. its like the editor has complete control over the midi port and wont let it up to any other midi sequencer/program, i've tried using a midi yoke, but that doesn't work either... sorry for the kind of indirect pd question, i just wondered if i went about investing some time into building something with pd i could still use external software to record and playback sequences.. Dear Tim, random answer, it is definitely possible to build a sysex editor in pd. The more tricky part, especially for a newcomer is the handling (storage/retrieval) of the many different data values in pd. Not that it is not possible, but better have your homework made before that :-) If you want to start working with pd, that would make a good project to do so. But if you want to have a quick and working solution, i would try other things, as for example a multiport midi interface, or midi mergers or other software loopback solutions. regards, PP all the best mr tim x -- a man's life goes some ways the way his life will be [EMAIL PROTECTED] wrote: Send PD-list mailing list submissions to pd-list@iem.at To subscribe or unsubscribe via the World Wide Web, visit http://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at [EMAIL PROTECTED] When replying, please edit your Subject line so it is more specific than Re: Contents of PD-list digest... Today's Topics: 1. Re: How to cite PD in an academic paper? (Hans-Christoph Steiner) 2. Re: visca camera control in pd? (B. Bogart) 3. Re: Mac OS X Intel autobuilds (brandon zeeb) 4. paranoid pd (naysayer) 5. Re: paranoid pd (Derek Holzer) Subject: Re: [PD] How to cite PD in an academic paper? From: Hans-Christoph Steiner [EMAIL PROTECTED] Date: Fri, 25 Jan 2008 17:08:33 -0500 To: Andy Farnell [EMAIL PROTECTED] To: Andy Farnell [EMAIL PROTECTED] CC: pd-list@iem.at I generally use what I think the reader would be most interested in. If there is something in the icmc96.ps paper that is related, I would include that, otherwise, I use a misc entry with the http://puredata.info URL. .hc On Jan 24, 2008, at 7:26 PM, Andy Farnell wrote: Use the @MISC bibtex entry author: Puckette et al date: 1996 or you may prefer to cite this as a pointer http://crca.ucsd.edu/~msp/Publications/icmc96.ps See for constructing MISC bibtex fields http://www.ecst.csuchico.edu/~jacobsd/bib/formats/bibtex.html On Thu, 24 Jan 2008 15:43:43 -0800 B. Bogart [EMAIL PROTECTED] wrote: Hey all, Is there a specific way to cite Pure-Data in an academic paper? R outputs a bibtex entry when you call cite(). Is there some standard for PD? OT: How is software generally cited? Thanks, .b. ___ 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 Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith Subject: Re: [PD] visca camera control in pd? From: B. Bogart [EMAIL PROTECTED] Date: Fri, 25 Jan 2008 14:07:20 -0800 To: chris clepper [EMAIL PROTECTED] To: chris clepper [EMAIL PROTECTED] CC: pd-list@iem.at, Martin Peach [EMAIL PROTECTED] The elmo just says Ack, ERR or Complete but since multiple cameras can be diasychained then it gets more complex, which camera threw which error. Another thing to look into is the pan/tilt heads, I was looking at these as they are much more flexible, you can put any camera on em, but I did not look very far. (zoom is obviously trouble) have fun! .b. chris clepper wrote: On Jan 25, 2008 12:00 PM, Martin Peach [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: http://bssc.sel.sony.com/BroadcastandBusiness/docs/manuals/evihd1_tm.pdfI've worked with a VISCA cam a few years ago. It just uses 9600 baud RS232 serial, so [comport] can
Re: [PD] paranoid pd
* Ypatios Grigoriadis [EMAIL PROTECTED] [2008-01-26 17:08]: On 26/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 1) Think in a live situation, you want to close a sub patch but you accidentally close the main patch.. DISASTROUS! :-) Do you actually _have_ to handle closing and opening patcher windows while doing a live performance ? I think your setup and/or patch should make that unnecessary (or automatic...). True, but can you really be sure of everything once you're onstage??? Livecoding P8r :-) -- Ypatios. ___ 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 forum?
Yes it definitely is! p8r * Dudley Brooks [EMAIL PROTECTED] [2008-01-19 06:29]: Is this the proper forum for questions about Gem? (Programming questions, not low-level and installation questions.) Thanks. ___ 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] [OT] slightly: building audio computer with PD
* Derek Holzer [EMAIL PROTECTED] [2008-01-02 21:12]: The whole idea of read-only is for two reasons: 1) To protect the HD in case of unexpected shutdowns (which could happen nightly in a typical museum situation) 2) To preserve the CF memory, which has a limited number of write cycles, in the case of a HD-less system Are you sure on this point? I just switched from a normal 2.5 IDE drive in my laptop to a compact flash card using an IDE-CF adaptor. Are you referring to USB memory sticks (which might inhibit the same technology) or to CF cards as well? Now that i am so happy having a completely silent laptop, i might run into read/write errors soon rgds, PP ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [OT] slightly: building audio computer with PD
* Derek Holzer [EMAIL PROTECTED] [2007-12-31 18:47]: So I made sure to mount all my drives read-only, and that everything would start from a script on power-up. Having the whole operating system on a Flash card/USB stick (again, no logging, read-only) is also quite How do you do that? Do you mount /var/log as ramdisk which gets erased at reboot, or do you tell every service/daemon not to log? thanks, PP ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [OT] slightly: building audio computer with PD
* Derek Holzer [EMAIL PROTECTED] [2008-01-01 22:18]: Either way could work, the ramdisk is a particularly good idea. Unless the installation is networked, there's not too much need for logfiles in the classic server or multiuser environment sort of sense. You could probably also just disable to logging daemon by removing it from the boot scripts using rc-update (on Gentoo at least, or with another distro-specific equivalent). I imagine that logging would simply just fail quietly if the partition were read-only... I mean, what would log the fact that the logs weren't logging? ;-) Right, that's a nice point in particular! Thanks for the hints! regards, PP best, d. Peter Plessas wrote: * Derek Holzer [EMAIL PROTECTED] [2007-12-31 18:47]: So I made sure to mount all my drives read-only, and that everything would start from a script on power-up. Having the whole operating system on a Flash card/USB stick (again, no logging, read-only) is also quite How do you do that? Do you mount /var/log as ramdisk which gets erased at reboot, or do you tell every service/daemon not to log? -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 184: Where is the edge? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Meaning of -noprefs
Hi, I think -noprefs should stop .pdrc as well, since it's in the spirit that is great news! Btw, is there a document on the available options in .pdsettings? For example: Does defeatrt: 0 imply -rt? Otherwise, how does one set -rt? Which Audio-API is which number? Let me take the opportunity to address two other issues, both already discussed a lot on the list but still worthy to address: Hiding hidden folders in Tcl's file dialog. (1) The position of objects being pasted into a patcher. (2) After almost five years of working with pd a lot, these two things are the ones, that bother users (like me) the most. They might be hard to solve, but are still necessary to solve. One can live without much eye-candy and other 'nice-to-have' features very well. But those two things are an obstacle to everyday work in pd, because (1) is slowing the work down, and (2) is causing confusion. thanks regards from Peter * Miller Puckette [EMAIL PROTECTED] [2007-12-05 23:46]: Hi all, I think -noprefs should stop .pdrc as well, since it's in the spirit of being able to find out whether a problem is coming from the configuration or from Pd itself. If it's reasonably easy to do I'll change that. That said, I think .pdrc should be regarded as deprecated, unless there's something you can do with it that can't be done in .pdsettings instead. cheers Miller On Wed, Dec 05, 2007 at 09:31:31AM +0100, Peter Plessas wrote: Dear List, Simon Thanks Simon for your kind reply and explanations So although there might be space for calling that behavior an additional but questionable 'feature', i consider it an inconsistency in user interface design. Preferences are preferences, whether they are in a .pdrc file or in a preferences file. IMHO -noprefs should disable all preferences-mechanisms. Regards, Peter simon wise wrote: On 1 Dec 2007, at 10:11 PM, Peter Plessas wrote: i thought that the -noprefs flag also disables loading of the .pdrc file on linux, but it does not. Is this intentional on 0.40-2? Since the preference dialogues were added they have always been treated as quite separate from the older .pdrc system - IMHO this split remains useful as it is possible to either ignore the older system (just delete any .pdrc files) or use it instead (delete the settings files instead) or use both in parallel to help manage your settings in different ways for different circumstances (eg using the .pdrc to set up machine specific things like which soundcard to use while selecting libraries and startup patches with the preferences). The newer preference system is getting some very useful features - especially the embedded option! - and when the dialogue box eventually gets more than 10 slots I will use the .pdrc system less often. simon ___ 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] Meaning of -noprefs
Dear List, Simon Thanks Simon for your kind reply and explanations So although there might be space for calling that behavior an additional but questionable 'feature', i consider it an inconsistency in user interface design. Preferences are preferences, whether they are in a .pdrc file or in a preferences file. IMHO -noprefs should disable all preferences-mechanisms. Regards, Peter simon wise wrote: On 1 Dec 2007, at 10:11 PM, Peter Plessas wrote: i thought that the -noprefs flag also disables loading of the .pdrc file on linux, but it does not. Is this intentional on 0.40-2? Since the preference dialogues were added they have always been treated as quite separate from the older .pdrc system - IMHO this split remains useful as it is possible to either ignore the older system (just delete any .pdrc files) or use it instead (delete the settings files instead) or use both in parallel to help manage your settings in different ways for different circumstances (eg using the .pdrc to set up machine specific things like which soundcard to use while selecting libraries and startup patches with the preferences). The newer preference system is getting some very useful features - especially the embedded option! - and when the dialogue box eventually gets more than 10 slots I will use the .pdrc system less often. simon ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list