[PD] [hid] button down press
hello all... first off, wow! i never took a look at pd before i needed to control hydrogen via usb gamepad today, but wow... awesome program, sorry to have looked over it for so long. that being said, many thanks to the community developers for making my computer audio tinkering 10x more fun! now... i just started using it today. my current flow for sending MIDI events via USB gamepad button downpresses is like this: [hid]---[route key][route btn_0][route 1][makenote] the second route object of course has more than one button (btn_0 through btn_11) with each output going through its own [route 1] (to only signal on the down press). needless to sat thats a lot of [route 1] objects... is there a way i can clean this code up? something along the lines of [route btn_0,1 btn_1,1 btn_2,1] etc hope i made myself clear... thanks much, tyler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [hid] button down press
Hi Tyler, anything you are doing repetitively in Pd is a good candidate for putting in an abstraction with a $1 creation argument. You patch might contain: [hid]--[route key]--[send buttons] [buttons_ab btn_0][buttons_ab btn_1][buttons_ab btn_2] etc etc [receive notes]--[makenote] where [buttons_ab] is a separate file named buttons_ab.pd saved in same directory or someplace else in your PATH containing: [receive buttons]--[route $1]--[route 1]---[send notes] Catch my drift? Also, depending on what happens later, your [route 1] could also be a [select 1]. Have a look at the help file for [select] and see if it is more or less useful. Best! Derek On 4/11/10 10:42 AM, Tyler Leavitt wrote: now... i just started using it today. my current flow for sending MIDI events via USB gamepad button downpresses is like this: [hid]---[route key][route btn_0][route 1][makenote] the second route object of course has more than one button (btn_0 through btn_11) with each output going through its own [route 1] (to only signal on the down press). needless to sat thats a lot of [route 1] objects... is there a way i can clean this code up? something along the lines of [route btn_0,1 btn_1,1 btn_2,1] etc -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 15: Ask your body ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [hid] button down press
hi Tyler, maybe [match] ? gr, Tim 2010/4/11 Tyler Leavitt thecryofl...@gmail.com hello all... first off, wow! i never took a look at pd before i needed to control hydrogen via usb gamepad today, but wow... awesome program, sorry to have looked over it for so long. that being said, many thanks to the community developers for making my computer audio tinkering 10x more fun! now... i just started using it today. my current flow for sending MIDI events via USB gamepad button downpresses is like this: [hid]---[route key][route btn_0][route 1][makenote] the second route object of course has more than one button (btn_0 through btn_11) with each output going through its own [route 1] (to only signal on the down press). needless to sat thats a lot of [route 1] objects... is there a way i can clean this code up? something along the lines of [route btn_0,1 btn_1,1 btn_2,1] etc hope i made myself clear... thanks much, tyler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dynamic normalization
[limiter~] ??? On 4/11/10 1:13 PM, Marco Donnarumma wrote: How can I dinamically normalize an audio output? -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 54: Do something sudden, destructive and unpredictable ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Selecting, and changing figures from the keyboard
Hey all One of my workshop members recently challenged me about how to produce a keyboard-based control system to select and change parameters (in this example RGB) using the left and right arrows to select and the up and down to change. I've attached my attempt at it, however the logic involved is a bit cumbersome. Any more elegant solutions? Thanks Andrew _ http://clk.atdmt.com/UKM/go/195013117/direct/01/ arrows3.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Selecting, and changing figures from the keyboard
Hey Andrew, Haven't had time to look at your patch yet, so take this with salt: Andrew Faraday wrote: Hey all One of my workshop members recently challenged me about how to produce a keyboard-based control system to select and change parameters (in this example RGB) using the left and right arrows to select and the up and down to change. I've attached my attempt at it, however the logic involved is a bit cumbersome. Any more elegant solutions? http://www.archive.org/details/ClaudiusMaximus_-_Live_At_LAC_2008-02-29_Internal (some glitches where recordmydesktop couldn't keep up, also not really watchable at anything other than the highest resolution MPEG (745MB)) everything keyboard controlled, using pdlua to process key events captured from gridflow (as i don't get on with pd's key/keyname), the logic is more easily expressed in a text language with proper data structures in my experience - pd patching for complicated state manipulations is a pain... https://code.goto10.org/svn/maximus/2008/lac/key-handler.pd_lua The patchery to implement that would be a total nightmare, so I didn't even try.. Full code here - probably won't work on any computer than mine as it was set up 2 years ago, which makes 0 computers in 2010 ;) svn co https://code.goto10.org/svn/maximus/2008/lac also this version shows a visualisation of the key presses http://www.archive.org/details/ClaudiusMaximus_-_Live_At_LAC_2008-02-19_External Anyway, what I realized when using this control system is: navigating with cursor keys is an utter pain when you want to change things in different places quickly, as you probably will want to do when playing live! Also, muscle memory means that it's better to have 1 key per section to jump to directly, instead of having to double-check which is currently selected. Just some quick thoughts, Claude ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] dealing with large numbers (for rjdj)
hi, i'm trying to use the gps object in Pd as part of an RjDj scene and their forum is down at the moment so i thought i'd look for help here... so pd has a limit on the size of numbers it can use and i'm looking for a simple way to break them down, (as i'm using RjDj i have to use the vanilla pd so no extra object fun). The GPS object apparently sends out numbers to 6 decimal places, (e.g. 51.430023) which keeps causing problems in other parts of the patch. I have tried removing the integer before the point and multiplying by 1 to give me something manageable. In the above example I would expect to get 4300.23 but instead i get something like 4300.23, where are these extra numbers coming from? Can anyone suggest a better way to deal with this data? regards duncan -- http://duncanspeakman.net http://subtlemob.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-list Digest, Vol 61, Issue 52
A new website for french community was open by me. http://puredata.tuxfamily.org I hope a long life to this new site to help french user, to translate english doc and example. See you soon. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd-extended 0.42.5 almost ready for beta
Pd-extended 0.42.5 is almost ready for the beta/release candidate cycle. This release is mostly a bug release since 0.43 will include the new GUI code and other big changes. http://puredata.info/dev/NextRelease You can download the most recent build, including sometimes Ubuntu Karmic 64-bit and NetBook Remix, and Mac OS X/PowerPC: http://autobuild.puredata.info/auto-build/latest/ .hc All information should be free. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] sys_gui full screen text
Dear list, I have created window with a commands using sys_gui: [toplevel .new( [.new configure -bg black( [wm atributes .new -fullscreen 1( | [sys_gui] I have read manuals from some sites recommended by Hans-Christoph Steiner, but commands presented there are not accepted by pd except those I wrote as message flags. My mission is to read text from text file (what I already solved) and present text on that full screen .new window. Can you replay to me a guide, syntax, or way how to make text appear on that window? Text file contains 6 short lines. How that .new window is going to interact with a gem window (also full screen, topmost) when it will be created? Thank you and Respect. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Lithuanian symbol on canvas label or text2d
Dear list, a problem I have encountered is my native language symbols like: ą,č,ę,ė,į,š,ų,ū. I use Alt+Shift keys to change layout. While typing I get symbols like font webding. As I started to enter text from the textfile (instead of typing to message flag) it seems to be all right to set canvas label but not for text2d on GEM window, where I get squares instead of those symbols. I tried font like Times New Roman witch works fine for Open Office, but maybe there are other issues that cause this. Thanks for any issue related information. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] readsf~ error when reading .aiff
got this: error: dsp: /Users/alexandreporres/Desktop/Esashi.aiff: Too many open files anyone? thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list