[PD] beginner's question - the audio doesn't work
Hello, I am not a sound professional and I have only been using PD for a short while so excuse me if it's a stupid question. I am trying to create a short ringtone-like melody using PD. I created a patch that reads data from an array and then connects to dac~ but when I try to turn the toggle on no sound is coming out! How can I change so I could actually hear the sound? I have attached the patch with this message. Thanks a lot! assignment2.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD, Linux and USB multichannel interface
Most of USB audio devices out there are basic stereo in // stereo out and they can do up to 48kHz sampling rate. What you need is USB audio 2.0, which is firly recent, despite the fact that most of other USB devices use the capabilities of 2.0 standard, the audio products didn't catch up just yet. There very few implementation out there, if you find any thing decent - let every one know! I haven't looked it up very recently, so there may be something already :) The latest ALSA driver should have quite good support for it, I would advise you to browse ALSA dveloper's mailing list. for example I can see from back in August: [alsa-devel] Problem with USB Class 2 Audio Driver Good Luck, -- Ilya On Thu, Nov 18, 2010 at 09:42:51PM +0100, Carlo Benzi wrote: Hi! I have a question: is there a USB multichannel interface (for example 8 in - 8 out) running under ubuntustudio or studio64 (processor: Intel Pentium M 740 with 1 GB ram)? I'd like to buy it in order to use Pure Data with this equipment. Thanks a lot for your help! Best greetings 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
Re: [PD] beginner's question - the audio doesn't work
2010/11/19 2bad4...@london.com: Hello, I am not a sound professional and I have only been using PD for a short while so excuse me if it's a stupid question. I am trying to create a short ringtone-like melody using PD. I created a patch that reads data from an array and then connects to dac~ but when I try to turn the toggle on no sound is coming out! How can I change so I could actually hear the sound? Hi, The values of your array are too low even if are converted with mtof. The outgoing frequencies from mtof are between 8 and 10hz, so this maybe the reason that you can't hear anything. Try modifiy /increase the values of the array or multiply the values from the mtof outlet. Take a look too, on different nice on-line tutorials like: http://en.flossmanuals.net/PureData http://www.pd-tutorial.com/english/index.html are useful salut xà! I have attached the patch with this message. Thanks a lot! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- dAAX! http://noconventions.mobi/x! tAZ http://noconventions.mobi/nvisible.taz/ HTDj! http://hackthedj.wordpress.com/ GDT http://noconventions.mobi/graficantsDtrisseny/ :::..::...:.. : .. .. .:: . ..:.. .. . .. . .:.. ... rm -rf / i ens ho carreguem tot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd + HTML on Android
On Fri, 19 Nov 2010 21:38:36 +1100, Richie Cyngler glitch...@gmail.com wrote: Could it be used to make web apps too? I guess it depends what you mean by web apps. I can make your Pd patches run on Android with HTML interfaces to control them. The use case I most have in mind is this: http://mccormick.cx/news/entries/cheap-modular-fun-music-devices Cheers, Chris. --- http://mccormick.cx ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd + HTML on Android
Hi, great...working with a specific version of android? (yes, i dont read the link). Best regards José 2010/11/19 chrism ch...@mccormick.cx On Fri, 19 Nov 2010 21:38:36 +1100, Richie Cyngler glitch...@gmail.com wrote: Could it be used to make web apps too? I guess it depends what you mean by web apps. I can make your Pd patches run on Android with HTML interfaces to control them. The use case I most have in mind is this: http://mccormick.cx/news/entries/cheap-modular-fun-music-devices Cheers, Chris. --- http://mccormick.cx ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://arselectronicachile.blogspot.com http://comunicacionnativa.blogspot.com/ http://www.myspace.com/santorcuato ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] beginner's question - the audio doesn't work
Hi, It is not clear what the array holds... Hint: Are those frequency ratios? (e.g. 1.5 is a fifth, 2.0 is an octave, etc?) If this is the case you don't need to work with midi note numbers (I see you hav mtof) but directly with frequencies Lorenzo 2bad4...@london.com wrote: Hello, I am not a sound professional and I have only been using PD for a short while so excuse me if it's a stupid question. I am trying to create a short ringtone-like melody using PD. I created a patch that reads data from an array and then connects to dac~ but when I try to turn the toggle on no sound is coming out! How can I change so I could actually hear the sound? I have attached the patch with this message. Thanks a lot! ___ 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 + HTML on Android
Hi, Is there also a 'desktop' version? Lorenzo. chrism wrote: Get Pure Data patches working on Android devices with HTML + Javascript user interfaces: http://code.google.com/p/pd-webkit-droid/ Have fun, 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] 3d tube with control of the position of the extremities
Hi Luiz, On 17/11/10 22:10, Luiz Naveda wrote: I was trying to build 3d cylinders using GEM. But I the actual solutions (cylinder and tube) cannot be easily manipulated. I would like to control the x y z of the extremities of the tube, like a [polygon 2] but with control of diameter and faces of the cylinder. Any useful tip? I am really missing the point or there is no easy solution for that in PD? I needed this a while ago for my [1] MarkIII project, so I made it. There was no really easy solution, a lot of maths/geometry to do. See attached. Maybe there is a better way? Claude [1] http://claudiusmaximus.goto10.org/cm/2010-01-28_markiii_demos.html -- http://claudiusmaximus.goto10.org #N canvas 0 0 450 387 10; #X obj 15 19 inlet; #X obj 113 19 inlet; #X obj 211 19 inlet; #X obj 323 50 inlet; #X obj 16 40 t a a; #X obj 16 361 outlet; #X obj 113 44 unpack f f f; #X obj 211 44 unpack f f f; #X obj 173 102 -; #X obj 203 102 -; #X obj 43 62 separator; #X obj 225 262 loadbang; #X obj 30 318 cylinder; #X obj 172 150 t f f; #X obj 173 174 *; #X obj 44 98 translate 1 0 0 0; #X obj 46 223 rotate; #X obj 212 150 t f f; #X obj 213 174 *; #X obj 262 150 t f f; #X obj 263 174 *; #X obj 218 199 +; #X obj 174 202 +; #X obj 174 225 sqrt; #X obj 174 248 swap; #X obj 175 272 /; #X obj 174 299 expr 180.0*acos($f1)/3.1415926; #X obj 174 329 *; #X obj 211 317 expr if($f10 \, -1 \, 1); #X obj 93 196 pack f f; #X msg 93 221 \$2 \$1 0; #X obj 138 174 * -1; #X obj 139 154 *; #X obj 93 156 *; #X obj 32 293 translateXYZ 0 0 0; #X obj 235 104 +; #X obj 248 66 -; #X obj 311 101 == 0; #X obj 313 121 * 1e-05; #X obj 250 87 t f f; #X obj 149 228 /; #X obj 142 252 * 0.5; #X obj 31 271 scaleXYZ -1 1 1; #X obj 35 249 separator; #X msg 224 280 7; #X connect 0 0 4 0; #X connect 1 0 6 0; #X connect 2 0 7 0; #X connect 2 0 15 2; #X connect 3 0 12 1; #X connect 3 0 34 3; #X connect 3 0 40 1; #X connect 4 0 5 0; #X connect 4 1 10 0; #X connect 6 0 8 0; #X connect 6 1 9 0; #X connect 6 2 36 0; #X connect 7 0 8 1; #X connect 7 1 9 1; #X connect 7 2 36 1; #X connect 8 0 13 0; #X connect 8 0 33 0; #X connect 9 0 17 0; #X connect 9 0 32 0; #X connect 10 0 15 0; #X connect 11 0 44 0; #X connect 13 0 14 0; #X connect 13 1 14 1; #X connect 14 0 22 0; #X connect 15 0 16 0; #X connect 16 0 43 0; #X connect 17 0 18 0; #X connect 17 1 18 1; #X connect 18 0 21 0; #X connect 19 0 20 0; #X connect 19 1 20 1; #X connect 20 0 21 1; #X connect 21 0 22 1; #X connect 22 0 23 0; #X connect 23 0 24 0; #X connect 23 0 40 0; #X connect 24 0 25 0; #X connect 24 1 25 1; #X connect 25 0 26 0; #X connect 26 0 27 0; #X connect 27 0 16 1; #X connect 28 0 27 1; #X connect 29 0 30 0; #X connect 30 0 16 2; #X connect 31 0 29 1; #X connect 32 0 31 0; #X connect 33 0 29 0; #X connect 34 0 12 0; #X connect 35 0 19 0; #X connect 35 0 24 1; #X connect 35 0 28 0; #X connect 35 0 32 1; #X connect 35 0 33 1; #X connect 36 0 39 0; #X connect 37 0 38 0; #X connect 38 0 35 1; #X connect 39 0 35 0; #X connect 39 1 37 0; #X connect 40 0 41 0; #X connect 41 0 42 3; #X connect 42 0 34 0; #X connect 43 0 42 0; #X connect 44 0 12 2; #N canvas 0 0 450 422 10; #X obj 134 147 gemwin 25; #X obj 116 173 gemhead; #X msg 198 300 0.1; #X obj 117 194 t a a; #X obj 168 222 world_light; #X msg 228 198 1 0 1; #X msg 136 87 create \, 1 \, lighting 0; #X msg 189 267 1 1 0; #X floatatom 266 231 5 0 0 0 - - -; #X obj 296 284 pack f f f; #X obj 306 259 t b a; #X floatatom 312 230 5 0 0 0 - - -; #X obj 346 259 t b a; #X floatatom 352 230 5 0 0 0 - - -; #X obj 283 312 t a b; #X msg 296 334 -2 -2 0; #X obj 145 365 tube2; #X connect 1 0 3 0; #X connect 2 0 16 3; #X connect 3 0 16 0; #X connect 3 1 4 0; #X connect 5 0 4 1; #X connect 6 0 0 0; #X connect 7 0 16 2; #X connect 8 0 9 0; #X connect 9 0 14 0; #X connect 10 0 9 0; #X connect 10 1 9 1; #X connect 11 0 10 0; #X connect 12 0 9 0; #X connect 12 1 9 2; #X connect 13 0 12 0; #X connect 14 0 16 1; #X connect 14 1 15 0; #X connect 15 0 16 2; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Slit-Scanning Techniques With Gridflow
Hi all I made a group of patches of which each implements a different kind of a slit-scanning technique (though the use of the word 'slit' is a bit stretched here). Check the patches for a more detailed description of each method, here only a few examples: ROLLING SHUTTER: http://www.romanhaefeli.net/slitscanning_examples/rolling_shutter.jpg CLASSIC SLITSCANNING: http://www.romanhaefeli.net/slitscanning_examples/slitscan_classic.jpg T-MORPH (pixel position based time distortion): http://www.romanhaefeli.net/slitscanning_examples/t-morph.mov TX-TRANSFORM (time- and X-axis are swapped): http://www.romanhaefeli.net/slitscanning_examples/tx-transform.mov http://www.romanhaefeli.net/slitscanning_examples/tx-transform2.mov You can DOWNLOAD the patches here: http://www.romanhaefeli.net/software/pd/slitscanning_techniques.tar.gz Dependencies: Pure Data, Gridflow Have fun and let me know if you have ideas for more slit-scan-like techniques to be implemented. Cheers Roman ___ 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
[PD] Does anyone know how to put the monitor at fullscreen without the top menu on MAC?
I apply the GEM fullscreen but still the menu bar appears on Mac Does anyone know how to put the monitor at fullscreen without the top menu on MAC? Giuliano http://giulianobici.com http://n-1.art.br +55(11)7697-1212 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Pd-berlin meeting next tuesday, 23rd November
Hello, next tuesday, 23rd November, will be the next meeting of Pure Data users in Berlin at NK (http://www.nkprojekt.de/) - Elsenstr. 52, 2HH 2Etage. For more information, look up http://puredata.info/community/organization/pd-berlin/pd-berlin-users-group. We also encourage you to take an active part, and put up suggestions for topics you want to talk about / topics you want to be talked about. Doors are open from 20h-20h15. After that they'll be closed, and you will have to call someone from the Pd-meeting to get in. To get a telephone number to call or confirm assistance you can write to jmmmpais _ at _ googlemail.com. Please, don´t call to the staff of NK to open the doors. They let us use the space but we have to take care about having the meeting without producing any disturbance to them, and to clean the space after the meeting. We would apreciate if you would send us a small mail to info_at_minitronics.net with your name, Pd experience and interests, so that we know how many people might be coming. Or put your name in the pd-berlin wiki page. We would like to thank the support and willingness of NK in the organization of these events. João Pais -- Friedenstr. 58 10249 Berlin (Deutschland) Tel +49 30 42020091 | Mob +49 162 6843570 Studio +49 30 69509190 jmmmp...@googlemail.com | skype: jmmmpjmmmp ___ 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] Does anyone know how to put the monitor at fullscreen without the top menu on MAC?
you should be able to toggle the menu off or oversize with dimen and offset From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of giuliano obici [giulianob...@yahoo.com.br] Sent: Friday, November 19, 2010 10:06 AM To: pd-lista puredata Subject: [PD] Does anyone know how to put the monitor at fullscreen without the top menu on MAC? I apply the GEM fullscreen but still the menu bar appears on Mac Does anyone know how to put the monitor at fullscreen without the top menu on MAC? Giuliano http://giulianobici.com http://n-1.art.br +55(11)7697-1212 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [midiin] doesn't recognize SYSTEM COMMON or SYSTEM REAL TIME messages
Does anybody know how to receive SYSTEM COMMON or SYSTEM REAL TIME messages? The [midiin] object only outputs 0xF0 (sysex start), 0xF7 (sysex end) and 0xF6 (tune request). Anything else between 0xF0 and 0xFF is being ignored. [sysexin] doesn't do it either. I really need 0xFA and 0xFC ( = start / stop ) as well as 0xFE ( = active sensing ) to communicate with the standard transport buttons, etc. on normal keyboards. How would you sync to midi clock if 0xF8 ( = midi timing clock) is being ignored? Does anybody know how to get this to work? Is there any other object that can receive raw midi? Ingo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Slit-Scanning Techniques With Gridflow
On Fri, 19 Nov 2010, Roman Haefeli wrote: I made a group of patches of which each implements a different kind of a slit-scanning technique (though the use of the word 'slit' is a bit stretched here). I stretched it more with gridflow/examples/remap_video.pd, which I added a few months ago. I just made two videos of it, so that people without GridFlow installed can see it anyway : http://gridflow.ca/gallery/remap_video_xor.mov http://gridflow.ca/gallery/remap_video_xor_2.mov ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The (not) doppler distortion (was: overdriven speaker)
Hi! On 19.11.2010 05:33, Mathieu Bouchard wrote: On Wed, 17 Nov 2010, Martin Schied wrote: did you speak about the doppler distortion? true doppler distortion is harmonic for a single sine wave, but not for 2 or more sines of different frequencies. Then can you explain what's wrong in my reasoning ? (the formulas I wrote) no, sorry, I can't on the quick. but I know for sure that frequency modulation only produces harmonics if the carrier and modulator are in simple relations like 1:5 or your example 200 to 1000. The frequencies added by fm are multiples of the modulator added and subtracted from the carrier. (carrier; 1000Hz, modulator 11Hz -- pairs in order of strength: 989 + 1011, 978 + 1022 Hz ...) If you have frequencies going below 0Hz they wrap around the y=0Hz axis. Result is a negative freuqency, or likewise the phase is reversed. (for example 1000Hz modulated by 600Hz will have 200Hz in the spectrum) If you use not-harmonic related frequencies like 320 and 1000 Hz and you will have new frequencies which aren't multiples of 320 and 1000, but inbetween. (580 and 1320, ...), Also you will get frequencies below the 320 Hz. However if you drive the modulation very strong, a patten similar to a harmonic signal will appear, possibly with a new base frequency, but also likely without. I'm absolutely not familiar with the case of a signal modulating itself, but I'm pretty sure from experiments with your patch (or the new I mad and attached) that there occur very similar (if not identical) effects if you modulate a mix of 1000 + 320 Hz with itself or you use separate carriers for 1000 and 320 Hz and modulate them separately by the mix of 1000 + 320. I'm not sure if this superposition is valid, but I'm pretty sure... at least it sounds relatively similar if I do it in pd. The vd~ sounds always richer possibly artifacts. (the spectrum looks very dirty too) I want to add that the vd~ approach is not the perfect implementation for the above described frequency modulatuon. the carrier is delayed against the modulating signal a bit. You can add another [vd~] or [delread~] to fix that. I think I did that in some other version of haut-parleur-doppler.pd, and if not, I did similar things with other effects. Like this it simulates a moving listener instead a moving sound source. But there is no difference between a moving listener and a moving source, apart from the wind. there is. but for the low speeds of the cone we are simulating the audible effects are not very different. (a moving sound source at the speed of sound produces infinite frequency, a moving listener at speed of sound hears only doubled frequency). What you mean is, regardless of whether it happens in the listener or the source, the motion is out of phase with the actual signal. exactly and this is why I'd like to move the write head. How did your correction using vd~ work? Unfortunately I don't know of such externals already existing. However I don't expect the effects being very different from the vd~ method. What if they aren't _any_ different ? it's only because of the slight delay I'd be interested to eliminate. But as you also said I don't expect any big difference between the delay free case and the vd~ case as the modulations occuring with a slight off phase will not sound any different. (however 2ms can be quite different for short percussive signals) A slow 20Hz sinewave modulating some high frequencies will not sound very different if the 20Hz is delayed or not. A 20 hz sound will have a duration which is much longer that the delay. But it depends on the gain you choose. Suppose you have a weapons-grade giant speaker, with a membrane of a few hectares... I mean, play with the [*~] and you can get the delay variation to be bigger than the period of a sinewave. yep, that's also one of the effects I wanted to eliminate by the moving write head. Martin doppler_fm.pd Description: application/puredata ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] The (not) doppler distortion (was: overdriven speaker)
On Sat, 20 Nov 2010, Martin Schied wrote: no, sorry, I can't on the quick. but I know for sure that frequency modulation only produces harmonics if the carrier and modulator are in simple relations like 1:5 or your example 200 to 1000. I think that my reasoning is mostly correct and that our difference is that while I'm insisting that periodic signals remain periodic, you are insisting that nonperiodic signals remain nonperiodic, or something like that. If you use not-harmonic related frequencies like 320 and 1000 Hz gcd(320,1000)=40. 320 is the 8th harmonic of 40 Hz, while 1000 is the 25th harmonic of 40 Hz. will have new frequencies which aren't multiples of 320 and 1000, but inbetween. (580 and 1320, ...), You mean 680 and 1320. Note that those are both multiples of 40. and attached) that there occur very similar (if not identical) effects if you modulate a mix of 1000 + 320 Hz with itself You will get harmonics of 40 Hz, or if you do it real strong, you will get harmonics of 20 Hz if your sampling rate is 44100 Hz, due to reflection at Nyquist rate. The vd~ sounds always richer possibly artifacts. (the spectrum looks very dirty too) Probably due to the use of Lagrange interpolation instead of something suitable for splines, such as Natural Spline interpolation. I still want to make my own version of vd~ using the latter... not now. But there is no difference between a moving listener and a moving source I was wrong. IIRC, that statement is only true for light, not sound. (?) (a moving sound source at the speed of sound produces infinite frequency, a moving listener at speed of sound hears only doubled frequency). Why are you not taking the direction of the motion into account ? If you go at speed v towards a static sound source, you hear everything at speed 1+v/c, whereas if you move away from it, you hear everything at speed 1-v/c. exactly and this is why I'd like to move the write head. How did your correction using vd~ work? The correction I made just uses a [delread~]. For example if you have [+~ 1]-[*~ 5]-[+~ 2], you need a [delread~ a 7], because 1*5+2 = 7. it's only because of the slight delay I'd be interested to eliminate. But as you also said I don't expect any big difference between the delay free case and the vd~ case as the modulations occuring with a slight off phase will not sound any different. (however 2ms can be quite different for short percussive signals) Well, it does sound different in some way, but the changes I get by changing that delay, are less special than what I get by making that effect happen in the first place, instead of not. It makes me think of other delay tricks such as comb filters. yep, that's also one of the effects I wanted to eliminate by the moving write head. If you make a moving write head thing, though, it needs to be additive, and the energy has to get stretched like the derivative of the motion (the speed of the head). The data may have to be spread into a not-very-bounded amount of array elements. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list