Re: [PD] [shell] issue
Olivier Heinry wrote: Le Mon, 28 Apr 2008 12:13:10 +0200, Thomas Mayer [EMAIL PROTECTED] a écrit : Olivier Heinry wrote: hi, I've got this command line that flushes the disk cache on Linux 2.6.16 and later that's very useful to clean big video files from RAM: sudo sync; sudo echo 1 /proc/sys/vm/drop_caches Any of you has an idea how to give a [sudo cmd( message to the [shell] object and on-interactively give the sudo password? One way is to exclude these commands from needing the password via http://lists.debian.org/debian-user/2004/02/msg00656.html Another way is pipelining stdin: echo YOURPASSWORD|sudo sync; ... or for some real shell programming and using a textfile for stdin: http://www.tldp.org/LDP/abs/html/io-redirection.html cu Thomas Thanks big brother, i've added it to Pdpedia tips and tricks Thanks, I have elaborated the part a bit, and added pros and cons for the three methods. cu Thomas -- Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance. (Leto II. in: Frank Herbert, God Emperor of Dune) http://thomas.dergrossebruder.org/ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] multiple sound cards
Hallo, Raphaël ILIAS hat gesagt: // Raphaël ILIAS wrote: i just bought two cheap sound cards (Terratec Aureon 5.1 PCI) in addition to the default card on the mother board... i just want to get 6-mono input channels and 6 output channels into PD or jack... What you're trying to do here is known as the el cheapo multichannel soundcard configuration in Linux Audio circles. You can google for that term to find a lot of people who also tried it or use: http://alsa.opensrc.org/index.php/TwoCardsAsOne as a start. To make a long story short: El cheapo doesn't work very well, if at all. Soundcards have to be in sync to work properly, and your two soundcards (Aureon + onboard) will never be in sync. The closest you can get probably is to use netjack. But for 6in/6out your precious time could be put to better use if you buy a real multichannel card like the M-Audio Delta 1010(LT) or equivalent ICE1721 cards by Terratec etc. Ciao -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] noob GEM question
Hi, I would like to generate a series of frames in realtime. When every new frame is created I want all the previous frames to be translated to the left(or any other direction for that matter), so that it looks like something groving sideways. Every new fram i generated in the same location, just the previous frames are moved. How can I do this using GEM? Best, Eirik Arthur Blekesaune ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Trax - Sinusoidal Model Synthesis in Pure Data
I re-tarred and re-uploaded trax.tar.gzhttp://www.teafordragons.com/rte/software/trax.tar.gz, can you try it again? Sorry about that.. regards, rich On Mon, Apr 28, 2008 at 12:11 PM, Andy Farnell [EMAIL PROTECTED] wrote: On Mon, 28 Apr 2008 11:32:18 -0700 Rich E [EMAIL PROTECTED] wrote: thanks for all the comments. I'd love to hear if people are getting it to work, having problems, making cool sounds, etc. Rich, I had a problem unpacking the source file .tar.gz on Linux. I was going to grab from CVS when I'm not so busy, but just to let you know. a. -- Use the source ___ 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] Newbie request
Hello! I'm new to PD and was wondering if i could get a working start - i'd like to someday be able to create a PD applet that can take audio input from a microphone and convert the sounds to text that can simultaneously be applied to a concurrently running program, like a word processor or a presentation program that accepts alpha-numeric input to trigger events. Can someone create a PD example that does the following: 1. echo Alpha/numeric characters based on variable pitch 2. echo alpha/numeric characters based on volume 3. echo alpha/numeric characters based on rhythm (ie, number of pulses per second or minute) Sorry if this sounds simplistic - if i can see an example of a PD patch that can incorporate these elements, that will go a LONG way to helping me learn how to program PD on my own! Thanks in advance for your help and suggestions, PD list! -- Hugh Sung www.hughsung.com www.TabletPCMusician.com www.musicmeetstech.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Gem crash on Hardy
Thanks for the tip! ...but unfortunately it did not change anything tried both 'acpi=noacpi' and 'apm=noapm' but the system still freeze. And this only happens with gem 0.91. (Gem 0.90 and pdp works fine!) Anyone have a working 0.91 on hardy? .kris 2008/4/28 B. Bogart [EMAIL PROTECTED]: FYI on all my machines I've seen freezes when rending with NVIDIA proprietary drivers. To make em stable I've had to add the following kernel options: acpi=off noapm then its stable. Mind you, I've never seen this happen immediately, only after running X for some time worth a try... I've not jumped to hardy yet, will be a couple months when my thesis is done. ..b. Kristofer Hagbard wrote: Hi, I don't think this is the problem, I have installed the proprietary NVIDIA driver and hardware acceleration seems to work in other applications (the screensavers run smoothly :) And also gem 0.90 works nicely with pd vanilla 0.40.2. I have also turned off the compiz stuff. Do you need some special settings in xorg.conf for gem 0.91 to work in hardy? best, .kris olsen wolf skrev: hi olivier if you're using ati/xorg you'd probably have to refer to this posting: http://lists.puredata.info/pipermail/pd-list/2008-02/059833.html greets olsen On Mon, Apr 28, 2008 at 2:51 PM, Olivier Heinry [EMAIL PROTECTED] wrote: Le Mon, 28 Apr 2008 14:31:50 +0200 (CEST), Kristofer Hagbard [EMAIL PROTECTED] a écrit : Hi, When I try to open any Gem window on Hardy 8.04 (or rather when i start rendering) it completely locks up my whole system. I use the latest auto build since it's the only pd-extended that can be installed on hardy and since I'd really like to try the pix_fiducialtrack. Pd/Gem from the Ubuntu repositories works fine. Anyone got a clue what could cause this? Most likely you havent enabled the proprietary driver and/or the GL options in /etc/X11/xorg.conf best, .kris ___ 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 -- Planet Pluto bleibt! ___ 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] Newbie request
speech to text in opensource software is still poor, and even poorer for languages other than english. afaik pd also doesnot have a builtin solution for that. you could try to use a different program for that and parse the text, or you could try more basic approaches within pd (like pitch recognition, amplitude/envelope following, or rhythm/melody recognition. I am sure there are some commercial solutions out there (like in the iphone) that have good speech-to-text recognition, including dictionaries. sorry that this probably is no real help for you, maybe someone else knows more? marius. Hugh Sung wrote: Hello! I'm new to PD and was wondering if i could get a working start - i'd like to someday be able to create a PD applet that can take audio input from a microphone and convert the sounds to text that can simultaneously be applied to a concurrently running program, like a word processor or a presentation program that accepts alpha-numeric input to trigger events. Can someone create a PD example that does the following: 1. echo Alpha/numeric characters based on variable pitch 2. echo alpha/numeric characters based on volume 3. echo alpha/numeric characters based on rhythm (ie, number of pulses per second or minute) Sorry if this sounds simplistic - if i can see an example of a PD patch that can incorporate these elements, that will go a LONG way to helping me learn how to program PD on my own! Thanks in advance for your help and suggestions, PD list! -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.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] Newbie request
marius schebella wrote: speech to text in opensource software is still poor, and even poorer for languages other than english. afaik pd also doesnot have a builtin solution for that. you could try to use a different program for that and parse the text, maybe sphinx (java) - pdj - pd (triggering events). would be a solution to try. marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Newbie request
Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. I have a presentation program that can be configured to accept keyboard strokes to activate visual events. Does that example make sense? PD sounds like it should be able to handle that capability pretty easily... On Tue, Apr 29, 2008 at 12:14 PM, marius schebella [EMAIL PROTECTED] wrote: speech to text in opensource software is still poor, and even poorer for languages other than english. afaik pd also doesnot have a builtin solution for that. you could try to use a different program for that and parse the text, or you could try more basic approaches within pd (like pitch recognition, amplitude/envelope following, or rhythm/melody recognition. I am sure there are some commercial solutions out there (like in the iphone) that have good speech-to-text recognition, including dictionaries. sorry that this probably is no real help for you, maybe someone else knows more? marius. Hugh Sung wrote: Hello! I'm new to PD and was wondering if i could get a working start - i'd like to someday be able to create a PD applet that can take audio input from a microphone and convert the sounds to text that can simultaneously be applied to a concurrently running program, like a word processor or a presentation program that accepts alpha-numeric input to trigger events. Can someone create a PD example that does the following: 1. echo Alpha/numeric characters based on variable pitch 2. echo alpha/numeric characters based on volume 3. echo alpha/numeric characters based on rhythm (ie, number of pulses per second or minute) Sorry if this sounds simplistic - if i can see an example of a PD patch that can incorporate these elements, that will go a LONG way to helping me learn how to program PD on my own! Thanks in advance for your help and suggestions, PD list! -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Hugh Sung www.hughsung.com www.TabletPCMusician.com www.musicmeetstech.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Newbie request
Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Newbie request
i'm not familiar with that program - can you provide a link to fiddle~, or any other program that can easily do what i'm looking for with all the various parameters? Many thanks! On Tue, Apr 29, 2008 at 12:50 PM, marius schebella [EMAIL PROTECTED] wrote: Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius. -- Hugh Sung www.hughsung.com www.TabletPCMusician.com www.musicmeetstech.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Newbie request
fiddle~ comes with pd (look in the extra folder), there is a help patch that will explain how it works. hope this helps. marius. Hugh Sung wrote: i'm not familiar with that program - can you provide a link to fiddle~, or any other program that can easily do what i'm looking for with all the various parameters? Many thanks! On Tue, Apr 29, 2008 at 12:50 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius. -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Newbie request (Frequency 2 keystroke)
Hi, sigmund~ and fiddle~ are objects to analyse the microphone signal to find the fundamental frequency. You can use the moses and select objects to make something happend when the frequency is into a particular range. I do not know how to simulate a keyboard input. Cheers, Damien. Hugh Sung a écrit : Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. I have a presentation program that can be configured to accept keyboard strokes to activate visual events. Does that example make sense? PD sounds like it should be able to handle that capability pretty easily... On Tue, Apr 29, 2008 at 12:14 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: speech to text in opensource software is still poor, and even poorer for languages other than english. afaik pd also doesnot have a builtin solution for that. you could try to use a different program for that and parse the text, or you could try more basic approaches within pd (like pitch recognition, amplitude/envelope following, or rhythm/melody recognition. I am sure there are some commercial solutions out there (like in the iphone) that have good speech-to-text recognition, including dictionaries. sorry that this probably is no real help for you, maybe someone else knows more? marius. Hugh Sung wrote: Hello! I'm new to PD and was wondering if i could get a working start - i'd like to someday be able to create a PD applet that can take audio input from a microphone and convert the sounds to text that can simultaneously be applied to a concurrently running program, like a word processor or a presentation program that accepts alpha-numeric input to trigger events. Can someone create a PD example that does the following: 1. echo Alpha/numeric characters based on variable pitch 2. echo alpha/numeric characters based on volume 3. echo alpha/numeric characters based on rhythm (ie, number of pulses per second or minute) Sorry if this sounds simplistic - if i can see an example of a PD patch that can incorporate these elements, that will go a LONG way to helping me learn how to program PD on my own! Thanks in advance for your help and suggestions, PD list! -- Hugh Sung www.hughsung.com http://www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com http://www.musicmeetstech.com ___ PD-list@iem.at mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.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] Newbie request
What are you using for the presentation software? You can look at bonk~ and fiddle~ to process sounds, but if your just showing images or video you could do that part in PD also using Gem or PDP. .b. Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. I have a presentation program that can be configured to accept keyboard strokes to activate visual events. Does that example make sense? PD sounds like it should be able to handle that capability pretty easily... On Tue, Apr 29, 2008 at 12:14 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: speech to text in opensource software is still poor, and even poorer for languages other than english. afaik pd also doesnot have a builtin solution for that. you could try to use a different program for that and parse the text, or you could try more basic approaches within pd (like pitch recognition, amplitude/envelope following, or rhythm/melody recognition. I am sure there are some commercial solutions out there (like in the iphone) that have good speech-to-text recognition, including dictionaries. sorry that this probably is no real help for you, maybe someone else knows more? marius. Hugh Sung wrote: Hello! I'm new to PD and was wondering if i could get a working start - i'd like to someday be able to create a PD applet that can take audio input from a microphone and convert the sounds to text that can simultaneously be applied to a concurrently running program, like a word processor or a presentation program that accepts alpha-numeric input to trigger events. Can someone create a PD example that does the following: 1. echo Alpha/numeric characters based on variable pitch 2. echo alpha/numeric characters based on volume 3. echo alpha/numeric characters based on rhythm (ie, number of pulses per second or minute) Sorry if this sounds simplistic - if i can see an example of a PD patch that can incorporate these elements, that will go a LONG way to helping me learn how to program PD on my own! Thanks in advance for your help and suggestions, PD list! -- Hugh Sung www.hughsung.com http://www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com http://www.musicmeetstech.com ___ PD-list@iem.at mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.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] noob GEM question
There is a texture feedback example patch in Gem, (07.feedback I think) Just change the sphere into a square and translate it as needed. .b. Claude Heiland-Allen wrote: Eirik Blekesaune wrote: Hi, I would like to generate a series of frames in realtime. When every new frame is created I want all the previous frames to be translated to the left(or any other direction for that matter), so that it looks like something groving sideways. Every new fram i generated in the same location, just the previous frames are moved. How can I do this using GEM? Texture feedback is one way. You can use [pix_snap2tex] to capture the render window to a texture, then texture it on a rectangle translated slightly to the left (or any other direction). Unfortunately my video drivers are currently broken so I can't make an example right now. Best, Eirik Arthur Blekesaune Claude ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] vinylcontrol external based on xwax+flext
Hey! I just did a quick hack of wrapping the timecoder.c code from xwax into a flext external, so the timecoder can be used in pd or max/msp (dunno about v5) and be used for stuff like scratching videos and alike. The timecoder supports serato and traktor vinyl and outputs mainly the pitch and position of the needle on the vinyl. This is a very small and easy hack but it works: http://karhumusic.sesser.at/vinylcontrol.tar.gz Documentation is in the tarball as vinylcontrol.pd patch with some comments. I left the binaries in the tarball as some might have problems building the external (... next time I should not forget to delete the binaries with debug symbols, heh...). Enjoy, so long... Niklas ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] IP camera and pidip
Le Fri, 11 Apr 2008 03:42:02 +0200, [EMAIL PROTECTED] a écrit : ola, let's see, does your ip cam delivers you a stream in the form of http://ip:port/something.someformat ?? where someformat = mp4, mpg, ogg ? in that case, you can use that solution : in a shell script : rm /tmp/pipe mknod /tmp/pipe p mencoder -nosound -ovc raw -of rawvideo -vf format=rgb24,crop=320:240 http://ip:port/something.someformat -o /tmp/pipe in pd : pdp_rawin /tmp/pipe bitmap/rgb/320x240 suerte, sevy Ola Sevy, I've been trying your trick ith an Axis 214 and I only get a black screen. here is my shell script: #! /bin/sh rm /tmp/pipe mknod /tmp/pipe p mencoder -nosound -ovc raw -of rawvideo -vf format=rgb24 rtsp://192.168.0.4:554/mpeg4/1/media.amp -o /tmp/pipe and that's the output: ~/puredata$ ./axisconnect.sh MEncoder dev-SVN-rUNKNOWN-4.1.2 (C) 2000-2006 MPlayer Team CPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Resolving 192.168.0.4 for AF_INET6... Couldn't resolve name for AF_INET6: 192.168.0.4 Connecting to server 192.168.0.4[192.168.0.4]: 554... rtsp_session: unsupported RTSP server. Server type is 'unknown'. STREAM_LIVE555, URL: rtsp://192.168.0.4:554/mpeg4/1/media.amp success: format: 21 data: 0x0 - 0x0 Stream not seekable! file format detected. Initiated video/MP4V-ES RTP subsession on port 33036 demux_rtp: Guessed the video frame rate as 15 frames-per-second. (If this is wrong, use the -fps frame-rate option instead.) VIDEO: [mp4v] 0x0 0bpp 15.000 fps0.0 kbps ( 0.0 kbyte/s) [V] filefmt:21 fourcc:0x7634706D size:0x0 fps:15.00 ftime:=0.0667 Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1 Opening video filter: [format fmt=rgb24] == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) == VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. [swscaler @ 0x8412910]No accelerated colorspace conversion found [swscaler @ 0x8412910]SwScaler: using unscaled yuv420p - rgb24 special converter New_Face failed. Maybe the font path is wrong.n 0mb A-V:0.000 [0:0] Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. 1 duplicate frame(s)! Pos: 5.2s 78f ( 0%) 6.55fps Trem: 0min 0mb A-V:0.000 [30022:0] As soon as I bang the pdp_rawin object, its output to the console says: pdp_glx: packet is not a PDP_IMAGE at each new frame. I set up the cam to send in MPEG4 in color, no clue about RGB or YUV colorspace, but it's supposed to be a NTSC 640x480 model. Any idea what's gone wrong? Bye O. t'es in t'es bat wrote: Thanks for answer, .but i hope to realize a stream, i need it for my concept, Anyone have a strategy to get the ip camera stream in mjpeg in pdip for pdp_canvas Or do i have to use another lib for that job ___ 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] Newbie request
As for forwarding keypresses and mouse events to an application ... I have done this in Windows to control FLStudio (aka FruityLoops) by sending menu events and keypresses through python windows scripting, pywinauto, and osc in python. I have info and code on my website. It should still work but it's a bit old (2006) and I don't use Windows anymore. On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote: fiddle~ comes with pd (look in the extra folder), there is a help patch that will explain how it works. hope this helps. marius. Hugh Sung wrote: i'm not familiar with that program - can you provide a link to fiddle~, or any other program that can easily do what i'm looking for with all the various parameters? Many thanks! On Tue, Apr 29, 2008 at 12:50 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius. -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com --- Dan Wilcox robotcowboy.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] BBcut for pd?
BBcut library is a collection of tools to cut sounds into slices and rearrange them with some random and repeat rules. I don't know any pd port. n Hans-Christoph Steiner a écrit : I don't think most of us are SuperCollider users, so I think you'll have better luck if you describe what BBCut does. .hc On Apr 28, 2008, at 8:06 PM, [EMAIL PROTECTED] wrote: Hi List! Hope everyone is well, I am interested in incorporating something similar to BBCut, by Nick Collins into my pd audio suite and use it quite a bit in Supercollider. I know there is a opcode in Csound, but i was wondering if anyone has taken a crack at a BBCut object (s) yet for pure D. cheers~ Patrick Pagano Sound and Light Technologist School of Theatre and Dance University of Florida ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list kill your television ___ 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] Newbie request
I'm using a presentation program called Liquid Media, sort of like Powerpoint on steroids. Up to this point i had been using multiple foot pedals assigned to different keystrokes to trigger visual cues, like video clips, animated GIFs and the like, during live classical music piano recitals. I'd like to incorporate the dynamic capabilities of realtime visual sync, with the ability to easily change the scene, as it were. i'm hoping that someone can help me come up with a combined solution where PD acts as an audio trigger controller, triggering keystroke events based on pitch ranges, dynamic peaks and rhythmic events, and Liquid Media accepts those PD-generated keystrokes to trigger correlating visual cues. Each scene would comprise of specific trigger-able events, and the foot switch would allow for a manual change of scene. i'm hoping to accomplish two things with this combined approach: 1. make it a little easier to incorporate visuals synced to audio events 2. allow for easy scene transitions, to better compliment the narrative structure of classical compositions Hope this makes sense...thanks all for your input so far! (and patience!) On Tue, Apr 29, 2008 at 2:45 PM, Dan Wilcox [EMAIL PROTECTED] wrote: As for forwarding keypresses and mouse events to an application ... I have done this in Windows to control FLStudio (aka FruityLoops) by sending menu events and keypresses through python windows scripting, pywinauto, and osc in python. I have info and code on my website http://www.robotcowboy.com/?p=60. It should still work but it's a bit old (2006) and I don't use Windows anymore. On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote: fiddle~ comes with pd (look in the extra folder), there is a help patch that will explain how it works. hope this helps. marius. Hugh Sung wrote: i'm not familiar with that program - can you provide a link to fiddle~, or any other program that can easily do what i'm looking for with all the various parameters? Many thanks! On Tue, Apr 29, 2008 at 12:50 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius. -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com --- Dan Wilcox robotcowboy.com http://www.robotcowboy.com -- Hugh Sung www.hughsung.com www.TabletPCMusician.com www.musicmeetstech.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] BBcut for pd?
yes, it's kind of like breakbeat a little hence perhaps BB sounds kind of glitchy and modern pretty sure it's open source code, i'll have to check though there is an opcode and an .sc class, c'mon guys we NEED a bbcut.pd_linux!! :-) Nicolas Montgermont [EMAIL PROTECTED] wrote: BBcut library is a collection of tools to cut sounds into slices and rearrange them with some random and repeat rules. I don't know any pd port. n Hans-Christoph Steiner a écrit : I don't think most of us are SuperCollider users, so I think you'll have better luck if you describe what BBCut does. .hc On Apr 28, 2008, at 8:06 PM, [EMAIL PROTECTED] wrote: Hi List! Hope everyone is well, I am interested in incorporating something similar to BBCut, by Nick Collins into my pd audio suite and use it quite a bit in Supercollider. I know there is a opcode in Csound, but i was wondering if anyone has taken a crack at a BBCut object (s) yet for pure D. cheers~ Patrick Pagano Sound and Light Technologist School of Theatre and Dance University of Florida ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list kill your television ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Patrick Pagano Sound and Light Technologist School of Theatre and Dance University of Florida ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] BBcut for pd?
as you might know, theres a vst/au port called livecut: http://mdsp.smartelectronix.com/2005/07/livecut.php On Tue, Apr 29, 2008 at 8:36 PM, Nicolas Montgermont [EMAIL PROTECTED] wrote: BBcut library is a collection of tools to cut sounds into slices and rearrange them with some random and repeat rules. I don't know any pd port. n Hans-Christoph Steiner a écrit : I don't think most of us are SuperCollider users, so I think you'll have better luck if you describe what BBCut does. .hc On Apr 28, 2008, at 8:06 PM, [EMAIL PROTECTED] wrote: Hi List! Hope everyone is well, I am interested in incorporating something similar to BBCut, by Nick Collins into my pd audio suite and use it quite a bit in Supercollider. I know there is a opcode in Csound, but i was wondering if anyone has taken a crack at a BBCut object (s) yet for pure D. cheers~ Patrick Pagano Sound and Light Technologist School of Theatre and Dance University of Florida ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list kill your television ___ 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] noob GEM question
Claude Heiland-Allen wrote: Eirik Blekesaune wrote: Hi, I would like to generate a series of frames in realtime. When every new frame is created I want all the previous frames to be translated to the left(or any other direction for that matter), so that it looks like something groving sideways. Every new fram i generated in the same location, just the previous frames are moved. How can I do this using GEM? Texture feedback is one way. You can use [pix_snap2tex] to capture the render window to a texture, then texture it on a rectangle translated slightly to the left (or any other direction). Unfortunately my video drivers are currently broken so I can't make an example right now. See attached. Claude -- http://claudiusmaximus.goto10.org #N canvas 0 0 549 618 10; #X obj 43 71 gemwin; #X msg 57 44 0 \, destroy; #X obj 39 105 gemhead; #X obj 35 321 square 4; #X obj 273 270 separator; #X obj 37 226 pix_snap2tex 0 0 512 512; #X obj 273 528 colorRGB 1 0 0 1; #X msg 43 21 dimen 512 512 \, create \, 1; #X obj 273 299 t a b; #X obj 305 328 f; #X obj 335 329 + 1; #X obj 38 132 t a a; #X obj 37 184 t b a; #X obj 305 402 cos; #X obj 337 349 mod 63; #X obj 305 377 / 10; #X obj 273 554 square 0.1; #X obj 273 501 translateXYZ 2 0 1; #X obj 305 429 * 2; #X obj 413 270 separator; #X obj 413 299 t a b; #X obj 445 328 f; #X obj 475 329 + 1; #X obj 413 554 square 0.1; #X obj 413 501 translateXYZ 2 0 1; #X obj 413 528 colorRGB 1 1 0 1; #X obj 445 377 / 15; #X obj 477 349 mod 95; #X obj 445 402 cos; #X obj 445 427 * 1.5; #X obj 250 208 t a a a; #X obj 123 473 separator; #X obj 123 554 square 0.1; #X obj 123 501 translateXYZ 2 0 1; #X obj 205 450 +; #X obj 204 474 * 0.5; #X obj 123 528 colorRGB 0 0.5 1 1; #X obj 36 261 colorRGB 1 1 1 0.1; #X obj 35 291 translateXYZ -0.075 0 0; #X text 259 92 texture feedback translation; #X connect 1 0 0 0; #X connect 2 0 11 0; #X connect 4 0 8 0; #X connect 5 0 37 0; #X connect 6 0 16 0; #X connect 7 0 0 0; #X connect 8 0 17 0; #X connect 8 1 9 0; #X connect 9 0 10 0; #X connect 9 0 15 0; #X connect 10 0 14 0; #X connect 11 0 12 0; #X connect 11 1 30 0; #X connect 12 0 5 0; #X connect 12 1 5 0; #X connect 13 0 18 0; #X connect 14 0 9 1; #X connect 15 0 13 0; #X connect 17 0 6 0; #X connect 18 0 17 2; #X connect 18 0 34 0; #X connect 19 0 20 0; #X connect 20 0 24 0; #X connect 20 1 21 0; #X connect 21 0 22 0; #X connect 21 0 26 0; #X connect 22 0 27 0; #X connect 24 0 25 0; #X connect 25 0 23 0; #X connect 26 0 28 0; #X connect 27 0 21 1; #X connect 28 0 29 0; #X connect 29 0 24 2; #X connect 29 0 34 1; #X connect 30 0 31 0; #X connect 30 1 4 0; #X connect 30 2 19 0; #X connect 31 0 33 0; #X connect 33 0 36 0; #X connect 34 0 35 0; #X connect 35 0 33 2; #X connect 36 0 32 0; #X connect 37 0 38 0; #X connect 38 0 3 0; ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Newbie request
The pedals basically operate as programmable usb keyboard extensions, where you can custom assign any keystroke to any pedal (up to 12). I'm hoping that by assigning a certain set of keys to the pedals and reserving the rest for PD to control that everything can simply work together, if PD can output keyboard letters/numbers. Everything would run from the same computer. Again, please forgive me if i sound completely ignorant regarding what's possible with PD... Many thanks again! On Tue, Apr 29, 2008 at 6:13 PM, Andrew Turley [EMAIL PROTECTED] wrote: The [fiddle~] and [bonk~] objects should let you capture all of the information that you are looking for. As far as getting that information from Pd to Liquid Media, that may be the tricky part. Your current pedals are sending keystrokes straight to Liquid Media. Do you know if there is a way to control Liquid Media via MIDI messages, or some sort of message sent via a socket connection (maybe OSC)? If so, then you might be able to use Pd to capture your pedal input and then combine that with the information from [fiddle~] and/or [bonk~] to send the appropriate information to Liquid Media. If the only way to control Liquid Media is through keystrokes, then you might need to write some software that intercepts the keystrokes from the pedals and changes them depending on what is going on in Pd. andy On Tue, Apr 29, 2008 at 12:18 PM, Hugh Sung [EMAIL PROTECTED] wrote: I'm using a presentation program called Liquid Media, sort of like Powerpoint on steroids. Up to this point i had been using multiple foot pedals assigned to different keystrokes to trigger visual cues, like video clips, animated GIFs and the like, during live classical music piano recitals. I'd like to incorporate the dynamic capabilities of realtime visual sync, with the ability to easily change the scene, as it were. i'm hoping that someone can help me come up with a combined solution where PD acts as an audio trigger controller, triggering keystroke events based on pitch ranges, dynamic peaks and rhythmic events, and Liquid Media accepts those PD-generated keystrokes to trigger correlating visual cues. Each scene would comprise of specific trigger-able events, and the foot switch would allow for a manual change of scene. i'm hoping to accomplish two things with this combined approach: 1. make it a little easier to incorporate visuals synced to audio events 2. allow for easy scene transitions, to better compliment the narrative structure of classical compositions Hope this makes sense...thanks all for your input so far! (and patience!) On Tue, Apr 29, 2008 at 2:45 PM, Dan Wilcox [EMAIL PROTECTED] wrote: As for forwarding keypresses and mouse events to an application ... I have done this in Windows to control FLStudio (aka FruityLoops) by sending menu events and keypresses through python windows scripting, pywinauto, and osc in python. I have info and code on my website. It should still work but it's a bit old (2006) and I don't use Windows anymore. On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote: fiddle~ comes with pd (look in the extra folder), there is a help patch that will explain how it works. hope this helps. marius. Hugh Sung wrote: i'm not familiar with that program - can you provide a link to fiddle~, or any other program that can easily do what i'm looking for with all the various parameters? Many thanks! On Tue, Apr 29, 2008 at 12:50 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius. -- Hugh Sung www.hughsung.com http://www.hughsung.com www.TabletPCMusician.com http://www.TabletPCMusician.com www.musicmeetstech.com http://www.musicmeetstech.com --- Dan Wilcox robotcowboy.com -- Hugh Sung www.hughsung.com www.TabletPCMusician.com www.musicmeetstech.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 -- Hugh Sung www.hughsung.com www.TabletPCMusician.com
Re: [PD] Newbie request
Here's one scenario i'd like to see: 1. Pedal assigned [PgDn] keystroke within Liquid Media, which triggers scene change 2. PD outputs letters A-Z, depending on either volume or pitch frequency ranges input from audio source (microphone into acoustic piano) 3. A given scene within Liquid Media would then interpret the PD-generated keystrokes and trigger image events based on letter key depressed by PD. You'd have the ease of image generation (a la Powerpoint) with the speed and power of PD to map the sound of acoustic music. Just my newbie imagination going here. On Tue, Apr 29, 2008 at 6:46 PM, Hugh Sung [EMAIL PROTECTED] wrote: The pedals basically operate as programmable usb keyboard extensions, where you can custom assign any keystroke to any pedal (up to 12). I'm hoping that by assigning a certain set of keys to the pedals and reserving the rest for PD to control that everything can simply work together, if PD can output keyboard letters/numbers. Everything would run from the same computer. Again, please forgive me if i sound completely ignorant regarding what's possible with PD... Many thanks again! On Tue, Apr 29, 2008 at 6:13 PM, Andrew Turley [EMAIL PROTECTED] wrote: The [fiddle~] and [bonk~] objects should let you capture all of the information that you are looking for. As far as getting that information from Pd to Liquid Media, that may be the tricky part. Your current pedals are sending keystrokes straight to Liquid Media. Do you know if there is a way to control Liquid Media via MIDI messages, or some sort of message sent via a socket connection (maybe OSC)? If so, then you might be able to use Pd to capture your pedal input and then combine that with the information from [fiddle~] and/or [bonk~] to send the appropriate information to Liquid Media. If the only way to control Liquid Media is through keystrokes, then you might need to write some software that intercepts the keystrokes from the pedals and changes them depending on what is going on in Pd. andy On Tue, Apr 29, 2008 at 12:18 PM, Hugh Sung [EMAIL PROTECTED] wrote: I'm using a presentation program called Liquid Media, sort of like Powerpoint on steroids. Up to this point i had been using multiple foot pedals assigned to different keystrokes to trigger visual cues, like video clips, animated GIFs and the like, during live classical music piano recitals. I'd like to incorporate the dynamic capabilities of realtime visual sync, with the ability to easily change the scene, as it were. i'm hoping that someone can help me come up with a combined solution where PD acts as an audio trigger controller, triggering keystroke events based on pitch ranges, dynamic peaks and rhythmic events, and Liquid Media accepts those PD-generated keystrokes to trigger correlating visual cues. Each scene would comprise of specific trigger-able events, and the foot switch would allow for a manual change of scene. i'm hoping to accomplish two things with this combined approach: 1. make it a little easier to incorporate visuals synced to audio events 2. allow for easy scene transitions, to better compliment the narrative structure of classical compositions Hope this makes sense...thanks all for your input so far! (and patience!) On Tue, Apr 29, 2008 at 2:45 PM, Dan Wilcox [EMAIL PROTECTED] wrote: As for forwarding keypresses and mouse events to an application ... I have done this in Windows to control FLStudio (aka FruityLoops) by sending menu events and keypresses through python windows scripting, pywinauto, and osc in python. I have info and code on my website. It should still work but it's a bit old (2006) and I don't use Windows anymore. On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote: fiddle~ comes with pd (look in the extra folder), there is a help patch that will explain how it works. hope this helps. marius. Hugh Sung wrote: i'm not familiar with that program - can you provide a link to fiddle~, or any other program that can easily do what i'm looking for with all the various parameters? Many thanks! On Tue, Apr 29, 2008 at 12:50 PM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hugh Sung wrote: Actually, this isn't for speech recognition - i'm trying to come up with a simple way to use key triggers to activate visuals. For example: if the piano plays A440, i'm presuming PD can be configured to recognize that pitch with a microphone input and then echo out a text string - the letter A, perhaps. in that case, you best use fiddle~. what's the other program? does it accept network communication? then you can send the letters over tcp or udp connection (netsend). marius.
[PD] msd feature request
hi, I know, I am already too old for posting feature requests. I was just thinking that I miss the ability to damp the speed of masses in msd. right now I am using something like mass mass1 1 100 0 0 mass mass2 1 100 1 0 link l mass1 mass2 10 10 0 0.01 0 link l 1 I want that the masses reject each other within a certain range and then just reduce speed and stop if the speed is lower than a certain threshold. probably I should try to implement this myself. but maybe I am only missing something. thanks, marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] moving a list element
hi ! i submit you a little abstraction i made using the list-abs/ abstractions... i don't know if objects doing that already exist, but the idea is to move one element in a list, without changing the others. i made it to change the rendering order in a Gem-based patch, in the spirit of the layers in many well-known image manipulation softwares. This should explain why it only works with floats lists. I also did not take care of the cases you try to move an element out of the range (i mean the list length) maybe looking at the attached patch will be more meaningful than my poor english... every comments are welcome (even to say it has already been made !) ciao raphaël __ Do You Yahoo!? En finir avec le spam? Yahoo! Mail vous offre la meilleure protection possible contre les messages non sollicités http://mail.yahoo.fr Yahoo! Mail #N canvas 348 201 454 271 10; #X obj 116 225 print sorted; #X msg 146 84 -1; #X msg 176 84 1; #X obj 116 117 t b f; #X obj 116 155 hradio 15 1 0 8 empty empty empty 0 -6 0 10 -262144 -1 -1 2; #X msg 206 84 2; #X msg 116 84 -2; #X msg 246 177 0 1 2 3 4 5 6 7; #X obj 246 127 loadbang; #X obj 116 194 list-ordre; #X text 44 13 the idea is to move one element (inlet 1) of the list of a number of steps (inlet 2) to the beginning of the list (negative int) or to the end (positive). the list to change is stored in the third inlet.; #X connect 1 0 3 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 1 9 1; #X connect 4 0 9 0; #X connect 5 0 3 0; #X connect 6 0 3 0; #X connect 7 0 9 2; #X connect 8 0 7 0; #X connect 9 0 0 0; #N canvas 26 87 628 559 10; #X obj 172 312 f; #X obj 235 151 +; #X obj 172 342 list-insert; #X obj 172 222 list; #X obj 172 262 t b a; #X obj 253 291 list-idx; #X obj 172 91 unpack f f; #X obj 172 131 t b b f f f; #X obj 253 271 list; #X obj 172 55 inlet; #X obj 172 242 list-delete 0 1; #X obj 298 55 inlet; #X obj 250 55 inlet; #X obj 172 383 outlet; #X connect 0 0 2 0; #X connect 1 0 2 1; #X connect 2 0 13 0; #X connect 3 0 10 0; #X connect 4 0 0 0; #X connect 4 1 2 2; #X connect 5 0 0 1; #X connect 6 0 7 0; #X connect 6 1 1 1; #X connect 7 0 3 0; #X connect 7 1 8 0; #X connect 7 2 5 1; #X connect 7 3 10 1; #X connect 7 4 1 0; #X connect 8 0 5 0; #X connect 9 0 6 0; #X connect 10 0 4 0; #X connect 11 0 3 1; #X connect 11 0 5 1; #X connect 11 0 8 1; #X connect 12 0 1 1; ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list