Re: [PD] Pd-extended on Windows now has localization support
Japanese has just joined the team of 100%. Only the following two were remaining. - Realtime scheduling. - Rest to default. Please point out if what seemed straight forward, was untouched for any historical reasons I was not aware of. P.S. I've been away from the list for a while... Hope all of you are well. -- David Shimamoto (2012/12/01 10:54), Hans-Christoph Steiner wrote: You can now use Pd-extended on Windows in many different languages! I didn't realize this until just now, but the Windows builds of Pd-extended were not including the translations. I fixed that so Pd-extended should include all of the different interface translations on Windows too. Please test this if you are using a computer in a language other than United States English (there are Canadian and Great Britain localizations as well). http://puredata.info/downloads/pd-extended/releases/0.43.4 The currently included languages are: French (100% translated) Italian (100% translated) Canadian English (100% translated) British English (100% translated) Brazilian Portugeuse (100% translated) Spanish (100% translated) Japanese (99% translated) Mexican Spanish (99% translated) Catalan (99% translated) Greek (98% translated) German (97% translated) Hungarian (94% translated) Latvian (89% translated) Simplified Chinese (87% translated) Turkish (76% translated) Traditional Chinese (74% translated) Czech (73% translated) Gaelic/Scottish (62% translated) Dutch (59% translated) Portugeuse Portugeuse (58% translated) Lithuanian (47% translated) Russian (45% translated) Swedish (43% translated) If you want to help review and/or improve any of these translations, or add a new language, check out the Transifex translation site for Pd. You just need to login, then you can contribute: https://www.transifex.com/projects/p/puredata/resource/templatepot/ .hc ___ 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] Pd concert video
Hi Toby, (2010/07/13 12:58), Toby Sinkinson wrote: wow, really liked this! Are you a fan of the work of Asa Chang at all? Funny you noticed.. is he well known out of Japan? Primitive concepts of my work included triggering patches on my Dumbek. After getting as far as hooking up pickups, I met recordings by Asa-chang Junrei which kind of turned me off, getting to know what they had already achieved. But then, later from visiting one of their concerts.. although I could be wrong, my understanding as of today is that their concept is to play sophisticated rhythms along with pre-recorded tracks.. not specifically triggering sounds on their drums. This discovery gave me a reason to get back to my desk and continue working, although I still gave up using percussions to avoid obvious overlaps in the resulting sound. I still highly respect their work, and wouldn't mind driving 3 hours to the concert hall like I did previously. :) -- David Shimamoto Toby Sinkinson On Mon, Jul 12, 2010 at 6:29 PM, PSPunch sh...@pspunch.com mailto:sh...@pspunch.com wrote: Hi Hans, (2010/07/13 2:38), Hans-Christoph Steiner wrote: I did find a bit distracting when you did press the keys on the laptop tho, it took the focus away from you and the doll a bit. In order to avoid dealing with the PC at all, I actually assigned all controls to the functions keys on my soundcard.. However, you've stated a great point that, to the viewer it is equally distracting and doesn't matter where I reach out to. Thanks for the helpful tip. I'm already on my way to program my foot controller. Cheers -- David Shimamoto (2010/07/13 2:38), Hans-Christoph Steiner wrote: Nice! I like the mix of media, live guitar plus computer sound plus live visuals. The staging is well done too, it took me a little while to realize that you were being lit by the screen of your laptop. You were barely looking at it, so its a clever way to keep the laptop there yet not make it a typical staring-at-the-screen laptop performance. I did find a bit distracting when you did press the keys on the laptop tho, it took the focus away from you and the doll a bit. You should post a video of the whole performance, if you have it. .hc On Jul 11, 2010, at 8:53 PM, PSPunch wrote: Hi all, I've uploaded some excerpts of a piece I performed last night. http://www.youtube.com/watch?v=jkzYT0HVjG4 Nothing fascinating going on, especially in terms of DSP business, but I was quite fascinated to try out myself what a single laptop can manage nowadays. -- David Shimamoto ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list It is convenient to imagine a power beyond us because that means we don't have to examine our own lives., from The Idols of Environmentalism, by Curtis White ___ 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
Re: [PD] Pd concert video
Hi Hans, (2010/07/13 2:38), Hans-Christoph Steiner wrote: I did find a bit distracting when you did press the keys on the laptop tho, it took the focus away from you and the doll a bit. In order to avoid dealing with the PC at all, I actually assigned all controls to the functions keys on my soundcard.. However, you've stated a great point that, to the viewer it is equally distracting and doesn't matter where I reach out to. Thanks for the helpful tip. I'm already on my way to program my foot controller. Cheers -- David Shimamoto (2010/07/13 2:38), Hans-Christoph Steiner wrote: Nice! I like the mix of media, live guitar plus computer sound plus live visuals. The staging is well done too, it took me a little while to realize that you were being lit by the screen of your laptop. You were barely looking at it, so its a clever way to keep the laptop there yet not make it a typical staring-at-the-screen laptop performance. I did find a bit distracting when you did press the keys on the laptop tho, it took the focus away from you and the doll a bit. You should post a video of the whole performance, if you have it. .hc On Jul 11, 2010, at 8:53 PM, PSPunch wrote: Hi all, I've uploaded some excerpts of a piece I performed last night. http://www.youtube.com/watch?v=jkzYT0HVjG4 Nothing fascinating going on, especially in terms of DSP business, but I was quite fascinated to try out myself what a single laptop can manage nowadays. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list It is convenient to imagine a power beyond us because that means we don't have to examine our own lives., from The Idols of Environmentalism, by Curtis White ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd concert video
Hi all, I've uploaded some excerpts of a piece I performed last night. http://www.youtube.com/watch?v=jkzYT0HVjG4 Nothing fascinating going on, especially in terms of DSP business, but I was quite fascinated to try out myself what a single laptop can manage nowadays. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Floats and negative numbers over OSC
Hi Martin, So I guess it is likely to be a problem with GlovePIE not formatting the bytes according to the OSC specifications.. I will review the OSC format and if necessary, inform the author. Thanks again for investigating. -- David Shimamoto PSPunch wrote: Hi Martin, Thank you for your response. I am attaching the patch used to produce the following results. This was tested on Pd version 0.41.4-extended, running on WinXP SP3. The OSC data were sent by GlovePIE running the following code. --- SendOSC(127.0.0.1, 9997, /test, 0) wait 1 second SendOSC(127.0.0.1, 9997, /test, 1.5) wait 1 second SendOSC(127.0.0.1, 9997, /test, -1) wait 1 second --- I was expecting [routeOSC] to output 0, 1.5, -1. --- Output --- raw: 47 116 101 115 116 0 0 0 44 105 0 0 0 0 0 0 unpacked: /test 0 routed: 0 raw: 47 116 101 115 116 0 0 0 44 102 0 0 63 63 0 0 unpacked: /test 0.746094 routed: 0.746094 raw: 47 116 101 115 116 0 0 0 44 105 0 0 63 63 63 63 unpacked: /test 1.06111e+009 routed: 1.06111e+009 Hmmm, if I try sending the same values from packOSC to routeOSC I get: routed: 0 unpacked: /test 0 raw: 47 116 101 115 116 0 0 0 44 105 0 0 0 0 0 0 routed: 1.5 unpacked: /test 1.5 raw: 47 116 101 115 116 0 0 0 44 102 0 0 63 192 0 0 routed: -1 unpacked: /test -1 raw: 47 116 101 115 116 0 0 0 44 105 0 0 255 255 255 255 It looks like GlovePIE is sending the wrong numbers. Does it send anything except 63 for a value? The integer -1 should be 255 255 255 255, or 4294967295 (32 ones), but your device is sending 1061109567, as though the two most significant bits of each byte are being set to zero. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nogui, no signal
Hi Derek, At the moment, I have neither [block~] nor [switch]~. I'm already looking forward to inventing my own voodoo to share. -- David Shimamoto (2010/03/20 18:07), Derek Holzer wrote: Based on this conversation, and in a completely unscientific way, I would say maybe [block~] or [switch~] might cause problems, and places where those are might need a [netreceive] to initialize audio. But I am guessing. This seems like a very deeply embedded problem in Pd, and was enough for me to disregard -nogui as completely broken. YMMV. D. On 3/20/10 12:09 AM, PSPunch wrote: Hi Derek, I added on your name to search keys in the archive, and came across your old posts. Others facing the same problem, but no specific reasoning nor solution... I will dig in to my patch and hopefully will have follow ups soon... ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nogui, no signal
Hi Derek, I added on your name to search keys in the archive, and came across your old posts. Others facing the same problem, but no specific reasoning nor solution... I will dig in to my patch and hopefully will have follow ups soon... -- David Shimamoto Well, I do recall having some very not-working comb filters in a -nogui patch, where other things did work. This was some years ago. Would a [block] object suffer from this initialization problem? That might explain it. I have no idea where those patches went to, they were from 2005 or something, so I have no way to verify this now... D. On 3/19/10 3:57 PM, IOhannes m zmölnig wrote: Derek Holzer wrote: The way I remember it, anything to do with tables or other allocated memory can break with -nogui. [tabwrite~], [tabread~], [delwrite~], [delread~], [vd~] etc etc now this is something completely new to me and it does sound like voodoo. all of the object mentioned above have nothing to do with gui and should therefore not be affected by anything related to nogui. there are known problems initializing the sound system in nogui-mode. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] nogui, no signal
I have an audio patch in progress. In short, it takes an input, splits the signal in several paths, then all paths meet again at [dac~]... In brief, it is a guitar effector. While this patch works fine when launching Pd from shell with GUI, such as $ pd filename.pd Not all signal paths seem to work when launching with the nogui option. $ pd -nogui filename.pd I get some sound out of it, so it appears only part of all signal paths are blocked. The patch is of reasonable size and difficult to trace, therefore prior to dissecting it I would like to ask... Are there any specific objects or logics known to behave differently under no-gui ? -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Re : GEM units
Most Gem objects are wrappers to OpenGL commands. While pd-list is indeed full of helpful fellows, I would suggest looking into documents on OpenGL for facts and design concepts unclear through reading only ones installed with Gem. i.e., as I see from searching, your question may be new to this list but appears to be an FAQ in the OpenGL field. Although I do not recommend it, flipping through the first 4 chapters of the OpenGL programming guide http://www.opengl.org/documentation/red_book/ even if you are not specifically a C programmer. It helped me catch up with sooo many WHYs of Gem which had me puzzled for years. -- David Shimamoto i was just curious, since it's obviously not pixels or anything else that i could understand... i'll stick to the hannah montana/talk talk motto then. thank you all ___ 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] Handling numbers read from a file
Thanks all, I have summed up the ideas and created an abstraction containing [textfile] with an extra counter to keep track of the pointer. When requested to step back, it first gates the output, rewinds, then bangs [textfile] until it reaches the one previous position. This is probably least efficient among the mentioned solutions, but is compact in size while maintaining compatibility with other messages understood by [textfile]. I will post it here if I the performance reasonable in my project. -- David Shimamoto (2010/03/03 22:01), Jack wrote: If you have a list like [34 46 23 ...( and a [table mytab]. Then [list length] - [resize $1( - [s mytab] should help. Then you send a message [0 34 56 23 ...( - [s mytab]. ++ Jack Le mercredi 03 mars 2010 à 09:23 +0100, Matteo Sisti Sette a écrit : Hans Roels escribió: There's a simple solution to know the size of an array in Pd vanilla (it has been posted on this list before). If your array is called example, send a bang to [expr size(example)] That's great!! I didn't know that, and I so often needed it! Thanks a lot. However in this case, when you read the numbers from a file, you must count them _prior_ to storing them into the array. Or is there a way to send a list of numbers to an array and have it automatically resize to the list length? ___ 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] Handling numbers read from a file
Hi, I am looking for a way to load a series of floats stored in a file, then accessing the values in a non-sequential order. My patch under construction is utilizing [textfile], which I've come to realize that there is currently no method to move in reverse order. (Ultimately, all I want to do is go back one step when necessary.) As all my data are numbers, [tabread] should work fine. Although in this case, I do not know how to know the number of values in advance to resize the table prior to loading the data. Thanks in advance for any clues. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Handling numbers read from a file
Thanks Tim, That is quite amazing. I think I will be able to take it from there. -- David Shimamoto 2010/3/2 PSPunch sh...@pspunch.com mailto:sh...@pspunch.com Hi, I am looking for a way to load a series of floats stored in a file, then accessing the values in a non-sequential order. My patch under construction is utilizing [textfile], which I've come to realize that there is currently no method to move in reverse order. (Ultimately, all I want to do is go back one step when necessary.) As all my data are numbers, [tabread] should work fine. Although in this case, I do not know how to know the number of values in advance to resize the table prior to loading the data. Hi David, here's a possible solution. you can also directly read a textfile into a table, but afaict there is no resize option for that... gr, Tim Thanks in advance for any clues. -- David Shimamoto ___ 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] pix_video, webcam issue on Linux
Hi all, This may not be specific to Pd/Gem.. I have a webcam I am trying to get working with [pix_video] in the following environment. - Ubuntu Studio 9.04, - Pd-extended 0.41.4 (.deb for the above distro) - Gem 0.92.2 The camera works fine with Skype for Linux and v4l-test. However, when specifying the device with [pix_video], I get a series of errors such as, v4l: VDIOCGCHAN: Invalid argument v4l: VIDIOCGMBUF: Invalid argument I've seen posts on this list related to similar errors, in the case of pdp, with advise to bypass the conditional jumps near where the defines appear... this did not work with Gem. (Tried with videoVL4.cpp) After some surfing, my understanding as of now is that Gem is trying to issue V4L functions, whereas my webcam driver only understands V4L2.. Is this so? I would appreciate advise on insight on what could be happening here, or even just workarounds to this case. Here are some hardware specs I gathered, followed by the output of Gem (or they could be from ioctl... I am new to V4L). -- Output of v4l_dump (http://www.raphnet.net/programmation/v4l_tools/) Using device /dev/video0 struct video_capability { name='Laptop_Integrated_Webcam_0.3M' channels=1 audios=0 maxwidth=640 maxheight=480 minwidth=48 minheight=32 } VIDIOCGCHAN: Invalid argument struct video_picture { brightness=32768 hue=32768 colour=41942 contrast=0 whiteness=0 depth=16 palette=8 } -- Pd main window output [pix_video]: video driver 0: video4linux v4l // --- On object ctreation verbose( 1):[pix_video]: device-err: 0// --- When sending [device /dev/video0 verbose( 0):v4l: stopped Transfer verbose( 1):v4l::startTransfer closing 6 -- Console output ( When sending [device /dev/video0 ) v4l: VDIOCGCHAN: Invalid argument v4l: VDIOCGCHAN: Invalid argument v4l: VIDIOCGMBUF: Invalid argument Thank you in advance.. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pix_video, webcam issue on Linux
Wow Cyrille, that was right on the spot! With the mentioned version of Ubuntu, first installing the libv4l-dev package and then rebuilding Gem just like I did previously solved it all. Thanks again! -- David Shimamoto it look like the Gem your using is not compiled with v4l2 suport. i have somthing like this when creating pix_video : [pix_video]: video driver 0: video4linux2 v4l2 [pix_video]: video driver 1: video4linux v4l [pix_video]: video driver 2: ieee1394 dv4l dv so, for me V4L2 is default. i think you have to upgrade gem to a version that suport v4l2 in order to use v4l2 devices... Cyrille PSPunch a écrit : Hi all, This may not be specific to Pd/Gem.. I have a webcam I am trying to get working with [pix_video] in the following environment. - Ubuntu Studio 9.04, - Pd-extended 0.41.4 (.deb for the above distro) - Gem 0.92.2 The camera works fine with Skype for Linux and v4l-test. However, when specifying the device with [pix_video], I get a series of errors such as, v4l: VDIOCGCHAN: Invalid argument v4l: VIDIOCGMBUF: Invalid argument I've seen posts on this list related to similar errors, in the case of pdp, with advise to bypass the conditional jumps near where the defines appear... this did not work with Gem. (Tried with videoVL4.cpp) After some surfing, my understanding as of now is that Gem is trying to issue V4L functions, whereas my webcam driver only understands V4L2.. Is this so? I would appreciate advise on insight on what could be happening here, or even just workarounds to this case. Here are some hardware specs I gathered, followed by the output of Gem (or they could be from ioctl... I am new to V4L). -- Output of v4l_dump (http://www.raphnet.net/programmation/v4l_tools/) Using device /dev/video0 struct video_capability { name='Laptop_Integrated_Webcam_0.3M' channels=1 audios=0 maxwidth=640 maxheight=480 minwidth=48 minheight=32 } VIDIOCGCHAN: Invalid argument struct video_picture { brightness=32768 hue=32768 colour=41942 contrast=0 whiteness=0 depth=16 palette=8 } -- Pd main window output [pix_video]: video driver 0: video4linux v4l // --- On object ctreation verbose( 1):[pix_video]: device-err: 0 // --- When sending [device /dev/video0 verbose( 0):v4l: stopped Transfer verbose( 1):v4l::startTransfer closing 6 -- Console output ( When sending [device /dev/video0 ) v4l: VDIOCGCHAN: Invalid argument v4l: VDIOCGCHAN: Invalid argument v4l: VIDIOCGMBUF: Invalid argument Thank you in advance.. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Floats and negative numbers over OSC
Hi Martin, Thank you for your response. I am attaching the patch used to produce the following results. This was tested on Pd version 0.41.4-extended, running on WinXP SP3. The OSC data were sent by GlovePIE running the following code. --- SendOSC(127.0.0.1, 9997, /test, 0) wait 1 second SendOSC(127.0.0.1, 9997, /test, 1.5) wait 1 second SendOSC(127.0.0.1, 9997, /test, -1) wait 1 second --- I was expecting [routeOSC] to output 0, 1.5, -1. --- Output --- raw: 47 116 101 115 116 0 0 0 44 105 0 0 0 0 0 0 unpacked: /test 0 routed: 0 raw: 47 116 101 115 116 0 0 0 44 102 0 0 63 63 0 0 unpacked: /test 0.746094 routed: 0.746094 raw: 47 116 101 115 116 0 0 0 44 105 0 0 63 63 63 63 unpacked: /test 1.06111e+009 routed: 1.06111e+009 Thank you again for your help. -- David Shimamoto PSPunch wrote: Hi Calude, I don't know if mrpeach osc and net objects work on Windows, but if they do they should be preferred to the OSCx objects. (snip) OSCx library is old, buggy, unmaintained, broken I've tried the two libraries prior to my post. They both work well on Windows to the extent that I saw neither having disadvantages over the other. A problem I see commonly among the two mentioned sets of libraries is that they output incorrect values when receiving float or negatives. Integers and zero are fine. Recent versions of [packOSC] and [unpackOSC] should work properly. If not, please post some examples. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list routeOSC-test.pd Description: application/puredata ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Floats and negative numbers over OSC
Hi Martin, So it seems like a problem with GlovePIE not formatting the bytes according to the OSC specs.. I will review the format and if find it relevant, contact the author. Thanks again for investigating. -- David Shimamoto PSPunch wrote: Hi Martin, Thank you for your response. I am attaching the patch used to produce the following results. This was tested on Pd version 0.41.4-extended, running on WinXP SP3. The OSC data were sent by GlovePIE running the following code. --- SendOSC(127.0.0.1, 9997, /test, 0) wait 1 second SendOSC(127.0.0.1, 9997, /test, 1.5) wait 1 second SendOSC(127.0.0.1, 9997, /test, -1) wait 1 second --- I was expecting [routeOSC] to output 0, 1.5, -1. --- Output --- raw: 47 116 101 115 116 0 0 0 44 105 0 0 0 0 0 0 unpacked: /test 0 routed: 0 raw: 47 116 101 115 116 0 0 0 44 102 0 0 63 63 0 0 unpacked: /test 0.746094 routed: 0.746094 raw: 47 116 101 115 116 0 0 0 44 105 0 0 63 63 63 63 unpacked: /test 1.06111e+009 routed: 1.06111e+009 Hmmm, if I try sending the same values from packOSC to routeOSC I get: routed: 0 unpacked: /test 0 raw: 47 116 101 115 116 0 0 0 44 105 0 0 0 0 0 0 routed: 1.5 unpacked: /test 1.5 raw: 47 116 101 115 116 0 0 0 44 102 0 0 63 192 0 0 routed: -1 unpacked: /test -1 raw: 47 116 101 115 116 0 0 0 44 105 0 0 255 255 255 255 It looks like GlovePIE is sending the wrong numbers. Does it send anything except 63 for a value? The integer -1 should be 255 255 255 255, or 4294967295 (32 ones), but your device is sending 1061109567, as though the two most significant bits of each byte are being set to zero. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Floats and negative numbers over OSC
Hi, Can someone advise me on the current state of receiving floats and negative numbers over OSC? (on Windows) It seems like both [dumpOSC] and [routeOSC] treats the 4 byte input as an integer, ignoring the format. I've looked through the log but found only similar voices and no solution.. Thanks in advance. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Floats and negative numbers over OSC
Hi Calude, I don't know if mrpeach osc and net objects work on Windows, but if they do they should be preferred to the OSCx objects. (snip) OSCx library is old, buggy, unmaintained, broken I've tried the two libraries prior to my post. They both work well on Windows to the extent that I saw neither having disadvantages over the other. (Not to say that I intend to ignore warnings on avoiding OSCx.. just mentioning it for historical logging.) A problem I see commonly among the two mentioned sets of libraries is that they output incorrect values when receiving float or negatives. Integers and zero are fine. Can anyone share experience or workarounds before I go reinvent some more wheels? -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Task tray icon external
Apologies in advance to non Windows users... I've built a little external that lets you place an icon on the Windows task tray. You can also send messages from the popup menu (appears when you click on the icon) or display status through balloons. Perhaps would make an alternative control surface for no-gui patches. http://pspunch.com/pd/trayicon.zip -- David Shimamoto http://pspunch.com/pd/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Some more Pd related publication in Japan
Hi all, A book with a good amount of writing on Pd was issued on Dec.1 here in Japan. http://shop.cqpub.co.jp/hanbai/books/MBC/MBCZ201001.html As you may have guessed, the book is about building projects on the Arduino board. However, around half way through the book, it begins to devote pages on a thorough description of Pd and Firmata including a Pd reference. Projects in the later half of this book are mainly driven in Pd and nearly no Arduino code is listed.. The book appears to be categorized as a Mook (Magazine + book... is this term common elsewhere?) and does not have an ISBN assigned. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] how to tell if pd is in the background/foreground
Hi Rich, I maybe misunderstanding, but maybe [active] or its source code may help you. -- David Shimamoto Hi all, Anyone know how to tell (on OS X) if pd is in the background or foreground from C? I'm messing with Thomas' [wacom] external, trying to get it to keep the tablet disconnected from the cursor, but it resets every time pd goes to background. So, if I can figure out from the external when pd goes back to the foreground, I can reset it there, at least. regards, Rich ___ 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] Scanned synthesis (is it?) patch
Hi all, I've built a patch based on what I understand to be Scanned synthesis. http://pspunch.com/pd/files/patch/scanned_synthesis_izit/ Requires PMPD and Gem. Operation procedures are written inside the patch. From what I've read briefly, updating the wave table at control rate seems like cheating.. well, at least the resulting tones to me sound like commercial software synths noted to be using this technique. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Question about object categorizing
Hi all, A quick question regarding, pd/doc/5.reference/intro-help.pd I was wondering why [print~] and [samphold~] are under AUDIO FILTERS. Are they meant to belong there? -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Question about object categorizing
Hi Mathieu, Hi all, A quick question regarding, pd/doc/5.reference/intro-help.pd I was wondering why [print~] and [samphold~] are under AUDIO FILTERS. Are they meant to belong there? They are meant to remind everybody that categories don't necessarily make any sense. I'd also ask what's the logic in not putting all the AUDIO FILTERS object classes in the AUDIO MATH section, and/or in not putting all the AUDIO MATH classes in the AUDIO FILTERS section. But I don't expect an answer at all. Haha, cool. May I take it that there really is no relevancy (as far as you are aware)? Actually this is question arose while proof reading instruction manuals written by a member of our local user group. As there is a chance of it being widely circulated, I guess he may have to issue it based on pd-help as is, and refer to Mathieu's comment if anyone asks the same, although if it was never brought up here, chances of it being asked again may be slim. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Question about object categorizing
Hi Mathieu, Thank you for sharing your thoughts. I fully understand what you find unpleasant with categorization in general. Perhaps I should have made clear that I was not sure how [print~] and [samphold~] would even be considered to go under filters. Following your example, I figure [print~] may have been heavily used for tracking outputs while designing filters which lead it to belong under the category. Is [samphold~] also often used in building filters? -- David Shimamoto Hi Mathieu, I'd also ask what's the logic in not putting all the AUDIO FILTERS object classes in the AUDIO MATH section, and/or in not putting all the AUDIO MATH classes in the AUDIO FILTERS section. But I don't expect an answer at all. May I take it that there really is no relevancy (as far as you are aware)? No, I know exactly what the relevancy is, I just don't enjoy it. First, a person tells himself/herself «it would be better if there were categories». Then the person looks for characteristic features of the elements to be categorised, so that categories can be made. Those features have to be easy to think about. Turns out that one of the easiest features to think about in this case, are things like: where you first learned the basic concept of each object class. It's a kind of microcosm of the whole job-title social structure. Let me give an example. [lop~] is not an operation you learn in elementary-school or high-school math, therefore it doesn't fit in MATH. It doubly doesn't fit in math, because it isn't taught in a Math Department. A Math Department is a social structure that concentrates on any math concept that doesn't belong to any other discipline already, because if Electrical Engineers already occupy the [lop~] land, it's not only redundant for Math Departments to claim it, it also would make Mathematicians look like Electrical Engineers. So not only [lop~] is not part of Math Depts, but a bunch of related topics are just on the border, so they get lumped into a course called Applied Math, which is all made of pure theory, it's just a form of discrimination against kinds of Math that are too much in use by other departments. Meanwhile, Electrical Engineers would say that [lop~] is math, except when they get distracted by a category system. But most of all, for music students, [+~] is true math, whereas [lop~] is something magical and not math, because [lop~] is not part of what they learnt in courses labelled as «math» before, so it looks a lot more «audiosome» than +~ does. This is a summary. The actual situation is more complicated. So basically the category system has more to do with social factors than with anything else... and those social factors don't help seeing things as they are. For example, something that unites most of AUDIO MATH object classes, is that the effect only involves one instant at a time, no memory, no feedback. This obviously excludes all four [fft~] and [framp~] from that category system, as those are block-oriented object classes (which could be the name of another category). But then, there are a few expatriates that you have to pick from all over to put them in the instant-oriented category. For example, [cos~] from the OSCILLATORS AND TABLES category; but also, the [tabread...] classes are instant-oriented, but they differ from all others so far, because they use data that doesn't come from the signal. Then we could argue about whether [noise~] belongs in or not (because it depends on how you look at it). I'm not completely against categories... I'm trying very hard to make good categorisations, because it's hard for me to find a categorisation that I can take seriously, and I'm trying to find one. As there is a chance of it being widely circulated, I guess he may have to issue it based on pd-help as is, and refer to Mathieu's comment if anyone asks the same, At this point, I don't expect Pd's category list to change at all, so, depending on what it is that you're doing, it may be better to just go with Pd's categories, if you have any advantage in following Pd's categories. although if it was never brought up here, chances of it being asked again may be slim. Oh, the general topic was brought here in the past. For example, I remember some years ago there was a thread about whether [namecanvas] is OBSOLETE or not. It's not. (As you see, it didn't change Pd's official categorisations). But also, for each post to the pd-list, there may be 10 or 100 people asking themselves the same thing, roughly speaking. You don't know. In any case, downloads of pd-extended aren't on the same scale as the member-list of pd-list, and then, not everybody ever writes at all. _ _ __ ___ _ _ _ ... | Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and
[PD] Pd related publication
Hi all, Early this month (Sep. 2009) a book on Pd was released in Japan rather silently. http://www.cqpub.co.jp/hanbai/books/12/12431.htm As the name CQ Publications may tell, the publisher is widely known in Japan for decades for their Ham Radio related books and magazines. This book also takes a rather unique approach, introducing Pd as a method to build your own filters and DSP blocks for the sole purpose of expanding your transceiver. Here is a brief translation of the final chapter on sample patches. - 7. Sample patch 7-1 VU meter 7-2 Analyzing and displaying the input signal 7-3 Morse code generator 7-4 DTMF encoder 7-5 DTMF decoder 7-6 Compressor 7-7 Using the RS232C - The book also comes with a CD-ROM containing Windows binaries of Pd-extended. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] some naive questions
I've never fully understood the delay parameter either.. Assuming you set the block size to 128 and working at 44.1kHz, one block is 2.9 msec long. In this case, is setting the delay to 3msec and 4msec the same? -- David Shimamoto Hi Tania, you'll find some detailed answers to both these questions in the configuring and Starting sections of the PD FLOSS Manual: http://en.flossmanuals.net/PureData/ConfiguringPD http://en.flossmanuals.net/PureData/StartingPD best! Derek tania habib wrote: Hello, I have two questions regarding the audio settings on PD. When you open the audio settings in PD, normally 44.1 kHz sampling rate and a delay of 50 msec are given with various options for inputs/outputs. My question is whether someone can tell me about this delay and what does that really mean? Is there a way of intializing and running a patch through command line on mac osx? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Colors in Gem stereoscopic mode
Hi, Finding out that many online stores sell colored cellophane glasses at a low price, I was thinking of some projects using Gem's stereoscopic modes. But, whoa.. they all come in blue and red whereas Gem works in red/green. Are these colors chosen as they are offered by one of the common OpenGL libraries? If so, the following may be off topic on the Pd list but.. are the conventional color schemes of classic 3D glasses avoided for some practical reason? -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd and tcp: what to do against crashes?
i really wonder, how other projects handle that. i mean, if several people download a big file from apache, then a disappearing client doesn't interfere with the other clients. i guess, in apache it is solved by using threads. when using threads, one single thread doesn't necessarily need to know about the buffer state, because it could be blocked without harm to the other apache children. so it can try to send as much data as possible. is using threads the _only_ solution to deal with that problem? i guess, it would overcomplicate the programming of [tcpserver], but you sure know better... From my understanding, the alternative to using multiple threads/processes would be to set the socket to non-blocking and implement a Pd object that buffers the messages requested to be sent. Then attempts to retry sending what the OS once rejected should be made. This will also involve giving the object a timer to call it a fault and close the socket if no bytes seemed to have traveled over a certain period of time. This probably calls for some decision making in the design of the Pd object, such as how frequently to retry sending the bytes to the socket. I was thinking a [bang] may be flexible. Whether it be triggered by [metro] or [bang~], the one designing the patch would have the most control over how to deal with the results of the transfer. I found this article helpful to gain basic understanding on which layer of the OS or library is responsible for the actions happening beneath the covers. http://www.amk.ca/python/howto/sockets/ I have yet to learn and may be wrong. Please excuse me if this has already been done. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd and tcp: what to do against crashes?
Hi Martin, From my understanding, the alternative to using multiple threads/processes would be to set the socket to non-blocking and implement a Pd object that buffers the messages requested to be sent. Then attempts to retry sending what the OS once rejected should be made. It seems like that would always end up blocking something, depending on the reason for the inability to send the messages. If the other end has crashed the object would be trying sending for hours and its buffer would expand to fill up all available memory. Infinite retries will not occur if a timeout is set for the [tcpserver] to decide that the other end has crashed. This timer will not wait and block, but increment occasionally. The person programming the patch can wait for output of the object to confirm that the previous transfer has completed if it is of his concern. Yes, the data WILL be blocked in the sense that it is being buffered in the object, but without causing a pause in the process. (Whether setting the socket to non-block or using select with a timeout of zero was not my concern) Users will also benefit from, while having to pay attention to broken connections, can be less concerned about how to resend failed packets over a socket that is not broken but simply delayed. ...Doesn't allowing this sort of usage make your objects more compatible with the previous design? The way I do it now in [tcpserver] is to send the messages one byte at a time, first using a select() call to verify that each byte can be sent without blocking. This is similar to using non-blocking sockets but doesn't involve timers. Having said all of the above, this point was my main concern. With your new design, does the OS also flush data a byte at a time over the network, or does it buffer it for a reasonable duration? The earlier sounds like to introduce massive overhead caused by TCP headers, especially when we are speak of sending amounts of data that may flood the socket's send buffer. In the later case, the OS may indicate that bytes entered the socket, while they were actually only buffered while the connection breaks and was never sent. This will also involve giving the object a timer to call it a fault and close the socket if no bytes seemed to have traveled over a certain period of time. This can be done in the patch, so the user can decide what to do about unsendable messages. They can implement a timer and know what state it was in. This probably calls for some decision making in the design of the Pd object, such as how frequently to retry sending the bytes to the socket. I was thinking a [bang] may be flexible. Whether it be triggered by [metro] or [bang~], the one designing the patch would have the most control over how to deal with the results of the transfer. Yes, you can do all that in the patch that uses [tcpserver]. I don't think the object itself needs to be overly complex. In my experience, 'user-friendly' usually means 'opaque', 'inscrutable', 'why TF is it doing that?' I agree with you on this point. All mentioned out of curiosity.. I don't know enough on writing externals to implement what I suggested myself, and do truly feel respect for your work. Perhaps I should just pull out a packet analyzer and confirm what goes on myself before nagging about it. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Arduino/SRF05
Hi Daffydd, I don't recall having too much trouble transferring bytes from an Arduino over to [comport]. Do you not have any data flowing between the two, or is your concern more about how numeric figures are to be formatted? -- David Shimamoto Hey Hans-Christoph Actually, I've had the sensor working with Arduino and pulsing LEDs for a while - that part's fine. Now it's just getting Pd to understand Arduino's Serial.println that's giving me trouble. I'm going to open up [arduino] and I bet I'll find the secret there. I was hoping there's be a strictly Pd way to do it - it's for an intro workshop and I was going to show folks how super-easy it is. Hopefully I'll be able to show folks how almost super-easy it is instead. This may be one of those rare occasions where it's actually easier to do something _without_ Pd:) cheers dafydd On Sun, Mar 1, 2009 at 5:14 PM, Hans-Christoph Steiner h...@eds.org wrote: It wouldn't be so hard, but you'd need some arduino programming experience. If you want something like that sensor that is really easy to use, get a Maxbotix, you can just hook them up to an analog pin and read them immediately with Pduino: http://www.sparkfun.com/commerce/categories.php?c=84 .hc On Mar 1, 2009, at 5:03 PM, Dafydd Hughes wrote: Thanks Hans-Christoph In over my head again. cheers dafydd On Sun, Mar 1, 2009 at 4:59 PM, Hans-Christoph Steiner h...@eds.org wrote: I think that is one of the sensors where you have to do the triggering and pulseIn measurement yourself. There are examples on the arduino forum of firmwares that do this, then if you combine such a firmware with the Firmata Arduino library, then you'll have a firmware that will work with Pduino and that sensor. .hc On Mar 1, 2009, at 3:43 PM, Dafydd Hughes wrote: Hi folks I'm wondering if anybody can point me at an example of using Pduino and an SRF05 ultrasonic ranger? Not sure how to get the microsecond intervals needed. Apologies if this is covered elsewhere on the list or if it's just a stupid question. cheers dafydd -- www.sideshowmedia.ca skype: chickeninthegrass ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list It is convenient to imagine a power beyond us because that means we don't have to examine our own lives., from The Idols of Environmentalism, by Curtis White -- www.sideshowmedia.ca skype: chickeninthegrass All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated -John Donne ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Object to handle OpenGL macros
Hi, I've made an object that eats macros listed in gl.h and outputs the integer value. Not sure if anyone else would make use of it but here it is. http://pspunch.com/pd/article/pd_glmacro/index_en.html. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Yet more DS GUI excursions
Hi, Cool stuff! OT, This reminded me of when I first saw YouOS. One of these days someone may implement a full featured virtual desktop with a web browser and office applications, etc... all on top of Pd data structures. :) -- David Shimamoto Here's another experiment with datastructure-based GUI replacements. As with Chris (with his recent excellent expanding GUI concept), I'm a big big fan of hiding complexity, and I also like keeping details and interaction in context, as in, somehow connected to or growing from the control you're manipulating. Apple's doing this tons lately, e.g., the new iLife http://blog.cocoia.com/2009/01/07/iwork-ilife-09-ui-roundup/ (HUD panel changes is the only pic I can find, but there are many more examples in the new iMovie videos @ http://www.apple.com/ilife/imovie/). So, this is a simple context-bubble sketch: dragging the slider reveals a bubble with two different interpretations of the slider's value. With the new click message, these could me more than transient datalayers, and could graduate to being actual interactive controls. The biggest problem with this example is that the bounding box of the GOP needs to be bigger than the control to give room for the context popup to appear, meaning every control has a giant black rectangular halo. It would be really awesome if there was a way to hide that box, just like IOhannes added the option to hide the object name and arguments. Another really nice addition to DS would be variable opacity, so when I do a filledpolygon I can specify 9005 as the color to get a transparent red rather than just 900. That would be of great use for both these context bubbles as well as, say, a sample range selection box where you can still see the sample data under the selection. And as ever, a way to specify a persistent z-index for DS is pretty essential for any complex use. Okee, that's all for the moment Best Luke ___ 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] Gem, Particles, a tail?
Andrew, I think updating the coordinates of [part_source] by sending it arguments, rather than inserting a [translate] in the chain should work. -- David Shimamoto Dear all I'm attempting to create a gem graphing application. in essence I want objects to the right of the screen (moved by incoming data) with particles moving to the left, and so leaving a visible tail of particles moving to the left and showing where the source object has recently moved. The trouble is that a translate object anywhere in the particle chain not only moves the source but all the particles in the same direction. Does anyone know how I can move the source object but leave existing particles on their current course? God Bless Andrew Are you a PC? Upload your PC story and show the world Click Here! http://clk.atdmt.com/UKM/go/122465942/direct/01/ ___ 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] Ubuntu vs. ubuntustudio?
What do you think might be the better approach, to use ubuntu normal, or ubuntustudio? Roman told me that for a while there's no big difference, because the -rt kernel comes with ubuntu. Is ubuntustudio more than a bundle of software with nice backgrounds? (Note: I'll use the same setup on both computers, so the system should work on 64 and 32b). As far as I know, Studio is just plain Ubuntu that comes with a set of software relevant to audio video. As a matter of fact, installing the studio (or a name of that sort) meta package on plain Ubuntu is the same as starting out with a studio installation CD/DVD. Probably it is just the matter of preference in images used for the startup screen and the default wall paper. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd as a 24/7 Icecast/Shoutcast source client (alternative)
Hi Ilias, I haven't seen the whole discussion about this, but from what I understand someone is using PD, mplayer and jack for streaming to an icecast/shoutcast server. I have used PD as a 24/7 source encoder/streamer, using mp3cast~, in the OtherSide project. This was a server that had PD running a synthesis patch which can be controlled by OSC through IRC and a bot listening on a chatroom there. It has been up for the past 3-4 months non-stop and with no maintenance within the University of Sheffield intranet. Sounds doable with synthesized audio. When building a play list like function that handles virtually an infinite number of audio files, I think what Roman referred to as Symbol table pollution comes to consideration... I imagine this being unreleased memory that occurs in the course of handling file names. Is my understanding correct? -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd as a 24/7 Icecast/Shoutcast source client.
Hi Roman, Thanks for the insight. Very interesting.. By the way, i wonder, how it would be to have pure generative stream without mplayer-jackd-pd quirks. i could imagine, that it would run quite stable. Is this how you got your chain running? If so, is there a reason you avoided using file playback objects within Pd? -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd as a 24/7 Icecast/Shoutcast source client.
Hi, Is there anyone using Pd for doing intense file streaming towards an Shoutcast/Icecast server? I am interesting in hearing impressions, discovered drawbacks, etc.. ** Some background ** Being in need to prepare a machine running an Icecast source client 24/7, I've been shopping around the last few days. All existing applications I've tried are either, - Play list oriented (as seen in many, many Internet radio solutions) They are designed to randomly select songs from a huge database containing millions of files. Enabling the user to program discipline in songs to pick with quite a flexibility... where as, I only need to schedule recorded programs to play at certain hours. The timing that things get played is as important as what gets played. or - Has no ability to adjust volume. I am expecting to face occasions where I need volume control over the output to create fades. (Not cross, just simple fade outs) MPD (Music Player Daemon) came s close, assuming I'd be writing the scheduler myself. Unfortunately its volume control affects only local the output, not volumes of streams sent to Icecast severs. As much as I love playing with Pd, I never thought at fist that it may be the only application that would fulfill all my needs in one app, opposed to preparing some obscure Jack networks. So,... back to initial statement. Thanks. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd as a 24/7 Icecast/Shoutcast source client.
Hi Michael, First of all, after a look at nSlam, overwhelmed by its features and refreshing my mind on a cup of coffee, I've found a solution using MPD.. there actually was a way to assign its only volume control to my desired output. Anyway, I've taken a brief look at the documents and what I think is the example you mentioned (StreamCaster?). The concepts in the suite is certainly inspiring in terms of making practical applications based on Pd. For my current project, I am trying to go low cost on hardware as much as possible, so I think I will stick with MPD for now. I hear people run it on 75MHz Pentiums. I am considering utilizing a NAS running Linux at 200MHz or so and only has a CLI. Thanks anyway. I will take a closer look at it today. -- David Shimamoto I've had success with nSlam: http://tot.sat.qc.ca/down_nslam.html There is, in fact, in the package, a prepackaged example of streaming application. I have not streamed 24/7 but for about 4 hours without a problem. I used to run many different patches 24/7 (in different contexts) without pd crashing so I would expect it to work longterm as well. Let us know how it works out for you, please. ./MiS On Thu, Nov 27, 2008 at 12:05 AM, PSPunch [EMAIL PROTECTED] wrote: Hi, Is there anyone using Pd for doing intense file streaming towards an Shoutcast/Icecast server? I am interesting in hearing impressions, discovered drawbacks, etc.. ** Some background ** Being in need to prepare a machine running an Icecast source client 24/7, I've been shopping around the last few days. All existing applications I've tried are either, - Play list oriented (as seen in many, many Internet radio solutions) They are designed to randomly select songs from a huge database containing millions of files. Enabling the user to program discipline in songs to pick with quite a flexibility... where as, I only need to schedule recorded programs to play at certain hours. The timing that things get played is as important as what gets played. or - Has no ability to adjust volume. I am expecting to face occasions where I need volume control over the output to create fades. (Not cross, just simple fade outs) MPD (Music Player Daemon) came s close, assuming I'd be writing the scheduler myself. Unfortunately its volume control affects only local the output, not volumes of streams sent to Icecast severs. As much as I love playing with Pd, I never thought at fist that it may be the only application that would fulfill all my needs in one app, opposed to preparing some obscure Jack networks. So,... back to initial statement. Thanks. -- David Shimamoto ___ 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] [popen] and PHP on windows
Hi, Perhaps because I have CYGWIN installed, my [popen] accepted back slashes. I wrote a script that ouputs ($argv[1] * 2) and sent it the following message. [php c:/phptest.php 10 results were good. -- David Shimamoto Le 10 sept. 08 à 19:01, patco a écrit : Le mercredi 10 septembre 2008 à 18:16 +0200, Jack a écrit : However, when i enter directely 'C:/wamp/bin/php/php5.2.6/php.exe -f C:/wamp/www/ADM/arbre.php 10' in a Command Prompt window and press 'Enter', all works fine and Pd receive the datas. it's hard to believe that cmd is able to read slashes like backslashes Yes, you are right, it was backslashes, i just do copy and paste sorry ;) How do you do to receive a variable in a .bat to send (in my exemple) 10 to 'arbre.php' ? (Pd send 10 to .bat then .bat send 10 to PHP). Thanx ++ Jack however, I usually write a batch file and start the .bat file with popen, and problems goes away. ___ 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] [PD-dev] cross-platform support for externals (extern not enough?) (Was: Re: Problem building pdlua on MinGW (solved for now))
Hi all, Am 03.09.2008 um 22:11 schrieb Claude Heiland-Allen: So the question is, does every external have to jump through this kind of hoop if it wants to compile on Windows? /* support windows */ #ifdef MSW #define EXPORT __declspec(dllexport) extern #else #define EXPORT extern #endif Yes and no. With the above hoop you define all what is needed - on the other hand you could also roll it out to the build stage and instruct the linker via flags or .def files about which symbols to export. gr~~~ I found the same topic regarding compilation of pdlua on Windows. http://lists.puredata.info/pipermail/pd-list/2007-12/057637.html To add a quick update to the topic, I think the built pdlua will not work on the binary package of Vanilla-Pd. It does not have sys_register_loader() visible externally which I think in another discussion, Hans had mentioned he had patched for extended. At least the symbol to that function was not found neither in pd.dll nor pd.lib attached to Vanilla. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Connecting VLC-Player with pd under Windows
Hi Carlo, You may want to take a look at this. Virtual Audio Cable http://www.screenvirtuoso.com/vac.html I found it among a quick search. There may be other freeware with the same concept. -- David Shimamoto Dear members of the pd-mailing list, I´d like to ask you, if it´s possible to connect under windows a VLC-Player (out) with pd in order to transform some audio streams token from internet. Thanks for you kind attention! Best regards Carlo ___ 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] Avoiding clipping with tabread4
Hi list, I hope my repeating questions don't annoy anyone. I've sent a similar question a while back to [pd-ot] but with out response, have been thinking over it, found no answer so far. Although I had never concerned it till recently, I've learned that 4 point interpolation may at times return values less than -1 or greater than 1 even when the 4 reference points are with in that range. i.e., having a table of [-1 1 1 -1], an index of 1.5 will return 1.25 with [tabread4] Are there any common practices to avoid unexpected clipping introduced by [tabread4] or [tabosc4~] ? Further more, under what circumstances (what 4 values referred to) will the returned value exceed the range most? Thanks in advance.. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Disabling a [gemhead] by default (Re: Writing texture to different sides of cube in GEM)
Hi cyrille what is the problem with : [loadbang] | [0 Yes, that will work. For example, [gemwin] starts out disabled and without the window showing, or say, [metro] being off by default. It is reasonable that [gemhead] is on by default, but being able to state in the object itself, self concluding, that it is intended to being off may make help clear its function. Maybe I just feel so because the dual gemhead method is something I use regularly with my Gem projects. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Disabling a [gemhead] by default (Re: Writing texture to different sides of cube in GEM)
Thanks all for the ideas. I thought the dgemhead and repeat methods were just a matter of preference. If one is trendy and the other out dated, I guess I can just drop the one said to be less efficient. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Avoiding clipping with tabread4
Hi Charles, Common practices, not sure. But I think we can establish an upper bound on the peak value, analytically. Ok, So to be secure, [* 0.8] (1/1.25) will prevent such clips I guess. As the series being somewhat are, perhaps for wavetable synthesis, I guess a larger factor or a simple [clip] may be practical as well. Anyway I appreciate you backing me up with my question. How do you like answering your own questions :) Your example is exactly it. It was a rough guess taken from my understanding of what the formula did, however, I had no idea why. The whole idea of polynomial interpolation to me, was something I had to read multiple explanations before understanding. Yours certainly carried me through the last few steps to reach my goal. Thank you so much. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] reset a particle system
Hi marius, I tried sending a 0 to the right inlet of [part_killold] and then a different value triggered by the next frame ([gemhead]). I don't know if this introduces a frame where no particles exist, but it seems to achieve an effect similar to what you seem to be up to. Perhaps because processed within the same frame, The following did NOT work. [t b b] || [10 [0 -- David Shimamoto hi, is it possible to reset a particle system? delete all existing particles and set all particles to age 0 and position 0. marius. ___ 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] rock, paper, scissors
thanks! that makes sense. although i think your results table was not accurate - i reckon it should be: Ooops, Yeah, I may have had my lefts and rights reversed. :) Must have lost it somewhere down the translation. Paper, etc... is a very big game in my region also but with different terminology. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] rock, paper, scissors
Hi, You are already treating the hands as random integers. iL = hand (value) of left player iR = hand (value) of right player Get the value of (iL - iR). Send above value to [sel -2 -1 0 1 2] -2 .. Right player wins -1 .. Left player wins 0 .. Even 1 .. Right player wins 2 .. Left players wins There may be a smarter looking way without using [sel] but I think this is as few as you can get with number of objects used. -- David Shimamoto hi i tried to do a recreation of the classic rock, paper, scissors game in pd. attached is the easy part :-) i got stuck in the interesting part, the one where the results from each chain (hand, if you will) must be compared, to see who wins. before building a super complex and rube golberg-like chain of gates, moses and selects, i wanted to check for advice here. im quite sure i overlooked some brilliant and effective way of doing this. thanks p #N canvas 0 22 511 410 10; #X obj 108 33 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 108 117 sel 0 1 2; #X msg 125 245 set paper; #X obj 108 89 random 3; #X symbolatom 108 310 10 0 0 0 - - -; #X obj 308 117 sel 0 1 2; #X msg 325 244 set paper; #X obj 308 78 random 3; #X symbolatom 308 310 10 0 0 0 - - -; #X obj 108 61 metro 2000; #X msg 108 221 set rock; #X msg 142 269 set scissors; #X msg 308 221 set rock; #X msg 342 269 set scissors; #X connect 0 0 9 0; #X connect 1 0 10 0; #X connect 1 1 2 0; #X connect 1 2 11 0; #X connect 2 0 4 0; #X connect 3 0 1 0; #X connect 5 0 12 0; #X connect 5 1 6 0; #X connect 5 2 13 0; #X connect 6 0 8 0; #X connect 7 0 5 0; #X connect 9 0 3 0; #X connect 9 0 7 0; #X connect 10 0 4 0; #X connect 11 0 4 0; #X connect 12 0 8 0; #X connect 13 0 8 0; ___ 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] Free rotation in GEM
Thanks, cyrille, I looked up some of the objects which were new to me in order to understand your method, and your example makes an awful lot of sense. I will try implementing it later today. Mean while, you can save few cpu using gemlist_matrix and GEMglMultMatrix. Can you please show me specifically how I can utilize these? I was not able to create [GEMglMultMatrix] as an object so I am guessing it is an abbreviation of some related method I do not know of. Also, are there any resources on what practices are processed on the GPU and which ones are not? That is a point I have never considered but is probably worth thinking of for intense patches I may (or I may not, someone else may..) build in the future. Thanks. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Free rotation in GEM
Cyrille, With your advise, I think I've successfully implemented the algorithm I had in mind. The sad thing is, the algorithm I imagined did not exactly function in the way I wanted. i.e. 1, during one drag session, when rotating the Y axis (dragging right or left) 180 degrees and then the x axis (up or down), it rotates as expected. However, when moving the axis in reverse order (making the teapot upside down, and then rotate) it does not rotate in the expected direction. i.e. 2, Behavior when dragging from one corner diagonally across the screen is not as expected. I've attached a sample patch. Probably the two problems are related. I need to look into this a bit more.. -- David Shimamoto ok. i think i undersand. there is an other possibility based on the gemlist_info object that get curent transformation matrix and convert it to rotation / translation ... so, what i think is the most simple is : gemhead | rotateXYZ (for the drag rotation, should be (0 0 0) when you don't drag) | rotateXYZ (for a feedback loop thanks to the rotation given by by the last object on the chain) | object primitive | gemlist (the gemlist should be banged only at the end of the drag) | gemlist_info (get curent rotation at the end of the drag, and send it to the 2nd rotate) you can save few cpu using gemlist_matrix and GEMglMultMatrix. this is a bit like the algorythm you describ, execpt that everything is computed on the GPU (it is more the Gem way to do). cyrille PSPunch a écrit : Hi, My primary goal is to place an object you can rotate by dragging the mouse. Basically, whenever the mouse is clicked to start drag, I want to rotate the object on the X Y axises. Up to this point is no problem, but I want the rotation to begin assuming the direction of the viewer being the bases of the axis. Using one [rotate] object, I can get the object to rotate in the behavior I expect only on the first drag. Ideally, each time the mouse button is released, the base (fundus? basal?) of the rotation vector should be updated... I think. By chaining [rotate] objects, I can use one to rotate the rotation axis and another to rotate the object from that point. However, I have not found a method of summing multiple drag actions. Although I may be wrong, I think what I need to do is, 1. Prepare two rotation axises I. Angle of the axis II.Angle of the current drag session 2. When the mouse button is clicked, rotate object to angles I + II 3. When the mouse button is released, sum I + II and wait for a new click. And again, although I may be wrong, my current understanding is that step 3 will require multiplying the X-Y-Z angles converted to quaternion, or some other method which will rotate the Z axis at some point by summing rotations based only on the XY axises. Using procedures completely different from the one mentioned abouve, I was able to achieve the expected behavior based on [accumrotate] but I found no simple way of managing the current angle. Unfortunately I have torn down the patch. If it would clarify anything, I will try to put together another one later today. Thanks for replies. -- David Shimamoto Indeed, Seems to me all the matrix discussion does not get to the heart of the question. So, Pspunch, what are you really trying to do? I agree with cyrille that It's very likely the normal rotation objects will do what you want it to. If you are just wanting to rotate many times, using huge numbers then tricks like: wrap 0 359 work well... ..b cyrille henry wrote: hello sorry if i misunderstand. rotateXYZ will rotate in X direction, then in Y, finally in Z. if you wish to rotate in Z, then in X, you just need 2 rotate objects: the 1st for the rotation in Z, then an other for the rotation in X. anyway, there is no matrix manipulation that i was not able to do with rotate/rotateXYZ/translateXYZ/scaleXYZ/shearXY.. so i'm quite sure you don't need anything else than this standard objects for simple matrix rotation. so i think you need 1 [rotate] to rotate the vector axis of the object, then a accumrotate. if i misunderstood, could you please describe your problem better. I think you can also use GEMgl objects to multiply the matrix with a custom one, but it's to much complex for what you need. cyrille PSPunch a écrit : Hi Mathieu, I have not looked into GridFlow much, but I had the impression that its main concept was to add matrix manipulation features to Pd, all of its visual capabilities being just one of the many results of data you can manipulate with matrix. (or is the egg first?) Anyway, understanding its marvelous potentials, I have lately been stuck with Windows platforms. At least I got your point that utilizing GridFlow only for crunching numbers may work but not so efficient. What I am trying to do is rotate the vector axis of the object before
Re: [PD] Free rotation in GEM
Hi, My primary goal is to place an object you can rotate by dragging the mouse. Basically, whenever the mouse is clicked to start drag, I want to rotate the object on the X Y axises. Up to this point is no problem, but I want the rotation to begin assuming the direction of the viewer being the bases of the axis. Using one [rotate] object, I can get the object to rotate in the behavior I expect only on the first drag. Ideally, each time the mouse button is released, the base (fundus? basal?) of the rotation vector should be updated... I think. By chaining [rotate] objects, I can use one to rotate the rotation axis and another to rotate the object from that point. However, I have not found a method of summing multiple drag actions. Although I may be wrong, I think what I need to do is, 1. Prepare two rotation axises I. Angle of the axis II.Angle of the current drag session 2. When the mouse button is clicked, rotate object to angles I + II 3. When the mouse button is released, sum I + II and wait for a new click. And again, although I may be wrong, my current understanding is that step 3 will require multiplying the X-Y-Z angles converted to quaternion, or some other method which will rotate the Z axis at some point by summing rotations based only on the XY axises. Using procedures completely different from the one mentioned abouve, I was able to achieve the expected behavior based on [accumrotate] but I found no simple way of managing the current angle. Unfortunately I have torn down the patch. If it would clarify anything, I will try to put together another one later today. Thanks for replies. -- David Shimamoto Indeed, Seems to me all the matrix discussion does not get to the heart of the question. So, Pspunch, what are you really trying to do? I agree with cyrille that It's very likely the normal rotation objects will do what you want it to. If you are just wanting to rotate many times, using huge numbers then tricks like: wrap 0 359 work well... ..b cyrille henry wrote: hello sorry if i misunderstand. rotateXYZ will rotate in X direction, then in Y, finally in Z. if you wish to rotate in Z, then in X, you just need 2 rotate objects: the 1st for the rotation in Z, then an other for the rotation in X. anyway, there is no matrix manipulation that i was not able to do with rotate/rotateXYZ/translateXYZ/scaleXYZ/shearXY.. so i'm quite sure you don't need anything else than this standard objects for simple matrix rotation. so i think you need 1 [rotate] to rotate the vector axis of the object, then a accumrotate. if i misunderstood, could you please describe your problem better. I think you can also use GEMgl objects to multiply the matrix with a custom one, but it's to much complex for what you need. cyrille PSPunch a écrit : Hi Mathieu, I have not looked into GridFlow much, but I had the impression that its main concept was to add matrix manipulation features to Pd, all of its visual capabilities being just one of the many results of data you can manipulate with matrix. (or is the egg first?) Anyway, understanding its marvelous potentials, I have lately been stuck with Windows platforms. At least I got your point that utilizing GridFlow only for crunching numbers may work but not so efficient. What I am trying to do is rotate the vector axis of the object before applying [rotation]. This also calls for a method of summing the rotations when applying multiple times (and my current understanding is that this can only be done by multiplying the quaternion on each rotation) If there is no solution at the moment, perhaps Gem could use a few extra objects to ease advanced rotations? I feel like I am complaining about lack of features without pointing out what exactly is missing, when I should be blaming my lack of math skills. hmmm.. -- David Shimamoto On Wed, 16 Jul 2008, PSPunch wrote: Trying to achieve free rotation *without* using [accumrotate], I have come across concepts such as multiplying matrixs and converting a matrix to quarternion How do you implement precise control of rotation matrixs? Is this exactly what people use GridFlow for? If you tried GridFlow's bundled examples you'd see what I use GridFlow for. I suppose that I could add some other people's examples in the package, if they sent it to me for that purpose. There is already one patch by Roman Häfeli in GridFlow's examples though. GridFlow does not support quaternions. I bet it's possible to add support for it using abstractions, but it wouldn't be fast. But I'm willing to add it to the core... there's already a complex-number section in number.c, why not quaternion product? It would be called [# H.*] where H stands for Hamilton (in math the letter Q is already reserved for rationals, so I'd use H even though the concept of rational reasonably couldn't appear
Re: [PD] Free rotation in GEM
O/T Now that I've got a grasp of what they are good for in real (or virtual) life, I enjoyed spending the last week or so studying math putting patching aside. :( So why don't you smile? I was practicing my sarcasm which I've just proved that it can use some improvement. Of course studying math is fun, but patching is even more fun! \(^v^)/ Or I should say I personally find patching to be relatively sporty compared to other things I enjoy doing.. until bumping into logic problems like this. That is also fun, but not sporty. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Free rotation in GEM
Hi Mathieu, I have not looked into GridFlow much, but I had the impression that its main concept was to add matrix manipulation features to Pd, all of its visual capabilities being just one of the many results of data you can manipulate with matrix. (or is the egg first?) Anyway, understanding its marvelous potentials, I have lately been stuck with Windows platforms. At least I got your point that utilizing GridFlow only for crunching numbers may work but not so efficient. What I am trying to do is rotate the vector axis of the object before applying [rotation]. This also calls for a method of summing the rotations when applying multiple times (and my current understanding is that this can only be done by multiplying the quaternion on each rotation) If there is no solution at the moment, perhaps Gem could use a few extra objects to ease advanced rotations? I feel like I am complaining about lack of features without pointing out what exactly is missing, when I should be blaming my lack of math skills. hmmm.. -- David Shimamoto On Wed, 16 Jul 2008, PSPunch wrote: Trying to achieve free rotation *without* using [accumrotate], I have come across concepts such as multiplying matrixs and converting a matrix to quarternion How do you implement precise control of rotation matrixs? Is this exactly what people use GridFlow for? If you tried GridFlow's bundled examples you'd see what I use GridFlow for. I suppose that I could add some other people's examples in the package, if they sent it to me for that purpose. There is already one patch by Roman Häfeli in GridFlow's examples though. GridFlow does not support quaternions. I bet it's possible to add support for it using abstractions, but it wouldn't be fast. But I'm willing to add it to the core... there's already a complex-number section in number.c, why not quaternion product? It would be called [# H.*] where H stands for Hamilton (in math the letter Q is already reserved for rationals, so I'd use H even though the concept of rational reasonably couldn't appear in that particular place). _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Free rotation in GEM
Mathieu, Well, that's sort of it, if you use the name 'matrix' as taken from Jitter, or as taken from a plain linear algebra system that has been expanded to higher-order structures. I was referring to matrix as in linear algebra like you mentioned. I no nothing about features that Jitter has. /* O/T This was one of the topics in math which I missed out in high school. (Hey, wasn't goofing off.. schedules were conflicting with biology classes :) Now that I've got a grasp of what they are good for in real (or virtual) life, I enjoyed spending the last week or so studying math putting patching aside. :( */ Anyway, understanding its marvelous potentials, I have lately been stuck with Windows platforms. At least I got your point that utilizing GridFlow only for crunching numbers may work but not so efficient. No, you didn't get my point. I was talking about quaternions in particular, and not even in comparison to how else you could possibly do any quaternions in Pd. Well, GridFlow is fine for number crunching, but it depends what. I don't recall anything in Pd that directly supports quaternions. Depending on what plugins you can use, you may or may not have a way to cook your own quaternions. I suspect that it's doable in GridFlow and less doable with other plugins, as it is usually the case, but I don't know. Got it. This also calls for a method of summing the rotations when applying multiple times (and my current understanding is that this can only be done by multiplying the quaternion on each rotation) yeah. Great, I wasn't quite sure on that. Thanks again Mathieu, I think you've gifted me enough bases to start building thoughts on this. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] best way to do 1/x
Hi, I've never noticed send/receive causing unpredictable execution order. Can someone show me an example of under what circumstances this occurs so I can avoid future head aches? -- David Shimamoto Atte André Jensen wrote: Frank Barknecht wrote: Yes, it is. ;) But slightly more tricky is that send/recieve must have the same problems, but may be more difficult to spot. indeed, this problem exists. that is why you should use explicit connections and [trigger] whenever possible. on the other hand, i do have plans for a [receive] where you could enforce a certain order (similar to [gemhead]) and since we are there: never use [delay] to enforce a certain execution order (it does work, but usually you will get weird (though totally deterministic) results in more complex setups) fmgasd.r IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] best way to do 1/x
Mathieu, I was imagining rather a single send/receive pair messing around with execution order of data entering at once. Thanks a bunch though. -- David Shimamoto On Wed, 9 Jul 2008, PSPunch wrote: I've never noticed send/receive causing unpredictable execution order. Can someone show me an example of under what circumstances this occurs so I can avoid future head aches? all cases. the receivers are ordered in the order that they are created. if you are currently editing a patch, this is likely to be different from the order that it will be when you will reload the patch. the only way to change the order is to recreate the receivers in the correct order, but really, you should seek a more transparent way of doing things. For example, if [r $0-stuff] has to be received in two distinct phases, make a splitter that uses a [t a a] from [r $0-stuff] to [s $0-stuff-1] and [s $0-stuff-2] so that all receivers that need the information early use $0-stuff-1 and the ones that need it late use $0-stuff-2. _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fft newbie - rifft~ filter
Frank, I wasn't quite sure till now what the overlap argument was for. Thanks for clarifying it. -- David Shimamoto Hallo, [EMAIL PROTECTED] hat gesagt: // [EMAIL PROTECTED] wrote: today I start learning FFT, and after seeing the (hann) windowing function, I realized this (attached) filter with custom frequency response, but I suspect something is wrong here why it sucks (given that it does)? First as others wrote you should use block overlaps. The delay strategy, David (pspunch) suggested isn't necessary with overlap using [block~ 512 4] as the block~ object does an internal delay automatically (four times in this case) Then it's important for windowing that you also *window the outgoing signal* after the inverse FFT, otherwise you get these bad artifacts. Check the I03.resynthesis.pd example in the docs for a complete example, the corresponding chapter in Miller's book and maybe my FFT for dummies guide here: http://footils.org/cms/show/60 (though this doesn't explain overlap) Ciao ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fft newbie - rifft~ filter
uhm... actually, *not* using the hanning window, makes the processed sound suck even more. so what's the best solution? there is a better window function? perhaps the gaussian function? isn't the window function also related on how much samples overlap between a block and the next one? shouldn't fft~ be aware of this? Why you want to apply a window function, and the pros cons of each window is well described in this document introduced in one of the previous posts on this list. http://www.dspguide.com/ By multiplying each block with a window function, you are applying sort of an amplitude modulation which causes audible rumbles. The easiest way to avoid this that I know of is to clone your entire FFT routine (call them 'original' and 'clone' for now), apply a delay before the original signal and the same delay time after iFFT on cloned signal. The delay time should be half the size of the window size (=block size). What you are doing here is preparing an identical signal to compensate for the gaps of amplitude caused by applying a window function to the original signal. This will introduce a slightly longer delay in the overall sound, but I found its quality acceptable for certain applications. I've attached a modified version of your original post. There may be better ways of looking at all this which I am up to learning as well. -- David Shimamoto fft2_mod.pd Description: application/puredata ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fft newbie - rifft~ filter
hi all, today I start learning FFT, and after seeing the (hann) windowing function, I realized this (attached) filter with custom frequency response, but I suspect something is wrong here why it sucks (given that it does)? also I get a fixed frequency around 60Hz, why? [phasor~] takes a range of 0 to 1. To fully drive your speakers, you may want to insert a [-~ 0.5] after [phasor~] so that you get a range of -0.5 to 0.5, centered at zero. You can then multiply the amplitude by 2 (instead of 1 which you currently have your slider range set to) This should also removed the 60Hz tone you were hearing. Actually, the tone you were hearing was probably 86Hz if you are processing audio at a sample rate of 44,100Hz. By multiplying the source with a hanning window, you are actually applying a kind of an amplitude modulation. Artifacts caused by this procedure may become a little more apparent when you use live sounds for input. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] What goes on during dsp ticks?
Hi, Mathieu Thank you for the info. It's mostly just OSX's malloc that is obscenely expensive beyond a certain size. But that threshold is more like 16k or so. On Linux, it's 128k instead, but if both thresholds were the same, you'd see that Linux takes this change well, whereas OSX does not. Is this something you would learn only from studying the Linux source, or is it a fact discussed fairly often? I would appreciate it if you can forward me to any online resources where this is mentioned (Regarding Linux... OSX is out of my scope for the moment) -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] What goes on during dsp ticks?
Thomas, Thanks a lot! Wow, yes that seems to be the case. Now having some mysteries solved, I can go get some sleep in comfort. Seriously, you might have just saved my life :) While you are there, can you please tell me just a bit more? So, I've made a cache to copy the original signal to before processing. Because the block size may change anytime, I am malloc freeing a cache the size of the block on each DSP cycle. I hear that malloc is a relatively expensive task. Is it bad practice to run this each cycle, or is a kilobyte or two not a bid deal? -- David Shimamoto Hi David, Am 14.06.2008 um 03:08 schrieb PSPunch: = == PROCESS BLOCK.2 == = while (n--) { //*out++ = *in++; } Remarks: Action is commented out but signal goes through.. Why? that's because in and out can point to the same memory... signal vectors are reused in PD for cache-friendlyness. = == PROCESS BLOCK.4 == = n--; *out++ = 0; while (n--) { *out++ = *in++; } Remarks: Expecting first sample of the block to be zero and others delayed by 1 sample. Instead, I get an constant output of zero. As above... you have to be aware that when you are writing to the output, you change the input. Either cache the input or use a different algorithm (in this case start from the end) gr~~~ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Audio block manipulation strategies
IOhannes, Thanks for your help. I must have been miss understanding what goes on inside a re-blocked sub-patch. With your notes and patch, now I can go spend the rest of the night refreshing my mindset :) -- David Shimamoto PSPunch wrote: IOhannes, Thank you. I tried what you have suggested with the only existing object I could think of which was [switch~ (N) 1 0.5]. well, this will actually do downsampling (sample reduction), whereas you want upsampling (sample extrapolation): [block~ 128 1 2] of course this depends on where (inside a resampled patch or outside a patch) you put the signal source and where (outside or inside) you want to access the resampled data. Yes, the out put shown on [tabwrite~] is zero-padded but only as long as the signal remains inside of the sub patch. well ain't this sweet? of course the main idea is to work within the resampled domain. if for whatever reasons you don't want to do so, you have to somehow send the signal from the resampled subpatch to the original patch. as [send~] will refuse to work, you might want to try other global memory sharing structures for signal (hint, hint) Can you please tell me if there was a specific procedure you had in mind? like the attached? (too little time to ascii art) fgm,asdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Audio block manipulation strategies
IOhannes, Thank you. I tried what you have suggested with the only existing object I could think of which was [switch~ (N) 1 0.5]. Yes, the out put shown on [tabwrite~] is zero-padded but only as long as the signal remains inside of the sub patch. Can you please tell me if there was a specific procedure you had in mind? -- David Shimamoto PSPunch wrote: Hi, I am trying to stretch the information in an audio block. i.e., Original: a, b, c, d, e, ... , N(where N is the block size - 1) Modified: a, 0 , b, 0, c, ... , N/2 (later half of the original block can be trashed) if you upsample a signal in a subpatch, you can get this behaviour by specifying the zero-padding upsampling method. however, you will really get: a, 0, b, 0, c, , N, 0 (that is 2*N samples) you can then use this signal to get the desired sample-block... mgasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Audio block manipulation strategies
Hi, I am trying to stretch the information in an audio block. i.e., Original: a, b, c, d, e, ... , N(where N is the block size - 1) Modified: a, 0 , b, 0, c, ... , N/2 (later half of the original block can be trashed) The target of the manipulation is the output of [rfft~] Are there any efficient ways of such manipulations at audio rate? BTW, I've lately been enjoying playing with the output of [rfft~] and would also appreciate pointers to resources discussing pitch manipulation using [rfft~] and [z~] or similar concepts not limited to Pd. Not quite sure what term referrers to this method. Thanks. -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] DJ Simon
Thanks again to Martin for pointing me out that [midiout] is now rocking on latest versions of Pd. I made a little library to handle I/O from the Korg padKontrol (which is probably not new to users of Max or Proce55ing) and a simple example of how it may be used. All sounds and logic in this game are written using Pd only. http://youtube.com/watch?v=MKIjgsxyA14 -- David Shimamoto ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Getting Sysex output to work on Linux
Martin, Thank you so much for the info. I have confirmed this using kmidimon, and getting ready to send actual messages to my hardware with one hand while I type with the other. Now I am curious, if this was fixed by a recently posted patch, how come it was not mentioned earlier? Maybe I am just not fully aware of how CVS or SVN work. -- David Shimamoto So I tried [240, 1, 247( | [midiout] on Pd 0-42-0test1 and the message shows up on the MIDI plug. It also works to send one byte at a time. But with Pd0.40.3-extended20080324 it doesn't work, although [noteout] and [ctlout] work fine. This is with ALSA-MIDI and Jack. Martin PSPunch wrote: Does anyone have any opinion on the specs suggested by Martin? Should [sysexout] behave in this manner, or would it be more suitable to make this a new object rather than over write the conventional object for compatibility? I have no idea if I will be skilled to fix this in the near future, but I really would love to see some of my MIDI controllers in action. -- David Shimamoto PSPunch wrote: Martin, I'm looking at the source code in svn, assuming you use [midiout] to send sysex. The midiout object has one method, for floats : midiout_float(), in x_midi.c, line 681. It just calls outmidi_byte() in s_midi.c, line 239. If Pd was compiled with USEAPI_ALSA defined, then outmidi_byte calls sys_alsa_putmidibyte() in s_midi_alsa.c line 234, otherwise it calls sys_putmidibyte() in s_midi_oss.c line 182. Do you mean that theoretically, Pd + ALSA MIDI should be working? hmmm... Well it looks like it should but I just tried with a scope on the cable and got messages using [noteout] but nothing using [midiout] with alsa midi and jack. I tried sending bytes singly and in comma-separated messages as well as just lists. Nothing comes out. According to IOhannes, the problem is rather, that ALSA sequencer does not support MIDI in a way Pd would like it, mainly: no raw midi. Yes, it looks like the ALSA function being called expects a complete sysex message but instead it's getting one byte at a time. I guess Pd should buffer the message until it gets an F7 (End of Exclusive) and then send the whole thing as one packet. Not too difficult except for anticipating what the the maximum message size is going to be. Maybe a [sysexout] object that takes lists of bytes (and inserts the F0 and F7) is in order... Also I think one of the recent posts which I cannot locate now, mentioned that it was just a matter of Pd using a function in ALSA API other than what is used at the moment. Well I think it's better to send a complete sysex packet, otherwise it could be trashed by a noteout or similar that occurs before the F7 goes out. Really Pd should buffer the packet and only then send it to ALSA. 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] Getting Sysex output to work on Linux
Does anyone have any opinion on the specs suggested by Martin? Should [sysexout] behave in this manner, or would it be more suitable to make this a new object rather than over write the conventional object for compatibility? I have no idea if I will be skilled to fix this in the near future, but I really would love to see some of my MIDI controllers in action. -- David Shimamoto PSPunch wrote: Martin, I'm looking at the source code in svn, assuming you use [midiout] to send sysex. The midiout object has one method, for floats : midiout_float(), in x_midi.c, line 681. It just calls outmidi_byte() in s_midi.c, line 239. If Pd was compiled with USEAPI_ALSA defined, then outmidi_byte calls sys_alsa_putmidibyte() in s_midi_alsa.c line 234, otherwise it calls sys_putmidibyte() in s_midi_oss.c line 182. Do you mean that theoretically, Pd + ALSA MIDI should be working? hmmm... Well it looks like it should but I just tried with a scope on the cable and got messages using [noteout] but nothing using [midiout] with alsa midi and jack. I tried sending bytes singly and in comma-separated messages as well as just lists. Nothing comes out. According to IOhannes, the problem is rather, that ALSA sequencer does not support MIDI in a way Pd would like it, mainly: no raw midi. Yes, it looks like the ALSA function being called expects a complete sysex message but instead it's getting one byte at a time. I guess Pd should buffer the message until it gets an F7 (End of Exclusive) and then send the whole thing as one packet. Not too difficult except for anticipating what the the maximum message size is going to be. Maybe a [sysexout] object that takes lists of bytes (and inserts the F0 and F7) is in order... Also I think one of the recent posts which I cannot locate now, mentioned that it was just a matter of Pd using a function in ALSA API other than what is used at the moment. Well I think it's better to send a complete sysex packet, otherwise it could be trashed by a noteout or similar that occurs before the F7 goes out. Really Pd should buffer the packet and only then send it to ALSA. Martin ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Getting Sysex output to work on Linux
Hi, Miller, Yes, it is a USB-MIDI device which currently appears only under the list of ALSA-MIDI devices. However, the same behaviors I've seen apply also to the application kmidimon. I think that if there is a way to get kmidimon to appear as an OSS MIDI device, theoretically the same procedure should work with my hardware. Does anyone know of methods, or perhaps wrappers that may get this going? -- David Shimamoto I'm still curious why the raw MIDI doesn't work for you. I need to find someone with a similar USB MIDI device to try to figure this out. I did recently find out that the raw interface has a bug that prevents it from opening /dev/midi for reading only and for writing only; the only operation that works is for both reading and writing. I've got a fix for that (s_midi_oss.c; change two occurrences of devno == 1 to devno == 0). But this wouldn't help if, as I read your letter, you simply don't see any input or output devices at all, for instance in the midi settings dialog. That sounds like a different problem from the one I was having. cheers Miller On Mon, May 26, 2008 at 10:11:53PM +0900, PSPunch wrote: Ken, OSS has, IIRC, been deprecated for many years now. ALSA should be the correct one to use on Linux. Deprecated in terms of people abandoning it, or is it literally not functioning any more? To be specific, what I am trying to get working is a Korg padKontrol which is basically a USB-MIDI device. As soon at it is connected to my Ubuntu box, it is recognized as an Alsa-MIDI device. When routing this to Pd, only Sysex messages are dropped. (No response when routing directly to kmidimon either) Since Miller had suggested its usage, I was hoping OSS to work but not quite yet. I understand that this classic API takes a different approach from ALSA and expects applications to route directly to each other. The list of MIDI devices that Pd offers to connect to is simply blank. Is there such thing as a wrapper that lets Alsa-MIDI devices be recognized as OSS devices? -- David Shimamoto And, also, for the past year or so there's been a new JACK MIDI API which is a lot cleaner (and strongly-timed) than ALSA, although it of course uses ALSA for transmission to actual MIDI devices. -ken ___ 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] Getting Sysex output to work on Linux
Hi, I am hoping someone can give me advise on getting my Ubuntu box to send sysex message over MIDI. Some questions.. 1) What is the proper format for messages to go into [midiout] or [sysexout]? Do I make a list of numbers such as [247 NN .. .. .. NN 240 or do I need to serialize them as [sysexin] receives each byte as individual messages? 2) Previous posts on the same topic were a bit too vague for me to catch up with. Although I use Debian Ubuntu daily, unfortunately I am not fluent in developing practices enough to design my own workarounds (at least not yet). The closest I could get was the understanding that there is no method to get Sysex output to work other than patching Pd so a different kind of function in ALSA-API will be used. (also that the current releases have a 20 byte limit. This is probably not my case though) If current pd-extended (which I am comfortable with, either stable or testing) needs patching in order for midiout to work, I would highly appreciate specific procedures on how to get it going, hopefully on a fresh installation of Ubuntu 8.04 or 7.10. Any type of help appreciated. Thanks. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Pd article in magazine
I have written an introduction article to Pd in a magazine scheduled to be out on May 17. Unfortunately the magazine is written in Japanese and is mainly circulated in Japan. http://gihyo.jp/magazine/SD/archive/2008/200806 The index of this issue approximately reads, - System trouble shooting, logs and monitoring commands - Up to date state of PC UNIX fonts - Other FOSS articles, many are self explanatory by their title. ..which describes the main range of readers. Hopefully this will bring in some new users developers to the community. I would like to thank again all of those who kindly helped me organize the article, and also the entire community. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Best PD+OS/Hardware combinations for low audio latency?
Joe, I also use an FA-66 on Ubuntu Ubuntu Studio 7.10. There are many others using this combination. Although the firewire interfaces don't work straight out of the box, the required procedures are available in the Ubuntu forums. From what I've seen, techniques in reducing latency under other audio apps with Ubuntu + FA-66 discussed there also apply to Pd. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] FUDIKaosDS
dafydd, At one point, I could not get homebrew apps using wifi (including FUDIKaosDS binaries on Chris's site) to work on my R4. This was until the DSwifi libraries were updated at which point, binaries I built worked just fine. This was with R4 kernel version 1.14 I think. What do you use? Some things may have changed unless I was doing something wrong. -- David Shimamoto Am I missing something? It seems to work fine on my R4 (and it's really cool) cheers dafydd On Thu, Mar 27, 2008 at 1:53 AM, Chris McCormick [EMAIL PROTECTED] wrote: On Sat, Mar 22, 2008 at 08:09:33PM +0900, PSPunch wrote: Thanks for viewing my work. That post on YouTube was made by me. (shortly after I suggested you a while back to recompile the DS binaries using the later Wifi library adding support for R4) Thanks for making the video available. I am getting an R4 soon, so I'll certainly be re-compiling the binary with the new wifi library so it works with that. Best, Chris. --- http://mccormick.cx ___ 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] FUDIKaosDS
Hello dafydd, DLDI is a wrapper library to compensate for the different ways each DS cartridge (such as R4 and other hardware of the same purpose) accesses external files stored from within the .nds application. i.e., Nitrotracker (which I imagine you have tried already) needs the DLDI patch applied to the .nds file in order to loadstore samples from the SD card. I believe DLDIDrop automates this patching as you transfer the .nds file to memory. In other words, if the .nds file you plan to use does not rely on the DLDI library, you can simply copy the file and it should work fine. Unless I recall incorrectly, FUDIKaosDS does not rely on the DLDI library as it does not access any external file. To be honest, I have not tried Knobs Sliders yet, only FUDIKasoDS. Maybe these two binaries were built at different timings, or then again, it may just have been me missing something. I haven't updated my R4 in a while. If it is of interest to anyone, maybe I can give Chris's binaries another try and apologize for causing all the noise if necessary. -- David Shimamoto Hi David I think I've got v 1.17, but I also had no trouble with earlier firmware and Knobs Sliders. I was using Chris' compiled .nds file. Would DLDIDrop have made a difference? (I don't know a lot about this stuff - I'm still at the just try stuff and hope it works phase with my DS. cheers dafydd On Thu, Mar 27, 2008 at 10:41 PM, PSPunch [EMAIL PROTECTED] wrote: dafydd, At one point, I could not get homebrew apps using wifi (including FUDIKaosDS binaries on Chris's site) to work on my R4. This was until the DSwifi libraries were updated at which point, binaries I built worked just fine. This was with R4 kernel version 1.14 I think. What do you use? Some things may have changed unless I was doing something wrong. -- David Shimamoto Am I missing something? It seems to work fine on my R4 (and it's really cool) cheers dafydd On Thu, Mar 27, 2008 at 1:53 AM, Chris McCormick [EMAIL PROTECTED] wrote: On Sat, Mar 22, 2008 at 08:09:33PM +0900, PSPunch wrote: Thanks for viewing my work. That post on YouTube was made by me. (shortly after I suggested you a while back to recompile the DS binaries using the later Wifi library adding support for R4) Thanks for making the video available. I am getting an R4 soon, so I'll certainly be re-compiling the binary with the new wifi library so it works with that. Best, Chris. --- http://mccormick.cx ___ 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] FUDIKaosDS
Hi Chris, Thanks for viewing my work. That post on YouTube was made by me. (shortly after I suggested you a while back to recompile the DS binaries using the later Wifi library adding support for R4) Audio and video is strictly pd-extended for Windows. Patch is made public at the following. http://pspunch.com/kausolator.zip -- David Shimamoto Hello, Sorry to blow my own trumpet twice in a row like this, but I just found this video somebody made of FUDIKaosDS in action - that's one of the two bits of software I posted about earlier. This video nicely shows off it's capabilities: http://www.youtube.com/watch?v=fDCYaEc2VL8 It looks like this person is using Pure Data and Gem for the sound and visuals. Best, Chris. --- http://mccormick.cx ___ 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] phasor~ usage question
Frank, The theory for this technique is here: http://crca.ucsd.edu/~msp/techniques/latest/book-html/node187.html (snip) Basically the whole construct below each [wrap~] is just the equation from there in Pd patch format. Thanks Frank, the whole thing makes since now. Not really: Numbers directly connected to [phasor~]'s first inlet get converted to a constant signal inside of [phasor~] automatically now. IIRC this wasn't the case for older versions of Pd, and then you had to use a [sig~] in between to do the conversion from message to signal. Studying *nix in parallel with Pd, I am almost about to build a habit of assuming that anything looking obscure at first sight is there simply for historical reasons :) Thanks again. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] asio4all not loading
Hi. I just reinstalled win XP pro on my desktop(P4, Realtec AC97 pd-extended 0.39.3) When I go to select asio in the pd media menu the pop up doesn't give me the option to select asio4all. No drivers show up at all. Standard MMIO works fine, and asio4all is working fine in cubase. I use the same setup on my laptop, except there is sigmatel audio card onboard and it works there. Does anyone have any ideas as to why asio4all isn't showing up for me? Any help would be much appreciated. Thanks, Justin Robert When starting up Pd with the -listdev option, the main window should start up with a list of available audio MIDI devices. Do you see Asio4all among this list? Although I not fully sure, I remember having to specify the device at start up rather than though pop-ups afterward launching. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Guitar Heroes controller
Hans, Is your hardware labeled to be specifically for PS2? At least this one article mentions that the hardware is equal among all platforms. http://www.hwhell.com/articles/gametrak-hardware-review If you are using a generic PS2 - USB converter, it does seem likely that the converter is filtering obscure data other than the conventional buttons. i.e., the one I use filters out only the input from the analog keys. On a related note, I just bought one of these very nice controllers called a gametrak. It is basically like two 3D joysticks but instead of sticks, it has strings which you can clip on to things to track them in 3D. The cheesy promo video gives you a good idea of what you can do with it: http://www.in2games.uk.com/corporate/press-item.php?pressid=5 I used one that Jonas Hielscher let me borrow and I plugged it in and it just worked with [hid]. I just got the one I ordered, it is a PlayStation 2 controller, I am not sure which Jonas' is. But with mine, it shows up in [hid] fine, but I don't get any data from it. Anyone know, is there something special about PS2 USB controllers? .hc On Mar 12, 2008, at 8:12 PM, Derek Holzer wrote: Should just be HID protocol. Check the help patch for the [hid] object (in Extended or self-compiled) and see what parameters come in. After that, enjoy mapping them to something and rock out! d. James Rojsirivat wrote: I've seen some developments with the Guitar Heroes controller on Max/MSP. I've been unable to get the one patch I found to really open in PD. I'd love to try to do something with it. Anyone has any experience developing and working with the Mac/PC version of the controller in PD? Any tips would greatly be appreciated. -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/ macumbista ---Oblique Strategy # 71: Fill every beat with something ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list There is no way to peace, peace is the way. -A.J. Muste ___ 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] pd in tokyo
Patrick, I am probably half way between Tokyo and where hardoff resides :) I also go to Tokyo (not for gigs.. unfortunatly) quite often and would love to know if you have any contacts other than e-mail while you are here. -- David Shimamoto when r u going? i'm in south japan, but will head up to tokyo at the end of this month for a gig. ___ 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] [OT] mini-ITX again
Hi, Sorry to return to M/Bs, anyone try the ones by Intel? I was imagining this may have compatibility issues as it is all Intel. http://www.intel.com/products/motherboard/D201GLY/index.htm -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [OT] mini-ITX again
oops, sorry for the post earlier. My mailer failed to sort the trees properly :( -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] New on ubuntu: where to go now
Yvan, That's why you should NOT download the package from the website! If you're using ubuntu studio, you can just type sudo apt-get install pd and all dependencies will be installed automatically. Regards, yvan Maybe so for Vanilla. Was pd-extended also available from Ubuntu repositories? -- David Shimaoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] New on ubuntu: where to go now
Hi, I mainly use Ubuntu Studio 7.10 myself and figured I might have something to share. -- Debian/testing and Ubuntu Gutsy (Intel i386 processor) installs fine. Download it from, http://puredata.info/downloads it is the 3rd on the list. With Ubuntu 7.10, just double click on the downloaded file and the system will do the rest of the installation. -- When launching PD, I recall the console claiming that certain libraries were missing. You can use Synaptic package manager from the pull-down menu to search and install packages with associating names. One of them requiring and extra step I think was the jasper library. In addition to installing it, I had to manually create a symbolic link so that the file PD-extended searches for exists. (However, this procedure maybe unnecessary until you use whatever external calls for this library) -- There were some discussions on this list that the non-RT kernal seemed to have better performance under 7.10 I have not confirmed it myself but it may come in handy to have both RT and non-RT kernals installed. When you have both of them, you can simply choose which to use on each startup. -- Other personal thoughts.. I wanted to stay with Debian, but am currently using Ubuntu 7.10. While making my setup, I also had the goal to deside which is currently the easiest Linux distro for beginning PD (and Linux) users to work on. There were mainly two issues that made things difficult with Debian. - FreeBOB not included in current stable release. (Or did not recognize my Edirol FA-66) - Too much hassle to get an RT ready kernal prepared. -- If you do plan to use Supercollider on Linux, it is likely you may have to study Emacs. The default environment to run Supercollider is provided in the form of an Emacs template. -- I think it is worth learning basic commands of the vi text editor. Practicing only the following 10 commands (and making it a habit to editing text in vi) may take you miles further in Linux world. a, i, o, dd, yy, p, :w, :q, :q!, :wq! -- David Shimamoto Hi, I'm, again, going to try to step into linux world, and see if I can do something more useful with it than visiting webforums this time. I wanted to ask if someone had any tips for the following configuration to work with Pd (both vanilla and extended), and maybe later also supercollider, both only for audio: - ibm thinkpad r51 - Ubuntu 7.10 - rme multiface - intuos3 tablet - arduino board (old model) Any hints useful for these specs? Are there any guides worth visiting? Which repositories should I be checking? How to get -1ms latency? Does Ubuntu studio makes a difference? Why is jack so complicated to start? Is ardour already working? (last time I saw it in the school's studio, the only way to have a session open for a long time was not to touch it) ... ... . . . I'm not a beginner with computers, but I'm not yet very at ease in unix console, because quite soon it gets very frustrating - although I would like to learn, but don't have time to be spending on man pages. And I don't do emacs, or won't go straight to debian. Thanks for your help, João Pais ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] I just made a beginner's PD tutorial and posted it...
Do you all think using pdpedia to link to examples like this would be a misuse? Considering how each language sections are already quite independent, I feel this is valid. At least in my language, as far as I know of, there is no portal site on Pd that is currently active. If even just the front page of pdpedia in my language could provide info as you suggest, I feel that the connvenience of new comers will overcome the barreness of having resources spread and over lapping with 'puredata.info'. Not that I know of anything to post soon... but I would like to note that you aren't the only one who's thought of it. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Introduction to GEM particles
IOhannes, If you think it is of any use, please post it. As a matter of fact, I'd appreciate it being hosted as I do not have a formal Pd site of my own. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] netreceive standart
I posted that question a while back. :) Only later did I get to pull hairs (if I had any) when trying to do the same using UDP in which case, all messages not terminated with \n were ignored. As a matter of fact, with UDP message the semi-colon seems to be unnecessary. That is how I see [netreceive] behave on my WinXP + Pd extended, messages sent using fwrite() function in PHP. -- David Shimamoto On 14/01/2008, at 14.25, [EMAIL PROTECTED] wrote: i would like to get data via tcpip to pure data. the programm i use is zenon a automatisation applikation. I don't know what zenon is. But if you search the archive for (the secret keyword) FUDI you might find the info you need to solve you problem. A starter could be this: http://lists.puredata.info/pipermail/pd-list/2006-06/039012.html any hints for tutorials If you write (or find) a tutorial please add a link to it in the http://puredata.info/docs/tutorials wiki page. ___ 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] [OT] Bass driver unit
Yes, transducers was the term I was looking for! As a matter of fact, running through the photos at sites I was given, I think the lower end items of AURA's bass shakers are exactly what I've used in the past. Thank you all for the references. Frank, thanks for the note on PD-ot. I can't believe I've been missing out on it all of these months. On my way to subscribe now. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] windows latency down to 15 milliseconds
Mathieu, On Fri, 14 Dec 2007, PSPunch wrote: This application (at least the version I have installed) has extremely political messages in its GUI. I hope it does not effect consumers impressions towards Alesis. I'm curious, what is it? Well, the application has two different interfaces you can choose from... Simple and Advanced, obviously the later giving more precise control. On the icon to switch modes, there are images of recognizable figures. Einstein on the advanced button, and George Bush on simple. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Gem, arguments to particle domains.
Hi, all. Below is an excerpt from the help file to [part_source] I found in the latest Pd-extended (stable), describing the arguments understood by the object. --- From here --- domain: one of point, line, triangle, plane, box, sphere, cylinder, cone, blob, disc, rectangle arguments: up to 9 floats, defining the specified domain (like x y z for point, x1 y1 z1 x2 y2 z2 for line, x y z r for sphere, ...). The meaning of the arguments depends -of course- on the domain. --- Up to here --- As far as I know, there is a lot left unexplained in this particular help file attached to Pd, especially on how many arguments each domain likes to eat and what the floats represent. Embracingly, I did not know till a few days ago that there is another API which is the mother of Gems's particle handler and that the arguments are explained in its documents. For example, I've just learned this morning that sphere takes 4 arguments and their purpose seem to correspond to what is said in the API manual. Am I just going through unnecessary trouble because of me not knowing of a manual pakced with Gem, or shall I be taking notes of my discoveries so that I can perhaps commit to the help file? -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] windows latency down to 15 milliseconds
asio4all is certainly a nifty program. I'd like to share a story regarding this application I thought was interesting. -- A few months ago I purchased a MIDI controller by Alesis which came with a soft synth. As far as I know, most soft synths have pages in their manual explaining methods of reducing latency on your sound card. Adjust this buffer, increase value if choppy cause you've gone too far, else just give up and go for a better card... ya-di-ya... Same with this Alsis product? No... The manual just noted links to asio4all as a solution. This application (at least the version I have installed) has extremely political messages in its GUI. I hope it does not effect consumers impressions towards Alesis. -- David Shimamoto I was using my old laptop running xubuntu for a while because the latency time of running pd on windows. My newer Gateway laptop has poor performance with the sound card in Linux, so I have to run windows on it. Before, the lowest I could get it the latency without pops was 60 milliseconds. This was very frustrating, because allot of what I am doing is real-time guitar processing and 60 milliseconds is way too slow to use. But I found a way to get it much much lower. First by using the asio4all driver http://www.asio4all.com/ with built in sound. This makes a huge difference. I have tried other asio drivers, but this one performs incredibly with pd. I cannot say how it will perform on external cards, but on my built in Sigmatel, it works great. Second, by setting windows xp to run pd at real-time priority. You do this by right clicking the pd process in windows taskmaster and setting it to real time. Doing this I can get the latency as low as I had it on Linux, and possibly lower. I haven't tried lower than 15, so I'm not sure ;) But I've played for over an hour on windows with no glitches or pops, well other than the ones I was making on purpose. Justin Robert www.justinrobert.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd + asterisk?
Russell, SIP is definitely much more complicated than IAX2, and you won't see me writing a SIP interface. Thank you, Thank you, Thank you! I can then kiss good bye to NAT hell -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Kaossilator clone
Chris, I tried out your FUDIKaosDS today. After displaying the message, Connecting using WFC data..., the LED indicating WIFI activity kept on blinking but never proceeded. (From the code in wifi.c I am imagining a message is expected to show weather the attempt fails or not.) -- I've looked around and found some notes that older versions of libdswifi had compatibility issues with the following two situations. 1. Adapters which use a 512kb flash for their firmware 2. DS manufactured relatively recently (That's probably me!) This problem is said to have been fixed in later releases of the library. At least a binary I built using devkit1.4.4 I downloaded just today is working fine and I am now very very happy. You may also want to rebuild the binaries you are distributing on your site using more recent libraries. Anyway, thanks for the cool products. -- David Shimamoto On Thu, Nov 29, 2007 at 11:26:39AM +0900, PSPunch wrote: The last time I looked into DS development around Jun. '07, I think there were some difficulties writing Wifi code that worked on all types of cartridges. The greater problem is with disk/cart IO that works on all carts. As far as I know the same wifi code runs everywhere. I specifically avoid writing applications that need disk/cart access so I don't have to mess with the dldi stuff. Chris, If you do not know yet and you are interested, I can inform you how the compatibility goes with the R4. I am 99% sure it will work fine on that cartridge, but please let me know if it doesn't. Best, Chris. --- http://mccormick.cx ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Beginners query: Calculating mouse speed
Hi, One easy way would be to measure the number of pixels the mouse had moved since the previous frame. I attached an example that spits out 20 values per second, each number is the number of pixels the cursor has travelled since the previous frame. This patch only measures in the horizontal direction for simplicity. To also put the vertical axis in consideration, you will have to get the square root of (X^2 + Y^2) Also if the numbers change too rapidly for your needs, you will have to add some function to smooth the value changes. I hope this is of some help. -- David Shimamoto Hi, I have a really simple question: Does anyone know how to make a patch that will give me the speed the mouse is moving? I'm on windows and am using gemmouse to get the position. Thanks in advance! Rebecca. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list mouse_speed.pd Description: application/puredata ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] About editing pdpedia
Hans, Thanks. I am terribly sorry to bother you with this. To my eyes, the following two pages look almost identical. http://wiki.puredata.info/en/MediaWiki:Common.css http://wiki.puredata.info/ja/MediaWiki:Common.css http://wiki.puredata.info/en/Template:Infobox_Objectclass http://wiki.puredata.info/ja/Template:Infobox_Objectclass --- After you've kindly executed the import, I was imagining that for example, http://wiki.puredata.info/ja/line would be filled with English contents identical to http://wiki.puredata.info/ja/line Unless I've done something wrong, I am imagining I've translated terms I shouldn't have in the original template. Say, for example, is 'Category:' parsed exceptionally for specific actions? Then it shouldn't have been replaced with multi byte characters of my language. Any ideas? -- David Shimamoto On Nov 27, 2007, at 12:03 AM, PSPunch wrote: Hans, Ok, it's running, it'll take an hour or two. You can see the pages as they are imported: http://wiki.puredata.info/ja/minimum Thanks for the effort! Yes, I see the log increasing as a reload the recent changes page. Is it just me or is it general to get excited watching massive data being crunched right in front of your very eyes? Some pages I opened were just blank. I wonder if this is because the original English page is also blank... any way I will wait for the processing to end. There shouldn't be blank pages, but they will just be templates with the infobox and the categories setup. Next, you need to add the CSS and Infobox template then the infobox stuff will show up. I feel I've already done this following the admin HOW-TO. If it gets over written, I guess I can just try again. I think it's still missing the CSS, that should be listed on the HOWTO. That's why the Infobox isn't showing up. .hc doh itashimashite (that's one of my favorite words in japanese :D ) Yes, domo-arigato-gozaimas!! .hc On Nov 24, 2007, at 8:30 PM, PSPunch wrote: Hans, Most of the main page is taken from the documents kindly prepared by Tetsuya Saito. The objectclass template page mainly has terms unified with the main page. So for that part I feel comfortable to proceed. I'd appreciate it if you can execute the import. Thanks. :) -- David Shimamoto I can execute the import whenever you're ready. Maybe it would be good to have one more Japanese speaker look at the template? It's up to you. .hc On Nov 19, 2007, at 9:57 PM, PSPunch wrote: Hans, Thanks. I've followed the procedure in the English 'Admin howtos' pages. I would appreciate it if you could try executing the import. Thanks. -- David Shimamoto Hans-Christoph Steiner wrote On Nov 19, 2007, at 2:20 AM, PSPunch wrote: Hi list, I have some questions for some of you working on pdpedia. === 1. Has there already been discussions on policies regarding when/which pages to lock? I am assuming that leaving everything unlocked is the way to go if only the world were an ideal place. Are there not yet MediaWiki spammers? Locking pages is basically for when people are fighting over a page. I can't imagine that anything is so divisive in Pd that we'd need to lock pages. So far, we haven't had any spam yet. === 2. Regarding importing data from other languages.. For some basic pages, I have gotten away with the following procedure. I. Open the pdpedia page in English. II. Enter edit mode and [copy] the contents in the form III. Create an equivalent page in my language and [paste] the material above. IV. Use above as a starting point to begin translation. -- The above does not work for pages such as 'Category:vanilla'. I don't quite understand how that content is embedded in the page. Can some one help me on importing the list of objects? I've noticed that people working on the Spanish and Portuguese pages have been successful in this. Once that translated template that you posted is ready to go, then I'll run the import. That will generate template pages for about 2000 objectclasses. Then it's a matter of plugging in content, which can be gathered from pages in other languages, help patches, etc. .hc Thanks. -- David Shimamoto ___ 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 The arc
Re: [PD] About editing pdpedia
Hans, Ok, I figure only the page names are copied. One last question if before I start adding text.. I don't quite understand the mechanism behind pages such as, http://wiki.puredata.info/en/Category:objectclass http://wiki.puredata.info/en/Category:vanilla Can you please tell me where the list of objects come from? -- David Shimamoto Looks like you got the Infobox working now. As for the English content, none of the previous people wanted to have the English content in their template import, so I didn't include it. It's all available by clicking the English link on the lower left of each page. .hc On Nov 28, 2007, at 3:15 AM, PSPunch wrote: Hans, Thanks. I am terribly sorry to bother you with this. To my eyes, the following two pages look almost identical. http://wiki.puredata.info/en/MediaWiki:Common.css http://wiki.puredata.info/ja/MediaWiki:Common.css http://wiki.puredata.info/en/Template:Infobox_Objectclass http://wiki.puredata.info/ja/Template:Infobox_Objectclass --- After you've kindly executed the import, I was imagining that for example, http://wiki.puredata.info/ja/line would be filled with English contents identical to http://wiki.puredata.info/ja/line Unless I've done something wrong, I am imagining I've translated terms I shouldn't have in the original template. Say, for example, is 'Category:' parsed exceptionally for specific actions? Then it shouldn't have been replaced with multi byte characters of my language. Any ideas? -- David Shimamoto On Nov 27, 2007, at 12:03 AM, PSPunch wrote: Hans, Ok, it's running, it'll take an hour or two. You can see the pages as they are imported: http://wiki.puredata.info/ja/minimum Thanks for the effort! Yes, I see the log increasing as a reload the recent changes page. Is it just me or is it general to get excited watching massive data being crunched right in front of your very eyes? Some pages I opened were just blank. I wonder if this is because the original English page is also blank... any way I will wait for the processing to end. There shouldn't be blank pages, but they will just be templates with the infobox and the categories setup. Next, you need to add the CSS and Infobox template then the infobox stuff will show up. I feel I've already done this following the admin HOW-TO. If it gets over written, I guess I can just try again. I think it's still missing the CSS, that should be listed on the HOWTO. That's why the Infobox isn't showing up. .hc doh itashimashite (that's one of my favorite words in japanese :D ) Yes, domo-arigato-gozaimas!! .hc On Nov 24, 2007, at 8:30 PM, PSPunch wrote: Hans, Most of the main page is taken from the documents kindly prepared by Tetsuya Saito. The objectclass template page mainly has terms unified with the main page. So for that part I feel comfortable to proceed. I'd appreciate it if you can execute the import. Thanks. :) -- David Shimamoto I can execute the import whenever you're ready. Maybe it would be good to have one more Japanese speaker look at the template? It's up to you. .hc On Nov 19, 2007, at 9:57 PM, PSPunch wrote: Hans, Thanks. I've followed the procedure in the English 'Admin howtos' pages. I would appreciate it if you could try executing the import. Thanks. -- David Shimamoto Hans-Christoph Steiner wrote On Nov 19, 2007, at 2:20 AM, PSPunch wrote: Hi list, I have some questions for some of you working on pdpedia. === 1. Has there already been discussions on policies regarding when/which pages to lock? I am assuming that leaving everything unlocked is the way to go if only the world were an ideal place. Are there not yet MediaWiki spammers? Locking pages is basically for when people are fighting over a page. I can't imagine that anything is so divisive in Pd that we'd need to lock pages. So far, we haven't had any spam yet. === 2. Regarding importing data from other languages.. For some basic pages, I have gotten away with the following procedure. I. Open the pdpedia page in English. II. Enter edit mode and [copy] the contents in the form III. Create an equivalent page in my language and [paste] the material above. IV. Use above as a starting point to begin translation. -- The above does not work for pages such as 'Category:vanilla'. I don't quite understand how that content is embedded in the page. Can some one help me on importing the list of objects? I've noticed that people working on the Spanish and Portuguese pages have been successful in this. Once that translated template that you posted is ready to go, then I'll run the import. That will generate template pages for about 2000 objectclasses. Then it's a matter of plugging in content, which can be gathered from pages in other languages, help patches, etc. .hc Thanks. -- David Shimamoto
Re: [PD] Kaossilator clone
Wahhh! If I've known this earlier, I would have reconsidered buying a KaossPad. The last time I looked into DS development around Jun. '07, I think there were some difficulties writing Wifi code that worked on all types of cartridges. Chris, If you do not know yet and you are interested, I can inform you how the compatibility goes with the R4. On Wed, Nov 28, 2007 at 12:55:16AM -0500, Hans-Christoph Steiner wrote: That's a nice little instrument! I am sure it would be a lot more fun with a Kaoss pad. Hey Hans, You might like to check out some new software for Nintendo DS I just uploaded called FUDIKaosDS. It's hosted on the same page as my other Nintendo DS + Pure Data project (KnobsAndSlidersDS): http://mccormick.cx/projects/KnobsAndSlidersDS/ Someone asked me to write some software that would turn their DS into a Kaospad, and that's basically what it does. Best, Chris. --- http://mccormick.cx ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] About editing pdpedia
Hans, The lists are built automatically by mediawiki from every page that has [[Category:objectclass]] and [[Category:vanilla]] in it. In this case, 'Category' and 'Object class' is replaced by the localized term defined in the template.. I see the links in the Spanish page functioning properly in this manner. Combinations I've tried so far do not seem to work. Am I the only one dealing with multi byte characters at this site so far? I am beginning to have a bad feeling about their behavior. -- David Shimamoto .hc On Nov 28, 2007, at 12:12 PM, PSPunch wrote: Hans, Ok, I figure only the page names are copied. One last question if before I start adding text.. I don't quite understand the mechanism behind pages such as, http://wiki.puredata.info/en/Category:objectclass http://wiki.puredata.info/en/Category:vanilla Can you please tell me where the list of objects come from? -- David Shimamoto Looks like you got the Infobox working now. As for the English content, none of the previous people wanted to have the English content in their template import, so I didn't include it. It's all available by clicking the English link on the lower left of each page. .hc On Nov 28, 2007, at 3:15 AM, PSPunch wrote: Hans, Thanks. I am terribly sorry to bother you with this. To my eyes, the following two pages look almost identical. http://wiki.puredata.info/en/MediaWiki:Common.css http://wiki.puredata.info/ja/MediaWiki:Common.css http://wiki.puredata.info/en/Template:Infobox_Objectclass http://wiki.puredata.info/ja/Template:Infobox_Objectclass --- After you've kindly executed the import, I was imagining that for example, http://wiki.puredata.info/ja/line would be filled with English contents identical to http://wiki.puredata.info/ja/line Unless I've done something wrong, I am imagining I've translated terms I shouldn't have in the original template. Say, for example, is 'Category:' parsed exceptionally for specific actions? Then it shouldn't have been replaced with multi byte characters of my language. Any ideas? -- David Shimamoto On Nov 27, 2007, at 12:03 AM, PSPunch wrote: Hans, Ok, it's running, it'll take an hour or two. You can see the pages as they are imported: http://wiki.puredata.info/ja/minimum Thanks for the effort! Yes, I see the log increasing as a reload the recent changes page. Is it just me or is it general to get excited watching massive data being crunched right in front of your very eyes? Some pages I opened were just blank. I wonder if this is because the original English page is also blank... any way I will wait for the processing to end. There shouldn't be blank pages, but they will just be templates with the infobox and the categories setup. Next, you need to add the CSS and Infobox template then the infobox stuff will show up. I feel I've already done this following the admin HOW-TO. If it gets over written, I guess I can just try again. I think it's still missing the CSS, that should be listed on the HOWTO. That's why the Infobox isn't showing up. .hc doh itashimashite (that's one of my favorite words in japanese :D ) Yes, domo-arigato-gozaimas!! .hc On Nov 24, 2007, at 8:30 PM, PSPunch wrote: Hans, Most of the main page is taken from the documents kindly prepared by Tetsuya Saito. The objectclass template page mainly has terms unified with the main page. So for that part I feel comfortable to proceed. I'd appreciate it if you can execute the import. Thanks. :) -- David Shimamoto I can execute the import whenever you're ready. Maybe it would be good to have one more Japanese speaker look at the template? It's up to you. .hc On Nov 19, 2007, at 9:57 PM, PSPunch wrote: Hans, Thanks. I've followed the procedure in the English 'Admin howtos' pages. I would appreciate it if you could try executing the import. Thanks. -- David Shimamoto Hans-Christoph Steiner wrote On Nov 19, 2007, at 2:20 AM, PSPunch wrote: Hi list, I have some questions for some of you working on pdpedia. === 1. Has there already been discussions on policies regarding when/which pages to lock? I am assuming that leaving everything unlocked is the way to go if only the world were an ideal place. Are there not yet MediaWiki spammers? Locking pages is basically for when people are fighting over a page. I can't imagine that anything is so divisive in Pd that we'd need to lock pages. So far, we haven't had any spam yet. === 2. Regarding importing data from other languages.. For some basic pages, I have gotten away with the following procedure. I. Open the pdpedia page in English. II. Enter edit mode and [copy] the contents in the form III. Create an equivalent page in my language and [paste] the material above. IV. Use above as a starting point to begin translation. -- The above does not work
[PD] Kaossilator clone
Hi list, I've put together a patch to make my Korg KaossPad3 generate sounds like the newer Kaossilator. There is also a GEM based GUI to control by mouse. http://pspunch.com/kausolator.zip The main file and control descriptions are inside the file kausolator.pd -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Any advanced demos using GEM?
Thanks all, I found some really practical looking stuff among the information you've pointed me to. I need to finish up the project I am working on before actually getting my hands on it but I believe afterwards these resources will feed me for a good few weeks. I am looking forward to posting some patches if I get anything interesting out of them. -- David Shimamoto ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] About editing pdpedia
Hans, Ok, it's running, it'll take an hour or two. You can see the pages as they are imported: http://wiki.puredata.info/ja/minimum Thanks for the effort! Yes, I see the log increasing as a reload the recent changes page. Is it just me or is it general to get excited watching massive data being crunched right in front of your very eyes? Some pages I opened were just blank. I wonder if this is because the original English page is also blank... any way I will wait for the processing to end. Next, you need to add the CSS and Infobox template then the infobox stuff will show up. I feel I've already done this following the admin HOW-TO. If it gets over written, I guess I can just try again. doh itashimashite (that's one of my favorite words in japanese :D ) Yes, domo-arigato-gozaimas!! .hc On Nov 24, 2007, at 8:30 PM, PSPunch wrote: Hans, Most of the main page is taken from the documents kindly prepared by Tetsuya Saito. The objectclass template page mainly has terms unified with the main page. So for that part I feel comfortable to proceed. I'd appreciate it if you can execute the import. Thanks. :) -- David Shimamoto I can execute the import whenever you're ready. Maybe it would be good to have one more Japanese speaker look at the template? It's up to you. .hc On Nov 19, 2007, at 9:57 PM, PSPunch wrote: Hans, Thanks. I've followed the procedure in the English 'Admin howtos' pages. I would appreciate it if you could try executing the import. Thanks. -- David Shimamoto Hans-Christoph Steiner wrote On Nov 19, 2007, at 2:20 AM, PSPunch wrote: Hi list, I have some questions for some of you working on pdpedia. === 1. Has there already been discussions on policies regarding when/which pages to lock? I am assuming that leaving everything unlocked is the way to go if only the world were an ideal place. Are there not yet MediaWiki spammers? Locking pages is basically for when people are fighting over a page. I can't imagine that anything is so divisive in Pd that we'd need to lock pages. So far, we haven't had any spam yet. === 2. Regarding importing data from other languages.. For some basic pages, I have gotten away with the following procedure. I. Open the pdpedia page in English. II. Enter edit mode and [copy] the contents in the form III. Create an equivalent page in my language and [paste] the material above. IV. Use above as a starting point to begin translation. -- The above does not work for pages such as 'Category:vanilla'. I don't quite understand how that content is embedded in the page. Can some one help me on importing the list of objects? I've noticed that people working on the Spanish and Portuguese pages have been successful in this. Once that translated template that you posted is ready to go, then I'll run the import. That will generate template pages for about 2000 objectclasses. Then it's a matter of plugging in content, which can be gathered from pages in other languages, help patches, etc. .hc Thanks. -- David Shimamoto ___ 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 The arc of history bends towards justice. - Dr. Martin Luther King, Jr. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list News is what people want to keep hidden and everything else is publicity. - Bill Moyers ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list