Re: [PD] Distance Measures among Arrays and Lists
[tabletool] has methods for euclidean/taxicab distance between vectors stored in 2 arrays. On Thu, Apr 24, 2014 at 5:55 AM, D G mami.mu...@gmail.com wrote: Hello members of the list I am very interested in creating a list of objects or abstractions from any PD library (pd-extended or beyond) used to measure the distance between two arrays or two lists. Does any of you know one or some? Thanks a lot for your help!!! D ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to Mix 2 audio files into 1?
It's also worth mentioning that you can do this quickly in non real time by going through the tables for each source file, adding the values sample by sample, and writing the sum to a 3rd table. Then use a [soundfiler] write command to export the mixdown to a .wav file. If you use [tabletool]'s add method to get the sum, it'll be faster than going through the tables with the [until] approach. On Sat, Apr 5, 2014 at 8:04 PM, Hunter Peress hunt...@gmail.com wrote: Can someone point me to a tutorial of how to mix 2 audio files into 1 using pd? -Hunter Peress http://hificorder.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com Great minds flock together Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] timbreID - failed to map segment from shared object: Operation not permitted
Hi Joao, What's your full setup Pd version? I'm on 64-bit Ubuntu 12, Pd-0.45-4 and building/using [bark] with no problems. On Tue, Mar 11, 2014 at 4:12 PM, João Pais jmmmp...@googlemail.com wrote: Hi William, I compiled timbreID library in ubuntu , but couldn't get it to run. When I try to start [bark], I get the error message failed to map segment from shared object: Operation not permitted. Is it necessary to give some parameters when building? Best, Joao -- William Brent www.williambrent.com Great minds flock together Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] suggestion for onset detector - timbreId?
Hi João, timbreID has [bark~], which uses a technique based off of bonk~, but with a filterbank built from the Bark scale. It also has some special features that I've found useful. If you're looking for non-real-time analysis, there's [bark], which analyzes whole arrays as fast as possible and reports attack locations in seconds. I use it to generate text label files for importing into Audacity to take advantage of the export multiple command there. On Sun, Feb 23, 2014 at 5:24 PM, João Pais jmmmp...@googlemail.com wrote: Hi all, I wanted to ask if anyone has been working with onset detectors recently, and has any suggestions for patches. I already know T Vets' http://www.timvets.net/software/pd_autocutup.php? page=software, which goes through the file in realtime using bonk~. But is there anything more recent, e.g. using timbreId, that analyses an array in logical time? My goal was to generate a table with attack points and duration of events for a given sound, which I would then use on another patch. Thanks as usual, jmmmp -- William Brent www.williambrent.com Great minds flock together Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] non linear distortion
Hi Xiao, check out [overdrive~] and [saturate~] from the cyclone and sigpack libraries in extended. On Fri, Jan 24, 2014 at 6:38 PM, xiaoping lyu xiaoping@gmail.comwrote: Hi , i been reading that the richness of the sound in tube amplifiers is due natural non-linearities inherent in tube amplifiers. I was wondering if there are ways to simulate or recreate these kind of non linearities for distortions. are there any nonlinear distortions in pd? or do anybody have tried implementing something like this? cheers Xiao. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com Great minds flock together Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] suggestions for spectral weight anaylsis
continuous sounds. Best, João -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] suggestions for spectral weight anaylsis
Hi Eran, the order-perc.pd example in that same 06-timbre-ordering directory shows how to do those kinds of things. It packs several features together into one mixed feature list, normalizes the feature database, and provides controls for weighting the different features via the weights message to [timbreID]. On Fri, Jan 3, 2014 at 7:03 AM, Eran Sachs eransa...@hotmail.com wrote: Hello João, Take a look at example 06 in William;s tID, which does timbral ordering of small grains quite similar to what you are describing. I was really happy with what I got, but I had a vaguer idea in mind... William, is there a way to choose certain descriptors for the reordering? Or to give different weight to certain parameters? Happy 2014, list! Zax -- To: william.br...@gmail.com Date: Fri, 3 Jan 2014 11:30:17 +0100 From: jmmmp...@googlemail.com CC: pd-list@iem.at Subject: Re: [PD] suggestions for spectral weight anaylsis Hi William and all, I thought there would some relevant things in your library. I'll look into your suggestions later. I don't have a patch that other people can look at, but I can try to explain the context a bit better: - I have a sound of ~40s spoken voice. I'm going to split it in fragments (for now 100ms each) and reorder them - one of the possibilities of reordering the fragments would be to have a continuous timbre change in the end. E.g. going from noisy consonants to clean vowels - for the analysis, I guess a mixture of pitch and harmonicity (don't know yet in which order it should be done) would be adequate I noticed your objects work in real time. As the analysis is to be done before the performance, I guess I'll either let the sound play throughout to get the analysis data, or then I'll divide the fragments through x analysis patches, to make it run x times faster. In this case it is spoken voice, but I guess it could by anything else. Best, João Hi João, A measure that would give something near 1.0 for white noise and near 0 for a sine wave would be spectral flatness, which is in the timbreID library. But if you're looking to see how well a spectrum's partials line up harmonically, you won't find that in timbreID yet. One quick option would be to use sigmund~ to get the current pitch, then search the spectrum for the amount of energy in bin ranges related to the expected set of harmonics. Compare that with energy in non-harmonic bins. But then, for things like gongs that sound pitchy but have inharmonic spectra, that won't be much help. Depends a lot on what you're trying to do. You *might* find specSpread~ useful, which measures how widely or tightly energy is concentrated around the spectrum's center of gravity. It's in units of Hz though. On Thu, Jan 2, 2014 at 12:38 PM, João Pais jmmmp...@googlemail.comwrote: Hello, I wanted to ask if there are any suggestions for spectral weight analysis. With weight I mean a factor which would measure the harmonicity of a sound - e.g. white noise being 1, and a sinus/silence 0. Surely it exists a propper word for this already, but I don't know one. Is there any external or patch around that does something similar? Thanks, jmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] suggestions for spectral weight anaylsis
Oh - and if you're just using one feature, you should probably turn off the relative ordering option with this message to [timbreID] [relative_ordering 0( On Fri, Jan 3, 2014 at 10:50 AM, William Brent william.br...@gmail.comwrote: There are separate versions of each analysis object: one for real time, and one for NRT reading straight out of tables. You'll see separate help files for [barkSpec~] and [barkSpec], for instance. So an [until] loop scanning your pre-recorded audio will be the fastest way for you to work on this. That's what's used in the 06/order.pd example. Just look in the [pd analysis] sub patch and you can change the feature from barkSpec to whatever you like (or whatever combination of features, weighted however). I'd recommend putting your audio into the timbre-space patch and plotting by different features there. That way, you can see how the vowels/consonants fall on different axes when using certain features. That'll give you some intuition on picking the best feature or combo of features. Last - ordering by timbre is always going to be fuzzy unless you can find a one-dimensional feature that reflects the timbre aspect you're after. Ordering by multi-dimensional features, you might make a big jump along one dimension for one step in your ordering, and then a big jump along a different dimension for the next step. You never know how much one particular feature is contributing the choice of the next step in the ordering. In terms of keeping it relatively intuitive to work with, fewer dimensions is better. For speech, I'd recommend trying [specBrightness] only, with a boundary frequency of about 2.5kHz. That'll separate the high-frequency consonants from the more formanty low-mid vowels. You should get a decent continuum with just that one feature. On Fri, Jan 3, 2014 at 5:30 AM, João Pais jmmmp...@googlemail.com wrote: Hi William and all, I thought there would some relevant things in your library. I'll look into your suggestions later. I don't have a patch that other people can look at, but I can try to explain the context a bit better: - I have a sound of ~40s spoken voice. I'm going to split it in fragments (for now 100ms each) and reorder them - one of the possibilities of reordering the fragments would be to have a continuous timbre change in the end. E.g. going from noisy consonants to clean vowels - for the analysis, I guess a mixture of pitch and harmonicity (don't know yet in which order it should be done) would be adequate I noticed your objects work in real time. As the analysis is to be done before the performance, I guess I'll either let the sound play throughout to get the analysis data, or then I'll divide the fragments through x analysis patches, to make it run x times faster. In this case it is spoken voice, but I guess it could by anything else. Best, João Hi João, A measure that would give something near 1.0 for white noise and near 0 for a sine wave would be spectral flatness, which is in the timbreID library. But if you're looking to see how well a spectrum's partials line up harmonically, you won't find that in timbreID yet. One quick option would be to use sigmund~ to get the current pitch, then search the spectrum for the amount of energy in bin ranges related to the expected set of harmonics. Compare that with energy in non-harmonic bins. But then, for things like gongs that sound pitchy but have inharmonic spectra, that won't be much help. Depends a lot on what you're trying to do. You *might* find specSpread~ useful, which measures how widely or tightly energy is concentrated around the spectrum's center of gravity. It's in units of Hz though. On Thu, Jan 2, 2014 at 12:38 PM, João Pais jmmmp...@googlemail.comwrote: Hello, I wanted to ask if there are any suggestions for spectral weight analysis. With weight I mean a factor which would measure the harmonicity of a sound - e.g. white noise being 1, and a sinus/silence 0. Surely it exists a propper word for this already, but I don't know one. Is there any external or patch around that does something similar? Thanks, jmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] suggestions for spectral weight anaylsis
There are separate versions of each analysis object: one for real time, and one for NRT reading straight out of tables. You'll see separate help files for [barkSpec~] and [barkSpec], for instance. So an [until] loop scanning your pre-recorded audio will be the fastest way for you to work on this. That's what's used in the 06/order.pd example. Just look in the [pd analysis] sub patch and you can change the feature from barkSpec to whatever you like (or whatever combination of features, weighted however). I'd recommend putting your audio into the timbre-space patch and plotting by different features there. That way, you can see how the vowels/consonants fall on different axes when using certain features. That'll give you some intuition on picking the best feature or combo of features. Last - ordering by timbre is always going to be fuzzy unless you can find a one-dimensional feature that reflects the timbre aspect you're after. Ordering by multi-dimensional features, you might make a big jump along one dimension for one step in your ordering, and then a big jump along a different dimension for the next step. You never know how much one particular feature is contributing the choice of the next step in the ordering. In terms of keeping it relatively intuitive to work with, fewer dimensions is better. For speech, I'd recommend trying [specBrightness] only, with a boundary frequency of about 2.5kHz. That'll separate the high-frequency consonants from the more formanty low-mid vowels. You should get a decent continuum with just that one feature. On Fri, Jan 3, 2014 at 5:30 AM, João Pais jmmmp...@googlemail.com wrote: Hi William and all, I thought there would some relevant things in your library. I'll look into your suggestions later. I don't have a patch that other people can look at, but I can try to explain the context a bit better: - I have a sound of ~40s spoken voice. I'm going to split it in fragments (for now 100ms each) and reorder them - one of the possibilities of reordering the fragments would be to have a continuous timbre change in the end. E.g. going from noisy consonants to clean vowels - for the analysis, I guess a mixture of pitch and harmonicity (don't know yet in which order it should be done) would be adequate I noticed your objects work in real time. As the analysis is to be done before the performance, I guess I'll either let the sound play throughout to get the analysis data, or then I'll divide the fragments through x analysis patches, to make it run x times faster. In this case it is spoken voice, but I guess it could by anything else. Best, João Hi João, A measure that would give something near 1.0 for white noise and near 0 for a sine wave would be spectral flatness, which is in the timbreID library. But if you're looking to see how well a spectrum's partials line up harmonically, you won't find that in timbreID yet. One quick option would be to use sigmund~ to get the current pitch, then search the spectrum for the amount of energy in bin ranges related to the expected set of harmonics. Compare that with energy in non-harmonic bins. But then, for things like gongs that sound pitchy but have inharmonic spectra, that won't be much help. Depends a lot on what you're trying to do. You *might* find specSpread~ useful, which measures how widely or tightly energy is concentrated around the spectrum's center of gravity. It's in units of Hz though. On Thu, Jan 2, 2014 at 12:38 PM, João Pais jmmmp...@googlemail.comwrote: Hello, I wanted to ask if there are any suggestions for spectral weight analysis. With weight I mean a factor which would measure the harmonicity of a sound - e.g. white noise being 1, and a sinus/silence 0. Surely it exists a propper word for this already, but I don't know one. Is there any external or patch around that does something similar? Thanks, jmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] suggestions for spectral weight anaylsis
Hi João, A measure that would give something near 1.0 for white noise and near 0 for a sine wave would be spectral flatness, which is in the timbreID library. But if you're looking to see how well a spectrum's partials line up harmonically, you won't find that in timbreID yet. One quick option would be to use sigmund~ to get the current pitch, then search the spectrum for the amount of energy in bin ranges related to the expected set of harmonics. Compare that with energy in non-harmonic bins. But then, for things like gongs that sound pitchy but have inharmonic spectra, that won't be much help. Depends a lot on what you're trying to do. You *might* find specSpread~ useful, which measures how widely or tightly energy is concentrated around the spectrum's center of gravity. It's in units of Hz though. On Thu, Jan 2, 2014 at 12:38 PM, João Pais jmmmp...@googlemail.com wrote: Hello, I wanted to ask if there are any suggestions for spectral weight analysis. With weight I mean a factor which would measure the harmonicity of a sound - e.g. white noise being 1, and a sinus/silence 0. Surely it exists a propper word for this already, but I don't know one. Is there any external or patch around that does something similar? Thanks, jmmmp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A (Happy) New Year's Convolution
Seems to be working, nice! I still want to take a stab at making a vanilla patch for partitioned convolution. That way you can have really low latency I/O even if your impulse response is several seconds long. Not a problem to do in C as an external, and seeing your zero padding mask in the overlap 2 sub-patch makes me want to try it out. PS: since the impulse response isn't changing, you could do the transform on it once ahead of time, store the results in tables, then tabreceive them for the convolution multiply. Save an FFT! On Tue, Dec 31, 2013 at 9:58 AM, Alexandre Torres Porres por...@gmail.comwrote: Sharing My New Year's CONVOLUTION I'm doing the overlap-add method, as nicely described in http://www.dspguide.com/ch18.htm Seems to be working like a charm! Not sure if anyone ever did this in a patch like this, but I know there are some externals around. I remember I discussed once with Brent on how to do this, by the way. What do you think Brent? Nailed it? Anyone else? I'll include this soon in my tutorial patches, but for now you can check it at: https://drive.google.com/file/d/0B3AoiT0xk8fnNU9PRHdldVVFbU0/edit?usp=sharing it runs ok even with insanely huge FFT sizes, but I need to push the latency up as soon as it starts getting FELIZ 2014 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] streamStretch~
Here's another cleanup of something I made for a recent performance. Like martha~, it's a Pd-vanilla abstraction, so ready to use on any platform. The idea is to make multiple time-stretched/transposed copies of the live input that trail behind as a kind of detuned halo (or with the right settings, a dense and disgusting mush). A simplified version of the I07.phase.vocoder.pd doc patch is at its core, so this is mainly about taking care of all the buffering, polyphony, and auto-spawning of streams. http://williambrent.conflations.com/pages/research.html#streamStretch -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] martha~
Hi list, Maybe something like this already exists out there, but I just spent some time putting together a convenient abstraction version of some patches I made recently for managing the tracks output of sigmund~ in connection with an oscillator bank. I needed independent glissing/pulsing effects per partial, control over attack/release times, among other things. At the very least it takes care of all the new track/continuing track/dead track bookkeeping and automatically creates an internal oscillator bank. I've used my old messy version in a few performances without problems, but this abstraction edition could likely use some testing for anyone who's interested. I called it [martha~]: http://williambrent.conflations.com/pages/research.html#martha -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread2~ noisy output
I was thinking it might be related to your file's 24-bit sample encoding and was going to suggest soundfiler's raw message to be specific about that. But if you're getting perfect results with vline~ and not phasor~, it sounds like that's not the issue. Are you using the 64-bit Pd for OSX? On Tue, Oct 29, 2013 at 3:26 PM, peiman khosravi peimankhosr...@gmail.comwrote: But it doesn't end there. It's also an issue with phasor~. At the right sampling rate, it works with vline~ but not with phasor. As in phasor introduces those noises. *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 29 October 2013 19:13, peiman khosravi peimankhosr...@gmail.comwrote: I think I have it figured out. Problem was inconsistency between the PD sample rate and the soundfile's sample rate. Not sure how that works but it seems to add some sort of ring modulation to the result. P *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 29 October 2013 17:50, peiman khosravi peimankhosr...@gmail.comwrote: Also, even with the array max size of 2^24 I'm still getting the noise. *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 29 October 2013 16:50, peiman khosravi peimankhosr...@gmail.comwrote: Oh I see. So it's to do with the size of the array. Thanks for that. Now, is there a workaround, other than reading the file directly from the disk? Best, Peiman *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* On 29 October 2013 12:56, Claude Heiland-Allen cla...@mathr.co.ukwrote: On 29/10/13 12:36, peiman khosravi wrote: An artefact of the sample interpolation perhaps? No, of limited precision in the index: http://lists.puredata.info/**pipermail/pd-list/2012-07/**097073.htmlhttp://lists.puredata.info/pipermail/pd-list/2012-07/097073.html Claude -- http://mathr.co.uk __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread2~ noisy output
Hi Peiman, I notice a few things: 1) your soundfile is being truncated to 400 samples 2) you're loading the left channel of your stereo file into both arrays 3) after calculating the correct frequency for phasor~ to play at normal speed, you're multiplying by zero. With 3), maybe you have that there so you can scale the playback speed with a control later. But re: 1 2, try a message to soundfiler like this: read -maxsize 6.24e+06 -resize $1 test_L test_R That will increase soundfiler's default maxsize so your complete sample can be loaded. Also note that with the read command you can list 2 tables to load to with stereo audio files. You had those tables listed in separate messages…with 2 separate read calls, soundfiler is starting over each time and has no way of knowing that you want to continue where you left off. I didn't listen carefully with headphones, but after those changes I didn't hear an obvious difference between tabread4~'s playback of your file vs. my web browser's. Hope that helps, William On Sun, Oct 27, 2013 at 9:23 AM, peiman khosravi peimankhosr...@gmail.comwrote: Attached is a simple patch that reads sound file data from an array with tabread4~. Does someone know why the result is so noisy? Please try with this sound file (96k 24bit): https://dl.dropboxusercontent.com/u/47945259/test.aif. It sounds like some sort of extreme quantisation noise. But maybe I've missed something in the patch. I'm on the latest version of pd vanilla on os x 10.7.5. Many Thanks Peiman #N canvas 439 22 536 684 10; #X obj 77 213 soundfiler; #X obj 77 113 openpanel; #X obj 62 414 *~; #X obj -8 305 /; #X obj 77 95 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #N canvas 0 22 450 278 (subpatch) 0; #X array test_R 4e+06 float 2; #X coords 0 1 4e+06 -1 200 140 1 0 0; #X restore 214 -69 graph; #X obj 59 549 dac~; #X obj -8 368 phasor~; #X obj 7 248 t b f; #X msg 31 334 0; #X obj -8 281 pack 96000 f; #X obj 16 474 tabread4~ test_L; #X obj 120 474 tabread4~ test_R; #X msg 219 152 read -resize \$1 test_R; #X msg 77 152 read -resize \$1 test_L; #N canvas 0 22 450 278 (subpatch) 0; #X array test_L 4e+06 float 2; #X coords 0 1 4e+06 -1 200 140 1 0 0; #X restore 8 -68 graph; #X obj -8 343 * 0; #X text 28 321 restart; #X connect 0 0 2 1; #X connect 0 0 8 0; #X connect 1 0 14 0; #X connect 1 0 13 0; #X connect 2 0 11 0; #X connect 2 0 12 0; #X connect 3 0 16 0; #X connect 4 0 1 0; #X connect 7 0 2 0; #X connect 8 0 10 0; #X connect 8 1 10 1; #X connect 9 0 7 1; #X connect 10 0 3 0; #X connect 11 0 6 0; #X connect 12 0 6 1; #X connect 13 0 0 0; #X connect 14 0 0 0; #X connect 16 0 7 0; *www.peimankhosravi.co.uk || RSS Feedhttp://peimankhosravi.co.uk/miscposts.rss || Concert News http://spectralkimia.wordpress.com/* ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] GEMWIN creation / white frame
Hi all, I need to be able to change the framerate of a gemwin mid-performance, and can't seem to find a way to destroy, set framerate, then create without getting a white frame most of the time on either destruction or creation. Is there a trick to get around this, or something I could change in source and recompile? This is on a Macintosh OS 10.8, GEM 0.93.3. Thanks for any help! William ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEMWIN creation / white frame
Oh - sorry...somehow thought I had to destroy/create. Thanks Max. On Mon, Feb 25, 2013 at 11:50 AM, Max abonneme...@revolwear.com wrote: sending a message [frame 30( should change the framerate with immediate effect. Am 25.02.2013 um 17:40 schrieb William Brent william.br...@gmail.com: Hi all, I need to be able to change the framerate of a gemwin mid-performance, and can't seem to find a way to destroy, set framerate, then create without getting a white frame most of the time on either destruction or creation. Is there a trick to get around this, or something I could change in source and recompile? This is on a Macintosh OS 10.8, GEM 0.93.3. Thanks for any help! William ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Granular synthesis externals
Also see +bubbler~, a port of Tom Erbe's soundhack plugin. http://www.soundhack.com/freeware/ On Thu, Nov 8, 2012 at 7:11 PM, Ivica Bukvic i...@vt.edu wrote: see disis_munger. It requires flext HTH On Nov 8, 2012 7:02 PM, oscar pablo di liscia odilis...@gmail.com wrote: Hi list: I would like to know if there are pd externals (not abstractions) for granular synthesis. Any data will be most appreciated. Best -- 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pointcloud in Gem (timbreID) and performance
Hi, Yep, list parsing is probably the issue. Without the snapshot trick, every render frame sends data requests to the [timbreID] object, and lists are output in response. Those lists have to be parsed to get the coordinates for points. That's the price for storing/manipulating all the analysis data in [timbreID], but you could definitely do everything it does internally via patches, and then have more flexibility. Or you could still use [timbreID], but do all the data requests in advance and store the results in tables. On Sun, Sep 2, 2012 at 12:23 PM, Cyrille Henry c...@chnry.net wrote: hello, the repeat/gemlist trick is very fast. it can be used to render lot's more point in real time. (try pmpd example 57 : 2000 points are rendered at 50 fps on my computer with no problem) i suspect that the bottleneck is the list parsing. one trick to speed this is to put the list in a table, and use tabread to access the data. (i did not have a look a the patch, so i may be wrong). cheers c Le 02/09/2012 18:01, Max a écrit : hi list, william, this is a Gem recursion and glsl question. in the example patches for timbreID there is an interesting patch where the grains of a sample can be seen as a point cloud according to their parameters. this is done by parsing a long list for each point throuch a recursive gem chain using [zexy/repeat] it works very well up to 40 points (or a sample of up to 10 seconds). However, when you try to do this with a sample of 4.5 minutes it doesn't work any more because the list parsing and gemlist repeating for each and every point (then about 900) at framerates of 10 fps is to heavy on the CPU. William resolves this by rendering it once and taking a snapshot of the scene. that works nicely, but is not an option for my work, as i want to see the 3d space and navigate in it real-time. I was wondering if this could be done more efficiently and where to start. I think the points should be rendered in a glsl environment and the list of every points position should be static (in a matrice?) and not called and parsed by [list] objects at a rate of 9000 times per second. Unfortunately the geometry shader example doesn't work here, i was hoping to get some clues from there. william has a tiny image of a point cloud on his page: http://williambrent.conflations.com/pages/research.html#timbreID max ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread's behaviour
Can you attach a simple example patch that produces the problem? On Thursday, June 21, 2012, Sebastian Hanusa wrote: Hi everyone! I have a problem with [tabread4 tilde] - perhaps I have overseen something. And perhaps someone can help me. I build a sampler with sound read in loops from arrays with [tabread tilde], controlled by [vline tilde]. It's working fine, but after 25 minutes the audio output stops although [vline tilde] is still working as before. And without any report in the pd-window. But [tabread4 tilde] doesn't give any more signal out. And the graphical represetaton of my sound is still in the arrays, too. First after recording a new sample in the array [tabread4 tilde] starts again with the output of sound (for about 25 minutes...). Do you have any idea what's wrong? I am working on pd-extended 0.42.5 on a MacBook 2 GHz Intel Core 2 Duo with OS X 10.5.8 Thank you very much and with best regards, Sebastian Hanusa __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Wiimote on Mac
Hi Jonghyun, Maybe someone will correct me, but as far as I know there's isn't a stable wiimote object for Mac to get the data directly in Pd. With either DarwiinRemote OSC or OSCulator, the Wii remote patches in DILib do all the OSC parsing for you and make it easy to use the data in Pd. You can get that here: http://williambrent.conflations.com/pages/research.html#DILib On Wed, Jun 6, 2012 at 9:19 PM, Jonghyun Kim agitato...@gmail.com wrote: Dear list, How can I WII remote into PD on Mac? I don't know what is [HID] object. Osculator won't well. So I want another simple way... Is there simple and good .pd patch? Best, Jong ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Trouble with GEM and tracking my hand
Hi Ian, See Jaime Oliver's pix_mano object, which is included with GEM-0.93.3. It's specifically designed for hand tracking. On Wed, Jun 6, 2012 at 6:06 PM, Ian Stevens gsgsnsg...@gmail.com wrote: Hello, Im a complete newbie but im using gem and i have the example of the motion detection example that came with it but i want it to track my hand completely. in pix_blob when im in the coloured modes it kinda stays in the centre but when its alpha it kinda bounces everywhere. Help? Thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gemwin frame rate limit?
Thanks Chris Cyrille. I don't have an nvidia GPU, so I'll see what I can find in the Xorg.conf. For totally digital displays, how does the refresh rate come into play? I'm seeing out there that VBL doesn't apply to digital. I tried single buffer mode with each metro tick banging the gemhead and then clearing the gemwin, but got jittery results with the video stream. I haven't looked at triple buffering, is there some documentation you could point me to on that? The reason I want faster than screen rendering is that I'm doing video tracking. If the control streams from the tracking algorithm can be updated faster than the refresh rate, that would be ideal. Or is it not possible to run an algorithm on frames that fall between the cracks of the refresh rate and aren't fully displayed on the screen? On Thursday, May 31, 2012, Cyrille Henry wrote: hello, on Linux, you can change vertical syncro that using nvidia-settings tools if you use a nvidia GPU. Otherwise, i don't know, certainly tweking the Xorg.conf. (look forsync to Vblank) Using triple buffer may provide solution for faster than screen rendering, but i don't see the point in that. If you have a shader or somthing else that sould be faster than sreen rendering, you still can bang gemhead with a metro... cheers cyrille Le 30/05/2012 21:22, chris clepper a écrit : GEM is set to VBL sync based on your monitor's refresh rate. I vaguely recall putting some sort of message about turning this on and off in the gemwin. With it off you will often see horrible tearing artifacts on the display, which is why it defaults to 'on' on OSX (and apparently Linux too). On Wed, May 30, 2012 at 3:15 PM, William Brent william.br...@gmail.commailto: william.br...@gmail.com wrote: Hi list, I'm trying to get the fastest possible frame rate from GEM, and seem to be hitting a limit of 60fps. Is this a known limit? I searched the documentation and pd-list archives, but maybe I'm missing something. The final application I'm working on is video tracking, but here's a test patch with nothing more than a gemwin and a counter incremented by the gemhead. With a frame rate of 90 for the gemwin, it takes exactly 3 seconds to get the counter up to 180, when it should only take 2 seconds. At a frame rate of 60, it takes the expected 2 seconds to get the counter to 120. I'm running this with Pd-0.43-2 and GEM 0.93.3 on Ubuntu 12.04 using the -noaudio flag. I get the same results on Mac OS 10.6.8. -- William Brent www.williambrent.com http://www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com http://www.conflations.com __**_ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list __**_ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gemwin frame rate limit?
Ok, thanks again Chris and Cyrille. That helps a lot, and I'll see what I can do from this point. William On Thu, May 31, 2012 at 12:06 PM, chris clepper cgclep...@gmail.com wrote: On Thu, May 31, 2012 at 8:36 AM, William Brent william.br...@gmail.com wrote: Thanks Chris Cyrille. I don't have an nvidia GPU, so I'll see what I can find in the Xorg.conf. For totally digital displays, how does the refresh rate come into play? I'm seeing out there that VBL doesn't apply to digital. The refresh rate for LCD is 60Hz although internally many process at 120 or even higher. I tried single buffer mode with each metro tick banging the gemhead and then clearing the gemwin, but got jittery results with the video stream. Without syncing to the refresh rate the video display will be jittery and also have tearing artifacts. As Cyrille points out there are ways to run gemheads at higher speeds, but you want to keep all of the drawing objects at refresh rate. -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gemwin frame rate limit?
Hi list, I'm trying to get the fastest possible frame rate from GEM, and seem to be hitting a limit of 60fps. Is this a known limit? I searched the documentation and pd-list archives, but maybe I'm missing something. The final application I'm working on is video tracking, but here's a test patch with nothing more than a gemwin and a counter incremented by the gemhead. With a frame rate of 90 for the gemwin, it takes exactly 3 seconds to get the counter up to 180, when it should only take 2 seconds. At a frame rate of 60, it takes the expected 2 seconds to get the counter to 120. I'm running this with Pd-0.43-2 and GEM 0.93.3 on Ubuntu 12.04 using the -noaudio flag. I get the same results on Mac OS 10.6.8. -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com gem-test.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] closest frequency in scale
For other scales, you can store all the notes in an array. When each of your random numbers appears, do a quick search for the closest note in the scale. On Wed, May 23, 2012 at 4:21 AM, Matthias Kronlachner m.kronlach...@student.tugraz.at wrote: if you mean as specific scale the equal tempered you can use [ftom] to convert from frequency to midi note numbers. then you round this number to integer and with [mtof] back to have a frequency value. matthias Am 23.05.12 10:29, schrieb flad chester: Hi list, im new with pd, i was thinking about which should be the best way to implement this idea or maybe somebody has done something like this before: Im controlling the frequencies of my grains with a random number generator, but instead of controlling the frequencies directly i would like to select the closest frequency in a specific scale for each random value. how can i do this in pd? thanks in advance Flad ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] old patch to (automatically) fragment an audio buffer
The [bark] object in the latest timbreID analyzes samples loaded to tables in non real time and reports the onset times. If you're going to make a new patch, it'll probably make the process of finding onsets easier. In the help file, after you hit the analyze button you can play back any segment in the [pd segmented-player] subpatch. You can expand on it from there to do whatever you're after. On Mon, May 7, 2012 at 12:35 AM, i go bananas hard@gmail.com wrote: might be this one: http://puredata.hurleur.com/sujet-3199-bonked-beat-slicer or maybe this one (that i made): http://puredata.hurleur.com/sujet-1953-sample-slicer-user-selectable-slices if not, search the forum for 'slicer' and pretty much everyone has had a go making one at some time or other :D ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] old patch to (automatically) fragment an audio buffer
See 06-timbre-ordering/order.pd in the timbreID examples. That one rearranged grains of a fixed size. order-perc.pd in the same directory does it with a bunch of percussion sounds of various length. On Mon, May 7, 2012 at 4:44 PM, johannes this_is_...@web.de wrote: apropos slices, is there a patch for rearranging slices based on audio descriptors (i.e. amplitude or spectral centroid) in pd? jo Am 07.05.12 22:04, schrieb João Pais: might be this one: http://puredata.hurleur.com/sujet-3199-bonked-beat-slicer or maybe this one (that i made): http://puredata.hurleur.com/sujet-1953-sample-slicer-user-selectable-slices if not, search the forum for 'slicer' and pretty much everyone has had a go making one at some time or other :D ah yes, that was it, as I remember. I did some edits to allow for more than 100 fragments, the files I'm using have more than that initially (which have to be mixed up together). If I have time later, I would try to implement a zoom function. For some things it has to be seen in detail. thanks, João ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PS3eye macam pix_video duplicate frames
Hi list, I've been banging my head against a wall trying to understand why I'm getting duplicate frames from the PS3seye camera using the macam-cvs-build-2009-09-25 driver. This is using Gem 0.93.3 with Pd vanilla 0.42-6 on a Macbook Pro 2.53 Ghz i5, OS 10.6.8. No matter what frame rate I set in the macam driver dialog via GEM, I get at least 2 duplicate frames. The attached patch is the simplest case with single buffer mode for the gemwin. When I bang the gemhead to see the next frame, I get duplicates using the PS3eye. When I use the built in camera, no duplicates. Can anyone with a similar setup confirm this? Thanks for any and all insight, William -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com double-PS3eye-frames.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Kinect mappings
Sorry about this, I'm working on some updates and additions (including working in pix_openni), so I've taken it down for the moment. Let me know off-list if you want it as is/in-progress. I'm planning on having it finished by early summer. On Sat, Mar 17, 2012 at 10:52 PM, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: Hans I think i looked at this before. Do you have DIlib? It seems like it's not available yet? I thought i grabbed this before but that was on linux pp From: Hans-Christoph Steiner [h...@at.or.at] Sent: Saturday, March 17, 2012 10:12 PM To: Pagano, Patrick Cc: pd-list@iem.at Subject: Re: [PD] Kinect mappings Check out William Brent's dilib: http://williambrent.conflations.com/pages/research.html .hc On Mar 13, 2012, at 1:23 PM, Pagano, Patrick wrote: Hello I am collaborating with a programmer who has developed a kinect streamer with windows SDK that sends data over udp. I am soliciting some ideas on WHAT to do with the data stream. We are thinking movies/models and midi, but I would love to hear some ideas regarding what to do with the data Cheers~ pp OSCroute_kinect4.pd___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list The arc of history bends towards justice. - Dr. Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sending macosx terminal commands from with pure data
Ahoy Sofy, For terminal commands, try the [shell] object in Pd-ext. On Wed, Mar 14, 2012 at 9:56 AM, sonia yuditskaya marysgh...@gmail.com wrote: Ahoy and Greetings, I would like to do some text to speech in a pd patch. I am running on Macosx so it seems that there is no version of the ratts external that will run on my system. However macosx itself has very excellent text to speech built in, the only twist is how to send the terminal commands from within pd. Of course actually doing text to speech from within the patch would be prime. Does anyone have experience with either of those scenarios? Sofy Yuditskaya s~ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vline~ precision, or sequentially segmented playback of a buffer
The offset of [tabread4~] was there to avoid any reading errors when the index points get too high (the whole sample is almost 7m long). So there's not option for this, but to use only the right entry? Seems like you should stick with your original approach using the right inlet for good indexing resolution, and work in a [block~ 1] subpatch to force the inlet to update every sample. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vline~ precision, or sequentially segmented playback of a buffer
I'm also wondering about the timing of tabread4~'s offset inlet being updated. I get fewer clicks by tossing most of the patch into a subpatch with [block~ 1]. I haven't checked really carefully, but that does seem to make it so that clicks only occur where there are gaps in the log.txt file. Another thing is that, even though vline~ can start ramping between block boundaries, there's still a lower limit involved. You can see in the attached patch that you can't get a period less than about 88 samples (or 44 samples for each half of the triangle wave). Seems like that shouldn't be affecting you though, since you're retriggering every ~180 samples. On Mon, Mar 12, 2012 at 5:30 AM, João Pais jmmmp...@googlemail.com wrote: Hi William, The first thing I'm wondering is if you want each segment to have the same number of samples. I see that the time to scrub through each segment is the same (181.818 ms), but then the length of segments in samples varies. I guess the pitch shift that happens from this isn't a problem? that's not a problem, later there will be some pitch correction happening (if I also get a good enough pitch shifter, but that's another subject) The original audio is a normal sample, I just replaced it with a sine for the debugging. Also, it looks like not all of the boundaries in your log.txt line up. Starting on segment 330, there are gaps now and then: 198694 207333 181.818; 210909 219994 181.818; That explains the phase discontinuities (at least some). I know this is just your abstracted problem, but maybe similar unexpected gaps exist in your main patch? :) I didn't want to write a big mail before, but don't worry about these. The fragments missing there are played by another player. But explaining much more would just look the problem I'l chasing now look more complex than it is. The main problem is really just the [vline~] output that should be continuous, but isn't. In fact, after writing this patch I recalled that I didn't save the output of the reading index into a buffer yet, to see how it looks. I'll be doing that later today. Thanks, João -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com vline-limit.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vline~ precision, or sequentially segmented playback of a buffer
Ah - very good to know, thanks! On Mon, Mar 12, 2012 at 11:43 AM, Frank Barknecht f...@footils.org wrote: Hi William, On Mon, Mar 12, 2012 at 11:32:44AM -0400, William Brent wrote: Another thing is that, even though vline~ can start ramping between block boundaries, there's still a lower limit involved. You can see in the attached patch that you can't get a period less than about 88 samples (or 44 samples for each half of the triangle wave). This actually is a limitation of [metro] which has a lower boundary of 1 millisecond. If you replace it with a metro-clone based on a feedback'd [delay] you can get lower periods. Ciao -- Frank Barknecht Do You RjDj.me? _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vline~ precision, or sequentially segmented playback of a buffer
Hi João, The first thing I'm wondering is if you want each segment to have the same number of samples. I see that the time to scrub through each segment is the same (181.818 ms), but then the length of segments in samples varies. I guess the pitch shift that happens from this isn't a problem? Also, it looks like not all of the boundaries in your log.txt line up. Starting on segment 330, there are gaps now and then: 198694 207333 181.818; 210909 219994 181.818; That explains the phase discontinuities (at least some). I know this is just your abstracted problem, but maybe similar unexpected gaps exist in your main patch? On Sun, Mar 11, 2012 at 6:05 PM, João Pais jmmmp...@googlemail.com wrote: Hello list, continuing with a topic I started some time ago (but couldn't continue the discussion), I've made a simulated version of my patch to explain the situation. The full patch is too complex, and would need audio files to be sent with it. The context is as follows: An audio file stored in a buffer is played in small segments in a forward-backward sequence. Each segment is played after the previous, with no gaps in time or reading point. First segment goes as 0 - 8638.86, 2nd as 8638.86 - 17277.7, 3rd as 17277.7 - 25916.6 , etc. All segments are triggered at the same pace, in this case 181.818 ms. You can see all the segments in the [textfile]. Ideally, the original audio file would be reproduced with no difference to the original - besides the playback pointer going forward-backward. But when playing back the segments, after the first initial moment with almost no problems (only the clicks when playback changes direction), clicks start to appear at each segment - from around sample 229K onwards. Since I'm using [vline~], I thought that the timing of the reading point related to the audio blocks wouldn't be a problem. But, if you record the output and look at the audio file, you'll see that the clicks come from a out of phase moment, and then the wave continues. My question is: am I doing something wrong with the circuit? If not, is there an efficient way of achieving a similar playback of a stored buffer? I hope everything is clear. The original patch is a monster, but this version sums up what's happening. Btw, in the original patch all the values are calculated in real time. But with the recorded version the audio sound just the same. The original audio file is 5m18s long. Will the be any round-up problems while calculating the segment coordinates to tabread4~? Thanks in advance for who has the time to read this, Joao ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [table] update notification
If you're open to using externals, [tabletool] has a change method that scans the memory of a table and reports any changed values and their indices out the two outlets. http://williambrent.conflations.com/pages/research.html#tabletool On Thu, Mar 8, 2012 at 12:38 PM, Jonathan Wilkes jancs...@yahoo.com wrote: - Original Message - From: Roman Haefeli reduz...@gmail.com To: pd-list pd-list@iem.at Cc: Sent: Thursday, March 8, 2012 8:30 AM Subject: Re: [PD] [table] update notification On Wed, 2012-03-07 at 09:15 -0800, Jonathan Wilkes wrote: Pd-l2ork has a feature where you can [r arrayname_changed] and you'll get a bang when the array is modified with the mouse. That's nice feature of Pd-l2ork. If you want a notification when using tabwrite/etc., well, when those objects receive a message to update the array, just manually send a bang to arrayname_changed when this happens. Yeah, you're totally right. If I'd build a self-enclosed patch, this wouldn't be an issue. The goal here is to create an abstraction able to keep an instance of a table in sync over network. I would like to avoid to design it in a way, that forces the user of the abstraction to actively notify it about changes. And since I also want to track manual edits, I need some kind of a watchdog anyway. So I still go for the watchdog solution, until the Pd-l2ork features make into Pd. Can you guarantee that [tabsend~] will never be sending to that array? Roman ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ordering arrays based in similarity
If you do end up treating each of your messages like a vector, the [choice] extern is good for this kind of thing. But you have to implement the weighting on your own before sending anything to it. On Sun, Mar 4, 2012 at 7:28 PM, Mathieu Bouchard ma...@artengine.ca wrote: Le 2012-03-05 à 01:37:00, ronni montoya a écrit : How can i order each one of these arrays (messages) based in its similarities? i need that the most similar ones can be neighbours, so i can trigger them in a ordered way how can i achieve this? Similarity is not just one concept, it's a wide variety of related concepts. You need to figure out in which manner you'd do it. First look at which combinations you would like to be considered completely equivalent, or very much equivalent. e.g. is the list 1 23 456 7890 as very much like the list 456 7890 1 23 ? If so, why ? (there are several possible reasons, very different from each other) __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] note detection
I don't know of any polyphonic pitch tracking object in Pd, but there's PolyPitch in SuperCollider. You could run it there and route the results to Pd via OSC. The quality of results will depend a lot on the kind of input signal you're trying to analyze. On Tue, Feb 21, 2012 at 4:17 AM, joe higham joehig...@hotmail.com wrote: Hi @ PD List I'd love to hear from anyone with some information on objects and note detection. I've been messing around with fiddle~ and sigmund~ but nothing is really precise enough. It would be fantastic to have an object that recognises pitch or pitches so as to play in chords or single notes (pitches) that then could be detected and used as needed via patches. Any suggestions? Or maybe Miller has an idea of an object or something to add to the system that could be of use? Big thanks in advance. All the best Joe (Higham) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] a tiny game of life
Ha, if you squint just right you can see all the action. On Fri, Feb 17, 2012 at 4:53 AM, Jonathan Wilkes jancs...@yahoo.com wrote: Kinda fun. -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] bonk~
Hi Joe, When you're searching for a good minvel setting, you should watch the 2nd number in the list from bonk's right outlet. Then play a few sample notes on the instrument you're trying to track to get a sense of typical velocities. The threshold setting is a little less intuitive. To find the best values for that, you have to get a sense of how the sum of growth in all frequency bands is changing over time. I made the attached patch to explain this in a class, and it might be helpful for you. You'll have to download my [tabletool] extern for it to work though, which you can get here: http://williambrent.conflations.com/pages/research.html#tabletool On Fri, Feb 10, 2012 at 10:23 AM, joe higham joehig...@hotmail.com wrote: Hi @ PD List Just a quick question to ask if someone could help me with the bonk~ object I'd be most grateful : a) Some more 'plain' information about bonk~ and it's 2 outputs. I've (naturally) read the 'help' patch on the object. b) How can I control (more precisely) the input level of this object? I did look at the terminal using a [print] object to see if I could control things a little better but, I haven't really understood the problem, and therefore the solution. I've also tried using [thresh( and [minvel( but they seem a little 'hit or miss' due to my lack of knowledge. Thanks in advance Joe (Higham) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com 01-how-bonk-works.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] bonk~
Another small comment: there's a missing [list-drip] in the patch I just posted. Here's the right one :) On Tue, Feb 14, 2012 at 11:59 PM, Miller Puckette m...@ucsd.edu wrote: .. one small comment - the 'minvel' message might not be functioning in recent versions - I have to check this. cheers Miller On Tue, Feb 14, 2012 at 11:47:49PM -0500, William Brent wrote: Hi Joe, When you're searching for a good minvel setting, you should watch the 2nd number in the list from bonk's right outlet. Then play a few sample notes on the instrument you're trying to track to get a sense of typical velocities. The threshold setting is a little less intuitive. To find the best values for that, you have to get a sense of how the sum of growth in all frequency bands is changing over time. I made the attached patch to explain this in a class, and it might be helpful for you. You'll have to download my [tabletool] extern for it to work though, which you can get here: http://williambrent.conflations.com/pages/research.html#tabletool On Fri, Feb 10, 2012 at 10:23 AM, joe higham joehig...@hotmail.com wrote: Hi @ PD List Just a quick question to ask if someone could help me with the bonk~ object I'd be most grateful : a) Some more 'plain' information about bonk~ and it's 2 outputs. I've (naturally) read the 'help' patch on the object. b) How can I control (more precisely) the input level of this object? I did look at the terminal using a [print] object to see if I could control things a little better but, I haven't really understood the problem, and therefore the solution. I've also tried using [thresh( and [minvel( but they seem a little 'hit or miss' due to my lack of knowledge. Thanks in advance Joe (Higham) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com 01-how-bonk-works.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] speaker recognition with pd ?
Ekthept when thomeone thpeakth like thith, of courthe. what if there are two of them Hmm...they might just cancel each other out. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] speaker recognition with pd ?
2. The Mel-Frequency Cepstral Coefficient (MFCC) of the FFT (Fast Fourier Transform) of a waveform is a good timbral identifier. William Brent's TimbreID objects are good instantaneous timbre identifiers using this principle, but to build up a sophisticated model of a human voice (robust enough for speaker ID) you need to work out how to build a database. For an instantaneous MFCC identifier using an internal database, check out Michael Casey's soundspotter PD external. Aside from the different analysis objects like [mfcc~], there is an object in the timbreID library that makes it easy to build a training database and make comparisons on the fly. But like Ed and others are saying - the problem is how to interpret the stored data. I never dove into the voice recognition problem, but my understanding is also that the magic is in the transitions. timbreID will help you get all the data you need if you can go the Markov model route. On the other hand, if I were going to take a stab at a simplified system based on isolated sounds, in general I'd guess that features of pure vowels would be more helpful in distinguishing between different speakers than features of sss sounds or consonants. -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] DIlib issues on OSX 10.6.x
Hi Richie, I just ran through this again with the latest versions of everything, and it still worked for me on OSX 10.6.8. You're right that there is no libusb 2.0... The first thing I'd want to double check is that you installed libtool libusb-devel via macports, and that you did the +universal for libusb: $ sudo port install libtool $ sudo port install libusb-devel +universal If that doesn't help and you want to shoot a few emails back and forth to get this going, contact me off list. We can post back here if we have some more info that's useful for others. On Sat, Sep 3, 2011 at 9:13 AM, Richie Cyngler glitch...@gmail.com wrote: Hey list, I'm trying to get my shiny new kinect setup for Pd play. I'm following WIlliam Brent's DIlib install instructions here, all was smooth sailing but I've hit a road block. I'm up to installing NITE. The directory name format seems a little different from the older version in the install instructions but I persevered and this is what I got: ...Nite-Bin-MacOSX-v1.4.1.2 thebeast$ sudo ./install.sh dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib Referenced from: /usr/lib/libOpenNI.dylib Reason: Incompatible library version: libOpenNI.dylib requires version 2.0.0 or later, but libusb-1.0.0.dylib provides version 1.0.0 ./install.sh: line 23: 98348 Trace/BPT trap niReg /usr/lib/$base /usr/etc/primesense/$fdir If I'm reading it right (and I'm probably not, because I'm not used to this command line bizzo). It's not installing because it wants libusb 2.0+. I couldn't find a version of libusb that high, plus the libusb site seems to be down. Any advice would be much appreciated. Has anyone else tried this install? Got it working? I've also read about libfreenect, would that be a better way to go (keeping in mind that the less sudoing I do the better). thanks heaps -- Richie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] gem 0.93.0
Congratulations more thanks for your work... 2011/8/26 IOhannes zmölnig zmoel...@iem.at: after long years of waiting (foir you) and hard labour (for me), Gem 0.93 has been released today. large parts of the underlying engine have been re-written to give you a better experience! binaries are available for w32 (installer zip), for the brave and adventurous there is the source code. binaries for OSX and not available yet, but we hope to get them online soonish. grab it while it's hot: http://gem.iem.at/releases/0.93.0 alternatively you can get the files from https://sourceforge.net/projects/pd-gem highlights == Objects --- frei0r video plugins support - [mesh], [surface3d],... - [separator] now takes arguments to define which stacks to push/pop documentation - - numerous bigfixes and improvements extra - - [pix_fiducialtrack] is no more part of Gem (but comes bundled with Gem) - [pix_artoolkit] fiducial tracking using ARToolKit - [pix_drum], [pix_mano]: Jaime Olivier's analysis objects! plugins --- image acquisition is now factored out into plugins this means that you can e.g. easily add new image acquisition methods to the existing [pix_video], [pix_film] and [pix_image] objects - still image loading/saving now uses plugins on all platforms on w32 you can now use ImageMagick and/or QuickTime for loading/saving images, which greatly increases the number of supported formats. you now get programmatic feedback on image loading success... - video acquisition now uses plugins on all platforms uniform way to get or set properties/attributes/controls, like hue, saturation, shutter-speed, pan,... working DV support (on linux) V4L also works with newer kernels (that dropped v4l) support for IIDC support for industrial grade GigE cameras using 3rd party libraries such as PYLON, Halcon or AVT's PvAPI experimental UNICAP support - film acquisition now uses plugins on all platforms (you could use gmerlin on w32 or osx...) - recording (film output) now uses plugins on all platforms support for V4L2 (and V4L) loopback devices, in order to generate a fake live video from your Gem window - use itfor recording, streaming,... settings global local settings files to modify the overall behaviour of Gem you don't like Gem's default framerate, windowsize, font, texture mode,...? change it once and for all internals - - API: this is the first Gem with a public API: a selection of headers that you can use to write your own Gem-plugins build-system - build system: completely switched to a proper autotools - openGL: updated bundled GLEW - source organization: re-organized the entire source tree for hopefully better maintainability lowlights = i need an OSX developer willing to spend some time in getting image acquisition and windowing to work on OSX=10.6 (x86_64) mfga,dsra 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] reverb in pd
Sorry to resurrect this old thread, but I downloaded these IRs when they were available and am wondering if they're definitely 100% free and open for any use. I have students that would want to work with them, but don't want to officially recommend that and pass the .zip on unless I can be sure there are no copyright issues. Does the original poster or anyone else know about these details? (btw, the link is now dead) On Thu, Oct 21, 2010 at 10:01 AM, saint sainti...@yahoo.com wrote: +1 on ben saylor's partconv~ - works excellently. arm yourself with the free acousticas IR's... http://www.acousticas.net/World/IRs/AcousticasM7.zip of the $3,500 bricasti m7 unit... http://www.bricasti.com/m7.html ...and you'll not go back to algorithmic reverbs again. or just get some balloons and record your own! (grab those IR's soon as it seems acousticas have gone out of business. took me a few attempts to check but the link is working.) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] reverb in pd
All good to know - thanks for the response! On Wed, Aug 17, 2011 at 3:08 PM, chris clepper cgclep...@gmail.com wrote: They did not have permission to make those IRs, but Casey from Bricasti informally said they were fine to use since they are not really close to the actual unit. Static IRs don't capture the modulation and randomization in high end reverb units (Lexicon PCM, Eventide, Bricasti) so you don't get the parts of the algorithm you pay big bucks for. That is incidentally the main difference between the reverb in a sub-$200 Lexi or TC and one costing 10x that! Plate reverbs can be pretty accurately captured and the IR takes up a lot less space than an EMT 140. The commercial plugins like Altiverb have much better samples than the freebies unfortunately. On Wed, Aug 17, 2011 at 1:11 PM, William Brent william.br...@gmail.com wrote: Sorry to resurrect this old thread, but I downloaded these IRs when they were available and am wondering if they're definitely 100% free and open for any use. I have students that would want to work with them, but don't want to officially recommend that and pass the .zip on unless I can be sure there are no copyright issues. Does the original poster or anyone else know about these details? (btw, the link is now dead) On Thu, Oct 21, 2010 at 10:01 AM, saint sainti...@yahoo.com wrote: +1 on ben saylor's partconv~ - works excellently. arm yourself with the free acousticas IR's... http://www.acousticas.net/World/IRs/AcousticasM7.zip of the $3,500 bricasti m7 unit... http://www.bricasti.com/m7.html ...and you'll not go back to algorithmic reverbs again. or just get some balloons and record your own! (grab those IR's soon as it seems acousticas have gone out of business. took me a few attempts to check but the link is working.) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] kinect external
I get the same result. Looks like a library installed via Fink? On Mon, Jun 20, 2011 at 4:59 PM, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: No love here on OSX 10.6.7 Quad core 16gb pp /Users/shree/Desktop/kinect/fux_kinect.pd_darwin: dlopen(/Users/shree/Desktop/kinect/fux_kinect.pd_darwin, 10): Library not loaded: /sw/lib/libftgl.2.dylib Referenced from: /Users/shree/Desktop/kinect/fux_kinect.pd_darwin On 6/20/11 4:16 AM, philippe boisnard philem...@mac.com wrote: Hello Hans I do that you you explain, I put the whole folder in Library/Pd, and after I start pd-extended, but fux_kinect object doesn't work, even if I have the objet [kinect] I don't understand, because, there is no problem when I read you ? p Le 20 juin 2011 à 01:22, Hans-Christoph Steiner a écrit : Basically, just unzip this, and drop the whole fux_kinect folder into /Library/Pd, and the fux_kinect object works and finds the libfreenect.0.0.1.dylib and libusb-1.0.0.dylib. ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cut audio files into very litle pieces
Thanks for mentioning it - looks like I also forgot to connect a bang to clear [list prepend] in [random-no-replacement], so it'll only work properly on the first run. In that subpatch, you can see there's an unused bang on the [t b b b b f] hanging off the right inlet - just connect that to the right inlet of the [list prepend] immediately below and it'll be fixed. I wanted to avoid any externals or abstractions, and the overflow only happens with longer files, so I didn't use [list drip]. If you're using extended though, you could also use [urn] from cyclone for the random no replacement. On Wed, Jun 1, 2011 at 5:49 AM, Jack j...@rybn.org wrote: Hello William, [list split 1] and [t l] give error: stack overflow. So the whole song can't be load in [table shuffled]. By replacing this with [list-drip], [list] and [t l] (see patch attached) it is working fine ;) ++ Jack Le mardi 31 mai 2011 à 23:22 -0400, William Brent a écrit : That's a job for [until], [tabread], and [tabwrite]. It's tedious but in the end it's just a lot of copying loops. I just made the attached patch - is that what you want? William On Tue, May 31, 2011 at 6:06 PM, oskoff lovich noi...@gmail.com wrote: Hi list! some help, i need to cut audio files into very small pieces: 50-500 ms and after to create new audio files (adding the small pieces with diferent patern) any idea?? thanks (i fond a way to do it with SOX, the cut part sox infile.wav outfile.wav trim 0 0.01 : newfile : restart ) but i would like to do with pd -- mEtaminaFreeNetRadio http://metaminafnr.hotglue.me/ http://noconventions.mobi/noish ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cut audio files into very litle pieces
I imagine that the grain dur list work like that ¿sequencily? first grain 50ms, second grain 100ms... and at the end start again The grain duration list is being drawn from randomly at the moment, but you could go sequentially and loop by using a counter instead of [random], followed by a [%] object that takes the list length at its right inlet. If you need your duration list to be longer, you might want to switch to using a table to store the values. Another thing you might want to think about is enveloping and overlapping the grains if you want to avoid clicks. Good luck! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cut audio files into very litle pieces
That's a job for [until], [tabread], and [tabwrite]. It's tedious but in the end it's just a lot of copying loops. I just made the attached patch - is that what you want? William On Tue, May 31, 2011 at 6:06 PM, oskoff lovich noi...@gmail.com wrote: Hi list! some help, i need to cut audio files into very small pieces: 50-500 ms and after to create new audio files (adding the small pieces with diferent patern) any idea?? thanks (i fond a way to do it with SOX, the cut part sox infile.wav outfile.wav trim 0 0.01 : newfile : restart ) but i would like to do with pd -- mEtaminaFreeNetRadio http://metaminafnr.hotglue.me/ http://noconventions.mobi/noish ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com sf-slicer.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Spectral focusing
I think I am looking to arrive at harmonicity through something like moving the frequencies of the partials into their closest values according to the harmonic series A while ago I started an extern that does things in the same ballpark as you're describing...maybe I can add that specific kind of processing as an option as well. If you're not up against a deadline I can let you know when I get a chance to experiment with it in the next few weeks. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Spectral focusing
Hi Zax, Maybe a straight up vocoder is too primitive for the kind of sound you're after, but who knows... For what it's worth, I have a vocoder patch in my timbreID examples package with filters that are spaced evenly in Barks. You can also tune the relative amplitudes of the filter outputs. Of course, it still might just make everything sound like a robot :) On Wed, May 25, 2011 at 9:24 PM, 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Toggle Status
I had to do this recently for a monome-ish thing. There are already good suggestions from others, but here's yet another approach: I ended up making a table and accompanying abstraction for each column of the grid so that clicking on the toggle at row N in any particular column writes to index N of that column's table. Then it's easy to check the state of all toggles in a column with [tabread]. On Sat, Apr 23, 2011 at 12:00 PM, Saul s...@atonic.com wrote: Hi All, I'm sure this has been asked many times, but nothing comes up in an archive search. I'm using a multiple toggles to activate each element of a sequence. Is it possible to interrogate the status of a toggle or in fact any gui object. Thanks for any help, /S ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] MIDI triggered samples
Sounds like there's no shortage of options here, but since you don't have to do any transposing, [tabplay~] is useful and just as low latency as a [phasor~] + [tabread4~]. It's great for long files because you don't have to worry about bit precision for the index. On Fri, Mar 25, 2011 at 6:09 PM, Jose Luis Santorcuato santorcuat...@gmail.com wrote: Hi Phil, the promised... my patch for work with korg padkontrol, easy to use, and very simple. Best José 2011/3/25 Charles Goyard c...@fsck.fr Hi Phil, Phil Stone wrote: Thanks for the suggestion, and for further clarifying (in my mind) what I'll need. I think readsf~ won't do because of the open before play requirement -- it will introduce latency and prevent re-triggering, if I'm not mistaken. It seems that readsfv~ from moonlib could do the job: it does direct-from-disk reading. I tried with a 650MB wav file with no perceptible latency. Plus keep in mind that once a file has been read, it can stay for some time in the system disk caches. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://arselectronicachile.blogspot.com http://comunicacionnativa.blogspot.com/ http://www.myspace.com/santorcuato ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] TouchOSC and Pure Data on OS X
Hi Wilfred, I've taken a look at this recently and it works fine for me using the OSC externs from mrpeach. Try: [udpreceive 8000] | [unpackOSC] | [print] From there you can see how the messages are tagged and do all of your routing/parsing. On Tue, Mar 8, 2011 at 8:28 PM, Wilfred de Zoete pured...@klankontwerp.nl wrote: I have recently purchased TouchOSC on the iPhone and have succesfully controlled Ableton Live with LiveControl and iTunes and other programs with OSCulator (AppleScript). When I try the PD-examples from http://hexler.net/software/touchosc I have no succes. When I want to open the .pd file with the most recent version of PD extended (0.42.5) I get the old watch and nothing happpens. This is also the case with older PD's I use. I got the 'basic.pd' up and running before I installed one of the other programs (LiveControl or OSCulator or TouchOSC Editor) but cannot remember which one. I know that the .pd files have a prefilled [OSCreceive] (don't remember the correct syntax) with port 8000. OSCulator has a default port of 8000 as well. So I tried a cold boot and did not start up any other program than PD. Even this did not help. Could this be the problem? Are there more people working with TouchOSC and PD? Can someone help me trying to make a new OSCreceive from scratch with the correct syntax? System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15 MBP. All software is up to date. Thanks in advance! Greets, Wilfred ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] TouchOSC and Pure Data on OS X
OSCulator is really fantastic, yes. In this case though, I think it's easier to keep things streamlined and route everything in Pd. I didn't think of it until your reply, Richie, but I made this abstraction for touchOSC's simple layout. Just invoke it with a port number [ipad-interface 8000] and you'll get all the parsed data flowing to well-named sends. For instance, to get the data from fader 4 on page 1 of the simple layout, you can receive from [r ipad-8000-p1-fader4]. Comb through the rest of the patch to see how other sends are named. On Tue, Mar 8, 2011 at 9:31 PM, Richie Cyngler glitch...@gmail.com wrote: My problem with TouchOSC was getting it to see my laptop. I haven't been able to set up a network with just the laptop and TouchOSC (though I haven't tried for a while) this is supposed to work though. As far as using OSC in Pd check out the mrpeach library. It is awesome. I'm sure it's possible to get the OSC data to come straight into Pd but in regards to getting those messages all nice and neat and easy I recommend OSCulator (I have no connection to guy making it, I just like it). It's third party software. Very easy to use and works very well. It's OSX only. I've used OSCulator for wiimotes and wacom tablets... I'm not really using OSC at the moment, so I haven't had a chance to give TouchOSC a good going over yet, but OSCulator does support TouchOSC. Hope that helps. On Wed, Mar 9, 2011 at 12:28 PM, Wilfred de Zoete pured...@klankontwerp.nl wrote: I have recently purchased TouchOSC on the iPhone and have succesfully controlled Ableton Live with LiveControl and iTunes and other programs with OSCulator (AppleScript). When I try the PD-examples from http://hexler.net/software/touchosc I have no succes. When I want to open the .pd file with the most recent version of PD extended (0.42.5) I get the old watch and nothing happpens. This is also the case with older PD's I use. I got the 'basic.pd' up and running before I installed one of the other programs (LiveControl or OSCulator or TouchOSC Editor) but cannot remember which one. I know that the .pd files have a prefilled [OSCreceive] (don't remember the correct syntax) with port 8000. OSCulator has a default port of 8000 as well. So I tried a cold boot and did not start up any other program than PD. Even this did not help. Could this be the problem? Are there more people working with TouchOSC and PD? Can someone help me trying to make a new OSCreceive from scratch with the correct syntax? System specs: iOS4.2.1 on iPhone 3G - OS X 10.6.6 on late 2008 15 MBP. All software is up to date. Thanks in advance! Greets, Wilfred ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Richie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ipad-interface.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM] OS X How to compile against SDK 10.5 in os x 10.6
../Objects/GemMan.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemModelData.cpp -o ../Objects/GemModelData.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemPBuffer.cpp -o ../Objects/GemPBuffer.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemPathBase.cpp -o ../Objects/GemPathBase.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemPixConvertAltivec.cpp -o ../Objects/GemPixConvertAltivec.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemPixConvertSSE2.cpp -o ../Objects/GemPixConvertSSE2.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemPixDualObj.cpp -o ../Objects/GemPixDualObj.o g++ -c -I.. -I/Applications/Pd-0.42-5.app/Contents/Resources//src -DHAVE_CONFIG_H -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 -falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx -fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk GemPixImageLoad.cpp -o ../Objects/GemPixImageLoad.o GemPixImageLoad.cpp:71: error: ‘GraphicsImportComponent’ was not declared in this scope GemPixImageLoad.cpp: In function ‘imageStruct* image2mem(const char*)’: GemPixImageLoad.cpp:97: error: ‘GraphicsImportComponent’ was not declared in this scope GemPixImageLoad.cpp:97: error: expected `;' before ‘importer’ GemPixImageLoad.cpp:105: error: ‘struct FSSpec’ has no member named ‘name’ GemPixImageLoad.cpp:107: error: ‘struct FSSpec’ has no member named ‘parID’ GemPixImageLoad.cpp:110: error: ‘::GetGraphicsImporterForFile’ has not been declared GemPixImageLoad.cpp:110: error: ‘importer’ was not declared in this scope GemPixImageLoad.cpp:112: error: ‘struct FSSpec’ has no member named ‘name’ GemPixImageLoad.cpp:116: error: ‘importer’ was not declared in this scope GemPixImageLoad.cpp:116: error: ‘QTImage2mem’ cannot be used as a function GemPixImageLoad.cpp: At global scope: GemPixImageLoad.cpp:213: error: redefinition of ‘imageStruct* QTImage2mem’ GemPixImageLoad.cpp:71: error: ‘imageStruct* QTImage2mem’ previously defined here GemPixImageLoad.cpp:213: error: ‘GraphicsImportComponent’ was not declared in this scope make[1]: *** [GemPixImageLoad.o] Error 1 make: *** [Base] Error 2 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Making boring techno music is really easy with modern tools, he says, but with live coding, boring techno is much harder. - Chris McCormick ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sigmund~ and tracks.
Ok, a Windows binary of [pitchEnv~] is up on my site: http://williambrent.conflations.com/pages/research.html#pitchEnv I hadn't put up Windows or the source yet because I was still in the middle of working on it, but I think it's fine so that's all up now. Let me know off list if you have issues with it. On Wed, Feb 16, 2011 at 4:03 PM, J bz jbee...@gmail.com wrote: Hey William, Appreciate the involvement... Unfortunately I'm on W7 atm. My main patch uses the MSD lib and after what I thought was a trivial problem with using it in Puredyne (my regular distro), last Nov, MSD is still not working for me. Fortunately I bought a 2nd hand lappy with W7 on it early Dec, so have been working in that since. The instrumentalist is a Mac guy but that doesn't help me prepare the piece. So yeah, a long way round of asking do you have a windows version? Funnily enough I was nosy'ing around your site a couple of months ago and d/l'd the timbre ID lib for further research. Looks well good:) Best wishes, Julian On 16 February 2011 19:02, William Brent william.br...@gmail.com wrote: Good to know about the reason for the 1Mhz maxfreq... Not really sure what to do with the viola d'amore source sounds if they are just not going to be stable. I think if you can settle for fewer harmonics and work out the flag logic there's hope yet. Another thing that occurred to me is that since the scratchy noise part of the viol sound is likely what's making the tracking jumpy, you could try to remove the noise. I've been working on an external that lets you rescale the amplitudes of harmonics in a pitched signal. There's an early draft on my website - it's called [pitchEnv~]. Using that, I scaled all the harmonics of your sample to 0, so that all the pitch related components are erased from the signal. The attached wav file is what's left...basically all the scratchy noise. Then I tried subtracting that noise from the original signal (delayed slightly based on the time it takes to do this analysis), and it did clean up the noise some. It wasn't perfect, but with some work this could produce a signal you send to [sigmund~] that would be more easily tracked out. I might have time to fiddle with that later, but if you download [pitchEnv~] you can give it a shot too. William -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] NYC Patching Circle next Thursday 2/24, 6-9pm
Hi Hans, I'd like to make it up to this next week, but I'm not sure it's possible yet. Will this be a monthly tradition or anything that I can count on in the future? On Thu, Feb 17, 2011 at 8:19 PM, Hans-Christoph Steiner h...@at.or.at wrote: Join us at General Assembly, which just hosted the Music Hack Day next Thursday evening! We'll be back at it, hacking on all sorts of digital media and music things from kinect cameras to musical instruments. http://puredata.info/community/NYCPatchingCircle We spend enough time alone staring at our computers; we are proposing to work together. So often issues that arise when working can be solved with a quick two minute discussion that would take hours to solve alone. We have Dorkbot to see people's work, we have Share where anyone can play, we have workshops and universities to learn from. This is a meeting where we all can come to work. This is an informal gathering of patching and patchers (Pd, Max/MSP/ Jitter, and even , Eyesweb, Labview, etc.). Beginners and Experienced welcome. Open to everyone, students, the public, etc. Work on personal projects, professional projects, school projects, ask for help, help others, or just patch quietly to yourself, in a room full of other people patching patches and helping other people patch. Thursday 2/24 6-9pm Free! Directions -- Patching Circle, http://puredata.info/community/NYCPatchingCircle General Assembly, http://www.generalassemb.ly/ Thursday, Feb 24th, 6-9pm 902 Broadway, 4th Floor Flatiron District New York, NY 10010 Tel. 212.937.6580 (Eyebeam) or 347.850.4872 (Hans) ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] [PD announce] timbreID spectrograms
Thanks a lot Jamie. If you have any suggestions or requests, they're always appreciated. On Wed, Feb 16, 2011 at 8:24 AM, Jamie Bullock ja...@postlude.co.uk wrote: Ditto, this is great work William, as is the rest of timbreID. Wonderful! Thanks for sharing, Jamie On 14 Feb 2011, at 23:01, Ed Kelly wrote: Your PD externals are exactly what we need! I was dreaming of some, but I don;t have the math. BRAVO Ed Metastudio 4 for Pure Data - coming soon! Metastudio 3 still available at http://sharktracks.co.uk/puredata - Original Message From: William Brent william.br...@gmail.com To: PD-List pd-list@iem.at Sent: Mon, 14 February, 2011 4:48:49 Subject: [PD] [PD announce] timbreID spectrograms Hi, If anyone needs to plot spectrograms, I just updated the timbreID examples with improved plotting patches. The old patches used structs, which were really really slow to draw. The new ones rely on GEM and are much more useable. You can plot cepstrograms as well. I also recently added a classic vocoder patch based on a Bark-spaced filterbank. You'll need the latest version of timbreID for all of this to work. If you're interested, the library example patches can be downloaded in separate packages here: http://williambrent.conflations.com/pages/research.html#timbreID -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD announce] timbreID spectrograms
Sure, I'm glad this will be useful to someone other than me. And for the record, I'm still working on the color mapping in the spectrogram patch. It's a bit too dark at the moment, so that might be updated soon. On Mon, Feb 14, 2011 at 9:50 PM, Jarbas Jacome jand...@gmail.com wrote: great job! thanks jjR On Mon, Feb 14, 2011 at 1:48 AM, William Brent william.br...@gmail.com wrote: Hi, If anyone needs to plot spectrograms, I just updated the timbreID examples with improved plotting patches. The old patches used structs, which were really really slow to draw. The new ones rely on GEM and are much more useable. You can plot cepstrograms as well. I also recently added a classic vocoder patch based on a Bark-spaced filterbank. You'll need the latest version of timbreID for all of this to work. If you're interested, the library example patches can be downloaded in separate packages here: http://williambrent.conflations.com/pages/research.html#timbreID -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sigmund~ and tracks.
I'm not completely clear about the continuation flags? I can see from the help file that they're there but what do they mean? On every analysis period, several track reports are output in a burst. These provide the frequency and amplitude of what [sigmund~] considers the most important components in the spectrum. It does its best to find continuity between the components in the current frame and those in the previous frame. Of course, sometimes it fails to connect things nicely, sometimes there are new components that weren't there last time, and sometimes old components disappear. That's why each track report has its own flag. If it's a new track that flag will be 1. If it's a continuation of a previously existing track, the flag will be 0. So you can do some patching logic to make sure that continuing track information is always routed to the appropriate oscillator in your bank (i.e., the one that is already tuned to roughly that frequency). If you have a new track with a flag of 1, you'd want to send that track information to a silent (currently free) oscillator in your bank, and fade it up to the desired amplitude so that you don't hear a click from sudden change in frequency. Perhaps this should be a new thread but why does sigmund have a frequency range of 100,000hz, and what would be a decent useable range from practical experience? Strange - I never read that part of the help patch carefully. It's even stranger because it actually says the default maxfreq is 1,000,000 Hz, not 100,000. I'll assume there's a good reason for this that I'm just missing. But otherwise I think I'm understanding that setting in the same way you are: it puts a cap on the highest spectrum component that you want [sigmund~] to report. Assuming that's correct, I'd say you're safe capping it at 15kHz. That'll keep the number of oscillators you need practical without losing serious high end detail. But I think the best advice is to trust your ears...with some sounds (like speech) you might not be disturbed if you cap it at 10kHz. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sigmund~ and tracks.
Hi Julian, I just looked at the patches and I hear what you're talking about now. The erratic changes are because it's really hard to get nice smooth tracks by analyzing this kind of signal. With violin samples I got useable results, but the rougher timbre of your viol has a lot of high frequencies that emerge and disappear unpredictably. I think that getting 48 stable tracks out of it is probably a lost cause...even with only 10 it was pretty bad with sigmund~'s default settings. The only way I could imagine improving things is to use the flag that shows up with each track list to indicate whether it's a new track or a continuation of an old one. With that information, you could try fading in new tracks on free oscillators in the bank to avoid the sudden discontinuity when frequency jumps by a huge amount. Data from a continuing track could safely be sent to the same oscillator. I guess you could also EQ it to get rid of those unpredictable high frequencies - I plotted the spectrogram and the most troublesome ones are above 2500Hz. Of course, that would also put a big damper on the timbre you're interested in... I wish I had a great solution for you, but this is a tough one. Assigning frequencies to specific oscillators in your bank based on track flags really seems like the best bet. On Fri, Feb 11, 2011 at 4:54 PM, J bz jbee...@gmail.com wrote: Right then, I have only sent one sample only: '7_45_A_violadamore.wav' (7-string number, 45-midi number, A-note) which you will need to send into sigmund~ - I'm using [throw~ viola_samples] to get it in. From sigmund~ it goes into '[pd sine_output] then thrown to [sines] which has a switch~, top right. I'm using GEM and MSD to create a 'swarm' which has the partials mapped to it so I haven't included my output~ as that would mean including loads of extra files. So you will need an output~ to [catch~] the 2 track [throws~] [throw~ revsound_L] [throw~ revsound_R] I suppose it's quite possible that as your not receiving any pan info the audio will be stuck either left or right anyway? What I was trying to achieve with the [attdec_gen2] inside [sine_rev_gen_2] was a simple attack and decay but what is happening is that they are being triggered all the time, aargh. I would really like the amp and freq from sigmund~ to be as quick and as smooth as possible, so any assistance with that will be hugely helpful. As I'm not hugely confident in my programming abilities please point out any obvious mistakes and any and all tips and tricks/elegant solutions gratefully accepted. Really appreciate the help people. Cheers, Julian On 11 February 2011 21:18, J bz jbee...@gmail.com wrote: Hey William, Many thanks for offering to have a look at this for me. I'm currently trying to extricate the offending section out of what has now ballooned up into a very involved patch (certainly for me anyway). In the process of doing this I have realised that I am mistakenly constantly sending attacks and decays to the[osc~]'s. It would probably be best for me to just send it 'as is' rather than trying to sort it out. I'm somewhat in over my head with this as it is (maybe not always a bad place to be) and could really do with some advice/help/coding-elegance as my brain is starting to melt. Mathieu, If you mean the tuning of the viola, yes it's the standard D Maj tuning, low to high A D A D F# A D. Very best wishes, Julian P.S. Back soon On 10 February 2011 23:16, Mathieu Bouchard ma...@artengine.ca wrote: On Thu, 10 Feb 2011, William Brent wrote: I'm doing a piece with a viola d'amore (7 string viol) Oops, that's not a violin :) I don't know the lowest note on that one offhand... Is everybody only ever using the default tuning on those things ? ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sigmund~ and tracks.
I'm doing a piece with a viola d'amore (7 string viol) Oops, that's not a violin :) I don't know the lowest note on that one offhand... ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Sigmund~ and tracks.
Could you make a simple example patch that demonstrates the rhythmicized/pulsed result that you don't like? Without knowing exactly what's going on in your patch, my first question would be whether or not you're smoothing the frequencies and amplitudes with a [line~] or something else. Maybe sudden changes due to fleeting tracking errors cause glitches that pulse in sync with the analysis period? With a violin as input you should get a reasonable enough spectrum to get stable harmonic tracking with a window much smaller than 65536. The low G on a violin is 196Hz, so the bin spacing you'd get with -npts 4096 would give plenty of resolution for catching multiples of that fundamental and higher ones, and only 92ms of extra delay. The hop setting you choose will just affect how often the information is updated (and CPU usage too). You should expect to deal with some temporary tracking errors during moments like attacks, where components of the spectrum won't be in a perfectly harmonic relationship. Going beyond 131072 points using Pd's built-in mayer_fft() has given me garbage as output in the past. Maybe someone else knows something about this limitation? On Wed, Feb 9, 2011 at 11:41 AM, J bz jbee...@gmail.com wrote: Hi all, I'm doing a piece with a viola d'amore (7 string viol) where [sigmund~] is analysing the live input and feeding 48 tracks/partials to a bank of 48 [osc~] for resynthesis and a bit of jiggery-pokery, mainly reversing the amplitudes so the quietest partials are the loudest and vice versa. The viola is playing long(ish) single notes between 1-3 seconds and the problem I am having is that when sigmund processes the partials they come out rhythmicised/pulses which seems to be a combination of the 'hop' and 'npts' settings. As the values for hop and npts get higher the pulses get longer up until my current huge setting: [sigmund~ -npts 65536 -hop 65536 -npeak 48 tracks] when the partial frequencies balance out into steady lines. I have also tried -hop 131072 which works too but trying that with the -npts completely locks pd. The problem I have now is that there is a significant delay between the beginning of the processing in comparison to the viola and worse still is the overlap after the viola has stopped playing. Also the viola notes are indeterminate so I can't just set a cutoff to sync the two together. I could use the input of the viola to gate the tail of the processing but I am currently using a combination of [env~] and [lop~] so that as the performer plays his amplitude controls the processing in reverse, so when he's loud the processing is quiet etc. I suppose I can add another layer on top of the end I am aware that the gap between the two sounding events is caused by the huge window sizes I am using and that there may well be no way around this to get the kind of sound from the processing I'm looking for, i.e. without the pulses, but I am wondering if anyone has any tips and tricks I can apply to try and bring the two sounds, viola and processing, closer together. Or ideally some way of achieving the smoother processing with lower npts and hop settings. This is for a live performance btw. All good wishes, Julian ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tempo midi syncing...?
there seemed to be a lot timing jitter with its original [metro 150]. You could audibly tell that the time between each beat wasn't always identical (not sure why this would be?). Hmm...I guess we'd have to see what's going on in the patch, because there's no doubt that [metro] puts out bangs at a steady rate. Even at faster speeds, it's steady enough to reliably control waveform periods as in 3.audio.examples/C04.control.to.signal.pd. -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_motion_sector on linux
Have you tried the Makefile Hans put out there a while back? It should let you compile just pix_motion_sector without having to recompile it embedded in GEM's pixes directory. Here's the link to that post: http://www.mail-archive.com/pd-list@iem.at/msg36532.html 2010/12/10 IOhannes m zmölnig zmoel...@iem.at: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/10/2010 07:29 PM, Yvan Volochine wrote: ./Gem.pd_linux: undefined symbol: _ZN3gem3RTE5Array4sizeEv Gem: can't load library should be fixed in current svn (i forgot to commit a change in the build-system) fgamdr iOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0CcxMACgkQkX2Xpv6ydvRB3wCg0VQUzdKUvHhBwBx1GD2kZbxr 23AAoI62GbcXYGaPoN2w6ZxavhUl+JLt =Exw0 -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] wav file export from table
Hi all, Do any of the libs in Pd-extended have an object for writing audio from a table directly to a wav file in non real time? -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Colour tracking
Maybe you're only interested in working on a native GEM solution, but Jaime Oliver made an external for this a few years back. You can get it at his website, under the software tab: http://www.jaimeoliver.pe On Fri, Dec 3, 2010 at 10:50 AM, John Canning johnnyboy7...@hotmail.co.uk wrote: Hi Folks, I've been trying to do some colour tracking, just tracking a red object for the moment, although I do eventually want to be able to tack three different coloured objects. Here is the patch I have been working on. I've got some info from the mailing list which has informed this patch but (as you can see) I haven't been able to decipher the info enough to get the patch working. Any help would be appreciated. Cheers, John ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd 20% idle CPU usage on MBP
I don't know if this point has been raised in past appearances of this issue, but for the record: I've noticed a drop to less than 10% idle when I'm running sound out of my MOTU 896 or Ultralite rather than built-in hardware. William On Thu, Oct 28, 2010 at 1:13 PM, brandon zeeb zeeb.bran...@gmail.com wrote: Seriously, use Jack, and watch the CPU usage drop significantly. On Thu, Oct 28, 2010 at 1:06 PM, Bernardo Barros bernardobarr...@gmail.com wrote: sorry for the speculation. I really did not go deeper into this, I just used linux and less pd. but 20%cpu is a serious bu anyway. 2010/10/28 Mathieu Bouchard ma...@artengine.ca: On Thu, 28 Oct 2010, Bernardo Barros wrote: I get this bug since 2005 on the mac... maybe related to a broad issue in gui-pd communication? You'd have to justify that. I don't think it can have to do with anything except the DSP engine and/or PortAudio (did anyone investigate this ?) ___ | Mathieu Bouchard -- Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pix_filmDarwin
Hi, Sorry if this is common knowledge, but I can't find any information about pix_filmDarwin. The regular pix_film has always seemed to work fine for me, but maybe pix_filmDarwin is the natural selection for Mac OS 10.6.4? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pix_film buffering
Hi, Can someone help me get a basic idea of how pix_film buffers video files? I made a patch for cueing up sections of a large video (60 minutes, at a ridiculous resolution of 3840 x 1080), and I'm wondering if there's anything I should be aware of in order to minimize the delay involved with jumping to specific points. Does pix_film buffer a certain number of frames before it starts playback? I'm using [line] into the right inlet to play through the requested range of frames. -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] error: resize failed
I actually lose sleep over this. IOhannes had a helpful response when I brought it up a while ago, and you can follow the thread here: http://www.mail-archive.com/pd-list@iem.at/msg31748.html Sounds like it won't be fixed anytime soon, so I just resize the table to the right amount manually beforehand. Is there an extern for getting soundfile info (e.g., number of frames) without actually loading audio? That would make this issue pretty easy to manage. William On Wed, Oct 13, 2010 at 7:20 PM, tim vets timv...@gmail.com wrote: Hello, I have a list of *.wav files to be played in sync with their corresponding video files. I load them into tables to play them with tabread~ Most of the time it works, except for some files, where I get error: resize failed and they won't play back. The files are relatively big (between 30 and 100 MB), but I put -maxsize 999 in the loading message. (This should allow to load wave files up to 3.7 minutes long, right ? I do not get the truncated warning...) The wavs are created using ffmpeg to extract the audio from the video files. I tried re-encoding the offending wav file in Audacity, with still the same result. The offending files are not necessarily the biggest ones. more strange stuff: The table that should hold the wav file shows a flat line which ends halfway the table, the rest is blank. When opening the properties for the table, and trying to copy the 23151200 in the 'size' entry, I get error: .gfxstub8585b30.n.entry: no such object, although it seems to copy to the clipboard alright. Pd version 0.41.4-extended ubuntustudio Hardy any ideas ? thanks, Tim ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] array comparison
I haven't looked at your patch, but you could do this fairly easily using [tabletool]. In the case of one table, you can store the snapshot of old values in a table (called old-snapshot), then, if the new data is in a table called current-data, do [subtract old-snapshot( | [tabletool current-data] You'll get the difference between the tables out of [tabletool]'s right outlet, which you can write to a third table, then use the [abs( and [sum( functions in [tabletool] to get an indication of how much change there actually was. Instead of absolute value, you could also square everything, sum it, and take the square root. Either way, you'll get a single number that indicates how much the current data differs from the old. William 2010/10/13 cristiano figueiró crisli...@gmail.com: Hi list, I'm with a little problem here: In the attached patch, imagine that the arrays are probabilities of something (i.e. pitches), i would like to automate something that would have the output: array1 is more stable than array2 and thinking that the array would be changing it's values in real-time, this comparison would be between an old snapshot and actual snapshot of the same array. I'm in deep trouble? :p Thanks for help :) Cristiano ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PS3 eye, Pix_video, low latency
Yeah, I was just asking Jaime about this last week. Setting color to RGBA made it go from unusable to perfect on my 10.6 Pd vanilla setup. On Wed, Oct 13, 2010 at 3:02 PM, Jaime Oliver jaime.oliv...@gmail.com wrote: also, william got better results with rgba On Wed, Oct 13, 2010 at 12:01 PM, Jaime Oliver jaime.oliv...@gmail.com wrote: have you tried the latest cvs build of the macam driver? http://sourceforge.net/projects/webcam-osx/files/ J On Wed, Oct 13, 2010 at 2:38 AM, Jean-Marie Adrien j...@jeanmarie-adrien.net wrote: Hi Using a PS3 eye on Mas osX 10.6 : - with the macam program, out of PD, the response of the camera is very fast, - inside GEM, (pix_video) the latency is half a second, as much as with DV camcorders. I know this seems to be a recurring issue : Anyone has a way to get a quick response with pix_video in GEM OsX ? Any solution in pdp ? Is it necessary to switch to linux, DC cameras and complex drivers ? Any hint ? JmA ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR www.jaimeoliver.pe 858 750 0924 (cel) 858 202 1522 (home) -- Jaime E Oliver LR www.jaimeoliver.pe 858 750 0924 (cel) 858 202 1522 (home) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] array comparison
Oops - it's even easier: I forgot that I included convenience methods that do all of these operations in one shot. All you need is: [euclid old-snapshot( | [tabletool current-data] You'll get the single number out of the left outlet. That's the square/sum/sqrt method. The [taxi( method does the sum of absolute values. 2010/10/13 William Brent william.br...@gmail.com: I haven't looked at your patch, but you could do this fairly easily using [tabletool]. In the case of one table, you can store the snapshot of old values in a table (called old-snapshot), then, if the new data is in a table called current-data, do [subtract old-snapshot( | [tabletool current-data] You'll get the difference between the tables out of [tabletool]'s right outlet, which you can write to a third table, then use the [abs( and [sum( functions in [tabletool] to get an indication of how much change there actually was. Instead of absolute value, you could also square everything, sum it, and take the square root. Either way, you'll get a single number that indicates how much the current data differs from the old. William 2010/10/13 cristiano figueiró crisli...@gmail.com: Hi list, I'm with a little problem here: In the attached patch, imagine that the arrays are probabilities of something (i.e. pitches), i would like to automate something that would have the output: array1 is more stable than array2 and thinking that the array would be changing it's values in real-time, this comparison would be between an old snapshot and actual snapshot of the same array. I'm in deep trouble? :p Thanks for help :) Cristiano ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd for Halloween
Hmmm...after seeing the cake, I'm thinking of a multi-person costume with patch cords. On Fri, Oct 8, 2010 at 10:59 AM, Hans-Christoph Steiner h...@at.or.at wrote: I'm on a train so no internet, but I am a big fan of the Pd cake that's used for the cover of the FLOSS manuals Pure Data book. Perhaps that can provide some inspiration. .hc On Oct 6, 2010, at 2:40 PM, William Brent wrote: Hi all, Has anyone ever been Pd for Halloween? Any pictures to share? I have some students that are looking for ideas. William -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Information wants to be free. -Stewart Brand -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd for Halloween
Hi all, Has anyone ever been Pd for Halloween? Any pictures to share? I have some students that are looking for ideas. William -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] markov chains?
To throw in another example: Markov chains are built in real time based on pianist input in Philippe Manoury's piece, Pluton. The patch for the piece is included in the Pd Repertory Project on Miller's website. It uses an extern called [snarkov] though, so if you're looking for a purely patch-based example it won't be useful. On Thu, Sep 30, 2010 at 2:45 PM, L.J. potaxpo...@gmail.com wrote: looking for implementations of markov chains i found http://footils.org/cms/weblog/2009/may/23/markov-chains-pure-data/ but the page seems to be gone? can anybody point me to some simple markov patches? appreciated ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PureData to C/C++ language
It's also worth mentioning that rewriting a patch as an external in C won't necessarily decrease latency or improve CPU efficiency. On Sat, Sep 25, 2010 at 8:47 PM, Mathieu Bouchard ma...@artengine.ca wrote: On Sat, 25 Sep 2010, Bernardo Barros wrote: I didn't understand your problem, but if you are looking for a simpler way to write c++ dsp code I think that he wants to write an external in C, that's all. Ankur, you could try reading http://pdstatic.iem.at/externals-HOWTO/node6.html ___ | Mathieu Bouchard -- Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] soundhack pd max externals
I agree - that would be fun. It would make them all a bit more CPU intensive though. In the meantime, you could sample a re-ranged oscillator at control rate and send that into +decimate~'s folds inlet, e.g: [osc~ 0.25] | [*~ 3] | [+~ 4] | |[bang~] |/ [snapshot~] Not the perfectly smooth control change you're looking for, I know. But the folds parameter causes distortion anyway, so you can get away with it :) William On Sat, Sep 4, 2010 at 8:49 AM, Pierre Massat pimas...@gmail.com wrote: Hi, I just wanted to give some feedback on the soundhack externals. I think they're amazing. There's a couple of them that i'll use extensively in the future for sure. So thanks again for making these available. I'd like to suggest something if you plan on developping these pd externals further (you said it's a beta release). One very cool thing about some pd object is there ability to be controlled by audio signals in a smooth and inaudible way (like [vcf~]'s center frequency). I have no idea how much work would be needed to do this, but it would be really nice to make some inputs controllable by audio signals. I'm thinking about the fold parameter in the +decimate~ object for instance, which would be awesome if it could be controlled by an oscillator. Pierre 2010/9/2 Pierre Massat pimas...@gmail.com Thanks! Pierre 2010/9/2 Tom Erbe soundh...@san.rr.com its still in beta stage... once it is solid and stable we will look at full docs. in the meantime, you can check out the spectral shapers documentation for info on morphfilter. it is identical to the plugin. http://www.soundhack.com/shapers.php chebyshev simply brings up the various chebyshev polynomials as waveshapers - giving you different flavors of harmonic distortion. put a osc~*~ into it and play with the faders, also play with the level of osc~. very handy if you want to cut through a mix :-) On Sep 2, 2010, at 6:59 AM, Pierre Massat wrote: Hi Tom, Thanks for making this available, i think i'm gonna love these externals. I was wondering whether there is any documentation about these patches. I am a little confused with two objects, the chebishev distortion (i don't really know how to use the sliders, that is i'm not able to predict what the sound will be if i move a slider) and the morphfilter (what is interesting to feed the two tables with? the spectrum of two different sounds? it doesn't sound particularly interesting if i drawn something. I guess that's one of the reasons it reads that it's complex external...). Thanks again anyway! Pierre 2010/9/1 Hans-Christoph Steiner h...@at.or.at On Wed, 2010-09-01 at 10:07 +0200, Frank Barknecht wrote: On Tue, Aug 31, 2010 at 07:44:57PM -0700, Tom Erbe wrote: We have just released the first complete version of the SoundHack externals for PD Max. ... This package is available (free) at http://www.soundhack.com/externs.php Thanks for making these avaiable. Am I right in assuming that this is free as in beer or can we expect the source code as well? Ciao Fun stuff! I hope the source will also be available so we can make Android/iPhone builds, etc. I notice that on the site, it says drop into pd/extra. But since Miller included my patch in 0.43 with the standardized user-install locations, I think most users will want to do it like this: http://puredata.info/docs/faq/how-do-i-install-externals-and-help-files-with-pd-extended .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list / tom erbe | soundhack | 608 carla way la jolla, ca 92037 / tre at soundhack dot com | http://www.soundhack.com / http://music.ucsd.edu/~tre | http://www.facebook.com/soundhack / tom erbe | soundhack | 608 carla way la jolla, ca 92037 / tre at soundhack dot com | http://www.soundhack.com / http://music.ucsd.edu/~tre | http://www.facebook.com/soundhack ___ 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] openpanel crash
Just wanted to raise this thread again while there's so much progress being made. Sorry if it's already an item on the to do list. I still get the openpanel crash consistently with OSX 10.6.4 with Pd-0.43-0test2 (as well as Pd-0.42-5). As Alexandre said, the only fix is to create a new patch with [openpanel] in it, then open the patch you actually want to use. William On Sat, May 15, 2010 at 11:04 PM, Alexandre Porres por...@gmail.com wrote: hey, I am using 10.6.3 as well... damn... well... cheers ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] pd 0.43 test 2 (first 'real' test version) released
The send/receive fields in number box properties are reversed :) 2010/8/20 Hans-Christoph Steiner h...@at.or.at: On Aug 20, 2010, at 3:46 PM, IOhannes m zmölnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/20/2010 09:21 PM, Mathieu Bouchard wrote: I get this while ./autogen.sh : i think the problem is, that my full auoconf support patch (building on what hans had done) was not fully applied originally. in the meantime this has been fixed, at least in git. i cannot currently download the release tarball (due to network speed) I think it is in Miller's git by now, but perhaps not in the test2 tarball. .hc We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Convolve in pd
I just looked at the source, and it doesn't do any multiplying in the frequency domain. It seems to route the input signal alternately to either the left or right outlet. On Thu, Jul 8, 2010 at 8:09 AM, jurgen noise@gmail.com wrote: he means [convolve~] which is part of Pd extended, from the mjlib. At least I have it here under OS X. It has no help file indeed. Cheers Jurgen On Jul 8, 2010, at 11:04 PM, IOhannes m zmoelnig wrote: On 2010-07-08 15:50, Graham Donnelly wrote: Hi All, I am currently completing my BSc in Audio Production and am wondering if anyone knows how to use the convolve object in pd-extended? how about using fft~ and friends to do the convolution. after all, it's a BSc in Audio Production :-) mfad 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 -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Tracking color with GEM+Pdp
Jaime Oliver did this color tracking extern a couple years ago: http://www.realidadvisual.org/jaimeoliver/research_colortrack.htm On Mon, Jun 21, 2010 at 9:51 AM, Olivier Baudu lamouraupeu...@gmail.com wrote: Hi, I would like to track different colors at the same time with my web cam so I've try different way. I begun in GEM with [pix_movement] and/or [pix_alpha] and/or [pix_background]. It was quite good until I wanted only one tracking. With two, it begun more complicate to configure [pix_alpha] in RGBA to dissociate the spots. So, I've tried [pdp_ctrack] which is very powerful but in some situations it would be better to process only with moving pixel. I thought [pix_2pdp] would be the solution to use [pix_movement] before [pdp_ctrack] but it seem not to work with [pix_video] in RGBA colorspace, and in YUV I loose the color information after the [pix_movement] process... (By the way, I can't have simultaneously my webcam in GEM and in Pdp with [pix_2pdp], but, maybe, it's normal) What can I do ? Is there a [pix_movement] for Pdp I didn't find yet ? Is there a way to chose precisely the color to configure [pix_alpha] ? (maybe by converting the colorspace with [pix_rgb2hsv] but what to do after ?). Of course, if you have a solution for tracking color without answering my questions, I'm still interested. :-p Thanks. 01ivier ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Tracking color with GEM+Pdp
I'm sure someone on the list will have a better solution, but what I did to compile this was to throw it into Gem's src/Pixes directory, then just make a clean build of Gem. On Tue, Jun 22, 2010 at 12:46 PM, Olivier Baudu lamouraupeu...@gmail.com wrote: Thank you Yves, Even if your [pdp_ctrack] seems to be more powerfull in my situation than [pdp_opencv_colorfilt], I've discovered Open CV library... great... Thank you too, William, [pix_colortrack] looks intersting but I'm in the same situation as Pedro... Whithout more informations in the src folder of this external's source, I realy don't know how to compile it... (But I confess that my knowledge in compilation is very poor...). 01vier. 2010/6/22 Pedro Lopes pedro.lo...@ist.utl.pt By the way: Does anyone have compiled binaries of that pix_colortrack external? (linux 32 or win 32?) Best regards, Pedro On Tue, Jun 22, 2010 at 6:32 AM, William Brent william.br...@gmail.com wrote: Jaime Oliver did this color tracking extern a couple years ago: http://www.realidadvisual.org/jaimeoliver/research_colortrack.htm On Mon, Jun 21, 2010 at 9:51 AM, Olivier Baudu lamouraupeu...@gmail.com wrote: Hi, I would like to track different colors at the same time with my web cam so I've try different way. I begun in GEM with [pix_movement] and/or [pix_alpha] and/or [pix_background]. It was quite good until I wanted only one tracking. With two, it begun more complicate to configure [pix_alpha] in RGBA to dissociate the spots. So, I've tried [pdp_ctrack] which is very powerful but in some situations it would be better to process only with moving pixel. I thought [pix_2pdp] would be the solution to use [pix_movement] before [pdp_ctrack] but it seem not to work with [pix_video] in RGBA colorspace, and in YUV I loose the color information after the [pix_movement] process... (By the way, I can't have simultaneously my webcam in GEM and in Pdp with [pix_2pdp], but, maybe, it's normal) What can I do ? Is there a [pix_movement] for Pdp I didn't find yet ? Is there a way to chose precisely the color to configure [pix_alpha] ? (maybe by converting the colorspace with [pix_rgb2hsv] but what to do after ?). Of course, if you have a solution for tracking color without answering my questions, I'm still interested. :-p Thanks. 01ivier ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Pedro Lopes contacto: j...@radiozero.pt website: http://web.ist.utl.pt/Pedro.Lopes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] finding index from table value
My tabletool extern does this. There's an [equals( function that returns the number of occurrences of a value and their indices. http://williambrent.conflations.com/pages/research.html#tabletool On Wed, Jun 9, 2010 at 9:40 PM, Alexandre Porres por...@gmail.com wrote: hi folks, is there any easy and straightforward way to find what is the index, on a table, of some value? Like by sending to some object its value? thanks alex ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd spect help
This kind of thing is what my timbreID library is built for. Using the [magSpec~] and [timbreID] objects he can train the system for the timbre of his guitar and try to track note positions. There's a new release here: http://williambrent.conflations.com/research.html#timbreID On Tue, Jun 1, 2010 at 3:55 PM, Pagano, Patrick p...@digitalworlds.ufl.edu wrote: Hi this is a FWD: Can anyone look at this and see the errors? I'm making progress in my guitar tablature writer program that I'm working for in Arturo's class. As such I have come across an obstacle I have not figured out yet. I have attached the patch to this email. Basically using the graph window that is produced by the patch I plan on differentiating between different guitar note positions using the timbre of sounds. What I need is to obtain the values that construct the graph spectrum so then I can compare the difference between notes; it seems that the information is packed, but I have not figured out a way to access it. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd spect help
Sorry! And thanks for correcting me... On Thu, Jun 3, 2010 at 9:14 AM, Michal Seta m...@artengine.ca wrote: On Thu, Jun 3, 2010 at 7:25 AM, William Brent william.br...@gmail.com wrote: http://williambrent.conflations.com/research.html#timbreID This link results in a 404 error. The correct address is: http://williambrent.conflations.com/pages/research.html#timbreID -- ./MiS -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Isolating RGB colours in GEM
Is [pix_threshold] what you want? On Sat, May 22, 2010 at 10:48 AM, Ryan Trigg ryan.tr...@gmail.com wrote: I am currently trying to find a way to isolate a colour in a live video stream. For example, if I chose red, any object in the video that does not contain red (above a certain threshold) would be black. Does such an object exist in GEM? Thanks for your help. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_motion_sector
No, no reason other than that's what I had on my machine when I compiled it :) I should update to 0.92.3 and put up the new version. I'd also like to figure out how to compile this for Linux/Windows. Before Hans bothered to make a makefile, I was just throwing my source into GEM's pixes directory and recompiling GEM as a whole so it would be embedded in the main GEM binary. I'll see if I can change the makefile and get it going on my Linux machine later today. If you don't mind, I may have a couple questions for you off-list if I run into any trouble. On Thu, May 20, 2010 at 12:02 AM, IOhannes m zmoelnig zmoel...@iem.at wrote: On 2010-05-19 22:53, William Brent wrote: site? That one was built using GEM 0.92.2. If you haven't tried is there any reason to use gem-0.92.2? minor releases only fix bugs, so 0.92.3 is (expteced to be) more stable than 0.92.2. to be precise, 0.92.3 fixed a memleak in the tracking code (pix_multiblob though) and a crasher bug. ghmasdr IOhannes -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Compressor in Pd
There's also +compand~ from the port of Tom Erbe's soundhack VST plug-ins: http://www.soundhack.com/externs.php On Mon, May 17, 2010 at 11:57 PM, Alexandre Porres por...@gmail.com wrote: Hi, anyone know of any good patches or objects for compression in Pd? thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_motion_sector
Are you getting this problem with the pre-compiled binary from my site? That one was built using GEM 0.92.2. If you haven't tried already, download the source and update the first two lines of the makefile to point to your Pd and GEM sources. It builds fine here on OSX 10.5.8, GEM 0.92-2, Pd-0.42-5. The binary works in Pd-ext 0.41-4 as well. 2010/5/19 Pagano, Patrick p...@digitalworlds.ufl.edu: i would too but i get a GEM error so it seems with this external, I assume it's related to GEM I am on a friends Mac 10.5.8 w/ Pd extended 041.4 and GEM 0.91.3 pp /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/p/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookup pix_motion_sector ... couldn't create /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookupat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookup pix_motion_sector ... couldn't create /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookup From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of Hans-Christoph Steiner [h...@at.or.at] Sent: Friday, May 14, 2010 11:43 AM To: Jack Cc: PD List; IOhannes m zmölnig Subject: Re: [PD] pix_motion_sector I'd love to see an example implementation of this as a patch, if anyone is up for it. A lot of students ask me for this kind of video tracking. It would be good to add to the video tracking examples. .hc On May 14, 2010, at 10:11 AM, Jack wrote: Le vendredi 14 mai 2010 à 06:49 -0700, William Brent a écrit : I implemented Miller's phase vocoder from the documentation in C and was amazed to see that the CPU load was exactly the same. So much for improving efficiency... But I have seen a big difference for traversing tables and lists. The process of summing the elements in a large table is much faster in an extern than with an [until] loop. In the case of [pix_motion_sector], what's the easiest way to duplicate the functionality of reporting % of pixels changed in the region? Is there an obvious way to count up the number of pixels that crossed [pix_movement]'s threshold in the cropped region? [pix_dump] ? Maybe a faster method ? ++ Jack 2010/5/14 IOhannes m zmölnig zmoel...@iem.at: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime Oliver wrote: On Thu, May 13, 2010 at 7:40 PM, Mathieu Bouchard ma...@artengine.ca wrote: On Thu, 13 May 2010, William Brent wrote: Yes - it's exactly that: an adaptation of pix_movement that lets you specify an area to analyze. That way you can use several instances to create multiple regions for triggering different events. I haven't looked at this in two years! I'll take a look at the helpfile and see what's missing/unclear. what's the difference between that, and using [pix_crop] and [pix_movement] with [pix_separator] ? Please correct me if I'm wrong, Doesn't having these as externals instead of abstractions, make it significantly faster/efficient? particularly if you have many of them? no not necessarily. the overhead for message communication between objects is usually quite small, compared to the pixel operations. you would only need [pix_crop]-[pix_movement] without the [pix_separator] (since the crop will have to allocate a new image anyhow), thus no need for the extra copying of data. the only speedup you could expect from pix_motion_sector (i haven't looked at the code), is that you wouldn't have to copy the data for cropping at all, but only use the pixels in the ROI. as for williams argument, that you need less objects, i would suggest looking into abstractions :-) it's definitely less lines of code (at a minimum 10 lines of Pd code) and still only a single object... mfgasdr IOhannes best, J _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ Pd-list@iem.at
Re: [PD] pix_motion_sector
Cool. Otherwise I would suggest the patch that Max posted earlier in this thread using [pix_crop]. The motion detection algorithm is different, but it's built from standard GEM objects. 2010/5/19 Pagano, Patrick p...@digitalworlds.ufl.edu: found it and that fixed it, sorry brain freeze From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of Pagano, Patrick [...@digitalworlds.ufl.edu] Sent: Wednesday, May 19, 2010 4:58 PM To: William Brent Cc: PD List; IOhannes m zmölnig Subject: Re: [PD] pix_motion_sector This person does not have the Gem sources, they were interested in the tracking and I was trying to show it quickly. Where is GEM 92.2? pp -Original Message- From: William Brent [mailto:william.br...@gmail.com] Sent: Wednesday, May 19, 2010 4:54 PM To: Pagano, Patrick Cc: Hans-Christoph Steiner; Jack; PD List; IOhannes m zmölnig Subject: Re: [PD] pix_motion_sector Are you getting this problem with the pre-compiled binary from my site? That one was built using GEM 0.92.2. If you haven't tried already, download the source and update the first two lines of the makefile to point to your Pd and GEM sources. It builds fine here on OSX 10.5.8, GEM 0.92-2, Pd-0.42-5. The binary works in Pd-ext 0.41-4 as well. 2010/5/19 Pagano, Patrick p...@digitalworlds.ufl.edu: i would too but i get a GEM error so it seems with this external, I assume it's related to GEM I am on a friends Mac 10.5.8 w/ Pd extended 041.4 and GEM 0.91.3 pp /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/p/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookup pix_motion_sector ... couldn't create /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookupat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookup pix_motion_sector ... couldn't create /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin: dlopen(/Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin, 10): Symbol not found: __ZNK12GemException6reportEPKc Referenced from: /Users/pat/Library/Pd/pix_motion_sector/pix_motion_sector.pd_darwin Expected in: dynamic lookup From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of Hans-Christoph Steiner [h...@at.or.at] Sent: Friday, May 14, 2010 11:43 AM To: Jack Cc: PD List; IOhannes m zmölnig Subject: Re: [PD] pix_motion_sector I'd love to see an example implementation of this as a patch, if anyone is up for it. A lot of students ask me for this kind of video tracking. It would be good to add to the video tracking examples. .hc On May 14, 2010, at 10:11 AM, Jack wrote: Le vendredi 14 mai 2010 à 06:49 -0700, William Brent a écrit : I implemented Miller's phase vocoder from the documentation in C and was amazed to see that the CPU load was exactly the same. So much for improving efficiency... But I have seen a big difference for traversing tables and lists. The process of summing the elements in a large table is much faster in an extern than with an [until] loop. In the case of [pix_motion_sector], what's the easiest way to duplicate the functionality of reporting % of pixels changed in the region? Is there an obvious way to count up the number of pixels that crossed [pix_movement]'s threshold in the cropped region? [pix_dump] ? Maybe a faster method ? ++ Jack 2010/5/14 IOhannes m zmölnig zmoel...@iem.at: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime Oliver wrote: On Thu, May 13, 2010 at 7:40 PM, Mathieu Bouchard ma...@artengine.ca wrote: On Thu, 13 May 2010, William Brent wrote: Yes - it's exactly that: an adaptation of pix_movement that lets you specify an area to analyze. That way you can use several instances to create multiple regions for triggering different events. I haven't looked at this in two years! I'll take a look at the helpfile and see what's missing/unclear. what's the difference between that, and using [pix_crop] and [pix_movement] with [pix_separator] ? Please correct me if I'm wrong, Doesn't having these as externals instead of abstractions, make it significantly faster/efficient? particularly if you have
Re: [PD] pix_motion_sector
I implemented Miller's phase vocoder from the documentation in C and was amazed to see that the CPU load was exactly the same. So much for improving efficiency... But I have seen a big difference for traversing tables and lists. The process of summing the elements in a large table is much faster in an extern than with an [until] loop. In the case of [pix_motion_sector], what's the easiest way to duplicate the functionality of reporting % of pixels changed in the region? Is there an obvious way to count up the number of pixels that crossed [pix_movement]'s threshold in the cropped region? 2010/5/14 IOhannes m zmölnig zmoel...@iem.at: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime Oliver wrote: On Thu, May 13, 2010 at 7:40 PM, Mathieu Bouchard ma...@artengine.cawrote: On Thu, 13 May 2010, William Brent wrote: Yes - it's exactly that: an adaptation of pix_movement that lets you specify an area to analyze. That way you can use several instances to create multiple regions for triggering different events. I haven't looked at this in two years! I'll take a look at the helpfile and see what's missing/unclear. what's the difference between that, and using [pix_crop] and [pix_movement] with [pix_separator] ? Please correct me if I'm wrong, Doesn't having these as externals instead of abstractions, make it significantly faster/efficient? particularly if you have many of them? no not necessarily. the overhead for message communication between objects is usually quite small, compared to the pixel operations. you would only need [pix_crop]-[pix_movement] without the [pix_separator] (since the crop will have to allocate a new image anyhow), thus no need for the extra copying of data. the only speedup you could expect from pix_motion_sector (i haven't looked at the code), is that you wouldn't have to copy the data for cropping at all, but only use the pixels in the ROI. as for williams argument, that you need less objects, i would suggest looking into abstractions :-) it's definitely less lines of code (at a minimum 10 lines of Pd code) and still only a single object... mfgasdr IOhannes best, J _ _ __ ___ _ _ _ ... | 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvtC0wACgkQkX2Xpv6ydvTVNwCgot+wBAkpacUIHBFR3Fg5OmWV xhAAoITZ7wN077ETVr58rSVE9iunYybB =jYk3 -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabletool
Thanks for looking. The multiple object library vs. single multi-function object question is a good one. Personally, it just seems more tidy to me this way, and I don't believe there's any downside to having all the functions packed into one extern. All the memory is allocated per function, so if you only use the sum function, (I think) it shouldn't be significantly different than a separate extern for summing. There is definitely something more Pd-ish about the multiple objects though. I'm open to changing it... For now I'll start using it and see if I ever have a desire to make it the other way. On Fri, May 14, 2010 at 8:50 AM, Hans-Christoph Steiner h...@at.or.at wrote: Looks like a super useful library. My question to you is why did you decide to make it a single object with messages for the actions? IMHO, it should be a library of objects. The library would be called 'tabletool', then instead of messages, they functions would be objects. Having all the answers to the messages come out the signal outlet would make it hard to parse the data. They could be something like the math objects but for tables. I am thinking something like: [bang( | [tabletool/mean table-1] | [bang( | [tabletool/min table-1] | [10( | [tabletool/equals table-1] | [0.5( | [tabletool/nearest table-1] | .hc On May 13, 2010, at 6:27 PM, William Brent wrote: Hi list, I've been meaning to make this extern for a long time, and today was the day. It's a table manipulation tool that covers the top items on my table wish-list for now. I'm sure there are plenty more things to add. There is a lot of redundant functionality with list-abs and some with zexy (like table dumping). Here's a link where you can download the extern source, and a list of functions. It's hot off the press and not tested, so if anyone has time to check it, let me know of bugs and I'll correct them. I hope this ends up being useful for someone besides me... http://williambrent.conflations.com/pages/research.html#tabletool - dumping a table to a list - reporting the length of a table - offsetting (adding a constant to all values) - scaling (multiplying all values by a scalar) - curve smoothing - shifting values forward or back by index - shuffling values randomly - sorting values low to high - reversing - inverting - normalizing to a specified range - normalizing so values sum to 1.0 - copying a source table to a target table - copying a specified range of a source table to a target table - lacing alternating values from two tables into one table - table sum - table mean - table arithmetic mean - table geometric mean - table integration - table differentiation - counting occurrences of a value - index (or multiple indices) of a particular value -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_motion_sector
I'll update the helpfile for [pix_motion_sector] to include a subpatch that does the same thing with [pix_crop], [pix_movement], and [pix_dump]. I think I might also change the source and try taking the distance between current/previous frames using all RGB info instead of a greyscale approximation. The speed issue aside, that may be a significant difference from [pix_movement] worth investigating. On Fri, May 14, 2010 at 8:43 AM, Hans-Christoph Steiner h...@at.or.at wrote: I'd love to see an example implementation of this as a patch, if anyone is up for it. A lot of students ask me for this kind of video tracking. It would be good to add to the video tracking examples. .hc On May 14, 2010, at 10:11 AM, Jack wrote: Le vendredi 14 mai 2010 à 06:49 -0700, William Brent a écrit : I implemented Miller's phase vocoder from the documentation in C and was amazed to see that the CPU load was exactly the same. So much for improving efficiency... But I have seen a big difference for traversing tables and lists. The process of summing the elements in a large table is much faster in an extern than with an [until] loop. In the case of [pix_motion_sector], what's the easiest way to duplicate the functionality of reporting % of pixels changed in the region? Is there an obvious way to count up the number of pixels that crossed [pix_movement]'s threshold in the cropped region? [pix_dump] ? Maybe a faster method ? ++ Jack 2010/5/14 IOhannes m zmölnig zmoel...@iem.at: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaime Oliver wrote: On Thu, May 13, 2010 at 7:40 PM, Mathieu Bouchard ma...@artengine.cawrote: On Thu, 13 May 2010, William Brent wrote: Yes - it's exactly that: an adaptation of pix_movement that lets you specify an area to analyze. That way you can use several instances to create multiple regions for triggering different events. I haven't looked at this in two years! I'll take a look at the helpfile and see what's missing/unclear. what's the difference between that, and using [pix_crop] and [pix_movement] with [pix_separator] ? Please correct me if I'm wrong, Doesn't having these as externals instead of abstractions, make it significantly faster/efficient? particularly if you have many of them? no not necessarily. the overhead for message communication between objects is usually quite small, compared to the pixel operations. you would only need [pix_crop]-[pix_movement] without the [pix_separator] (since the crop will have to allocate a new image anyhow), thus no need for the extra copying of data. the only speedup you could expect from pix_motion_sector (i haven't looked at the code), is that you wouldn't have to copy the data for cropping at all, but only use the pixels in the ROI. as for williams argument, that you need less objects, i would suggest looking into abstractions :-) it's definitely less lines of code (at a minimum 10 lines of Pd code) and still only a single object... mfgasdr IOhannes best, J _ _ __ ___ _ _ _ ... | 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkvtC0wACgkQkX2Xpv6ydvTVNwCgot+wBAkpacUIHBFR3Fg5OmWV xhAAoITZ7wN077ETVr58rSVE9iunYybB =jYk3 -END PGP SIGNATURE- ___ 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 We have nothing to fear from love and commitment. - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_motion_sector
Perfect... On Fri, May 14, 2010 at 10:08 AM, Max abonneme...@revolwear.com wrote: Am 14.05.2010 um 18:40 schrieb IOhannes m zmoelnig: On 2010-05-14 18:27, William Brent wrote: I'll update the helpfile for [pix_motion_sector] to include a subpatch that does the same thing with [pix_crop], [pix_movement], and [pix_dump]. I think I might also change the source and try taking the distance between current/previous frames using all RGB info instead of a greyscale approximation. The speed issue aside, that may be a significant difference from [pix_movement] worth investigating. btw, instead of [pix_dump] (which will kill performance), why not use [pix_mean_color]? like this? -- William Brent www.williambrent.com “Great minds flock together” Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabletool
What's more tidy about it ? You're right - not much. If you wanted the mean, sum, and length of a table, it would be 3 message boxes and one [tabletool]. Otherwise it would be 3 bangs and 3 instances of [tabltool/whatever]. Not a big difference. I guess in this case I just lean toward the method-centric side as you point out. And your point about sinesum is exactly where my leaning comes from. You can send sinesum write read const resize to a table, so there's already a history of methods there. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list