Re: [PD] Strip file name from path (alternative to [stripfilename])?
[splitfilename] Did you or me miss the obvious? Best, Jonas Am 31.10.2013 02:43 schrieb tim vets timv...@gmail.com: I don't have [basedir] or [strippath] here, but [list-splat] (list-abs), [s2l] and [l2s] (zexy) do the trick. see attached gr, Tim 2013/10/27 Antonio Roberts anto...@hellocatfood.com I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation. Can anyone help? Thanks -- anto...@hellocatfood.com http://www.hellocatfood.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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] audio output AND input with the Rpi?
Dear all, I just took a quick look at the page on puredata.info and noticed that my soundcard (E-mu 0404 USB) is mentioned as apparently [working]. For clarity's sake i think it would be good to modify the page a bit so that it's mentioned in the working soundcards. It's fully functional as far as i can tell (it works in duplex at 44100 Hz with one input) and has been since the beginning on the RPi without any slowing down of the USB speed. I can even prove it with a video (http://www.youtube.com/watch?v=NwJNeouLqgQ) ! Problem is, i don't know how to edit the page... Cheers, Pierre. 2013/10/31 Julian Brooks jbee...@gmail.com Hi Chris, I think Theron's covered most of it. The Behringer 222 is on the list of working devices compiled here: http://puredata.info/docs/raspberry-pi so hopefully that one should be doable, and my memory is that Andy Farnell has been running Turtle Beach cards during some of his workshops - stuck in my mind 'cos I had a Turtle Beach, old school chuckle to myself. If you do get them running (or not for that matter) it'd be great if you added your experience to the wiki page. For some more audio rpi tips and tweaks I heartily recommend this page: http://wiki.linuxaudio.org/wiki/raspberrypi and there's some more (related) good stuff here http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286064#p286064 Plus of course there's a whole heap of stuff in the pd-list archives (search raspberry or rpi). Regards, Julian On 30 October 2013 00:58, Theron Trowbridge theron.trowbri...@gmail.comwrote: There's good info on http://puredata.info/docs/raspberry-pi covering this, if you haven't seen it. There seem to be a limited number of interfaces that work. And some people have to slow down the USB port to get clean audio (myself included, using the iMic ( http://www.amazon.com/Griffin-Technology-iMic-Audio-Device/dp/B000BVV2IC). And I have to use a wireless keyboard/mouse if I'm not connecting via ssh ( http://www.amazon.com/gp/product/B004KSQANO/). It's not ideal, and a little annoying that the accessories are more than the cost of the Raspberry Pi. But it works. The USB port is slowed down by adding dwc_otg.speed=1 to /boot/cmdline.txt -Theron ^ On Tue, Oct 29, 2013 at 12:03 AM, s p seb...@gmail.com wrote: Same here ... I tried with 2 different usb interfaces, and I got no luck. In both cases I got some sound input, but there is a lot of popping sounds. 2013/10/28 Chris Jack christopherdanielj...@gmail.com Hey folks, Apologies as this post is not strictly about Pd, though Pd will be a crucial part of my final setup so whatever solution I find ought to work with Pd. Also, there is a chance the issue might lie with Pd. I just don't know. I'm looking for a usb bus-powered audio interface for the Rpi that can take a stereo input and provide stereo output *at the same time.* * * I have tried a couple different images and a couple different audio interfaces, to no avail. Perhaps there's something can be done with one of these setups to get it working? First, the Pd-LA custom Raspian (v1) image and Pd 43.2: ..with Behringer UCA202 (at 44100khz): Alsamixer picks the device up but the input section shows nothing. Pd (gui) audio preferences allows selection of the interface for both input and output. Output only is lovely and clean but as soon as the device is selected for audio input the audio quality drops horrendously (vaguely recognisable from the original signal).. ..although what gives me hope is I CAN software monitor the input (poorly) in 'Test Audio and MIDI' with this arrangement. ..with Behringer UCA202 (at 48000khz): Output only in Pd is poor (beating and popping sound - possibly sounds like a samp rate conversion issue). When device is selected as Pd input software monitoring is possible and oddly, though the result is still poor, there is effectively no drop in quality from having the device selected only for output and the monitored signal sounds drastically better than at 44100khz. ..with Turtle Beach Amigo II* (at 44100): Alsamixer shows both input and output and allows to change gain of both. If plugged in from boot and only the output is selected in Pd it works but with a lot of jitter. Selecting the device for input too causes a further drop in audio quality although again I can software monitor the input in 'Test Audio and MIDI' If plugged in after boot the OS crashes. The Satellite CCRMA (operating via ssh) and Pd-extended: ..with Behringer UCA202 (at 44100 and 48000): Alsamixer picks the device up but again the input section shows nothing. If I have the device plugged in from boot then I get the same behaviour with it as I do in Pd vanilla on the Pd-LA Raspian image, ie. software input monitoring but at an extremely poor quality. If I don't plug the device in from boot I see it in Pd audio prefs but get this: ALSA input error (snd_pcm_open): No such
[PD] puredata.info Wiki editing was: audio output AND input with the Rpi?
hi, to edit the Wiki, first create an account by clicking [join] in the upper right corner of the page then as soon as you are logged in you will see an [edit] tab on the top of page to update it yourself hope this help + a -- do it yourself http://antoine.villeret.free.fr 2013/10/31 Pierre Massat pimas...@gmail.com Dear all, I just took a quick look at the page on puredata.info and noticed that my soundcard (E-mu 0404 USB) is mentioned as apparently [working]. For clarity's sake i think it would be good to modify the page a bit so that it's mentioned in the working soundcards. It's fully functional as far as i can tell (it works in duplex at 44100 Hz with one input) and has been since the beginning on the RPi without any slowing down of the USB speed. I can even prove it with a video (http://www.youtube.com/watch?v=NwJNeouLqgQ) ! Problem is, i don't know how to edit the page... Cheers, Pierre. 2013/10/31 Julian Brooks jbee...@gmail.com Hi Chris, I think Theron's covered most of it. The Behringer 222 is on the list of working devices compiled here: http://puredata.info/docs/raspberry-pi so hopefully that one should be doable, and my memory is that Andy Farnell has been running Turtle Beach cards during some of his workshops - stuck in my mind 'cos I had a Turtle Beach, old school chuckle to myself. If you do get them running (or not for that matter) it'd be great if you added your experience to the wiki page. For some more audio rpi tips and tweaks I heartily recommend this page: http://wiki.linuxaudio.org/wiki/raspberrypi and there's some more (related) good stuff here http://www.raspberrypi.org/phpBB3/viewtopic.php?p=286064#p286064 Plus of course there's a whole heap of stuff in the pd-list archives (search raspberry or rpi). Regards, Julian On 30 October 2013 00:58, Theron Trowbridge theron.trowbri...@gmail.comwrote: There's good info on http://puredata.info/docs/raspberry-pi covering this, if you haven't seen it. There seem to be a limited number of interfaces that work. And some people have to slow down the USB port to get clean audio (myself included, using the iMic ( http://www.amazon.com/Griffin-Technology-iMic-Audio-Device/dp/B000BVV2IC). And I have to use a wireless keyboard/mouse if I'm not connecting via ssh ( http://www.amazon.com/gp/product/B004KSQANO/). It's not ideal, and a little annoying that the accessories are more than the cost of the Raspberry Pi. But it works. The USB port is slowed down by adding dwc_otg.speed=1 to /boot/cmdline.txt -Theron ^ On Tue, Oct 29, 2013 at 12:03 AM, s p seb...@gmail.com wrote: Same here ... I tried with 2 different usb interfaces, and I got no luck. In both cases I got some sound input, but there is a lot of popping sounds. 2013/10/28 Chris Jack christopherdanielj...@gmail.com Hey folks, Apologies as this post is not strictly about Pd, though Pd will be a crucial part of my final setup so whatever solution I find ought to work with Pd. Also, there is a chance the issue might lie with Pd. I just don't know. I'm looking for a usb bus-powered audio interface for the Rpi that can take a stereo input and provide stereo output *at the same time.* * * I have tried a couple different images and a couple different audio interfaces, to no avail. Perhaps there's something can be done with one of these setups to get it working? First, the Pd-LA custom Raspian (v1) image and Pd 43.2: ..with Behringer UCA202 (at 44100khz): Alsamixer picks the device up but the input section shows nothing. Pd (gui) audio preferences allows selection of the interface for both input and output. Output only is lovely and clean but as soon as the device is selected for audio input the audio quality drops horrendously (vaguely recognisable from the original signal).. ..although what gives me hope is I CAN software monitor the input (poorly) in 'Test Audio and MIDI' with this arrangement. ..with Behringer UCA202 (at 48000khz): Output only in Pd is poor (beating and popping sound - possibly sounds like a samp rate conversion issue). When device is selected as Pd input software monitoring is possible and oddly, though the result is still poor, there is effectively no drop in quality from having the device selected only for output and the monitored signal sounds drastically better than at 44100khz. ..with Turtle Beach Amigo II* (at 44100): Alsamixer shows both input and output and allows to change gain of both. If plugged in from boot and only the output is selected in Pd it works but with a lot of jitter. Selecting the device for input too causes a further drop in audio quality although again I can software monitor the input in 'Test Audio and MIDI' If plugged in after boot the OS crashes. The Satellite CCRMA (operating via ssh) and Pd-extended: ..with Behringer UCA202 (at 44100 and 48000): Alsamixer picks the device up but again the input section
Re: [PD] audio output AND input with the Rpi?
Am 31.10.2013 um 17:33 schrieb Pierre Massat pimas...@gmail.com: I just took a quick look at the page on puredata.info and noticed that my soundcard (E-mu 0404 USB) is mentioned as apparently [working]. For clarity's sake i think it would be good to modify the page a bit so that it's mentioned in the working soundcards. It's fully functional as far as i can tell Problem is, i don't know how to edit the page... to everyone who is working with the Pi. please edit this page http://puredata.info/docs/raspberry-pi just make an account and edit away. signature.asc Description: Message signed with OpenPGP using GPGMail ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Please kindly DON'T check this out
Darshas previous email is phishing/spam. DON'T click. She says she has no more control over her email. Please don't click! signature.asc Description: Message signed with OpenPGP using GPGMail ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Please kindly DON'T check this out
Thanks Max, That's right - it is Junk!! 'Kindly' throw that trash out!!! Peace, ~d On Thu, Oct 31, 2013 at 10:26 AM, Max abonneme...@revolwear.com wrote: Darshas previous email is phishing/spam. DON'T click. She says she has no more control over her email. Please don't click! ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Exhibition - Marler Media Arts Award | Skulpturenmuseum Marl (DE) | 10.20.13 - 01.12.2014 Exhibition - Der Geist im Vakuum | Quartiere für zeitgenössische Kunst und Fotografie | Braunschweig (DE) | 10.20.13 - 01.12.2014 Fellowship - Klangkunst Stipendiatin - HBK | Braunschweig (DE) | (05.01.13-01.11.13) Residency - PACT ZOLVEREIN| Essen (DE) | (11.26.13 - 12.16.13) MFA Candidate - Open Media | Concordia University - Montréal (QC) | (05.01.13) Représentation - Perte de Signal et CQAM | Québec (CAN) .·:*¨¨*:·.DARSHA.ORG.·:*¨¨*:·. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Oculus Rift shader in pd/Gem
Hy Cyrille, based on your example I could implement the Rift shadering and I can render the left and right eye seperatly. Thank you once again! But the two shadered images (left and right) are behind each other and I cannot use translateXYZ (x-axis translation) to move them to their sides!? Do you have any idea?? The attached example (rift_example.pd) includes more comments and is probably a better explanation... Br, Michael Original-Nachricht Betreff:[GEM-dev] Fwd: Re: Oculus Rift distortion/support Datum: Sun, 27 Oct 2013 18:51:33 +0100 Von:Michael Mihocic michael.miho...@oeaw.ac.at An: gem-...@iem.at Hy Cyrille, thank you again for your quick reply!! Good idea, I also replied to the Gem list! (I'm not registered at the pd list...) (Sorry, if someone might be annoyed about my attachments...) Attached you can find my progress so far but I have to mention that my scripts are still under construction - and not only the parameters far from optimized ;-) My example consists of: - rift_list.pd- is the pd patch to be started, follow the instructions on top of the file - riftshader.pd is used for the distortion parameters, when using the shaders: - r4.frag/r4.vert are the shader files - test.jpg is just any test file which will be distorted I'm not using gemframebuffers in my patch. Currently I am simply loading 2 times the same image and processing the barrel distortions on each half of the image, left and right. But as I described below, our actual world does not consist of one image but of many objects (spheres, cubes, lines,...) within a big sphere, and the user can rotate his head inside the sphere. ((tracking will not be done with Oculus Rift tracker)) - theoretically, my perfect solution would be to apply the distortion to the entire stereo gemwin somehow!? ;-) Following the idea of your patch and introducing gemframebuffers, do you think I can realize it that way: - every object needs to be rendered twice instead of once, and in a framebuffer, sent to the abstraction gemhead_rift - the barrel distortion is applied in the abstraction gemhead_rift, the parameters depending on left or right - instead of using stereo, I create a wider window and add X-axis-translation Do you think it should work that way? Br, Michael #define PROCESSING_TEXTURE_SHADER uniform sampler2D texture; // output texture varying vec2 vTex; // input vector uniform vec2 LensCenter; // center the distortion function around center of the lens uniform vec2 ScreenCenter; // texture coordinate for the center of FULL-screen texture uniform vec2 Scale; // rescale output coordinates back to texture range uniform vec2 ScaleIn; // rescale input texture coordinates to [-1,1] unit range uniform vec4 HmdWarpParam; // array of distortion coefficients vec2 HmdWarp(vec2 texIn) { vec2 theta = (texIn - LensCenter) * ScaleIn; float rSq = theta.x * theta.x + theta.y * theta.y; vec2 theta1 = theta * (HmdWarpParam.x + HmdWarpParam.y * rSq + HmdWarpParam.z * rSq * rSq + HmdWarpParam.w * rSq * rSq * rSq); return LensCenter + Scale * theta1; } void main() { vec2 tc = HmdWarp(vTex); if (any(notEqual(clamp(tc, ScreenCenter-vec2(0.5,0.5), ScreenCenter+vec2(0.5, 0.5)) - tc, vec2(0.0, 0.0 discard; else gl_FragColor = texture2D(texture, tc); }#N canvas 591 376 978 444 10; #X obj 479 69 gemframebuffer; #X obj 619 69 gemframebuffer; #X msg 579 18 view \, perspec; #X text 680 18 to be adjusted to oculus rift angle of view; #X obj 479 161 s oculus_left; #X obj 619 161 s oculus_right; #X obj 46 262 gemhead_rift 50; #X obj 477 235 gemhead; #X obj 479 45 gemhead 10; #X obj 619 45 gemhead 10; #X obj 477 324 pix_texture; #X obj 41 85 gemwin 50; #X text 113 87 - fps have to be adjusted to oculus rift screen; #X msg 65 53 0 \, destroy; #X obj 657 235 gemhead; #X obj 657 322 pix_texture; #X obj 155 263 gemhead_rift 50; #X msg 176 315 draw line; #X obj 177 290 loadbang; #X msg 766 47 color 1 1 0; #X obj 477 354 translateXYZ -3 0 0; #X obj 657 352 translateXYZ 3 0 0; #X obj 155 351 sphere 2; #X obj 619 106 rotateXYZ 0 0 0; #X floatatom 798 81 5 0 0 0 - - -; #X text 838 78 head orientation; #X obj 505 265 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X floatatom 558 327 5 0 0 0 - - -; #X msg 147 51 reset; #X obj 477 388 square 1; #X obj 479 106 rotateXYZ 0 0 0; #X obj 46 328 cube 0.5; #X obj 685 262 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 657 386 square 1; #X msg 41 24 reset \, dimen 640 400 \, lighting 1 \, create \, 1; #X text 526 264 reset; #X text 702 261 reset; #X floatatom 797 105 5 0 0 0 - - -; #X obj 479 135 translateXYZ 0 0 -4; #X obj 619 135 translateXYZ 0 0 -4; #X obj 756 324 print right; #X obj 756 276 del 75; #X msg 756 300 LensCenter 0.46 0.5; #X text 265 354 why is this guy not working??? --; #X text 820 275 right eye; #X obj 46 295 color 1
Re: [PD] Oculus Rift shader in pd/Gem
hello Michael, translate did not work because the shader did not use the transformation matrix (that translate, scale etc are modifying). the shader use texture corrdinate as vertex position. see this line in the vert shader : gl_Position = gl_Vertex; usually you have somthing like : gl_Position = ftransform(); cheers c Le 31/10/2013 16:31, Michael Mihocic a écrit : Hy Cyrille, based on your example I could implement the Rift shadering and I can render the left and right eye seperatly. Thank you once again! But the two shadered images (left and right) are behind each other and I cannot use translateXYZ (x-axis translation) to move them to their sides!? Do you have any idea?? The attached example (rift_example.pd) includes more comments and is probably a better explanation... Br, Michael Original-Nachricht Betreff: [GEM-dev] Fwd: Re: Oculus Rift distortion/support Datum: Sun, 27 Oct 2013 18:51:33 +0100 Von: Michael Mihocic michael.miho...@oeaw.ac.at An: gem-...@iem.at Hy Cyrille, thank you again for your quick reply!! Good idea, I also replied to the Gem list! (I'm not registered at the pd list...) (Sorry, if someone might be annoyed about my attachments...) Attached you can find my progress so far but I have to mention that my scripts are still under construction - and not only the parameters far from optimized ;-) My example consists of: - rift_list.pd- is the pd patch to be started, follow the instructions on top of the file - riftshader.pd is used for the distortion parameters, when using the shaders: - r4.frag/r4.vert are the shader files - test.jpg is just any test file which will be distorted I'm not using gemframebuffers in my patch. Currently I am simply loading 2 times the same image and processing the barrel distortions on each half of the image, left and right. But as I described below, our actual world does not consist of one image but of many objects (spheres, cubes, lines,...) within a big sphere, and the user can rotate his head inside the sphere. ((tracking will not be done with Oculus Rift tracker)) - theoretically, my perfect solution would be to apply the distortion to the entire stereo gemwin somehow!? ;-) Following the idea of your patch and introducing gemframebuffers, do you think I can realize it that way: - every object needs to be rendered twice instead of once, and in a framebuffer, sent to the abstraction gemhead_rift - the barrel distortion is applied in the abstraction gemhead_rift, the parameters depending on left or right - instead of using stereo, I create a wider window and add X-axis-translation Do you think it should work that way? Br, Michael ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Strip file name from path (alternative to [stripfilename])?
Aha, that seems exactly what I was after all along! Do you know if it works on Windows as well? Antonio On 31 October 2013 08:17, Johnny Mauser joson.andr...@googlemail.com wrote: [splitfilename] Did you or me miss the obvious? Best, Jonas Am 31.10.2013 02:43 schrieb tim vets timv...@gmail.com: I don't have [basedir] or [strippath] here, but [list-splat] (list-abs), [s2l] and [l2s] (zexy) do the trick. see attached gr, Tim 2013/10/27 Antonio Roberts anto...@hellocatfood.com I want to be able to strip the file name from a path of a file opened via [openpanel]. I've looked into using [stripfilename] but that'd only work if the directory or file name length were the same in every situation. Can anyone help? Thanks -- anto...@hellocatfood.com http://www.hellocatfood.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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- anto...@hellocatfood.com http://www.hellocatfood.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] [ot] the MS and PhD degrees in music technology at Georgia Tech
Georgia Tech is now accepting applications for the MS and PhD programs in music technology for matriculation in August 2014. All PhD students, and a limited number of MS students, receive graduate research assistantships that cover tuition and pay a competitive monthly stipend. The deadline for applications is January 31, 2014. The MS in Music Technology is a two-year program that instills in students the theoretical foundation, technical skills, and creative aptitude to design the disruptive technologies that will enable new modes of music creation and consumption in a changing industry. Students take courses in areas such as music information retrieval, music perception and cognition, signal processing, interactive music, the history of electronic music, and technology ensemble. They also work closely with faculty on collaborative research projects and on their own MS project or thesis. Recent students in the program have worked and/or interned at companies such as Apple, Avid, Dolby, Bose, Gracenote, Rdio, Sennheiser, Ableton, Echo Nest, and Smule, and gone on to PhD studies. Applicants are expected to have an undergraduate degree in music, computing, engineering, or a related discipline, and they should possess both strong musical and technical skills. Students in the PhD program in Music Technology pursue individualized research agendas in close collaboration with faculty in areas such as interactive music, robotic musicianship, music information retrieval, digital signal processing, mobile music, network music, and music education, focusing on conducting and disseminating novel research with a broad impact. PhD students are also trained in research methods, teaching pedagogy, and an interdisciplinary minor field as they prepare for careers in academia, at industry research labs, or in their own startup companies. PhD applicants are expected to hold a Masters degree in music technology or from an allied field, such as computing, music, engineering, or media arts and sciences. All applicants must demonstrate mastery of core masters-level material covered in Music Technology, including music theory, performance, composition, and/or analysis; music information retrieval; digital signal processing and synthesis; interactive music syst ems design; and music cognition. Both the MS and PhD programs are housed within the School of Music at Georgia Tech, in close collaboration with the Georgia Tech Center for Music Technology (GTCMT). The GTCMT is an international center for creative and technological research in music, focusing on the development and deployment of innovative musical technologies that transform the ways in which we create and experience music. Its mission is to provide a collaborative framework for committed students, faculty, and researchers from all across campus to apply their musical, technological, and scientific creativity to the development of innovative artistic and technological artifacts. Core faculty in the music technology program include Gil Weinberg (robotic musicianship, mobile music, and sonification), Jason Freeman (participatory and collaborative systems, education, and composition), Alexander Lerch (music information retrieval and digital signal processing), Timothy Hsu (acoustics), Frank Clark (multimedia and network music), and Chris Moore (recording and production). More information on the MS program is at: http://www.music.gatech.edu/academics/graduate/overview More information on the PhD program is at: http://www.music.gatech.edu/academics/phd/overview More information on the GTCMT is at: http://www.gtcmt.gatech.edu To apply, please visit: http://www.gradadmiss.gatech.edu/apply/ To contact us, please visit: http://www.gtcmt.gatech.edu/contact_us ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list