Re: [PD] PLEASE HELP ME (CLICKS AND POPS FROM KNOBS)
The frequency inlets of [lop~] and [hip~] don't take signals, that's why you get clicks. You have to implement the filters yourself using [rpole~], [rzero~], [cpole~] and [czero~]. You can read the theory here http://msp.ucsd.edu/techniques/latest/book-html/node139.html Or you can go to Pd's forum and check some post from Maelstorm (administrator). His posting signature is his library of abstractions that include all kinds of filters driven by signals too. On Sun, Sep 22, 2013 at 7:06 AM, Luca Mani manif...@yahoo.it wrote: Hello is there a way to avoid clicks and pops coming out when moving the frequency/bandwith knobs of the lowpass and hipass filters of the pd library? line~ and sig~ lop are not working because the knobs are not controlling an audio signal. Thanks in advance Luca ___ 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] prevent opening of patches
That's useful, but up until recently you had to create a second instance of Pd from the command line anyway, since OSX would show you the instance you already had if you tried to open it from the operating system. Or...have I missed the point? My friend and collaborator always needs two Pd's, one for Gemnotes and one for audio processing, to play my musioc...and we wrote a BASH script to launch the gemnotes one after the audio one was set up. well, personally most times, when developing, I need to create abstractions and use global variables just to experiment with stuff. And if two instances of Pd are opened when you don't want it, it can be very annoying. Even worst scenario when you are teaching, student might open 4 patches at a time, and as 4 Pd instances are launched, and it's a mess. I always wondered whether we could have a flag in Pd GUI that set this kind of configuration. Like, always open a new Pd instance, always use one Pd only... something like that. imho it would be useful. cheers, M ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] prevent opening of patches
That's useful, but up until recently you had to create a second instance of Pd from the command line anyway, since OSX would show you the instance you already had if you tried to open it from the operating system. Or...have I missed the point? My friend and collaborator always needs two Pd's, one for Gemnotes and one for audio processing, to play my musioc...and we wrote a BASH script to launch the gemnotes one after the audio one was set up. well, personally most times, when developing, I need to create abstractions and use global variables just to experiment with stuff. And if two instances of Pd are opened when you don't want it, it can be very annoying. Even worst scenario when you are teaching, student might open 4 patches at a time, and as 4 Pd instances are launched, and it's a mess. Ah yes, students. Student: But why can't I just double-click on the patch? It works for everything else? Tutor: Because the audio driver will only work with the first instance of Pd you opened. Student: This software is rubbish. I hate Pd. Can we do something easier? It's too hard. Fortunately I've just been made redundant from the institution where these words were spoken /;-/ Cheers, Ed I always wondered whether we could have a flag in Pd GUI that set this kind of configuration. Like, always open a new Pd instance, always use one Pd only... something like that. imho it would be useful. cheers, M ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Gridflow and fonts on Raspberry Pi
Hello, I found gridflow for Raspberry Pi here : http://artengine.ca/acastonguay/gridflow/ And see a message from Claude here about Gridflow font : http://lists.puredata.info/pipermail/pd-list/2006-01/034431.html My questions : I would like to use Raspberry Pi and Pd to render text on a screen. I guess Gridflow could be the right library to use if it can manage fonts and if it is stable on RPi ? Is there an other library (or idea) for this purpose ? For example : a pd window in fullscreen with a canvas with text ? In this case, how to achieve that (fullscreen without menubar and window title bar with pd). I am on raspbian : PRETTY_NAME=Raspbian GNU/Linux 7 (wheezy) NAME=Raspbian GNU/Linux VERSION_ID=7 VERSION=7 (wheezy) Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux with Pd-0.45.2 () compiled 16:14:18 Sep 17 2013. Thanx for any help. ++ Jack ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PLEASE HELP WITH EQ BUILDING
Hello does anybody knows how to build a 3 bands eq with the following adjustable parameters: FREQUENCY, GAIN +- and Q? Or has a couple of examples to show me please ? Thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Fwd: pd-extended crash
Dear all I encouter crash on last pd extended on Mac Os Lion Process: pd [794] Path: /Applications/Pd-extended.app/Contents/Resources/Scripts/../bin/pd Identifier: pd Version: ??? (???) Code Type: X86 (Native) Parent Process: Pd-extended [789] Date/Time: 2013-09-22 16:30:59.040 +0200 OS Version: Mac OS X 10.7.5 (11G63) Report Version: 9 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x2028 VM Regions Near 0x2028: __PAGEZERO -1000 [4K] ---/--- SM=NUL /Applications/Pd-extended.app/Contents/Resources/bin/pd -- __TEXT 1000-0007f000 [ 504K] r-x/rwx SM=COW /Applications/Pd-extended.app/Contents/Resources/bin/pd __DATA 0007f000-0009 [ 68K] rw-/rwx SM=PRV /Applications/Pd-extended.app/Contents/Resources/bin/pd Application Specific Information: objc[794]: garbage collection is OFF Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 pd0x0005dfd9 magicGlass_moveText + 9 1 pd0x0002524e canvas_doclick + 2398 2 pd0x00025701 canvas_motion + 177 3 pd0x0002bb3b pd_typedmess + 1099 4 pd0x0002ba28 pd_typedmess + 824 5 pd0x0002febd binbuf_eval + 1565 6 pd0x00038c18 socketreceiver_read + 952 7 pd0x00037b49 sys_domicrosleep + 409 8 pd0x000351f4 m_mainloop + 596 9 pd0x0003714b sys_main + 1675 10 pd0x237b _start + 209 11 pd0x22a9 start + 41 Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib0x91e7990a kevent + 10 1 libdispatch.dylib 0x91a40e04 _dispatch_mgr_invoke + 969 2 libdispatch.dylib 0x91a3f853 _dispatch_mgr_thread + 53 Thread 2: 0 libsystem_kernel.dylib0x91e76c22 mach_msg_trap + 10 1 libsystem_kernel.dylib0x91e761f6 mach_msg + 70 2 ??? 0x001e57bf 0 + 1988543 3 libsystem_c.dylib 0x9c7f8ed9 _pthread_start + 335 4 libsystem_c.dylib 0x9c7fc6de thread_start + 34 Thread 3: 0 libsystem_kernel.dylib0x91e76c22 mach_msg_trap + 10 1 libsystem_kernel.dylib0x91e761f6 mach_msg + 70 2 com.apple.audio.midi.CoreMIDI 0x0013cfcb XServerMachPort::ReceiveMessage(int, void*, int) + 101 3 com.apple.audio.midi.CoreMIDI 0x0015ff8b MIDIProcess::RunMIDIInThread() + 259 4 com.apple.audio.midi.CoreMIDI 0x00160912 MIDIProcess::MIDIInPortThread::Run() + 24 5 com.apple.audio.midi.CoreMIDI 0x0013e59f XThread::RunHelper(void*) + 17 6 com.apple.audio.midi.CoreMIDI 0x0013df69 CAPThread::Entry(CAPThread*) + 123 7 libsystem_c.dylib 0x9c7f8ed9 _pthread_start + 335 8 libsystem_c.dylib 0x9c7fc6de thread_start + 34 Thread 4: 0 libsystem_kernel.dylib0x91e7883e __psynch_cvwait + 10 1 libsystem_c.dylib 0x9c7fce78 _pthread_cond_wait + 914 2 libsystem_c.dylib 0x9c7a482a pthread_cond_wait + 48 3 pdp.pd_darwin 0x06fc65a0 pdp_procqueue_thread + 112 Thread 5: 0 libsystem_kernel.dylib0x91e7883e __psynch_cvwait + 10 1 libsystem_c.dylib 0x9c7fce78 _pthread_cond_wait + 914 2 libsystem_c.dylib 0x9c7a482a pthread_cond_wait + 48 3 pd0x00059fa2 readsf_child_main + 210 4 libsystem_c.dylib 0x9c7f8ed9 _pthread_start + 335 5 libsystem_c.dylib 0x9c7fc6de thread_start + 34 Thread 6: 0 libsystem_kernel.dylib0x91e7883e __psynch_cvwait + 10 1 libsystem_c.dylib 0x9c7fce78 _pthread_cond_wait + 914 2 libsystem_c.dylib 0x9c7a482a pthread_cond_wait + 48 3 pd0x00059fa2 readsf_child_main + 210 4 libsystem_c.dylib 0x9c7f8ed9 _pthread_start + 335 5 libsystem_c.dylib 0x9c7fc6de thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x ebx: 0x00024929 ecx: 0x00ba edx: 0x0042 edi: 0x00461ae0 esi: 0x ebp: 0xbfffe0b8 esp: 0xbfffe0b8 ss: 0x0023 efl: 0x00010246 eip: 0x0005dfd9 cs: 0x001b ds: 0x0023 es: 0x0023 fs: 0x gs: 0x000f cr2: 0x2028 Logical CPU: 1 Binary Images: 0x1000 -0x7efe7 +pd (??? - ???) 0E6301B5-8C95-2292-68E0-CC5111BBF615 /Applications/Pd-extended.app/Contents/Resources/bin/pd 0xcd000 -
[PD] alsa and jack on ARM/Wandbaord
I've got a Wandboard* here for some testing and I can't get Alsa to work in duplex. Testing with arecord produces a soundfile and aplay plays it back. But starting Pd with Alsa or jack gives the dreaded errors about the resource being in use. Pd's performance with just playback is pretty good - pvoc example takes 20% cpu at 10ms latency - but I want to process some audio input! I built my own armhf kernel (much faster than armel) and have a very basic Ubuntu filesystem in place. There's no obvious process like pulseaudio grabbing the audio hardware either. Jack has all of the limits.conf set high. The audio device is sgtl5000 from Freescale. What's the usual setup and troubleshooting process for Pd on Linux these days? Seems like these things are mostly sorted on x86, so maybe the problem is driver or armhf related. Thanks! *Dual Cortex A9 box for $100: http://wandboard.org/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gridflow and fonts on Raspberry Pi
Hello jack, I don't know about raspberry, but it seems tcltk is used for te GUI, so what about using [sys_gui] for generating the interface? a toplevel -fullscreen should be able to do what you are looking for, it's also possible to create fonts Le 22/09/2013 19:10, Jack a écrit : Hello, I found gridflow for Raspberry Pi here : http://artengine.ca/acastonguay/gridflow/ And see a message from Claude here about Gridflow font : http://lists.puredata.info/pipermail/pd-list/2006-01/034431.html My questions : I would like to use Raspberry Pi and Pd to render text on a screen. I guess Gridflow could be the right library to use if it can manage fonts and if it is stable on RPi ? Is there an other library (or idea) for this purpose ? For example : a pd window in fullscreen with a canvas with text ? In this case, how to achieve that (fullscreen without menubar and window title bar with pd). I am on raspbian : PRETTY_NAME=Raspbian GNU/Linux 7 (wheezy) NAME=Raspbian GNU/Linux VERSION_ID=7 VERSION=7 (wheezy) Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux with Pd-0.45.2 () compiled 16:14:18 Sep 17 2013. Thanx for any help. ++ Jack ___ 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] alsa and jack on ARM/Wandbaord
Hello Chris, It may be unrelated but with Debian Squeeze on particular Intel laptops (Panasonic CF-74 and CF-19) I've always experienced that same problem: recording works, playback works, but no duplex sound from Pd or Jack out of the box. In these cases it was a matter of unchecking as many unused options as possible in the ALSA mixer, in particular 'IEC958 Default PCM' (don't know if you have that option). That used to make the difference every time though I still don't know why. Katja On Sun, Sep 22, 2013 at 9:00 PM, Chris Clepper cgclep...@gmail.com wrote: I've got a Wandboard* here for some testing and I can't get Alsa to work in duplex. Testing with arecord produces a soundfile and aplay plays it back. But starting Pd with Alsa or jack gives the dreaded errors about the resource being in use. Pd's performance with just playback is pretty good - pvoc example takes 20% cpu at 10ms latency - but I want to process some audio input! I built my own armhf kernel (much faster than armel) and have a very basic Ubuntu filesystem in place. There's no obvious process like pulseaudio grabbing the audio hardware either. Jack has all of the limits.conf set high. The audio device is sgtl5000 from Freescale. What's the usual setup and troubleshooting process for Pd on Linux these days? Seems like these things are mostly sorted on x86, so maybe the problem is driver or armhf related. Thanks! *Dual Cortex A9 box for $100: http://wandboard.org/ ___ 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] alsa and jack on ARM/Wandbaord
Hi Katja This is a pretty basic device with just hw0:0 for capture and playback, but I will double check the mixer settings. Someone from Freescale has been in touch and it looks like either a driver issue (fixable) or errata on the board (not fixable). I might try a USB audio device. Anyone know what ones work with ARM? Chris On Sun, Sep 22, 2013 at 4:00 PM, katja katjavet...@gmail.com wrote: Hello Chris, It may be unrelated but with Debian Squeeze on particular Intel laptops (Panasonic CF-74 and CF-19) I've always experienced that same problem: recording works, playback works, but no duplex sound from Pd or Jack out of the box. In these cases it was a matter of unchecking as many unused options as possible in the ALSA mixer, in particular 'IEC958 Default PCM' (don't know if you have that option). That used to make the difference every time though I still don't know why. Katja On Sun, Sep 22, 2013 at 9:00 PM, Chris Clepper cgclep...@gmail.comwrote: I've got a Wandboard* here for some testing and I can't get Alsa to work in duplex. Testing with arecord produces a soundfile and aplay plays it back. But starting Pd with Alsa or jack gives the dreaded errors about the resource being in use. Pd's performance with just playback is pretty good - pvoc example takes 20% cpu at 10ms latency - but I want to process some audio input! I built my own armhf kernel (much faster than armel) and have a very basic Ubuntu filesystem in place. There's no obvious process like pulseaudio grabbing the audio hardware either. Jack has all of the limits.conf set high. The audio device is sgtl5000 from Freescale. What's the usual setup and troubleshooting process for Pd on Linux these days? Seems like these things are mostly sorted on x86, so maybe the problem is driver or armhf related. Thanks! *Dual Cortex A9 box for $100: http://wandboard.org/ ___ 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] Gridflow and fonts on Raspberry Pi
I've collected some tricks since I'm using sys_gui, attached are the ones you might need to build and communicate with your interface through pd, if sys_gui is ok on raspberry, all the tcl and tk code is fully documented online... Tested on Pd 0.45.0 Colet Patrice - Mail original - De: Colet Patrice colet.patr...@free.fr À: Jack j...@rybn.org, pd-list@iem.at Envoyé: Dimanche 22 Septembre 2013 21:29:24 Objet: Re: [PD] Gridflow and fonts on Raspberry Pi Hello jack, I don't know about raspberry, but it seems tcltk is used for te GUI, so what about using [sys_gui] for generating the interface? a toplevel -fullscreen should be able to do what you are looking for, it's also possible to create fonts Le 22/09/2013 19:10, Jack a écrit : Hello, I found gridflow for Raspberry Pi here : http://artengine.ca/acastonguay/gridflow/ And see a message from Claude here about Gridflow font : http://lists.puredata.info/pipermail/pd-list/2006-01/034431.html My questions : I would like to use Raspberry Pi and Pd to render text on a screen. I guess Gridflow could be the right library to use if it can manage fonts and if it is stable on RPi ? Is there an other library (or idea) for this purpose ? For example : a pd window in fullscreen with a canvas with text ? In this case, how to achieve that (fullscreen without menubar and window title bar with pd). I am on raspbian : PRETTY_NAME=Raspbian GNU/Linux 7 (wheezy) NAME=Raspbian GNU/Linux VERSION_ID=7 VERSION=7 (wheezy) Linux raspberrypi 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux with Pd-0.45.2 () compiled 16:14:18 Sep 17 2013. Thanx for any help. ++ Jack ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 368 319 1135 382 10; #X obj 18 118 sys_gui; #X msg 18 85 eval [read [open my_script.tcl]] \, my_proc arg1 arg2 \, rename my_proc ; #X obj 94 300 sys_gui; #X obj 34 214 b; #X obj 147 213 b; #X obj 66 258 t b b; #X obj 25 350 b; #X obj 157 350 b; #X obj 66 231 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 66 329 do something; #X obj 266 284 sys_gui; #X obj 266 226 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 266 308 do something; #X text 41 184 wrong; #X text 266 187 good; #X text 69 160 tcl procedure is slower than triggers; #X obj 433 133 sys_gui; #X obj 433 75 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 8 1 patko2013; #X msg 433 113 pdsend foo-s Hello World; #X obj 432 157 r foo-s; #X obj 432 179 print foo; #X text 428 46 using FUDI; #X obj 664 164 sys_gui; #X text 16 48 evaluate a tcl script \, launch a procedure \, and remove procedure from memory for avoiding duplicated proc errors; #X obj 266 331 print something; #X msg 689 131 destroy .mytoplevel; #X msg 664 39 toplevel .mytoplevel; #X msg 686 88 wm attributes .mytoplevel -fullscreen 1; #X text 657 20 build a toplevel widget; #X text 685 66 make it fullscreen; #X text 695 110 close toplevel; #X obj 664 349 sys_gui; #X msg 266 264 puts Hello World!; #X msg 94 280 puts Hello World!; #X msg 664 238 font create my_font -family [list Lucida Sans] -size 14 -weight bold; #X msg 696 291 text .mytoplevel.text -font my_font \, pack .mytoplevel.text ; #X text 697 273 puts some text on toplevel; #X msg 714 314 .mytoplevel.text insert end Hello World!; #X text 657 205 create some fonts (can be done only once by instance \, so it's better inside a proc); #X connect 1 0 0 0; #X connect 3 0 7 0; #X connect 4 0 6 0; #X connect 5 0 9 0; #X connect 5 1 34 0; #X connect 8 0 5 0; #X connect 10 0 12 0; #X connect 11 0 33 0; #X connect 12 0 25 0; #X connect 17 0 19 0; #X connect 19 0 16 0; #X connect 20 0 21 0; #X connect 26 0 23 0; #X connect 27 0 23 0; #X connect 28 0 23 0; #X connect 33 0 10 0; #X connect 34 0 2 0; #X connect 35 0 32 0; #X connect 36 0 32 0; #X connect 38 0 32 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] prevent opening of patches
FWIW, the latest pd-l2ork release has a -unique flag (disabled by default) so whenever you open a new file by double-clicking inside a file browser, it will open it inside an existing instance (if any) or spawn a new instance (if none). Spawning instances with -unique flag will force creation of a new instance. From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of Marco Donnarumma Sent: Sunday, September 22, 2013 7:14 AM To: pd-list@iem.at Subject: Re: [PD] prevent opening of patches That's useful, but up until recently you had to create a second instance of Pd from the command line anyway, since OSX would show you the instance you already had if you tried to open it from the operating system. Or...have I missed the point? My friend and collaborator always needs two Pd's, one for Gemnotes and one for audio processing, to play my musioc...and we wrote a BASH script to launch the gemnotes one after the audio one was set up. well, personally most times, when developing, I need to create abstractions and use global variables just to experiment with stuff. And if two instances of Pd are opened when you don't want it, it can be very annoying. Even worst scenario when you are teaching, student might open 4 patches at a time, and as 4 Pd instances are launched, and it's a mess. I always wondered whether we could have a flag in Pd GUI that set this kind of configuration. Like, always open a new Pd instance, always use one Pd only... something like that. imho it would be useful. cheers, M ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] from poles/zeros to biquad coefficients - how to? (something like max's z-plane)
Hi there. So, I've been studying a lot about filters, and I'm doing this clone of max's z-plane in Pd. I hope anyone can help me guide where to find how to convert the values of the complex poles and zeros to biquad coefficients. I really needed that... Sorry if I missed it in Miller's book or some other obvious reference, I'm just really a newbie in filter design. Thanks Alex ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list