Re: [PD] strange error in console
Hi, On Wed, Jun 16, 2010 at 09:26:16AM +0200, IOhannes m zmoelnig wrote: people are known to use OSC messages (or at least: OSC-like messages) for all kind of things, e.g. iirc, SSSAD is using it internally. Actually Memento/rradical uses OSC-like messages, sssad just uses [route]s so it stays pure vanilla single-speed bike Pd. Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] weighted average (or ?)
On Wed, Jun 16, 2010 at 01:25:09PM +0200, João Pais wrote: I was going to program something, but wanted to see if someone hasn't done it before. I needed a weighted average (probably the name is incorrect, I just made it up), that is: considering an x number of sliders going from 0 to 1, the sum of all sliders would be always 1. [list-equalize] in the [list]-abs does this for lists. I called it equalize so it's different from [list-normalize] which does the same as array-normalization (scale all so the peak is 1) Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dmx and pd
Thanks very much Martin, looks like an interesting project to understand the workings of dmx a bit better. best regards, Nick. On 06/18/2010 05:58 PM, Martin Peach wrote: Here's the patch. It's a bit messy but you can probably morph it into what you want. Martin Martin Peach wrote: You can definitely use the DMX USB pro with [comport]. I have a patch somewhere that I tested with a DMX dimmer. You basically need to send a header and the control values as a list of bytes. http://www.enttec.com/docs/dmx_usb_pro_api_spec.pdf has the protocol. If I find the patch I'll post it. Martin Nick Burge wrote: I would like to use pd to control some lights via a wii device. I am on linux 10.04. I have the wii up and running in pd, I have compiled dmx512 from the iem repository, and have the objects dmxin and dmx out in my pd/extra directory. Since these objects depend upon dmx4linux I tried to compile the dmx4linux programme which is supposed to create a dev/dmx directory.. but so far it does'nt do so. The latest version goes back to 2008, so it may not be viable with Lucid.?? Typing dmesg i see my dmx usb pro interface is recognised as dev/ttyUSB0 when i plug it in. But the pd objects will not create. Does anyone on the list have a viable dmx system (preferably using enttec dmx usb pro) set up on linux that they could inform me about? Thanks. Nick. ___ 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] dmx and pd
Hello Jack, in fact most lighting desks have a midi to dmx interface built in...its just that when you get to a venue its a lot more convenient to be able to send dmx directly without having to resort to the lighting desk manual. But this interface looks like a useful tool to do just that. Nick On 06/18/2010 05:04 PM, Jack wrote: If you can read french : http://www.interface-z.com/produits/com09_mididmx.htm It transforms MIDI protocol to DMX protocol. It works on all platform (test here on MacOSX and Ubuntu Lucid). ++ Jack Le vendredi 18 juin 2010 à 16:30 +0200, Nick Burge a écrit : I would like to use pd to control some lights via a wii device. I am on linux 10.04. I have the wii up and running in pd, I have compiled dmx512 from the iem repository, and have the objects dmxin and dmx out in my pd/extra directory. Since these objects depend upon dmx4linux I tried to compile the dmx4linux programme which is supposed to create a dev/dmx directory.. but so far it does'nt do so. The latest version goes back to 2008, so it may not be viable with Lucid.?? Typing dmesg i see my dmx usb pro interface is recognised as dev/ttyUSB0 when i plug it in. But the pd objects will not create. Does anyone on the list have a viable dmx system (preferably using enttec dmx usb pro) set up on linux that they could inform me about? Thanks. Nick. ___ 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] Synaptics touchpad input not working
I've tried using [hid] and [linuxmouse] and both objects can open the device but no data is output from either object. [MouseState] and [cursor] both work but I was hoping to get relative values. Is this a driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output: [hid] 0.7, written by Hans-Christoph Steiner h...@eds.org compiled on Jun 13 2010 at 11:45:43 Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0' Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1' Device 2: 'PC Speaker' on '/dev/input/event2' Device 3: 'Power Button (FF)' on '/dev/input/event3' Device 4: 'Sleep Button (CM)' on '/dev/input/event4' Device 5: 'Lid Switch' on '/dev/input/event5' Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6' Device 7: 'Video Bus' on '/dev/input/event7' Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8' Supported events: Detected: [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad print: open 1 print: device 6 Also my xorg.conf has this info: Section InputDevice Identifier Synaptics Touchpad Driver synaptics OptionSendCoreEvents true OptionDevice /dev/psaux OptionProtocol auto-dev OptionHorizEdgeScroll FALSE OptionVertEdgeScroll FALSE OptionSHMconfig on OptionVertTwoFingerScroll TRUE OptionHorizTwoFingerScroll TRUE EndSection Any ideas? thanks, James ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Mr. Porres in a new clip with vuvuzelas (Renato Fabbri)
eheh.. go Porres, go! http://www.youtube.com/watch?v=ThZWL2ydtYo -- GNU/Linux User #479299 skype: fabbri.renato -- Marco Donnarumma aka TheSAD Independent New Media Arts Professional, Performer, Teacher - Edinburgh, UK PORTFOLIO: http://marcodonnarumma.com LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net | http://www.flxer.net EVENT: http://www.liveperformersmeeting.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Synaptics touchpad input not working
hi james, the synaptics driver generally steals the focus of the device so that userspace programs can't directly access it, see if the Xorg option 'Option GrabEventDevice false' helps, see 'man synaptics' for more info. cheers, dmotd James Dunn wrote: I've tried using [hid] and [linuxmouse] and both objects can open the device but no data is output from either object. [MouseState] and [cursor] both work but I was hoping to get relative values. Is this a driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output: [hid] 0.7, written by Hans-Christoph Steiner h...@eds.org compiled on Jun 13 2010 at 11:45:43 Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0' Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1' Device 2: 'PC Speaker' on '/dev/input/event2' Device 3: 'Power Button (FF)' on '/dev/input/event3' Device 4: 'Sleep Button (CM)' on '/dev/input/event4' Device 5: 'Lid Switch' on '/dev/input/event5' Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6' Device 7: 'Video Bus' on '/dev/input/event7' Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8' Supported events: Detected: [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad print: open 1 print: device 6 Also my xorg.conf has this info: Section InputDevice Identifier Synaptics Touchpad Driver synaptics OptionSendCoreEvents true OptionDevice /dev/psaux OptionProtocol auto-dev OptionHorizEdgeScroll FALSE OptionVertEdgeScroll FALSE OptionSHMconfig on OptionVertTwoFingerScroll TRUE OptionHorizTwoFingerScroll TRUE EndSection Any ideas? thanks, James ___ 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] FW: Fwd: Re: readanysf~ error
Celine glad to hear the problem was resolved! :) KIM Celine Berger wrote: Hello August, Hello Kim, List, thanks a lot for your very fast reaction to the Email of Derek concerning the issues we had with my installations'pd-patch and the readanysf ~ error. Derek could solve the problem by cleaning up the headers of the wav files, removing the markers by re-encoding with sndfile-convert as Kim suggested. For the sake of completeness here the answer to the other questions: - Are you using MacOS X? mac osx 10.6 - What version of readanysf~? / gav/ gmerlin_avdec packages? The one packed in Hans-Cristoph Steiner's binary package for MacOsX Intel (http://puredata.info/Members/hans/ReadAnySf) libgmerlin_avdec.1.dylib, libgavl.1.dylib - When the sound goes to noise, is it just that one particular soundfile that is used in readanysf or is it PD's entire output? First we had individual files, but in a random way (not a particular one) the other one were playing correctly. After a certain amount of time all the readanysf~ would eventually be playing noise. Many thanks again for your fast support! All the best, Celine Berger Hello August, list I'm helping a student's installation, and we have created a patch which uses 24 instances of readanysf~ to read from 24 different soundfiles between 15min and one hour in length. All sound files are mono, 16 bit, 44.1KHz WAV_PCM format. The problem is that, after a length of time, the readanysf~ objects output noise rather than the soundfile. It is not the result of any single soundfile, and many or all of the readanysf~ objects can be affected by this simultaneously. I have attached the abstraction in question. The object is instantiated as [readanysf~ 1], in other words the block size and and buffer size are defaults. Sample terminal output is as follows while the patch is running: Created new readanysf~ with 1 channels and internal buffer of 24 * 64 = 1536 Current file is either invalid or an unsupported codec. Current file is either invalid or an unsupported codec. Current file is either invalid or an unsupported codec. Current file is either invalid or an unsupported codec. Current file is either invalid or an unsupported codec. Current file is either invalid or an unsupported codec. Current file is either invalid or an unsupported codec. Opening each soundfile individually with readanysf~ and sending play and pause messages reports no errors whatsoever, however. I have sndfile-info data for all of the soundfiles. The only irregularity I see in this is one file which reports: Unknown chunk marker at position 6087587. Resynching. Besides that, most of the files report something like this: File : F_DOK6.wav Length : 146725772 RIFF : 146725764 WAVE bext : 602 fmt : 16 Format: 0x1 = WAVE_FORMAT_PCM Channels : 1 Sample Rate : 44100 Block Align : 2 Bit Width : 16 Bytes/sec : 88200 *** minf : 16 (unknown marker) *** elm1 : 7506 (unknown marker) data : 140114520 *** regn : 92 (unknown marker) *** umid : 24 (unknown marker) *** DGDA : 6602919 (unknown marker) End Sample Rate : 44100 Frames : 70057260 Channels: 1 Format : 0x00010002 Sections: 1 Seekable: TRUE Duration: 00:26:28.600 Signal Max : 11627 (-9.00 dB) Someone suggested the noisy output may be the result of a buffer problem, but I am not sure who I could verify or correct this. I checked with top while the noise was happening and saw no evidence that Pd was using any more memory than usual, and the CPU meter reported 30%. Hardware is an Intel Mac Mini, software is Pd-Extended 0.41.4. Any suggestions or other diagnostics I could run are appreciated. Best! Derek -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 136: Remove specifics and convert to ambiguities ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Synaptics touchpad input not working
also another tip, its possible to configure a device dynamically with 'xinput', you can toggle off with: xinput --set-prop name of device Device Enabled 0 i use this with my wacom tablet to go between xorg device and HID, a full set of properties can be found with: xinput --list-props name of device i hope this is of help. James Dunn wrote: I've tried using [hid] and [linuxmouse] and both objects can open the device but no data is output from either object. [MouseState] and [cursor] both work but I was hoping to get relative values. Is this a driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output: [hid] 0.7, written by Hans-Christoph Steiner h...@eds.org compiled on Jun 13 2010 at 11:45:43 Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0' Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1' Device 2: 'PC Speaker' on '/dev/input/event2' Device 3: 'Power Button (FF)' on '/dev/input/event3' Device 4: 'Sleep Button (CM)' on '/dev/input/event4' Device 5: 'Lid Switch' on '/dev/input/event5' Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6' Device 7: 'Video Bus' on '/dev/input/event7' Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8' Supported events: Detected: [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad print: open 1 print: device 6 Also my xorg.conf has this info: Section InputDevice Identifier Synaptics Touchpad Driver synaptics OptionSendCoreEvents true OptionDevice /dev/psaux OptionProtocol auto-dev OptionHorizEdgeScroll FALSE OptionVertEdgeScroll FALSE OptionSHMconfig on OptionVertTwoFingerScroll TRUE OptionHorizTwoFingerScroll TRUE EndSection Any ideas? thanks, James ___ 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] hexloader WAS: Pd-extended 0.42.5 release candidate 3 released!
On Fri, 18 Jun 2010, Roman Haefeli wrote: I am probably the wrong person to comment on the technical aspects, but it seems to me that your proposal of having only a setup() function instead of the current classname_setup() function would render it impossible to have a c file provide more than one class. Or am I misunderstanding something here? No. You can define any number of classes in a setup(). In fact, you can do anything. I once made a library that would only provide more aliases for existing (builtin) classes, so that I could instantiate either [inlet] or [inlet~] by writing [inlet.$1] where $1 was a parameter that could be f, s, ~, # or other. You can also add methods to existing classes. Thus GridFlow adds methods else, last and last_activate in the canvas class. It's very useful to do so, but Pd doesn't have a plan for documenting such a situation, because I can't provide a rightclick helpfile for the extra methods. So, for now, they are still undocumented, but they are used by [#in], [#many] and [doc_m] respectively, among other uses... If you happen to have several files in a big library, and they each have a setup(), you can name each of the setups differently and call all of them from the main setup() of the library (except itself). If you need a library to be compilable in both manners from the same source, you can use compilation options such as -Dsetup=thisclass_setup or things like that, to rename a plain setup() to a longer, unique name. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Synaptics touchpad input not working
Hi dmotd, that's perfect! thanks a lot James Quoth dmotd, on 19/06/10 16:02: hi james, the synaptics driver generally steals the focus of the device so that userspace programs can't directly access it, see if the Xorg option 'Option GrabEventDevice false' helps, see 'man synaptics' for more info. cheers, dmotd James Dunn wrote: I've tried using [hid] and [linuxmouse] and both objects can open the device but no data is output from either object. [MouseState] and [cursor] both work but I was hoping to get relative values. Is this a driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output: [hid] 0.7, written by Hans-Christoph Steinerh...@eds.org compiled on Jun 13 2010 at 11:45:43 Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0' Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1' Device 2: 'PC Speaker' on '/dev/input/event2' Device 3: 'Power Button (FF)' on '/dev/input/event3' Device 4: 'Sleep Button (CM)' on '/dev/input/event4' Device 5: 'Lid Switch' on '/dev/input/event5' Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6' Device 7: 'Video Bus' on '/dev/input/event7' Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8' Supported events: Detected: [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad print: open 1 print: device 6 Also my xorg.conf has this info: Section InputDevice Identifier Synaptics Touchpad Driver synaptics OptionSendCoreEvents true OptionDevice /dev/psaux OptionProtocol auto-dev OptionHorizEdgeScroll FALSE OptionVertEdgeScroll FALSE OptionSHMconfig on OptionVertTwoFingerScroll TRUE OptionHorizTwoFingerScroll TRUE EndSection Any ideas? thanks, James ___ 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] initbang/closebang and $@ patch statuses
Hi list, What's the story on the following patch? [initbang]/[closebang] for patch constructor/destuctor - ID: 1544041 I know it says the status is open, but on the other hand this patch was added in 2006. From the related threads on pd user and dev, all I've seen are repeated hopes from various developers that these objects be included as internal objects in pd. The only negative comment I've seen was indirectly from dmotd on 2009-03-14, quoting Miller: Anyhow, I'm trying to think of a better mechanism for allowing abstractions to have variable numbers of inlets/outlets, so I'm hoping initbang won't be necessary in the long run. closebang, though, will probably be needed in some form or other. I'd like to ask: what is the problem with [initbang] as it is, and what would a better mechanism look like? If a better mechanism is not currently in the works, could these two objects be included in pd-vanilla so that in the meantime people can make abstractions that have dynamic numbers of inlets/outlets that will work on both versions of pd? (I've never used [closebang] but I imagine the same reasoning holds for it as well.) Similar questions about: $@ and $# expansion (argc, argv) - ID: 1543850 It looks like the discussion just stopped, and I couldn't find any threads on user or dev list. $@ would be very useful, as well as matju's suggestion about some kind of nth argument and all the rest that follow. -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hexloader WAS: Pd-extended 0.42.5 release candidate 3 released!
On Jun 19, 2010, at 1:42 PM, Mathieu Bouchard wrote: On Fri, 18 Jun 2010, Roman Haefeli wrote: I am probably the wrong person to comment on the technical aspects, but it seems to me that your proposal of having only a setup() function instead of the current classname_setup() function would render it impossible to have a c file provide more than one class. Or am I misunderstanding something here? No. You can define any number of classes in a setup(). In fact, you can do anything. I once made a library that would only provide more aliases for existing (builtin) classes, so that I could instantiate either [inlet] or [inlet~] by writing [inlet.$1] where $1 was a parameter that could be f, s, ~, # or other. You can also add methods to existing classes. Thus GridFlow adds methods else, last and last_activate in the canvas class. It's very useful to do so, but Pd doesn't have a plan for documenting such a situation, because I can't provide a rightclick helpfile for the extra methods. So, for now, they are still undocumented, but they are used by [#in], [#many] and [doc_m] respectively, among other uses... If you happen to have several files in a big library, and they each have a setup(), you can name each of the setups differently and call all of them from the main setup() of the library (except itself). If you need a library to be compilable in both manners from the same source, you can use compilation options such as - Dsetup=thisclass_setup or things like that, to rename a plain setup() to a longer, unique name. I am saying that each class should have a function called setup(). That's how it works in Max/MSP. I think that having a single function called setup() load multiple classes is not a good idea. The thing loading the classes just needs to know not to import the setup symbol, just call the function. .hc If you are not part of the solution, you are part of the problem. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Synaptics touchpad input not working
When using [hid] and friends on GNU/Linux, you generally need to setup things so you have permission to read the device directly: http://puredata.info/docs/tutorials/HowToReadHIDDevicesInLinuxWithoutBeingRoot/?searchterm=hid%20ubuntu .hc On Jun 19, 2010, at 11:20 AM, James Dunn wrote: Hi dmotd, that's perfect! thanks a lot James Quoth dmotd, on 19/06/10 16:02: hi james, the synaptics driver generally steals the focus of the device so that userspace programs can't directly access it, see if the Xorg option 'Option GrabEventDevice false' helps, see 'man synaptics' for more info. cheers, dmotd James Dunn wrote: I've tried using [hid] and [linuxmouse] and both objects can open the device but no data is output from either object. [MouseState] and [cursor] both work but I was hoping to get relative values. Is this a driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output: [hid] 0.7, written by Hans-Christoph Steinerh...@eds.org compiled on Jun 13 2010 at 11:45:43 Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0' Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1' Device 2: 'PC Speaker' on '/dev/input/event2' Device 3: 'Power Button (FF)' on '/dev/input/event3' Device 4: 'Sleep Button (CM)' on '/dev/input/event4' Device 5: 'Lid Switch' on '/dev/input/event5' Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6' Device 7: 'Video Bus' on '/dev/input/event7' Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8' Supported events: Detected: [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad print: open 1 print: device 6 Also my xorg.conf has this info: Section InputDevice Identifier Synaptics Touchpad Driver synaptics OptionSendCoreEvents true OptionDevice /dev/psaux OptionProtocol auto-dev OptionHorizEdgeScroll FALSE OptionVertEdgeScroll FALSE OptionSHMconfig on OptionVertTwoFingerScroll TRUE OptionHorizTwoFingerScroll TRUE EndSection Any ideas? thanks, James ___ 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 Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hexloader WAS: Pd-extended 0.42.5 release candidate 3 released!
On Sat, 19 Jun 2010, Hans-Christoph Steiner wrote: I am saying that each class should have a function called setup(). That's how it works in Max/MSP. I know what you're saying. And I think that whatever it is in Max/MSP is informative, but it doesn't have to be like that. I don't especially care what they actually do. Sometimes it's a good inspiration, but you've got to have a better reason than it's like that in Max/MSP. I wouldn't actually even list it in a list of reasons for doing something, except when making a compatibility library. And then, as I just explained, there are many things that you just can't achieve by considering that the only thing one would ever do is install a new class. Some other examples are : the code that adds an inlet to the builtin comment class. the code that adds extra menu items in the Help menu. Iemguts modifying the savefn and propertiesfn of the canvas class. etc. I think that having a single function called setup() load multiple classes is not a good idea. Classes in other programming languages are rarely bundled as separate files. In C and C++, it's usually one big .so file for a large collection of classes. Even in Java, the paradise of class-files, it didn't take long before people begged that the class-files be joined together into a few big files, and that's how the JAR format was born. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hexloader WAS: Pd-extended 0.42.5 release candidate 3 released!
On Jun 19, 2010, at 8:46 PM, Mathieu Bouchard wrote: On Sat, 19 Jun 2010, Hans-Christoph Steiner wrote: I am saying that each class should have a function called setup(). That's how it works in Max/MSP. I know what you're saying. And I think that whatever it is in Max/ MSP is informative, but it doesn't have to be like that. I don't especially care what they actually do. Sometimes it's a good inspiration, but you've got to have a better reason than it's like that in Max/MSP. I wouldn't actually even list it in a list of reasons for doing something, except when making a compatibility library. And then, as I just explained, there are many things that you just can't achieve by considering that the only thing one would ever do is install a new class. Some other examples are : the code that adds an inlet to the builtin comment class. the code that adds extra menu items in the Help menu. Iemguts modifying the savefn and propertiesfn of the canvas class. etc. I think that having a single function called setup() load multiple classes is not a good idea. Classes in other programming languages are rarely bundled as separate files. In C and C++, it's usually one big .so file for a large collection of classes. Even in Java, the paradise of class- files, it didn't take long before people begged that the class-files be joined together into a few big files, and that's how the JAR format was born. A JAR is a .zip file of a folder with individual .class files, one for each class. .hc Using ReBirth is like trying to play an 808 with a long stick.- David Zicarelli ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] hexloader WAS: Pd-extended 0.42.5 release candidate 3 released!
On Sat, 19 Jun 2010, Hans-Christoph Steiner wrote: A JAR is a .zip file of a folder with individual .class files, one for each class. Congratulations. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Data structures with $0?
On Fri, 18 Jun 2010, João Pais wrote: thanks, I'll try to put this in when I can. meanwhile dtmod His name is dmotd. wrote me saying that he's doing a real external for this, so that would be a better solution. Why is an external a better solution ? Anyway. I was inspired to make a bézier patch. It's an integer solution, so, for 17 points I run t from 0 to 16 instead of to 1, then I divide by pow(16,3) at the end to compensate. I could redo it in floats with almost the same number of boxes though. Here's the screenshot of the whole patch : http://gridflow.ca/gallery/bezier.png It takes only 9 (nine) objects to compute it. For large numbers of points, I can add a cache using two more boxes. Float requires two extra boxes (and editing some more). Using a different order doesn't require any repatching, just edit three or four boxes to change some numbers (I'm not counting the fact that you have to recreate the multi-numberbox at the right to have more rows). When I count the objects I'm not counting the multi-numberbox nor any of the objects on the left. The wire that goes up is carrying the polygons ready to be rendered. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-extended 0.42.5 release candidate 3 released!
On Fri, 18 Jun 2010, Hans-Christoph Steiner wrote: These things are all true. All I am saying is that you saw the NextRelease wiki page, no, I only read the direct contents of your email, which contained a changelog. I think you can do that in the Plone website somehow, but I haven't done it. I think there is an RSS feed for changes. I have never used RSS. If SVN provides notifications by mailing-list then the Wiki could be doing just the same, for the sake of symmetry. But anyway, I just wanted to say that modifying a wiki page is a good way to go rather unnoticed. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Synaptics touchpad input not working
'xinput --list' provides a list of all supported devices. Pedro Lopes wrote: I've never used hid or linuxmouse. And when I saw your message I gave it a try (since I'm also running Ubuntu and have a synaptics touchpad). I'd like to help but here it seems to be even a bigger mess... it crashes when accessing the mouse evice with hid. (probably because of the user space issue that dmotd mentioned). How did you get that device list? Is it a print from hid? (the only things I remember is lspci and lsusb) Best regards to everyone, and big up to Hans-Christoph Steiner for hid and linuxmouse, Pedro On Sat, Jun 19, 2010 at 4:48 PM, dmotd inaudi...@simplesuperlativ.es wrote: also another tip, its possible to configure a device dynamically with 'xinput', you can toggle off with: xinput --set-prop name of device Device Enabled 0 i use this with my wacom tablet to go between xorg device and HID, a full set of properties can be found with: xinput --list-props name of device i hope this is of help. James Dunn wrote: I've tried using [hid] and [linuxmouse] and both objects can open the device but no data is output from either object. [MouseState] and [cursor] both work but I was hoping to get relative values. Is this a driver issue? I'm using Ubuntu 8.04 and Pd version 0.42.5-extended-rc3. Here's the console output: [hid] 0.7, written by Hans-Christoph Steiner h...@eds.org compiled on Jun 13 2010 at 11:45:43 Device 0: 'Macintosh mouse button emulation' on '/dev/input/event0' Device 1: 'AT Translated Set 2 keyboard' on '/dev/input/event1' Device 2: 'PC Speaker' on '/dev/input/event2' Device 3: 'Power Button (FF)' on '/dev/input/event3' Device 4: 'Sleep Button (CM)' on '/dev/input/event4' Device 5: 'Lid Switch' on '/dev/input/event5' Device 6: 'SynPS/2 Synaptics TouchPad' on '/dev/input/event6' Device 7: 'Video Bus' on '/dev/input/event7' Device 8: 'PS/2 Generic Mouse' on '/dev/input/event8' Supported events: Detected: [hid] opened device 6 (/dev/input/event6): SynPS/2 Synaptics TouchPad print: open 1 print: device 6 Also my xorg.conf has this info: Section InputDevice Identifier Synaptics Touchpad Driver synaptics OptionSendCoreEvents true OptionDevice /dev/psaux OptionProtocol auto-dev OptionHorizEdgeScroll FALSE OptionVertEdgeScroll FALSE OptionSHMconfig on OptionVertTwoFingerScroll TRUE OptionHorizTwoFingerScroll TRUE EndSection Any ideas? thanks, James ___ 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 -- 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] obj to open webbrowser
pddp/pddplink perhaps? .hc On Jun 20, 2010, at 12:23 AM, philippe boisnard wrote: Hello I have a big black hole, I don't remember the object to open directly a web-browser and a link. thanks p ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list