Re: [PD] Am I alone?
On 30 January 2011 04:17, Jonathan Wilkes jancs...@yahoo.com wrote: --- On Sat, 1/29/11, Josh Moore kh405.7h3...@gmail.com wrote: The people involved try too hard to be the electronic version of John Cage, it's quite annoying. [0, 0 273000( | [line~] | [dac~] lol -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Inlet Data types
hi On 1 September 2010 21:01, Leandro da Mota Damasceno lem...@gmail.comwrote: Hi guys, this is a very newbie question, but I'm trying to send a list to the inlet of a subpatch i just made and PD is complaining it expected float. Does that mean I cannot send list to an inlet by default? is there a walk around? No, it means that the inlet is connected to an object that expects floats and not lists. So, to what object(s) is the inlet connected? It would be helpful to give some more info about what is it you are trying to achieve, and even post your patch. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Bang
wow... is your sister married?? (just kiddin'..) alabala On 24 August 2010 09:59, Philip Cunningham pcunningham...@googlemail.comwrote: Visiting my family in Scotland, my sister made me an early birthday present. It's a very tasty, and patchable, cake. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] CPU saving strategies
hello On 1 August 2010 18:06, David Schaffer schafferda...@hotmail.com wrote: The problem is... the arrays HAVE to be visible AND accessible to the mouse, it's part of the abs. concept: you have to be able to draw your own graphics using the mouse. the arrays being visible alone should't cause excessive cpu consumption, but if you built a mechanism that refreshes the content of those (visible) arrays, then it could happen.. i haven't seen your patch, so i can not tell you more, but, generally, using many GUI objects at a high refreshing rate, may cause tremendous cpu consumption, since pd lacks the option for hardware acceleration for graphics, as i recently learned from this list. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] numberbox with empty label x-offset value
hello something funny happens in Pd when the x-offset value of the label in the properties dialog of a numberbox [nbx] is not set at all. Xorg eats all CPU for a while and creates a strange-looking object that can't be erased. This should be reproduceable in most Pd versions, not sure about operating systems though. strange! i can confirm it on mac os x ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] number of sample frames to skip
hi i guess sample frame just means (one) sample. ciao On 18 July 2010 19:00, tim vets timv...@gmail.com wrote: a very basic question, my apologies if I missed the obvious... In the soundfiler help, what is meant by 'sample frames' in the phrase number of sample frames to skip in array ? 1 sample ? 64 samples ? ? many thanks, Tim ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] random, but always start with X
just a quick thought.. alabala -- ypatios random_start_zero.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] music made with Pd
http://artengine.ca/matju/musique/matju_-_clushett.mp3 nice! sounds like time-compressed steve reich :-) alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] book to start with pd
http://pd-graz.mur.at/docs/BooksAboutPd/ alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] message ordering with send
Meaning, which receive will actually receive the data first? The one that was first connected? Althougth that is true for local connections, weirdly enough, in non-local connections the last created receive object receives data first. In local connections the problem can be solved using trigger. A solution for non-local ones doesn't occur to me. If there is really no workaround on this: What if a second argument would define the order? (e.g.: [r bala 1], [r bala 2] ... ) alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] avoiding toggle-like behaviour of one-digit-width numberbox
numbox2? alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] list operation
Hello i don't know if it is much prettier than yours. But it seems to work. However, writing it dirrectly in C would be better/easier, i think. left inlet takes a list and right inlet takes the value to compare (which can also be given as an argument). If you send a list containing symbols they will be ignored but stay in their original positions on output (probably you would never do that anyway). If you send a bang you get a bang. alabala -- ypatios y.list-replace-closest.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Smooth looping
Hi :-) Here's an example soundfile: http://footils.org/snd/23.wav With loopstart for example at sample 2912 and loopend at 5402, this looks pretty even in the array overlay, but if you listen to it, you can still hear a nasty rumble. I wonder, how to get rid of this ... I thing this is due to the loop's frequency? With transposition 0 you get about 17-18 Hz. As you transpose lower it should sound smoother but at higher rates the loop frequency is heard as a pitched sound. The problem is that a crossfade wouldn't really help here and I don't know any other solution (maybe filtering, but.). alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Smooth looping
Anyway back to the looping: With the fix, I can smoothly loop sine-waves now, Oh, and as for the sinewaves, if you set the loop start and end points at exactly the beginning and ending of one period, then the loop frequency is the same as the frequency of the actual content of the soundsample, thus making the sound smooth, but also louder? (haven't tested this..) alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Smooth looping
As I understand and as Matt already wrote, you wanted a transposition of the phasor~'s frequency (which would change the frequency of the loop but not the sample content), but instead you did the classic up/downsampling-of-the-soundsample transposition. (The distortion you get is due to the difference in spectral content, which should be richer as you transpose upwards since you read a longer portion of the sample. Also, the end of the loop changes which could mean a harder discontinuity.) I tried to fix the transposition and I also added an offset in the audio path before tabread4~ that corresponds to the beginning of the loop. And I'm sure you've already figured everything out, long before you got our emails. alabala On 23 April 2010 20:27, Frank Barknecht f...@footils.org wrote: Hi, not related to the thread on smoother audio in Pd, I am struggling with doing a smooth loop player for data stored in tables. One building block for this is attached: It is a simple tabread4~ lookup that should loop over a configurable section of a table and play it back with various frequencies. As you'll easily see, I use a [phasor~] | [*~ loopsize] | [+~ loopstart] | [tabread4~ table] idiom here. Now I would like to avoid enveloping the rewind sections, so I built an elaborate mechanism to set the loop points as good as possible by hand. Test sections let you load a sample or try to find the smooth loop points inside of a sine-wave table graphically. Now my problem is, that even when I have found a nice and smooth sounding loop section, as soon as I start to change the frequency played (with the pd transpose things), the sound gets very distorted. I'm puzzled: Shouldn't the tabread4~ interpolate correctly in this case? Any help or explanation is appreciated. (Except anything involving crossfades: I know I could do that and I guess I also know how.) Ciao -- Frank BarknechtDo You RjDj.me? _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios looppoints2.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] phasor~ and osc~ right inlet: exact timing
hi Right. There is [vsnapshot~], which does something similar, though it's not truely converting from audio domain to message domain, since only the resulting value is taken from the audio domain, whereas the timing still comes from the message domain. From what I know, the message comes one block late. but you can bang vsnapshot~ faster than the block rate and it seems it works fine. so there must be no one-block delay. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] phasor~ and osc~ right inlet: exact timing
what if a timer between bang and vsnapshot's reaction shows 0? -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] framp~
hi I'm not sure the second can be done with abstraction: could you trust a [bang~] | [0, 64 1.451247( | [vline~] you can use [line~ ] instead, which runs on the block grid anyway. [bang~ ] | [0, 64 'x' (-- 0x2bsms, bsms - blocksize duration in milliseconds | [line~ ] this should be simpler and cheaper too. In case you run with blocksizes under 64, i think [bang~ ] will refuse to bang faster than that. So a custom [bang~ ] would be needed. ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [line ] repeats current state before ramp
hello |0, 10 200 ( -- click here | [line ] | [print ] . . this prints the following: . print: 0 print: 0 -- ??? print: 1 print: 2 print: 3 print: 4 print: 5 print: 6 print: 7 print: 8 print: 9 print: 10 Why should line repeat zero in this case? If you use set you lose the first zero (which is anyway normal) but you still get the second one. Shouldn't line start with the first step instead of repeating its last state? ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [line ] repeats current state before ramp
On 16 February 2010 00:13, Jack j...@rybn.org wrote: First, you output 0, then you go from 0 to 10 in 200 ms, no ? Yes, but why repeat 0 while going from 0 to 10? For example, if you want to go from -10 to 0 and then from there to 10 you would get something like: ... -3 -2 -1 0 (pause) 0 1 2 3 ... here 0 is repeated, something that i don't find very practical. I could always use a [change ] but then again there would be a time gap, wouldn't it? -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [line ] repeats current state before ramp
On 16 February 2010 00:44, Jack j...@rybn.org wrote: In 0, 0, 1, 2, 3, etc. Between 0 and 0 there is no 'time' in logical time. It is like a [trigger]. So, using a change to get 0, 1, 2, 3 should be OK. Hmm, i guess you're right. Well, just for the record, i got feedback from a fellow max user and it seems that max's line does not repeat its last state. it's just a matter of taste maybe.. thanks jack alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] peak amplitude in pd vanilla (was: [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?)
hello im sorry i left the thread for some time now. thank you all very much for your replies. Your results are confirmed here too: the two methods with vsnapshot~ and writing-reading to a table are equally inefficient. Matt's suggestion --whilst much more efficient-- has a serious disadvantage: it seems that there is no way of reseting [max~ ] without losing some samples (which could include a peak). Generally, i had many confusing problems while testing that one. Has anyone else tried it?? I give up for now due to the lack of time if anyone has another idea, please share! :-) (By the way: there is another limitation i noticed in [bang~ ]: it won't go faster than 1 bang every 64 samples, even if the block size is set under that) thanks again alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] peak amplitude in pd vanilla (was: [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?)
Hallo Frank :-), thanks for your reply (i updated the subject since the discussion moved on..) While you could bang vsnapshot~ at samplerate and keep track of samples in a list or so, this is a waste of resources. Something like tabsend~ or tabwrite~ probably is much better: Just write a number of samples into a table and then analyse that for peaks. There are some externals for that or do it manually. As I understand it (and hopefully i am not completely wrong..) you don't have to 'store' a list and 'then' read again it to find the max magnitude. It's as simple as the following: (some signal) *I* *I* [pd me...@samplerate] *I*/ [vsnapshot~ ] | [abs ] | [moses ]X[t f ] | [f ] So in the last [f ] you have the max magnitude stored and you can bang it to the [vu ] inlet say at a fix rate (which is the simplest way, it just requires a [metro ] banging [f ] and resetting [moses ]) I don't understand how using an array to store samples and then analyse it is more efficient than that. It seems to me you have to read 2 times: one to write the array in the fist place and one more to analyse it. a simple comparison: read-analyse vs. read-write-read-analyse Please correct me if i am missing something and post an example with the use of an array if you can. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] metro limit
i guess the limitation is for safety reasons. but you can always use a self-feeding delay: [toggle ] | [sel 01] | \ [bang ( [stop ( \ / [t b]X[del 0.0226757] | .. -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] metro limit
[sel 01] oops! i mean [sel 10] ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?
hello Also, you should know that the result of [env~] is something akin to a low-pass filter; the speed limiting from the original patch might be done more efficiently by squaring the signal and sending it through a (probably aggressive) low-pass filter before sending it to vsnapshot -- in that case it's possible that regular old snapshot with a larger [block~] size might work just as well, since you'll be sending a signal that doesn't change as quickly. You also need to take into I want to get the peak of the signal which means that any kind of filtering or other manipulation before (or after except rate limiting) vsnapshot~ is not a good idea. However, a lp filter seems to be a nice way to get peak-to-peak triggering (but only the triggering, not the actual values). I am currenty trying to implement that, using the already existing env~ to determine when the signal is falling at which point the last max magnitude is send to the vu, after some rate limiting, peak holding etc.. It seems to work but still needs optimization. account that doing message-level computations every sample might be fairly inefficient in general, and this is not something that [env~] I guess you have to trigger vsnapshot~ at sample rate to make sure you don't miss any value. I can't think of any other way. After all, there is no computation going on,other than reading groups of magnitudes and storing the greatest of them. is usually doing. Further, updating a vu gui every sample will probably be almost ridiculously inefficient -- try comparing the two setups with and without the vu connected (it may be that you have already taken care of this in the speed limiting and are not actually updating it every sample after all). That's right :) (It's amazing how cpu-consuming wish can be. And that with GUI objects that look so simple. I wonder how other audio software manages to run say a dozen vu indicators or fine-looking spectrum plotting tools, all at fairly high refresh rates with acceptable cpu losses. Maybe a topic for another thread that i don't really want to start at the moment .. :P ) alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?
hello! By using [block~ 1], you're increasing the number of clock calls, and the arithmetic for finding an index is kind of wasted since the block is only one sample long. Maybe it would be best to avoid [block~] and bang vsnapshot~ with a metro set to 1/44.1 ms. You'd at least be reducing the number of clock_getlogicaltime() calls. Thanks for that. I had no idea that there would be a difference between the two. All this being said, the CPU load difference between these setups is basically nothing on my 2.5GHz MacBook Pro. I guess the differences would start to emerge if you compared dozens of instances of each. Yeah, in my tests i got notable differences from about 512 to 1024 instances. Hope that helps... Not only did it help, it made my day. I hope the time you spend peaking in the code will be useful to you and others. Thank you -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?
Do my emails fail to reach the list or are my questions that irrelevant? it feels kind of spooky out here.. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?
hello :-) They seem to reach the list. At least I received this and your previous mail. Thanks for that! What I still don't understand: Why do you want to compare those? [vsnapshot~] and [env~] do completely different things. Im trying to find a good way to monitor a signal. Since they both take signals and output messages that makes them candidates. The fact is that i use both env~ and vsnapshot~ anyway in a channel strip abstraction to feed the inputs of a [vu ] with the rms and peak level respectively. However, i need another instance of one of them to determine whether there is a (non-constant-zero)signal present at all. And i'm trying to find out which one should i duplicate. I did the cpu test and it shows that env~ is lighter. However, a snapshot~ triggered every 1024 samples (same rate as env~) is even lighter, which makes sense, since snapshot does no computing. I just thought that vsnapshot~ triggered at samplerate would be lighter than an env~, which seems to be a false assumption. Thanks for the tip :-). It would be nice though, to know also on a theoretical level. Which one should be more expensive and (maybe) why. (...) Anyways, while writing this email, it came to me that i don't really need an extra object(!) Instead of switching between pre and post fader mode in audio level, i do that in message level so i can use one of the two existing objects to determine if an active signal is present. The question remaining is: Is there a better way to feed a [vu ] in pd vanilla? ( just in case someone missed it: signal | [env ~ 4096] | [-100] | vu left input for rms and signal | | [bang~ ] [block~ 1] | / [vsnapshot~ ] | (some speed limiting with care taken not to lose highest amplitude..) | vu right input for peak ) ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [ot] mailing list (was Re: [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?)
Hi IOhannes :-) thanks for the tips! i apologize for being hasty, there was a series of different stuff (not) going on and it felt weird.. :s cu -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?
sorry, i need to correct my self: signal | | [bang~ ] [block~ 1] | / [vsnapshot~ ] | (some speed limiting with care taken not to lose highest amplitude..) | vu right input for peak ) should be: signal | | [bang~ ] [block~ 1] | / [vsnapshot~ ] | [abs ] | [rmstodb ] | (some speed limiting with care taken not to lose highest amplitude..) | [- 100] | vu right input for peak ) -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [env~ ] vs [vsnapshot~ ]: which one is more cpu consuming?
hello, and more precisely: env~ 1024 vs vsnapshot~ (triggered at samplerate) i guess, since env~ does rms computing of a window of values it should be more expensive than vsnapshot~, even at this hight rate the later is triggered. as for the env~ window length, i understand that it is irrelevant to the cpu cycles needed. but i am not sure. maybe i am missing something. thanks for any help :-) -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [list] output
hello But as far as I can tell, [list] doesn't do any conversion at its outlet-- everything it outputs will have the selector list, and it's up to other objects like [route] to do any conversion they deem necessary. For example, take the bug with sigbinops: [put anything you want in this message box( | [list] | [+~ ] error: inlet: expected 'signal' but got 'list' [1, 1 2, a, a b, a 2 b ( | [list ] | [print ] gives the following (0.42-5): ## print: 1 print: 1 2 print: symbol a print: list a b print: list a 2 b ## so [list ] does some kind of conversion. what i don't understand is why there is no selector printed in the first two messages, where only numbers are present. anyways, you should provide [+~ ] operator with an argument if you want it to expect messsages instead of a signal (check help patch) :-) ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] strip message (was: [list] output)
never believe what print is telling you! print does an intpretion of the incoming message and will generate the output accordingly. i always thought print was my only truthful friend.. Thanks for the heads up :-) so what is the best way to unveil the raw content of a message? alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] prefix (was Re: vu analog style scale?)
hello :-) just in case: nobody (well, almost) adds the [PD] prefix to the subject. this is done automatically by the mailing-list server. i thought this would be the most probable case, however, not seeing the prefix on my email (since I don't receive them from the pd-list server) looks weird.. well, i'll get used to it. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vu analog style scale?
hallo IOhannes and thanks for your reply :) within Pd you are free to do whatever you want with your signal: e.g. you can run your internal signals in a range [-1e5,+1e5], and it will all be just the same (as long as you take care to scale the signals back into the standardized range before your [dac~]). there is no clipping in Pd [1]. i understand that 32bit floating point handling pd makes it possible to use audio signals in many other ways than just send them to dac to produce sound (like table lookup for example). the other benefit is that the manipulation of signals is much more accurate and this applies also after the conversion to fixed point signals. There is software that uses 64bit float internally for that reason. let's assume now that we need a vu just before the dac, e.g. to monitor the signal before it becomes analog. in this (rare?) case, why lose the upper 1/3rd of the GUI object? can you please answer the last question of my first mail? Would it be meaningful to offset the incoming values to make use of the visual space above 0dB or would it mess up the scaling? e.g. [osc~ 100] | [env~ ] | [-94] (instead of [- 100] would give about +3dB rms and the peak would be at +6dB. so you just consider +6dB as the real 0dB. thank you -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] prefix (was Re: vu analog style scale?)
embarrassed to say that i have been adding it myself all these years. i even take care to make [PD] in capital letters. it is information like this that needs more chapters in miller's books. hehe :) the thing is, i don't see your messages with a double prefix [PD] [PD] which probably means that the server is clever enough to take care of us pluralists. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] vu analog style scale?
nevertheless: the scale of the vu is highly non-linear, so a difference of say +3dB will take more pixels at around 0dB than at +10dB or at -12dB. i see it now, also above 0dB. It's pretty obvious. how about vu having an option to change the scale to strictly dBFS? I guess that would be very useful for many people. -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] prefix (was Re: vu analog style scale?)
just checking how 'clever' the server is ! hehe i get 4 (four) [PD]s. -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] vu analog style scale?
hello i understand that for sound level representation in the digital domain, a special dB scale is used: The dB full scale (or dBFS). In this scale 0dB represents the maximum possible magnitude of a sample before clipping (e.g.: |x(n)|=1=0dBFS). I noticed the scale on the vu object and it seems it has an analog look, meaning it has some 12dB headroom above 0dB. Now, in most audio software (editors like audacity, plug-ins etc..) level meters go usually to 0dB max, and there is just an indicator to notify when clipping occurs. So what is the use of the analod style scale of vu? Would it be meaningful to offset the incoming values to make use of the visual space above 0dB or would it mess up the scaling? thanks :) -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] vu analog style scale?
(sorry, forgot the prefix!) On 3 February 2010 01:59, ypatios ypat...@gmail.com wrote: hello i understand that for sound level representation in the digital domain, a special dB scale is used: The dB full scale (or dBFS). In this scale 0dB represents the maximum possible magnitude of a sample before clipping (e.g.: |x(n)|=1=0dBFS). I noticed the scale on the vu object and it seems it has an analog look, meaning it has some 12dB headroom above 0dB. Now, in most audio software (editors like audacity, plug-ins etc..) level meters go usually to 0dB max, and there is just an indicator to notify when clipping occurs. So what is the use of the analod style scale of vu? Would it be meaningful to offset the incoming values to make use of the visual space above 0dB or would it mess up the scaling? thanks :) -- ypatios -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] recording to array in loop mode?
hello does this help? (see patch) ciao -- ypatios looprec.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Retrieving MIDI Notes out of MIDI Numbers
hello is there an object, or maybe an abstraction, to retrieve a MIDI Note's name out of its MIDI Value? For instance, a 60 would retrieve me C4 (roughly speaking) and so on? I think that MAX has such object, but maybe I'm missing something in Pd's documentation... i made something like this once. although i am sure there are enough externals doing that.. alabala -- ypatios mtoname.pd Description: Binary data mtoname-help.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] help patch for sigmund object
component; #X text 79 505 loudest partial; #X text 332 508 quietest partial; #X text 36 4 You can ask for sinusoidal peaks in decreasing order of amplitude or arranged into maximally continuous tracks for resynthesis. (Or you can ask for both.) If you ask for peaks \, out come lists of five numbers \, one for each sinusoid at each analysis period. The first is the index number of the sinusoid (so you can use route to claw them apart). The other four are as shown:; #X obj 204 611 osc~ 440; #X obj 204 635 *~; #X obj 205 689 unpack 0 0 0 0; #X floatatom 205 782 5 0 0 0 - - -; #X floatatom 245 760 5 0 0 0 - - -; #X floatatom 285 737 5 0 0 0 - - -; #X floatatom 326 713 5 0 0 0 - - -; #X obj 246 638 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 43 535 If you ask for tracks \, the output is four numbers: index \, frequency \, and amplitude as before \, and finally a flag which is one for a new track \, zero for a continuation \, minus one for an empty track.; #X obj 205 662 sigmund~ -npts 16384 -hop 8192 -npeak 1 tracks; #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 9 0; #X connect 3 0 1 0; #X connect 4 0 5 0; #X connect 4 9 11 0; #X connect 5 0 6 0; #X connect 5 1 7 0; #X connect 5 2 8 0; #X connect 5 3 10 0; #X connect 9 0 3 0; #X connect 11 0 12 0; #X connect 11 1 13 0; #X connect 11 2 14 0; #X connect 11 3 15 0; #X connect 23 0 24 0; #X connect 24 0 32 0; #X connect 25 0 26 0; #X connect 25 1 27 0; #X connect 25 2 28 0; #X connect 25 3 29 0; #X connect 30 0 24 1; #X connect 32 0 25 0; #X restore 330 508 pd sinusoid-tracking; #X text 52 165 tracks - output sinusoidal peaks organized into tracks ; #X text 56 111 notes - output pitch at the beginning of notes; #X text 339 485 more details:; #X text 10 184 Parameters you may set (in creation arguments or messages): ; #X text 60 207 npts - number of points in each analysis window (1024) ; #X text 60 225 hop - number of points between each analysis (512); #X text 60 242 npeak - number of sinusoidal peaks (20); #X text 61 279 vibrato - depth of vibrato to expect in 1/2-tones (1) ; #X text 60 298 stabletime - time (msec) to wait to report notes (50) ; #X obj 39 535 sigmund~ -hop 4096 pitch env; #X text 62 316 minpower - minimum power (dB) to report a pitch (50) ; #X text 62 335 growth - growth (dB) to report a new note (7); #X text 54 147 peaks - output all sinusoidal peaks in order of amplitude ; #X text 11 356 The npts and hop parameters are in samples \, and are powers of two. The example below specifies a huge hop of 4096 (to slow the output down) and to output pitch and env. (Those are the default outputs.); #X text 61 260 maxfreq - maximum sinusoid frequency in Hz. (100) ; #X text 55 128 env - output amplitude continuously; #X text 380 596 updated for Pd v0.41; #X connect 2 0 24 0; #X connect 3 0 8 0; #X connect 4 0 7 0; #X connect 7 0 2 0; #X connect 8 0 4 0; #X connect 24 0 5 0; #X connect 24 1 6 0; -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] message box issue with blank spaces
Hello Very interesting observation. i guess it has to do with the openpanel and savepanel objects. It's probably a special kind of symbol that represents the possible spaces (which in reality are no spaces anyway..) for compatibility with the OS. Obviously you can't create such a message within pd. Unfortunately .. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] message box issue with blank spaces
Nice! I didn't know about the makefilenames %c option at all! Thanks -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [sigmund~] and [fiddle~]
But under the hood I think it uses a better algorithm. In my experiments it reports pitch faster and more reliable and stable than fiddle~. So if you can use sigmund~ I would recommend it over fiddle~ as a replacement. Back in the LAC 2008 in Cologne, I asked Miller that very question: what is the difference between fiddle~ and sigmund~. He said sigmund~ was the best pitch tracker he had programmed so far. So I guess fiddle is still alive just for compatibility reasons. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting the current size of the gemwin
hi Is there a way, in gem, to get the current size of the gemwin? Taking into account that it could be changed by the user by just dragging its borders, after its creation. [print ( | [gemwin ( -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] getting the current size of the gemwin
of course i mean .. [gemwin ]. changing the window size by dragging doesn't work on mac os and i am not sure about linux. I suppose it wasn't intentional on windows.. -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] default blocksize readsf
2009/11/19 Peter Plessas ples...@mur.at Hi, readsf~ has two arguments: The number of channels and a buffersize for storing data from the harddisk in a read buffer. I am interested in the initial value of this buffer when no argument is supplied. PP Sorry, I misunderstood the question! ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] default blocksize readsf
Hello :) Is there such an argument?? I think the HDD blocksize can only be set for the whole disk (during the formating process) and not for specific sectors or files. Unless i miss something.. alabala 2009/11/17 Peter Plessas ples...@mur.at Dear List, what is the default (disk) blocksize of the read/writesf~ objects when one doesn't supply an argument? Thanks! P ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Indexed array selection
[2 ( -- index number of list element to export (starting from 1!) | [t b f] | \ [list apple beats carrots cheeseburger ( -- your list | X [list ] \ | [set text, adddollar $1( |/ | / |/ | / |/ [ ( -- empty message box | [text3d ] ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Indexed array selection
2009/10/11 Justin Glenn Smith noisesm...@gmail.com Justin Glenn Smith wrote: I should really test this stuff before recommending on a mailing list iknow this. the heat of the moment.. :-P -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Indexed array selection
2009/10/11 Andy Wilson a...@lshift.net on a related question: a controller is sending me lists of numbers, 20 at a time. I'd like to be able to store this list and later access it by index. if you just need to store one list at a time you can just use the [list ] object. if you need to store more lists then [textfile ] is your friend. alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread truncating array?
Hello, in this patch (B09) only the first 44103 samples of the file are loaded. Try using the -resize flag after the open message to the soundfiler (e.g.: [open -resize ../sound/voice.wav table18( ). But: you will also have to increase the chunk size. [+~ 1]not sure what this does :p but dont matter much... offsets array index by 1 This 1 sample offset as well as the +3 samples at the end of the array (44100+3) are the guard points for the cubic interpolation tabread4~ uses. ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Variable length recording
Hi, i think the easiest way would be to write on the disk first (using writesf~), and then read the file to a table (using soundfiler and the resize flag). This way the size of the table will be automatically adjusted to match the size of the file. The downside is, you don't have access to the sound during the recording. If you do need access while recording (or if you just don't want to use the HDD) maybe you should prepare a table with the max recording length (according to your system capabilities, taste etc.) and after the recording is done (with a noteoff message for example..) you resize the table to the actual length of the recording by sending a message like the following: ; mytable resize $1 (where $1 is the length of the recording in samples) and at the same time you prepare the next big table for the next recording.. i guess, this is one flexible and economical approach.. but i'm sure there are many ways to do it. just told you what came to me first! sorry if i can't be clear enough right now.. :-) ciao 2009/9/27 Andrew Faraday jbtur...@hotmail.com Hey Guys I'm trying to record to a table between two given points (e.g. note on and note off at a given pitch) so that an array will resize the length of time between those points. So far I can only set the array size in advance and then record (using [tabwrite~]) from a given point. Any ideas how I'd record like that? God Bless Andrew -- Beyond Hotmail - see what else you can do with Windows Live. Find out more. http://clk.atdmt.com/UKM/go/134665375/direct/01/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] slight problem with 8in 8out audio patch
well, i haven't really analyzed your patch, but i saw some numberboxes getting some set messages but without getting any bangs from somewhere else. this means they don't send anything to their outputs, ever, so in this case, the [del]s that follow get nothing. so maybe this is the problem. and a question: you have a reason for using the HDD instead of RAM? alabala 2009/9/25 Jilt van Moorst robotf...@gmail.com I'm having some trouble with this patch I'm making for an installation. I'll say upfront it has been years since I've touched PD.. but this one has me stumped what I expected to happen there are 4 zones, each with 2 microphones and 2 speakers. when moving through the zones your audio is recorded and played back the next zone like this enter zone 1 record mic 1 + 2 enter zone 2 record mic 3+4 playback recording from 1+2 over speaker 3+4 enter zone 3 record mic 5+6 playback recording from 3+4 over speaker 5+6 enter zone 4 record mic 7+8 playback recording from 3+4 over speaker 7+8 the recording is going more or less fine but no sound is being played back.. could anyone take a look at this patch ( you need audio card with 8in and 8out to test) and tell me what I'm doing wrong? maybe not waiting long enough before playing back the recorded files? the patch is here http://robotfunk.com/temp/contemplation008d.pd you need a 8in/8out to test it, would be much appreciated if someone would take a look at it. Jilt van Moorst ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] slight problem with 8in 8out audio patch
hi 2009/9/25 Jilt van Moorst robotf...@gmail.com OK, well 'visually' it seems like the number boxes are getting filled (i see a delay between the bangs for each stage, otherwise they would all happen at the same time) but I will look at it. yes, that is what the set message does to numberboxes: it updates their content (also visually) but doesn't let them send this new content to their outlet ;-) and a question: you have a reason for using the HDD instead of RAM? Yes. I (think I ) know how, unlike using RAM. Could you give me a hint on how to do the same in RAM? Instead of [writesf~] and [readsf~] try using [tabwrite~] and [tabplay~] (or [tabread4~ for more flexibility..) accordingly. Unfortunately, i have no time now to give you more info, please try the help files! :-) ciao -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabwriteat~ object
well.. how about.. [tabright~ ] ? :) alabala 2009/8/3 Miller Puckette mpuck...@imusic1.ucsd.edu Yep, it's a damn pity I used the tabwrite~ name for the wrong object! We're all stuck with it now. I've been planning to put an object like this into Pd for many years, but can't think of a correct name... anyone have a better idea than tabwriteat~ ? cheers Miller On Mon, Aug 03, 2009 at 02:51:07PM +0200, Frank Barknecht wrote: Hi, attached is code for an external [tabwriteat~] that I would wish would be part of Pd vanilla. It is the audio equivalent to [tabwrite] for messages and writes the signal coming in through the first audio inlet at positions coming in to the second audio inlet. So it's name should actually be [tabwrite~] but as you know this is already taken by something that acts more like having the name [tabrecord~]. :) [tabwriteat~] is not well tested and I probably won't be able to maintain it. Ciao -- Frank BarknechtDo You RjDj.me? _ __footils.org__ ___ 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 -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabwriteat~ object
And some more: tabstream~, vtabwrite~, tabrec~, writetab~, tabfloat~ ... albl 2009/8/4 Frank Barknecht f...@footils.org Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote: Yep, it's a damn pity I used the tabwrite~ name for the wrong object! We're all stuck with it now. I've been planning to put an object like this into Pd for many years, but can't think of a correct name... anyone have a better idea than tabwriteat~ Here are a bunch of random ideas: tabfill~, tabgraph~, tabset~, tabput~, arraywrite~, tabindex~, tabpush~, tabjam~, tabfeed~ Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd/gem dumb polygon question
hi some try of mine also.. IOhannes should explain the polygon fill problem? alabala 2009/5/31 cyrille henry cyrille.he...@la-kitchen.fr oups, forget the patch.. c cyrille henry a écrit : hello, CICCOLIX a écrit : Hi, for my scolarsheep i would to make in Gem a animate european flag. I'm starting from the stars. Using polygon object seem something whose wrong, it appear nice in line mode but bad in fill mode. I am the suspect that this depends on my poor knowledge of the foundations of geometry :) polygone can't have this shape. you can make a star using triangles. but the european flag stars have 5 branchs, not 6! anyway, you should maybe better use a square and a texture of a star... Cyrille Please help here's attached the patch and online find the images of result many thanks ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list #N canvas 390 429 291 412 10; #X obj 72 342 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 77 381 pd gemwin; #X msg 77 362 destroy; #X text 73 341 Create window:; #X obj 56 86 rotateXYZ; #X floatatom 77 63 5 0 0 0 - - -; #X obj 55 40 gemhead; #X obj 54 197 polygon 3; #X obj 53 248 polygon 3; #X obj 54 224 rotateXYZ 180 0 0; #X msg 82 124 -1 -0.576 0; #X msg 98 145 1 -0.576 0; #X msg 109 168 0 1.153 0; #X obj 138 95 loadbang; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 4 0 7 0; #X connect 5 0 4 1; #X connect 6 0 4 0; #X connect 7 0 9 0; #X connect 9 0 8 0; #X connect 10 0 7 1; #X connect 10 0 8 1; #X connect 11 0 7 2; #X connect 11 0 8 2; #X connect 12 0 7 3; #X connect 12 0 8 3; #X connect 13 0 10 0; #X connect 13 0 11 0; #X connect 13 0 12 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios #N canvas 695 390 612 378 10; #X obj 465 278 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 132 514 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 470 317 pd gemwin; #X msg 470 298 create; #X text 466 277 Create window:; #X obj 23 -13 gemhead; #X obj 23 65 rotateXYZ; #X floatatom 40 41 5 0 0 0 - - -; #X msg 55 179 0 3 0; #X obj 368 167 1.61803; #X msg 59 207 2 -3 0; #X msg 74 280 -2 -3 0; #X obj 23 326 polygon 5; #X msg 23 141 draw_aliased fill; #X msg 23 121 draw_aliased line; #X text 421 165 -- the golden ratio; #X text 144 140 -- :-(; #X obj 23 101 loadbang; #X obj 23 10 ortho; #X text 214 1 The distance between two consecutive points (e.g.: the two bottom points) should be the 2/3 of the star height. The y value of the left and right points is the positive golden ratio split point of the stars height. The x value of these same two points is the positive and negative of the half of the distance between two non-consecutive points (e.g.: the top point and the bottom right point); #X msg 62 233 -3.16227 0.7082 0; #X msg 68 256 3.16227 0.7082 0; #X text 313 107 .. or something..; #X text 155 204 click'em all!; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 4 0 17 0; #X connect 5 0 11 0; #X connect 6 0 5 1; #X connect 7 0 11 1; #X connect 9 0 11 2; #X connect 10 0 11 5; #X connect 12 0 11 0; #X connect 13 0 11 0; #X connect 16 0 13 0; #X connect 17 0 5 0; #X connect 19 0 11 3; #X connect 20 0 11 4; #N canvas 593 293 650 496 10; #X obj 476 418 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 132 514 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 481 457 pd gemwin; #X msg 481 438 create; #X text 477 417 Create window:; #X obj 43 51 gemhead; #X obj 43 129 rotateXYZ; #X floatatom 60 105 5 0 0 0 - - -; #X msg 60 318
Re: [PD] pd/gem dumb polygon question
Oops.. i saw your patch too late :$ nice work :-) ciao 2009/5/31 Max abonneme...@revolwear.com i like scolarsheep, the are cute. i suspect the polygon in Gem behaves just like the polygons in OpenGL. This is probably the reason why shapes with points indentating relative to their neighbours are not displayed as you'd expect. see figure 2-2 for reference: http://alien.dowling.edu/~vassil/theredbook/chapter02.htmlhttp://alien.dowling.edu/%7Evassil/theredbook/chapter02.html i've modified cyrilles patch a little bit to have 5 brancens btw. i have a few suggestions how you could take better advantage of the email list: 1. search the archive first - you might find information relevant to you http://lists.puredata.info/pipermail/pd-list/2005-10/032224.html 2. don't just reply to a random message if you want to open a new thread. it will mess up thread-view. 3. send preferably text only messages, not html. Am 31.05.2009 um 10:43 schrieb CICCOLIX: Hi, for my scolarsheep i would to make in Gem a animate european flag. I'm starting from the stars. Using polygon object seem something whose wrong, it appear nice in line mode but bad in fill mode. I am the suspect that this depends on my poor knowledge of the foundations of geometry :) Please help here's attached the patch and online find the images of result many thanks -- Lazzaro http://www.eyax.com/line.jpg http://www.eyax.com/fill.jpg #N canvas 390 429 849 441 10; #X obj 119 248 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 124 287 pd gemwin; #X msg 124 268 destroy; #X text 120 247 Create window:; #X obj 271 79 gemhead; #X obj 343 224 rotateXYZ; #X floatatom 338 167 5 0 0 0 - - -; #X obj 583 380 polygon 12 --; #X msg 285 343 draw line; #X msg 285 298 draw fill; #X msg 489 108 2 0 0; #X msg 595 190 0 -3 0; #X msg 627 216 -1 -2 0; #X msg 656 241 -3 -2 0; #X msg 522 133 3 -2 0; #X msg 556 161 1 -2 0; #X msg 704 297 -3 2 0; #X msg 406 28 0 3 0; #X msg 432 52 1 2 0; #X msg 466 77 3 2 0; #X msg 681 273 -2 0 0; #X msg 733 326 -1 2 0; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 4 0 5 0; #X connect 5 0 7 0; #X connect 6 0 5 1; #X connect 8 0 7 0; #X connect 9 0 7 0; #X connect 10 0 7 4; #X connect 11 0 7 7; #X connect 12 0 7 8; #X connect 13 0 7 9; #X connect 14 0 7 5; #X connect 15 0 7 6; #X connect 16 0 7 11; #X connect 17 0 7 1; #X connect 18 0 7 2; #X connect 19 0 7 3; #X connect 20 0 7 10; #X connect 21 0 7 12; ___ 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 -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] run pd as admin under vista (was: help)
hi I'm running pd vanilla on vista and the only problem I've had so far was when i installed pd-extended on the same machine. It was a registry mess up which was solved by rebooting vista with last known working configuration option (i guess it just changes all the latest major registry changes back to the previous ones). Since i didn't really need pd-extended (i prefer using pd vanilla and just adding the extra libs that i need) my problems ended there. About the firewall, when you install and run pd for the first time you get a message from vista informing you that pd wants network access. By choosing unblock you will never see that message again and pd will do its work smoothly through the firewall. About running pd with admin rights, i think it is not necessary. I mean, i never run pd as an admin and it.. works! :-) And some extra info: I installed vista sp2 yesterday and had no problems with pd (or with anything else. Yet). Lastly, just to make sure that IOhannes talks to me next time we meet, i don't really like windows. I just have to work with it until i am brave enough for linux. alabala 2009/5/26 mrz zweit...@gmail.com hello, when pd works in safe mode, I guess your pd runs with admin rights. so try to run pd with right-click -- run as administrator. When pd works now, you can turn off this security lock completely: http://www.howtogeek.com/howto/windows-vista/disable-user-account-control-uac-the-easy-way-on-windows-vista/ note here, that vista updates allways change your user settings again, so i guess your pd runs not anymore since a genius vista update.. cheers moritz On Tue, May 26, 2009 at 3:28 AM, IOhannes m zmoelnig zmoel...@iem.atwrote: hi Farhood Kolahian wrote: Hi all, I work with pd in vista. since a week pd doesn't run anymore cuz every time I open pd I got the message that pd.exe has stopped working and windows can check online for a solution to the problem, so it will to give us a better idea of what is going on, it would (might) help a lot if you could also tell with which version of Pd you are experiencing the problem. e.g. does the problem persist if you uninstall e.g. Pd-extended 0.27 and install Pd-vanilla 0.33 instead, or the other way round? (make sure you grab the newest (stable) versions, not any of the random numbers i gave above) furthermore: problems with Pd on w32 usually exist because Pd uses a network-connection between the core-application and the GUI. firewalls usually don't like this, make sure that the Pd.exe process is allowed to make a connection (either by creating an allow-rule in your firewall, or by turning off the firewall completely (which i would not recommend)) finally: please make sure to use meaningful subjects. e.g. help is bad as our mailinglist software will interpret help as an administrative command (read: it thinks that you are asking for help about how to use the mailinglist, not about the topic of the list), and make the poor administrator of this mailinglist (read: me) to moderate your email. a good guide on how to post can be found at http://puredata.info/community/lists/Netiquette/?searchterm=netiquette ghmasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . http://www.myspace.com/moritzwettstein . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pd 0.42 problem with fa-101
Hi all :-) I tried the new pd vanilla and there seems to be a problem with my fa-101, which worked fine with all the previous versions of pd (on windows). The Problem: After i set the audio settings and close the window, nothing does seem to work, and when i reopen the window to see what the problem is, the name of the fa asio driver is gone. Furthermore, all the others are gone too! (like the realtek ..) Does anyone have similar problems? (i'm on vista at the moment..) thank you alabala -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd 0.42 problem with fa-101
well, i just made a test with an rme fireface 800 and i think i found what the problem is. i unchecked the use callbacks box in the audio settings and everything worked fine. so maybe there's a bug there... i'll leave it to the programmers from here.. ;) ciao 2009/1/26 ypatios ypat...@gmail.com Hi all :-) I tried the new pd vanilla and there seems to be a problem with my fa-101, which worked fine with all the previous versions of pd (on windows). The Problem: After i set the audio settings and close the window, nothing does seem to work, and when i reopen the window to see what the problem is, the name of the fa asio driver is gone. Furthermore, all the others are gone too! (like the realtek ..) Does anyone have similar problems? (i'm on vista at the moment..) thank you alabala -- ypatios -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] possible to reset phasor~?
Hi You can set the phase through the right inlet. Just send a zero and the phasor starts a new cycle. alabala 2008/7/2 Atte André Jensen [EMAIL PROTECTED]: Hi Is it possible to reset phasor, so sending it a message that'll make it start from 0 again? I tried using a metro/vline substitute, but couldn't figure out how to change the speed *within* a cycle. Is such a construction possible? NB: I'm trying to read out a sample from a table... -- peace, love harmony Atte http://atte.dk | http://myspace.com/attejensen http://anagrammer.dk | http://modlys.dk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] worldwide weather forecast into PD
That's a VERY interesting idea... :-D Think you could publish some external? As for the copyright issues, why not requesting such a written consent from Yahoo! ? They may find it a reasonable use. Maybe... alabala 2008/6/25 altern [EMAIL PROTECTED]: hi anyone knows of an online worldwide forecast service? I am developing some python scripts with Pyext external that retrieve different type of data from the net into PD. At the moment i have been using yahoo weather, this is quite handy because they have RSS feed that can be easily manipulated from python and returned into PD. Currently i have scripts that tell me the external IP of my computer and another one that uses the IP to retrieve geolocation data (lat, long, nearby city, country ), using this i think i should be able to ask yahoo for weather data of an specific city and country and from there access the RSS. However I think there are some copyright issues with yahoo weather. I read a notice in the HTML source of yahoo weather saying that this data is not to be used without permission ...You are prohibited from using or repurposing this data in any way without express written consent from Yahoo! ... I guess i could pretend i did not see the notice but maybe there is some worldwide forecast service that would allow me to use the data? thanks enrike ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Teaching Pd to Children
Any ideas would be greatly appreciated, as kids often hate Summer school and I want to make this a fun activity for them. Make sure you use coloured GUIs! :-) -- ypatios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] any tips on fart synthesis?
Hello! Here is another fine example, featuring pitch control. http://www.fileden.com/files/2008/2/5/1741776/XmasJingle.mp3 alabala -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] multiple audio device
On 03/02/2008, Marko Timlin [EMAIL PROTECTED] wrote: Hmmm, I am using Pd version 0.39.3-extended on a XP machine with a RME Hammerfall sound card. Always when I choose use multiple devices in the Media menu of PD I get this message: separate audio device choice not supported\; using sequential devices. That's quite strange as I would like to use all the 8 outputs of my sound card, but it doesn't work. It worked with earlier PD versions though. Does anybody know how to solve that? Or why the problem occurs? Thanks, Marko __ Hi Marko! Did you set the audio setting correctly? e.g: media/audio settings.../[tick] output device: [blah] channels: [8] and Do you really need multiple devices (soundcards)? From your email I understand that you just need the 8 outputs from your RME. alabala -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] startup flags problem
Hello! I foolishly made the following mistake: File/Startup.../flags.. -path blah blah and I get this on startup since: error: blah: can't open The thing is, the File/Startup... link is dead! It just does nothing, no startup... window! So I can't correct it... (all this under WinXP) So I guess the question is..how can I otherwise edit the startup flags? alabala -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] startup flags problem
On 27/01/2008, IOhannes m zmoelnig [EMAIL PROTECTED] wrote: Ypatios Grigoriadis wrote: (all this under WinXP) (time for a reinstall) mpouhaha! I was veeery close... :-) So I guess the question is..how can I otherwise edit the startup flags? regedit thanx! I did it with regAlyzer.. it's prettier than regedit.. :P cu! -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] callbacks
Hello! What exactly is this option in the audio settings window (0.41)? [tick box] use callbacks -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] paranoid pd
On 26/01/2008, naysayer [EMAIL PROTECTED] wrote: could someone tell me how i can turn off this paranoid setting in pd that asks me every time if i'm sure i want to close the patch window. it seems a little crazy that this happens regardless of whether i have saved the patch or not. I find this one a very friendly and useful paranoia. 1) Think in a live situation, you want to close a sub patch but you accidentally close the main patch.. DISASTROUS! :-) 2) I can't remember how many times I lost my work by accidentally closing the main pd window at the pre-0.40 times (ok.. not so many times.. :-P but still) alabala -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] paranoid pd
On 26/01/2008, naysayer [EMAIL PROTECTED] wrote: thats fine, i guess if everyone is happy with it, i'll get used to it. That's the spirit! :-) ciao P.S.: The lawyer in my brain insisted on me posting the following comment: My being funny is absolutely 100% well- intended -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] paranoid pd
On 26/01/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 1) Think in a live situation, you want to close a sub patch but you accidentally close the main patch.. DISASTROUS! :-) Do you actually _have_ to handle closing and opening patcher windows while doing a live performance ? I think your setup and/or patch should make that unnecessary (or automatic...). True, but can you really be sure of everything once you're onstage??? :-) -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] adc - bang
On 20/12/2007, Rebecca Schatz [EMAIL PROTECTED] wrote: Hi All, Sorry if someone has asked this before but I want a certain audio input frequency (using adc) to cause a bang to occur (i.e. if someone shouts into the mic, this will set off a bang), any ideas? For a specific frequency you should use [fiddle~]. But i think you mean amplitude, am I wrong? So then i would suggest [threshold~]. Check out the help file. ciao! -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] adc - bang
On 20/12/2007, Rebecca Schatz [EMAIL PROTECTED] wrote: Hi All, Sorry if someone has asked this before but I want a certain audio input frequency (using adc) to cause a bang to occur (i.e. if someone shouts into the mic, this will set off a bang), any ideas? For a specific frequency you should use [fiddle~]. But i think you mean amplitude, am I wrong? So then i would suggest [threshold~]. Check out the help file. ciao! [sorry to all, I still have to learn how my email works..:-)] -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] windows latency down to 15 milliseconds
Hello! Just for the info: Under Windows XP and Vista(64bit) the lowest latency i can get with my EDIROL FA 101(and its own ASIO driver) is 8 ms (one way) and by the test (double) i get about 16 ms (so is seems right). -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] get array size
Hello! Is there any direct way to get the size of an array? I found [getsize] but i didn't really understood how it works. I'm not into data structures (yet).. Thank you ciao! -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] About internal delays
On 27/11/2007, Ypatios Grigoriadis [EMAIL PROTECTED] wrote: hi.. and yes, it should stay stable during the whole time. I think this is wrong. Whenever cpu overloads audiotime waits. -- Ypatios. -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread4~~
Hello again, here's the -help file, as i promised. (My apologies to Miller Puckette for stealing the -help files style.. :-)) *** #N canvas 354 145 966 694 12; #X obj 12 615 output~; #X obj 12 432 phasor~ 1; #X obj 12 357 vradio 30 1 0 2 tabread4~~test tabread4~~test empty 0 -8 0 10 -262144 -1 -1 0; #X text 51 362 -- tabread4~; #X text 51 392 -- tabread4~~; #X obj 12 13 tabread4~~; #X text 30 60 The tabread4~~ object takes two audio signals to specify the read position in an array \ which makes it way more precise in longer arrays than the simple tabread4~.; #X text 30 117 BEWARE!!!; #N canvas 466 186 745 640 crossfader 0; #X obj 12 424 +~; #X obj 154 403 *~; #X obj 12 398 *~; #X obj 297 382 line~; #X obj 57 377 line~; #X obj 57 324 == 0; #X obj 12 477 outlet~; #X obj 12 21 inlet~; #X obj 154 21 inlet~; #X obj 297 281 r tabread4~~test; #X msg 57 351 \$1 50; #X msg 297 356 \$1 50; #X obj 257 99 metro 500; #X obj 257 155 tabwrite~ tabread4~_tab; #X obj 258 190 tabwrite~ tabread4~~_tab; #X obj 257 41 loadbang; #X obj 257 71 1; #X connect 0 0 6 0; #X connect 1 0 0 1; #X connect 2 0 0 0; #X connect 3 0 1 1; #X connect 4 0 2 1; #X connect 5 0 10 0; #X connect 7 0 2 0; #X connect 7 0 13 0; #X connect 8 0 1 0; #X connect 8 0 14 0; #X connect 9 0 5 0; #X connect 9 0 11 0; #X connect 10 0 4 0; #X connect 11 0 3 0; #X connect 12 0 13 0; #X connect 12 0 14 0; #X connect 15 0 16 0; #X connect 16 0 12 0; #X restore 12 581 pd crossfader; #X obj 12 456 *~ 44100; #X obj 12 500 +~; #X obj 12 524 +~ 1; #X obj 273 479 sig~; #X obj 273 454 * 44100; #X floatatom 273 432 4 0 1799 0 - - -; #X text 114 13 high precision array lookup; #X obj 161 548 tabread4~~ testone; #X obj 12 548 tabread4~ testone; #N canvas 0 0 450 300 (subpatch) 0; #X array tabread4~_tab 512 float 0; #X coords 0 1 511 -1 400 280 1; #X restore 540 78 graph; #N canvas 0 0 450 300 (subpatch) 0; #X array tabread4~~_tab 512 float 0; #X coords 0 1 511 -1 400 280 1; #X restore 540 390 graph; #X msg 273 406 0; #X msg 273 366 381; #X msg 273 386 1522; #X text 30 131 You can't use this help file as it is unless there is at least 350-400 MB of RAM available to your system.; #X text 29 169 To initialize do the following:; #X text 30 191 1) Create a sine audio file (80-100 Hz \, 32bit mono \, 1800 sec) somewhere on your HDD (needs about 300 MB).; #X obj 401 228 bng 20 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X text 30 226 2) Click here to locate and load the file --; #X text 74 288 Now play with the following...; #N canvas 579 489 386 207 load 0; #X obj -66 121 soundfiler; #X floatatom -66 159 0 0 0 0 - - -; #X obj 149 16 table testone; #X obj -66 19 inlet; #X obj -66 67 openpanel; #X msg -66 94 read -resize -maxsize 8e+007 \$1 testone; #X connect 0 0 1 0; #X connect 3 0 4 0; #X connect 4 0 5 0; #X connect 5 0 0 0; #X restore 401 253 pd load; #X text 270 338 jump to different positions..; #X text 11 333 listen to..; #X obj 273 524 +~ 1; #X text 321 431 -- current position (sec); #X connect 1 0 9 0; #X connect 8 0 0 0; #X connect 8 0 0 1; #X connect 9 0 10 0; #X connect 9 0 16 0; #X connect 10 0 11 0; #X connect 11 0 17 0; #X connect 12 0 10 1; #X connect 12 0 32 0; #X connect 13 0 12 0; #X connect 14 0 13 0; #X connect 16 0 8 1; #X connect 17 0 8 0; #X connect 20 0 14 0; #X connect 21 0 14 0; #X connect 22 0 14 0; #X connect 26 0 29 0; #X connect 32 0 16 1; p.s. 1: [tabread4~~] lies in the latest zexy lib. p.s. 2: I tried to find a way to create a 30min sine array on the fly but I ran into the same 32bit resolution problem (array index specification)... Sorry p.s. 3: Music is for me the way to control time and matter, even if it's only in my imagination. But isn't imagination (or the observers location and speed..) the only thing that matters? -- Ypatios. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabread4~~
On 15/11/2007, Mathieu Bouchard [EMAIL PROTECTED] wrote: On Wed, 14 Nov 2007, Charles Henry wrote: Zen master Dogen tells us that we say time is passing because we live in time. In fact, we are passing in time, and time stays exactly where it is. time seen as the 4th space dimension is also a result of Einstein-Minkowski theory. It wasn't the only step in that direction, not the first step, but it was a major shift. There's a version of Pythagoras' theorem for that space-time, in which the only difference between space and time is that they have a different sign. Thus time is a kind of space with a scale factor equal to square root of -1. (You may also get to this scale factor by fiddling with the wave equation.) Whether time moves or stays exactly where it is is a metaphysical question: you can't make an experiment that distinguishes the two possibilities. Thus it's just a matter of how we explain things to ourselves. Maybe we can find 2-D time through transcendance. hmmm an external for that? I think that there is hope in reversing the roles of time and space in equations, such that you have 1-D space and 3-D time. I don't think that we'd be able to get to exactly 2-D time. Thus I believe that there is more hope in [line~~~] than in [line~~]. _ _ __ ___ _ _ _ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list As far as I am concerned, time is just one of the two main dimensions in music, the one that allows the other one(pitch/frequency) to exist, or at least to be realisable by my ears and brain. If i may now borrow the theory and terminus Arrow of time by Arthur Eddington, according to which time is the fourth dimension in space, it has a direction and moves only to this direction, making everything in the past clear and stable, but leaving the future uncertain. (One could wonder: Exactly how straight is this axis? Could it bend and go back? Of course! In music this is called a reprise.) So, is there ever going to be a [line~~]? Only time can tell. -- Ypatios. p.s.: Oh, glorious Wikipedia, you saved me once more! (I really should donate...) ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] tabread4~~
Hello everyone! I work with pd for about 3 years. Right from the beginning (or almost..) i ran into the following problem: table look up with [tabread4~] is great for small array but, due to 32bit floating resolution, if the array is of a certain length and longer, look up can not be so exact. The result is distortion. I am not a programmer so i could not find the solution myself. I wrote then to the list and i got feedback for the problem but only info. No practical solution. Thanks to IOhannes there is a new object that takes 2 signals to specify the position for the look up which makes it way more precise (this idea came originally from my professor Gerhard Eckel). [tabread4~~] which you can find in the latest zexy lib. I tested the object but not in many ways yet it seems to be stable though. I am also making a small -help patch for the object which i will soon post (if it's ok with IOhannes..) So thank you IOhannes for your time and effort! I am really grateful. (Sorry if i was too greedy the other day about the [vline~~]... but it's all for the Art!!!) -- YpatIOs. ... :-) ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list