Re: [PD] fx chaining without glitch
Or use the magic of [lop~] (which I really completely understood from Andy's book Designing Sound), and the approach suggested by hans. Lorenzo. On 21/10/2011 09:08, Andy Farnell wrote: Has anyone tried a VCS3 style crosspoint patch in Pd, but then replace the cross switches with quick crossfaders? On Fri, 21 Oct 2011 08:55:22 +0200 Roman Haefelireduz...@gmail.com wrote: Hi Pat It's logical problem. You cannot have the signal path having both possible orders at the same time. If you want to switch the order, you need to re-create the path. This could be done by dynamically disconnecting wires and re-creating them in the other order. However, this causes recompilation of the DSP graph. Certainly you cannot do it with [send~]/[receive~] pairs. There will alway one pair that introduces a block size delay. They only idea I can come up with is not very scalable. You create both possible paths in parallel and switch~ them on and off as needed. However, this only guarantees not to create any DSP hickups. Turning on and off instantaneously causes some effects to create glitches (non-continuous signal). Roman On Thu, 2011-10-20 at 21:44 -0400, patrick wrote: hi everyone, i would like to make a patch with multiple fx~ _but_ is it possible to chain the fx~ and change the order without a single glitch in the dsp. as an example: [adc~] | [reverb~] | [distortion~] | [dac~] now pressing a bang and automagically: [adc~] | [distortion~] | [reverb~] | [dac~] is it possible in pd? thanks, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fx chaining without glitch
On Thu, 2011-10-20 at 23:48 -0400, Hans-Christoph Steiner wrote: I think the way you'd do it to prevent glitches is to have them in subpatches, always attached, and then turn them on and off with a [*~] and a [switch~]. How are you gonna patch this without creating DSP loops? Roman On Oct 20, 2011, at 9:44 PM, patrick wrote: hi everyone, i would like to make a patch with multiple fx~ _but_ is it possible to chain the fx~ and change the order without a single glitch in the dsp. as an example: [adc~] | [reverb~] | [distortion~] | [dac~] now pressing a bang and automagically: [adc~] | [distortion~] | [reverb~] | [dac~] is it possible in pd? thanks, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fx chaining without glitch
here's a quick example with throw~ and catch~ On Fri, Oct 21, 2011 at 4:57 PM, Roman Haefeli reduz...@gmail.com wrote: On Thu, 2011-10-20 at 23:48 -0400, Hans-Christoph Steiner wrote: I think the way you'd do it to prevent glitches is to have them in subpatches, always attached, and then turn them on and off with a [*~] and a [switch~]. How are you gonna patch this without creating DSP loops? Roman On Oct 20, 2011, at 9:44 PM, patrick wrote: hi everyone, i would like to make a patch with multiple fx~ _but_ is it possible to chain the fx~ and change the order without a single glitch in the dsp. as an example: [adc~] | [reverb~] | [distortion~] | [dac~] now pressing a bang and automagically: [adc~] | [distortion~] | [reverb~] | [dac~] is it possible in pd? thanks, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ 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 simpleRouting.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fx chaining without glitch
I think you should : 1-create all fx objects you want with a send~/receive~ pair and an ID (like a $1) for each like : [s~ fx$1-out], [r~ fx$1-in] 2-create all receives~ [r~ fxID-out] and sends~ [s~ fxID-in] 3-connected them to a [mtx_*~] object from iemmatrix (or [mtx_mul~]) 4-send messages to the matrix objects to make dynamic audio connections 5-bonus : use a switch~ inside each fx objects to turn off/on audio in parallel with matrix messages 6-test it, if it works say hurra, and send us the patch folder Jerome ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gridflow + quicktime + windows
hello I try to load a Quicktime movie into [#in] and I got the following error message error: [gf/io_generate 2767 in]: unknown suffix 'mov' I don't know what this mean? (windows 7, pd-extended 0.42.5, and gridflow-9.13-win32-i386) thanks *stéfan* ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fx chaining without glitch
On Fri, 2011-10-21 at 19:02 +0900, i go bananas wrote: here's a quick example with throw~ and catch~ This is actually a good example of how difficult / impossible it is to make it really glitch free with [send~ ] / [receive~ ], [throw~ ] and [catch~ ] respectively. During one block, you get weird results when switching. Check attached patch (your simpleRouting.pd with a grapher). Roman On Fri, Oct 21, 2011 at 4:57 PM, Roman Haefeli reduz...@gmail.com wrote: On Thu, 2011-10-20 at 23:48 -0400, Hans-Christoph Steiner wrote: I think the way you'd do it to prevent glitches is to have them in subpatches, always attached, and then turn them on and off with a [*~] and a [switch~]. How are you gonna patch this without creating DSP loops? Roman On Oct 20, 2011, at 9:44 PM, patrick wrote: hi everyone, i would like to make a patch with multiple fx~ _but_ is it possible to chain the fx~ and change the order without a single glitch in the dsp. as an example: [adc~] | [reverb~] | [distortion~] | [dac~] now pressing a bang and automagically: [adc~] | [distortion~] | [reverb~] | [dac~] is it possible in pd? thanks, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ 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 #N canvas 496 124 687 567 10; #X obj 16 151 throw~ \$0-fx1; #X obj -72 200 catch~ \$0-fx1; #X obj 62 202 catch~ \$0-fx2; #X obj -62 431 pack s \$0; #X msg -62 455 set \$2-\$1; #X msg -34 404 out; #X obj -76 502 throw~ \$0-fx2; #X msg -62 404 fx2; #X obj -60 352 r \$0-order; #X obj -60 376 sel 0 1; #X obj 94 442 pack s \$0; #X msg 94 466 set \$2-\$1; #X obj 96 363 r \$0-order; #X obj 96 387 sel 0 1; #X obj 62 509 throw~ \$0-out; #X msg 94 415 out; #X msg 122 415 fx1; #X obj 279 432 dac~; #X obj 263 144 s \$0-order; #X obj 261 107 vradio 15 1 1 2 empty empty empty 0 -8 0 10 -262144 -1 -1 0; #X text 278 107 fx1-fx2; #X text 279 123 fx2-fx1; #X obj 91 89 pack s \$0; #X msg 91 113 set \$2-\$1; #X obj 93 10 r \$0-order; #X obj 93 34 sel 0 1; #X msg 91 62 fx1; #X msg 119 62 fx2; #X obj 62 287 *~ 5; #X obj -74 286 +~ 2; #X obj 287 372 phasor~; #X obj 287 397 *~ 0.2; #X obj 287 347 mtof~; #X obj 288 304 catch~ \$0-out; #X obj -42 61 sig~ 10; #X obj 260 172 r \$0-order; #X obj 169 339 tabwrite~ glitchy?; #N canvas 0 0 450 300 (subpatch) 0; #X array glitchy? 1000 float 3; #A 0 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60 60
Re: [PD] fx chaining without glitch
yeah, so of course you ramp down the signal using line~ or vline~ before the switch. anyway, you need to do that to avoid discontinuities in the signal. On Fri, Oct 21, 2011 at 8:57 PM, Roman Haefeli reduz...@gmail.com wrote: On Fri, 2011-10-21 at 19:02 +0900, i go bananas wrote: here's a quick example with throw~ and catch~ This is actually a good example of how difficult / impossible it is to make it really glitch free with [send~ ] / [receive~ ], [throw~ ] and [catch~ ] respectively. During one block, you get weird results when switching. Check attached patch (your simpleRouting.pd with a grapher). Roman On Fri, Oct 21, 2011 at 4:57 PM, Roman Haefeli reduz...@gmail.com wrote: On Thu, 2011-10-20 at 23:48 -0400, Hans-Christoph Steiner wrote: I think the way you'd do it to prevent glitches is to have them in subpatches, always attached, and then turn them on and off with a [*~] and a [switch~]. How are you gonna patch this without creating DSP loops? Roman On Oct 20, 2011, at 9:44 PM, patrick wrote: hi everyone, i would like to make a patch with multiple fx~ _but_ is it possible to chain the fx~ and change the order without a single glitch in the dsp. as an example: [adc~] | [reverb~] | [distortion~] | [dac~] now pressing a bang and automagically: [adc~] | [distortion~] | [reverb~] | [dac~] is it possible in pd? thanks, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fx chaining without glitch
I am trying to reproduce a multi-fx pedal. So for example: enable disto: [adc | disto] enable reverb: [adc | disto | reverb] enable delay: [adc | disto | reverb | delay] disable reverb: [adc | disto | delay] reenable reverb: [adc | disto | delay | reverb] As you can see, I can't decide beforehand the order or make all the possibilities (i will have around 15 fx). Sorry for my bad explanation, I think the solution (if there is one) will be different from what was proposed? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Array Size limits
I know this question has been asked a couple of times before but i see that the posts are now quite old and, to be honest, i couldn't make sense of the replies as my understanding of puredata is somewhat limited. Basically i've been tasked with creating a patch that will accept full quality audio files, playing sections of the file back in a random order, to do this i understand that i will have to load the file into an array but the number of samples seems to be limited. Is there a way to lift this limit? I'm running windows 7 if that is relevant in any way. Thanks, Dan. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
hi daniel may this patch may help you der.brandt Zitat von Daniel Embleton crumbly.b...@hotmail.co.uk: I know this question has been asked a couple of times before but i see that the posts are now quite old and, to be honest, i couldn't make sense of the replies as my understanding of puredata is somewhat limited. Basically i've been tasked with creating a patch that will accept full quality audio files, playing sections of the file back in a random order, to do this i understand that i will have to load the file into an array but the number of samples seems to be limited. Is there a way to lift this limit? I'm running windows 7 if that is relevant in any way. Thanks, Dan. #N canvas 623 67 450 300 10; #X obj 99 107 soundfile_info; #X obj 57 46 openpanel; #X obj 57 27 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 57 66 t a a; #N canvas 0 0 450 300 (subpatch) 0; #X array testarray 100 float 2; #X coords 0 1 100 -1 200 140 1; #X restore 228 26 graph; #X obj 57 246 soundfiler; #X obj 99 129 list split 2; #X obj 134 149 list split 1; #X msg 134 171 \; testarray resize \$1 \;; #X msg 98 83 read \$1; #X msg 57 225 read \$1 testarray; #X text 114 67 first resize; #X text 68 208 writes the file; #X text 75 25 browse and open file; #X connect 0 0 6 0; #X connect 1 0 3 0; #X connect 2 0 1 0; #X connect 3 0 10 0; #X connect 3 1 9 0; #X connect 6 1 7 0; #X connect 7 0 8 0; #X connect 9 0 0 0; #X connect 10 0 5 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
If you're just playing random sections of the soundfile, you could use [readsf~] and give an onset -Jonathan From: Daniel Embleton crumbly.b...@hotmail.co.uk To: pd-list@iem.at Sent: Friday, October 21, 2011 9:17 AM Subject: [PD] Array Size limits I know this question has been asked a couple of times before but i see that the posts are now quite old and, to be honest, i couldn't make sense of the replies as my understanding of puredata is somewhat limited. Basically i've been tasked with creating a patch that will accept full quality audio files, playing sections of the file back in a random order, to do this i understand that i will have to load the file into an array but the number of samples seems to be limited. Is there a way to lift this limit? I'm running windows 7 if that is relevant in any way. Thanks, Dan. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
I think the OP wants to know what's the maximum size for an array in PD, so as to know how much audio he can fit in it unless I misunderstud his question. I made a little non-scientific test here growing a table on a linux machine with 2 GiB RAM (and quad processor @ 2.4 GHz but I think it's not so relevant for array size). The machine started to get a little less responsive at array size 4.2984e+08 that is about 2.5 (mono) hours at 48Khz sampling rate and about 2.7 hours at 44.1Khz (still mono). That would give you roughly 1 and a quarter worth of stereo audio to put in arrays. I think RAM quantity is the key here. Of course you should keep in mind extra processing etc. not just the array size. Do you know in advance how long the audio will be? If you have multiple files (instead of a single big one) you might consider using 2 or more arrays and switching between each other while loading them. Another approach might be to do the random cutting offline by splitting the big file(s) into small random chunks through a programme/script and then loading and playing those (could be another random layer there too) Also I'm not aware if there are externals to stream audio from disk, and furthermore being able to start at a discrete point in the audio Lorenzo. On 21/10/2011 17:08, Jonathan Wilkes wrote: If you're just playing random sections of the soundfile, you could use [readsf~] and give an onset -Jonathan *From:* Daniel Embleton crumbly.b...@hotmail.co.uk *To:* pd-list@iem.at *Sent:* Friday, October 21, 2011 9:17 AM *Subject:* [PD] Array Size limits I know this question has been asked a couple of times before but i see that the posts are now quite old and, to be honest, i couldn't make sense of the replies as my understanding of puredata is somewhat limited. Basically i've been tasked with creating a patch that will accept full quality audio files, playing sections of the file back in a random order, to do this i understand that i will have to load the file into an array but the number of samples seems to be limited. Is there a way to lift this limit? I'm running windows 7 if that is relevant in any way. Thanks, Dan. ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fx chaining without glitch
You could make an abstraction that includes the effects that you are interested in. So it would be a limited set. Then you can chain these freely, and switch them between the effects. .hc On Oct 21, 2011, at 2:44 AM, Roman Haefeli wrote: How are you gonna patch this without creating DSP loops? Roman On Thu, 2011-10-20 at 23:48 -0400, Hans-Christoph Steiner wrote: I think the way you'd do it to prevent glitches is to have them in subpatches, always attached, and then turn them on and off with a [*~] and a [switch~]. On Oct 20, 2011, at 9:44 PM, patrick wrote: hi everyone, i would like to make a patch with multiple fx~ _but_ is it possible to chain the fx~ and change the order without a single glitch in the dsp. as an example: [adc~] | [reverb~] | [distortion~] | [dac~] now pressing a bang and automagically: [adc~] | [distortion~] | [reverb~] | [dac~] is it possible in pd? thanks, pat ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list You can't steal a gift. Bird gave the world his music, and if you can hear it, you can have it. - Dizzy Gillespie ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PD Patch Challenge Theme Ideas
Hello all, So I've created an e-mail account for everyone to send theme ideas to: patchchallen...@gmail.com. Anyone that wants the username/password to the account can PM me for it. So the rules are loose at this point (especially since we haven't made any =). Until I can get a working version of a bot to do this we can just do this manually. Once we get a variety of options in the account I'll randomly pick one and post it for the first challenge. Please format the submissions with a title and a description of the challenge. Comments/concerns? Tyler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD Patch Challenge Theme Ideas
On Oct 21, 2011, at 12:54 PM, Tyler Leavitt wrote: Hello all, So I've created an e-mail account for everyone to send theme ideas to: patchchallen...@gmail.com. Anyone that wants the username/ password to the account can PM me for it. So the rules are loose at this point (especially since we haven't made any =). Until I can get a working version of a bot to do this we can just do this manually. Once we get a variety of options in the account I'll randomly pick one and post it for the first challenge. Please format the submissions with a title and a description of the challenge. Comments/concerns? Excellent, looking forward to these! How about making a wiki page for the instructions and details? Its easier to reference a webpage than look in the email archive. The wiki page could also reference the relevant threads in the archive. .hc Mistrust authority - promote decentralization. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gridflow + quicktime + windows
Le 2011-10-21 à 13:10:00, stéfan piat a écrit : I try to load a Quicktime movie into [#in] and I got the following error message error: [gf/io_generate 2767 in]: unknown suffix 'mov' I don't know what this mean? It means that GridFlow's file manager could not find a handler for .mov files. This probably means that you don't have one. Libquicktime support has not been added to the Windows build, and I don't remember why, but maybe it's just that I haven't tried (I only boot windows to make gridflow-for-windows). __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD Patch Challenge Theme Ideas
that's why i suggested making a section on the forum, so the details and previous threads are all in once place and easily searchable. are we still going to do that? On Sat, Oct 22, 2011 at 2:04 AM, Hans-Christoph Steiner h...@at.or.atwrote: On Oct 21, 2011, at 12:54 PM, Tyler Leavitt wrote: Hello all, So I've created an e-mail account for everyone to send theme ideas to: patchchallen...@gmail.com. Anyone that wants the username/password to the account can PM me for it. So the rules are loose at this point (especially since we haven't made any =). Until I can get a working version of a bot to do this we can just do this manually. Once we get a variety of options in the account I'll randomly pick one and post it for the first challenge. Please format the submissions with a title and a description of the challenge. Comments/concerns? Excellent, looking forward to these! How about making a wiki page for the instructions and details? Its easier to reference a webpage than look in the email archive. The wiki page could also reference the relevant threads in the archive. .hc Mistrust authority - promote decentralization. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
Le 2011-10-21 à 13:17:00, Daniel Embleton a écrit : I know this question has been asked a couple of times before but i see that the posts are now quite old and, to be honest, i couldn't make sense of the replies as my understanding of puredata is somewhat limited. Basically i've been tasked with creating a patch that will accept full quality audio files, playing sections of the file back in a random order, to do this i understand that i will have to load the file into an array but the number of samples seems to be limited. Is there a way to lift this limit? I'm running windows 7 if that is relevant in any way. You can set your own -maxsize while using the [soundfiler]. If you are in 32-bit mode, you'll have a max size limit of something between 2GB and 4GB, before pd claims out-of-memory (nowadays this can happen due to 32-bit mode, instead of because of RAM size). Be careful about the precision of numbers in [tabread~] and [tabread4~]. Use the right-inlet (available since pd 42, I think). [readsf~] is good if your files are too big, or if [soundfiler]'s startdup time is too long, or if you don't need the kind of instantaneousness that [tabread~] has. But with [readsf~] the messages take funny arguments when you want to skip any part of the sound file, because there is no easy «seek» option in milliseconds... you need to close and reopen it with six arguments, one of which is a value that you have to compute using information that you don't really have. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] very compressed chip sounds
On 10/19/2011 07:56 AM, Mathieu Bouchard wrote: Something like ((y^128)-128)/128. and some output filtering to eliminate frequencies above 1/2 of 8 khz. i have just added a few lop~, and i think it sounds quite close now. bis denn! martin #N canvas 101 287 793 443 10; #X obj -61 410 dac~; #X obj -58 113 rpole~ 1; #X msg -95 56 set 0; #X obj -59 85 sig~ 0.181405; #X obj -58 141 expr~ int($v1); #X text 44 146 counter 2 int; #X text -49 55 reset counter; #X text -3 114 counter; #X text 34 87 increment for about 8 khz rate; #X text -159 3 pd implementation of viznuts and bemmus 'one line of code symphonies' presentetd on countercomplex.blogspot.com.; #X obj -55 382 *~ 0.5; #X obj -55 339 lop~ 4000; #X obj -54 361 lop~ 4000; #X obj -55 316 lop~ 4000; #X text 10 343 filter frequencies above 4 khz; #X text -138 185 code here -; #X text 158 281 putchar \, conversion 2 unsigend char; #X text 258 26 some nice formulas:; #X text 255 48 expr~ $v16$v1($v1*$v114)+4095$v1; #X text 254 64 expr~ $v1($v14)3$v17; #X text 255 81 expr~ $v1($v17)|($v14); #X text 255 99 expr~ $v1696969*(sin($v110)); #X text 256 118 expr~ $v1(cos($v1($v17)))|($v18)|($v151|$v132) ; #X text 256 136 expr~ $v14|$v234(($v1*1.5)($v17)); #X obj -56 282 expr~ ((($v10xff)^0x80)-128)/128; #X text 259 10 expr~ $v1*(($v112|$v18)63$v14); #X text 494 9 default; #X obj -59 185 expr~ $v14|$v234(($v1*1.5)($v17)); #X connect 1 0 4 0; #X connect 2 0 1 0; #X connect 3 0 1 0; #X connect 4 0 27 0; #X connect 10 0 0 0; #X connect 10 0 0 1; #X connect 11 0 12 0; #X connect 12 0 10 0; #X connect 13 0 11 0; #X connect 24 0 13 0; #X connect 27 0 24 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
OK i've done as Mathieu suggested and used the '-maxsize' to increase the capacity of the array to 1e+009. I have no idea what this means but the patch works so i'm not too bothered for now. Thanks for all the replies gentlemen.___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
Le 2011-10-21 à 19:05:00, Daniel Embleton a écrit : OK i've done as Mathieu suggested and used the '-maxsize' to increase the capacity of the array to 1e+009. I have no idea what this means but the patch works so i'm not too bothered for now. Thanks for all the replies gentlemen. 1e+9 (with or without any zeroes after the +) means 1 multiplied 9 times by 10. that's 1*10*10*10*10*10*10*10*10*10 = 10, which is what traditionally the americans call a «billion», the brits call a «thousand million» and the french call a «milliard», and the scientists call a «giga»... or a 1e+9. You can't put much bigger numbers in there because of the overflow. In 32-bit mode, maxsize has a maximum value a bit above 2.1e+9, but [soundfiler] does not check directly for this condition... it's an unreported bug. __ | Mathieu BOUCHARD - téléphone : +1.514.383.3801 - Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Array Size limits
On Oct 21, 2011, at 3:27 PM, Mathieu Bouchard wrote: Le 2011-10-21 à 19:05:00, Daniel Embleton a écrit : OK i've done as Mathieu suggested and used the '-maxsize' to increase the capacity of the array to 1e+009. I have no idea what this means but the patch works so i'm not too bothered for now. Thanks for all the replies gentlemen. 1e+9 (with or without any zeroes after the +) means 1 multiplied 9 times by 10. that's 1*10*10*10*10*10*10*10*10*10 = 10, which is what traditionally the americans call a «billion», the brits call a «thousand million» and the french call a «milliard», and the scientists call a «giga»... or a 1e+9. You can't put much bigger numbers in there because of the overflow. In 32-bit mode, maxsize has a maximum value a bit above 2.1e+9, but [soundfiler] does not check directly for this condition... it's an unreported bug. You could report it... .hc Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD Patch Challenge Theme Ideas
It'll still be on the forums. I figured once we get some ideas in it'll be easier to see what everybody is thinking this will turn into (as far as the content of the challenges goes). Then we can write up a blurb to put as a sticky in the forums and post the first challenge at the same time. Who is allowed to setup sub-threads and create wikis on these domains? On Fri, Oct 21, 2011 at 10:15 AM, i go bananas hard@gmail.com wrote: that's why i suggested making a section on the forum, so the details and previous threads are all in once place and easily searchable. are we still going to do that? On Sat, Oct 22, 2011 at 2:04 AM, Hans-Christoph Steiner h...@at.or.atwrote: On Oct 21, 2011, at 12:54 PM, Tyler Leavitt wrote: Hello all, So I've created an e-mail account for everyone to send theme ideas to: patchchallen...@gmail.com. Anyone that wants the username/password to the account can PM me for it. So the rules are loose at this point (especially since we haven't made any =). Until I can get a working version of a bot to do this we can just do this manually. Once we get a variety of options in the account I'll randomly pick one and post it for the first challenge. Please format the submissions with a title and a description of the challenge. Comments/concerns? Excellent, looking forward to these! How about making a wiki page for the instructions and details? Its easier to reference a webpage than look in the email archive. The wiki page could also reference the relevant threads in the archive. .hc Mistrust authority - promote decentralization. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] libpd and objective c
Hi , do anybody have any experience using libpd for iphone using objective c? I cant find anything related libpd and objective c , is it possible to develop a comercial iphone app with embedded libpd and sell it in the app store. any ideas? thanks A. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] libpd and objective c
There are already multiple libpd apps in the app store. You can't use GPL libraries because of Apple restrictions, but you can use BSD licensed stuff. The libpd home includes some example code for iOS. .hc On Oct 21, 2011, at 5:35 PM, ronni montoya wrote: Hi , do anybody have any experience using libpd for iphone using objective c? I cant find anything related libpd and objective c , is it possible to develop a comercial iphone app with embedded libpd and sell it in the app store. any ideas? thanks A. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. --Bjarne Stroustrup (creator of C++) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD Patch Challenge Theme Ideas
Any account should be able to create wiki pages on puredata.info. Otherwise its a bug. .hc On Oct 21, 2011, at 4:54 PM, Tyler Leavitt wrote: It'll still be on the forums. I figured once we get some ideas in it'll be easier to see what everybody is thinking this will turn into (as far as the content of the challenges goes). Then we can write up a blurb to put as a sticky in the forums and post the first challenge at the same time. Who is allowed to setup sub-threads and create wikis on these domains? On Fri, Oct 21, 2011 at 10:15 AM, i go bananas hard@gmail.com wrote: that's why i suggested making a section on the forum, so the details and previous threads are all in once place and easily searchable. are we still going to do that? On Sat, Oct 22, 2011 at 2:04 AM, Hans-Christoph Steiner h...@at.or.at wrote: On Oct 21, 2011, at 12:54 PM, Tyler Leavitt wrote: Hello all, So I've created an e-mail account for everyone to send theme ideas to: patchchallen...@gmail.com. Anyone that wants the username/ password to the account can PM me for it. So the rules are loose at this point (especially since we haven't made any =). Until I can get a working version of a bot to do this we can just do this manually. Once we get a variety of options in the account I'll randomly pick one and post it for the first challenge. Please format the submissions with a title and a description of the challenge. Comments/concerns? Excellent, looking forward to these! How about making a wiki page for the instructions and details? Its easier to reference a webpage than look in the email archive. The wiki page could also reference the relevant threads in the archive. .hc Mistrust authority - promote decentralization. - the hacker ethic ___ 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 Access to computers should be unlimited and total. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] very compressed chip sounds
yeah that sounds just like it now! good stuff martin. On Sat, Oct 22, 2011 at 3:36 AM, martin brinkmann m...@martin-brinkmann.dewrote: On 10/19/2011 07:56 AM, Mathieu Bouchard wrote: Something like ((y^128)-128)/128. and some output filtering to eliminate frequencies above 1/2 of 8 khz. i have just added a few lop~, and i think it sounds quite close now. bis denn! martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Threaded console output
Hey Ico, Its not threaded, it just is aware of the Tk event loop. That was enough to make a huge performance gain. It is in the Pd-extended 0.43 Pd window, so tcl/pdwindow.tcl. It is built upon the other updates to the Pd window which are included in Pd-vanilla 0.43. .hc On Oct 21, 2011, at 11:23 PM, Ivica Ico Bukvic wrote: Hans and all, There was recently a mention of threaded output in pd-extended 0.43 which prevents the console from overwhelming the main thread. Has this been implemented and if so, in which file is this implementation located? Any help on this one is most appreciated! Best wishes, Ico If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of everyone, and the receiver cannot dispossess himself of it.- Thomas Jefferson ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Threaded console output
I should add, if you want to make sense of the pd-extended.git, read the 'patch_series' branch: http://pure-data.git.sourceforge.net/git/gitweb.cgi?p=pure-data/pd-extended.git;a=shortlog;h=refs/heads/patch_series If you are working with it, then work off of the 'master' branch because 'patch_series gets rebased so that it remains a collection of patches on top of pure-data.git. Here's the specific commit: http://pure-data.git.sourceforge.net/git/gitweb.cgi?p=pure-data/pd-extended.git;a=blobdiff;f=tcl/pdwindow.tcl;h=bd109606db0bb3fb739253726844986effa5e35d;hp=bb1e1d65a68d574df5cdb341a650f34b88ccb491;hb=b62774fb34e5b5589732b610dbf53d4d6e938dda;hpb=456a3688582b3dbdb610135554f46493f867b5f1 But its not really going to make sense if you are used to reading 0.42.5 code. I think your best bet is to start off of Miller's pure- data.git and start making the pd-l2ork changes into a series of commits on top of Miller's pure-data.git. That'll make it really easy to keep in sync with pure-data.git and pd-extended.git. .hc On Oct 21, 2011, at 11:23 PM, Ivica Ico Bukvic wrote: Hans and all, There was recently a mention of threaded output in pd-extended 0.43 which prevents the console from overwhelming the main thread. Has this been implemented and if so, in which file is this implementation located? Any help on this one is most appreciated! Best wishes, Ico Programs should be written for people to read, and only incidentally for machines to execute. - from Structure and Interpretation of Computer Programs ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list