Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: Hans-Christoph Steiner h...@at.or.at; pd-list@iem.at pd-list@iem.at Sent: Monday, September 12, 2011 8:45 PM Subject: Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file On Sun, 11 Sep 2011, Jonathan Wilkes wrote: [trigger anything] | [b] can be shortened to: [trigger bang] can be shortened to : [b] Well, what I meant was: [t a a] | | [b] can be shortened to: [t a b] And finally: -1) [t a] as a cheap hack due to lack of segmented patching cords even with segmented cords, [t a] is useful as a hub. That's what I use it for 95 % of the time, and segmented cords will not change that. Yes, I forgot about the hub. There's that, too. But if you have a [t a] with one wire in and one wire out then chances are you ought to have used a segmented wire. But those aren't available, so you use [t a], and in these cases I give it a minus one. -Jonathan ___ | 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] Transposing samples using MIDI numbers
There's a number of ways to transpose a table... the [tabread4~] object allows you to change the speed, right. If you want to change the pitch but not the duration (pitch-shifting + time-streching) there're spectral objects that can do it. You can also have a look at the audio example G09, pitch-shift... its only problem is aliasing. But the most important thing for your project is to know what is the central frequency in the table, because all transposition you can do will always be relative. You can try with [fiddle~] or [sigmund~] to do pitch-tracking and average it, but if the samples are complex (more than 1 note) you should to use some spectral analysis tools. I'd suggest the PDescriptors library, and its chroma objects. Lots of luck! Quim 2011/9/13 Ingo i...@miamiwave.com You need to use [mtof] to convert the midi note number to the frequency first. [tabread4~] allows variable readout speed to play back transposed samples. Check the docs for some examples of [tabread4~] and samplers (3.audio.examples/B...). Ingo Is there a way to transpose the sound of a sample [stored in a table] to match a pitch/midi note number? In my project, when a sample is played back [using tabplay~] I would like something to tune that sample to say, midi note 69 or A 440. I would like to be able to send this number to the transposing function via a number box. I am SOO close to realizing an idea, I just need this one crucial part. Thank you for your time, Sebastian ___ 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] Output numbers consecutively, one at a time in PD
On Mon, Sep 12, 2011 at 11:39:11PM +0200, Patrice Colet wrote: hi, - Sebastian Valenzuela svalenzuelamu...@gmail.com a écrit : Thank you for the responses, Andy and Jonathan. But I am looking for something that will output THE FIRST number whenever I hit bang... then the NEXT number when i hit bang a second time (and so on). So there is no steady, timed rate (as with the list sequencers) of number output, and I don't want to output all my numbers out right away (as with the list-drip object). then there is [footils/list-dripslow] for that While this would indeed work, I think, Matju's suggestion of a table driven by a [f]X[+ 1] counter, maybe with [mod tablesize] in between would be a better approach, for example because you can easily change the store values on the fly - and of course it's more efficient. If you need to do this with symbols, the [m_symbolarray] from the rj library can be used to index symbols by positions. If you have mixed lists of numbers and symbols I'd probably indeed use [list-dripslow], or maybe just this: [list append 1 2 3 a b c] | | [0\ - change with a counter, then bang the [list] | | | [set, adddollar $1( |/ [$1( Ciao -- Frank ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cat /boot/vmlinuz-2.6.35-30-generic /dev/dsp ?
Hi all, thanks for the suggestions, I found out one way so far, with soundfiler and -raw 128 2 2 b. Now, did I remember correctly that in /proc/... you can also read something that changes continuously, depending on the state of the machine? afaict, vmlinuz is just a static file. About /dev/dsp, I tried that modprobe snd-pcm-oss thing, but still no /dev/dsp. Not that I would really need it now if I can do all this in pd anyway... It's just that I noticed it wasn't there when trying to do the original 'cat' trick as a quick test. gr, Tim 2011/9/12 Hans-Christoph Steiner h...@at.or.at Ah, right, I forgot the format of the array files, its a list of floats, i.e. space separated values. You can use mrpeach/binfile to read any file byte-by-byte. Then use those bytes as floats. .hc On Mon, 2011-09-12 at 19:59 +0200, tim vets wrote: Hi Hans, thanks, i tried: [; mytable read /boot/vmlinuz-2.6.35-30-generic( but i just get: 'read 0 elements into table of size 1000' any idea? Tim 2011/9/12 Hans-Christoph Steiner h...@at.or.at Open it as a .wav or .snd. Or just load it directly into an array using the [read( message. .hc On Sep 12, 2011, at 1:09 PM, tim vets wrote: Hi all, I would like to get the sound of my kernel into pd. cat /boot/vmlinuz-2.6.35-30-generic /dev/dsp should be a command I can get the sound of my kernel into the speakers with. However, while I remember having done similar before, right now, on this machine there doesn't even seem to be a /dev/dsp present... also, how would I get this into pd? thanks, Tim ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list 'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink-collar temp pool day. - “Hijab Scene #2, by Mohja Kahf ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cat /boot/vmlinuz-2.6.35-30-generic /dev/dsp ?
Hi, tim vets wrote: Now, did I remember correctly that in /proc/... you can also read something that changes continuously, depending on the state of the machine? afaict, vmlinuz is just a static file. Try /dev/random. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] inactive patch consuming 100% CPU
Hi list, I having some trouble with a large abstraction I've made. It's a [soundfiler]/[phasor~]/[tabread4~] based sample player that plays tracks forwards, backwards, half-speed, etc and I am also using [freeverb~] as a frozen reverb tail. It can play 5 tracks simultaneously fine, and I can manipulate them live, but when all the tracks are stopped the CPU steadily increases until it reaches 100% and I've no idea why. The tracks I'm loading are all between 3-5mins long so I'm obviously using a lot of memory. The tracks are stopped by sending [phasor~] a frequency of zero, and muting the main [*~] output. It's a bit of a sprawling mess, but I'd be really grateful if anyone would be able to look at it and tell me what's going wrong! test_patch is the patch I'm using and player2.pd is the abstraction. Also, this is on a Macbook Pro 8,1 2.7 GHz Intel Core i7 with 4GB RAM running Pd-extended 0.42-5 thanks James #N canvas 20 68 1045 656 10; #X obj 7 5 player2; #X obj 8 382 keyboard; #X obj 8 402 nroute 1 2; #X obj 8 422 route 44; #X obj 8 442 s stop_track; #X floatatom 8 630 0 0 0 0 - - -; #X obj 8 570 cputime; #X obj 8 462 loadbang; #X obj 8 522 metro 1000; #X msg 8 482 1; #X floatatom 8 502 0 0 0 0 - - -; #X obj 8 542 t b b; #X obj 8 610 * 0.1; #X obj 8 590 int; #X text 53 502 -- on/off; #X text 36 631 CPU load in percent; #X obj 211 5 player2; #X obj 415 5 player2; #X obj 619 5 player2; #X obj 823 5 player2; #X connect 1 0 2 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 6 0 13 0; #X connect 7 0 9 0; #X connect 8 0 11 0; #X connect 9 0 10 0; #X connect 10 0 8 0; #X connect 11 0 6 0; #X connect 11 1 6 1; #X connect 12 0 5 0; #X connect 13 0 12 0; binfTejCtPV7T.bin Description: application/applefile player2.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] xsample on ubuntu?
Hi Simon, i don't know about that specific distribution/package, but it should actually be dependent on a flext package, that i guess exists as well. You'll also have to install this. You could also try the static builds on http://g.org/ext/beta which don't depend on shared libraries. gr~~~ Am 12.09.2011 um 21:07 schrieb J. Simon van der Walt: Any suggestions for getting xsample to work on ubuntu? I found a .rpm from CCRMA, used alien to convert it to a .deb. Looks like I have some stuff installed, but am getting these errors: /usr/lib/pd-extended/extra/xsample.pd_linux: libflext-pd.so.0.5: cannot open shared object file: No such file or directory xsample: can't load library Any ideas? tia, -- J. Simon van der Walt - Composer www.jsimonvanderwalt.com +44 (0) 7905 270 198 ___ 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] cat /boot/vmlinuz-2.6.35-30-generic /dev/dsp ?
also try /dev/urandom j ,. Am 13.09.2011 12:58, schrieb Charles Goyard: Hi, tim vets wrote: Now, did I remember correctly that in /proc/... you can also read something that changes continuously, depending on the state of the machine? afaict, vmlinuz is just a static file. Try /dev/random. ___ 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] inactive patch consuming 100% CPU
hello, this look like denormal on the freeverb~. look archive about denormal Cyrille Le 13/09/2011 12:51, James Dunn a écrit : Hi list, I having some trouble with a large abstraction I've made. It's a [soundfiler]/[phasor~]/[tabread4~] based sample player that plays tracks forwards, backwards, half-speed, etc and I am also using [freeverb~] as a frozen reverb tail. It can play 5 tracks simultaneously fine, and I can manipulate them live, but when all the tracks are stopped the CPU steadily increases until it reaches 100% and I've no idea why. The tracks I'm loading are all between 3-5mins long so I'm obviously using a lot of memory. The tracks are stopped by sending [phasor~] a frequency of zero, and muting the main [*~] output. It's a bit of a sprawling mess, but I'd be really grateful if anyone would be able to look at it and tell me what's going wrong! test_patch is the patch I'm using and player2.pd is the abstraction. Also, this is on a Macbook Pro 8,1 2.7 GHz Intel Core i7 with 4GB RAM running Pd-extended 0.42-5 thanks James ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PdDroidParty Load and save...
Hi, I tried using the [loadsave] abstraction that Chris McCormick wrote for PdDroidParty yesterday. It doesn't work... Does anyone know if it is supposed to work with any version of Android? I think my girlfriend's phone uses 2.2. Cheers! Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Multitrack recorder
I solved the problem by delaying the previous track during playback by a duration equal to my setup's latency. This doesn't make my multitrack recorder very portable at all, since i need to measure the latency beforehand... :( Anyways... Pierre 2011/9/12 Pierre Massat pimas...@gmail.com Ok, so there should be no latency linked to writesf~. According to it's page in pdpedia, it seems like sfplay~ is the only playback object that makes it possible to do multitrack recording and overdubbing. I'm wondering why... Thinking about it now, it looks like it should be a problem with the upstream latency before adc~. And i guess the only way i can fix this is by playing track (n-1) with a delay with respect to track n equal to this latency (since time travel doesn't exist yet). Pierre 2011/9/12 hardoff goes bananas hard@gmail.com writesf~ creates a subthread whose task is to write audio streams to disk. You need not provide any disk access time between open and start, but between stop and the next open you must give the object time to flush all the output to disk. (from writesf~ help) On Mon, Sep 12, 2011 at 4:12 AM, Pierre Massat pimas...@gmail.comwrote: I forgot to mention that i can't use sfplay~ since PdDroidParty doesn't support externals... 2011/9/11 Pierre Massat pimas...@gmail.com Hi, I m trying to write a multitrack recorder based on writesf~ and readsf~ . I m faced with a serious issue... There seems to be some latency either when writing to a file or reading from it (i can't tell). This means that i can't record a second track on top of another as an overdub and playback both. Assuming that Pd's diplayed latency in the audio settings is right (???), that is 100ms, i tried triggering the readsf~ after a 100 ms-long delay, to no avail. I thought it would be a piece of cake to program this, but well, apparently it's not...? Needless to say that i can't use table as i plan to use it for possibly long recordings (my goal is to use it on a phone with PdDroidParty). So here's the question : is there any latency when writing or reading to a file, and if yes, is it measurable and foreseeable? Thanks! Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] pdtest - pd functional testing external
Hi pd peoples, I looked around the pd ecosystem and didn't find much in terms of testing facilities (please correct me if I'm wrong) and so I made an external with special functional testing purposes. Test suites are written in the very simple and easy to learn Lua programming language, a test case resemble: Suite(Example suite).case(Foobar).test(FOO).should:equal(BAR) where the pdtest external will outputs symbol FOO and test will pass if it receives back symbol BAR documentation and source code can be found: https://github.com/lp/pdtest#readme I would appreciate feedback on the usability of its design. It work perfect for the external I need to test but I may not grasp what the collective need for testing is, if one exist at all in the pd world anyway. regards, Louis-Philippe ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] mp3amp segfault
Hello all, I am using mp3amp~ on a server and I have a segfault everytime very shortly (2-3 sec). This problem never occurred to me... pdextended is installed from the available package (without a few dependencies) my system is: stream_test$ cat /etc/motd Linux vps-1006620-2877.cp.tsukaeru.ne.jp 2.6.18-028stab069.6 #1 SMP Wed May 26 18:10:06 MSD 2010 x86_64 GNU/Linux Ubuntu 10.04.1 LTS You can find the log and backtrace of gdb down in this mail. It seems to be a libmp3lame error. The last error is always the same but i find nearly nothing about it on the web. Does someone has any clue on a way of solving that? thanks in advance, n - (gdb) run Starting program: /usr/bin/pdextended -nogui stream_test_w_recep.pd [Thread debugging using libthread_db enabled] libdir loader $Revision: 1.8 $ compiled on Sep 22 2010 at 16:04:27 compiled against Pd version 0.42.5.extended init : Avifile RELEASE-0.7.48-100119-23:57-../src/configure init : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx e init : 247.30 MHz Intel(R) Xeon(R) CPU L5520 @ 2.27GHz processor detected GEM: Graphics Environment for Multimedia GEM: ver: 0.92.3 GEM: compiled: Sep 22 2010 GEM: maintained by IOhannes m zmoelnig GEM: Authors :Mark Danks (original version) GEM:Chris Clepper GEM:Cyrille Henry GEM:IOhannes m zmoelnig GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, Hans-Christop Steiner, et al. GEM: found a bug? miss a feature? please report it: GEM: homepage http://gem.iem.at/ GEM: bug-tracker http://sourceforge.net/projects/pd-gem/ GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/ GEM: compiled for SIMD architecture: SSE2 MMX GEM: using SSE2 optimization libdir_loader: added 'cyclone' to the global objectclass path libdir_loader: added 'zexy' to the global objectclass path libdir_loader: added 'creb' to the global objectclass path libdir_loader: added 'cxc' to the global objectclass path libdir_loader: added 'iemlib' to the global objectclass path libdir_loader: added 'list-abs' to the global objectclass path libdir_loader: added 'mapping' to the global objectclass path libdir_loader: added 'markex' to the global objectclass path libdir_loader: added 'maxlib' to the global objectclass path libdir_loader: added 'memento' to the global objectclass path libdir_loader: added 'mjlib' to the global objectclass path libdir_loader: added 'motex' to the global objectclass path libdir_loader: added 'oscx' to the global objectclass path libdir_loader: added 'pddp' to the global objectclass path libdir_loader: added 'pdogg' to the global objectclass path libdir_loader: added 'pixeltango' to the global objectclass path libdir_loader: added 'pmpd' to the global objectclass path libdir_loader: added 'rradical' to the global objectclass path libdir_loader: added 'sigpack' to the global objectclass path libdir_loader: added 'smlib' to the global objectclass path libdir_loader: added 'toxy' to the global objectclass path libdir_loader: added 'unauthorized' to the global objectclass path vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006 (Pd port by HCS) libdir_loader: added 'pan' to the global objectclass path libdir_loader: added 'hcs' to the global objectclass path libdir_loader: added 'jmmmp' to the global objectclass path libdir_loader: added 'ext13' to the global objectclass path libdir_loader: added 'ggee' to the global objectclass path libdir_loader: added 'flib' to the global objectclass path libdir_loader: added 'ekext' to the global objectclass path libdir_loader: added 'flatspace' to the global objectclass path /usr/lib/pd-extended/extra/pdp/pdp.pd_linux: libgslcblas.so.0: cannot open shared object file: No such file or directory pdp: can't load library /usr/lib/pd-extended/extra/pidip/pidip.pd_linux: libImlib2.so.1: cannot open shared object file: No such file or directory pidip: can't load library mp3cast~: mp3 streamer version 0.5, written by Yves Degoyon mp3amp~: getting canvas mp3amp~: initializing decoder... mp3amp~: mp3 streaming client v0.12, written by Yves Degoyon mp3cast~: setting mp3 stream to 44100Hz, 128kbit/s, mode 3, quality 1 mp3cast~: mountpoint set to laps_stream_test_r.mp3 mp3cast~: set server type to IceCast 2 mp3cast~ : setting password to xx mp3cast~: connecting to port 9001 mp3cast~: logged in to locus.creacast.com mp3cast~ : using lame version : 3.98.2 mp3cast~ : lame initialization done. (1) mp3cast~: initialising buffers [New Thread 0x2aaab7070700 (LWP 18272)] mp3amp~: connecting to http:/locus.creacast.com:9001/laps_stream_test_r.mp3 mp3amp~: connected : socket opened mp3amp~: select done mp3amp~: send done mp3amp~ : received 240 bytes at 0 mp3amp~: IceCast server detected mp3amp~: connected to
Re: [PD] pdtest - pd functional testing external
Ahoy, I'm curious why you didn't use(*) pdlua and write your whole external in Lua? Admittedly, there probably are still some bugs relating to require(), for which fixes would be welcome - last time I checked setting the paths for the Lua interpreter was rather a nightmare with different platforms (even different distros) having different locations.. On 13/09/11 14:49, Louis-Philippe wrote: documentation and source code can be found: https://github.com/lp/pdtest#readme Claude (*) instead of borrowing GPL code and licensing as MIT-style ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdtest - pd functional testing external
I looked early at this possibility but chose to implement it in C, for flexibility purposes as C is the raw pd programming api. But still, I took inspiration from the pdlua code where applicable and I actually wrote lots of the external in pure Lua, but instead of packaging it as external lua source files I embedded it within my C code as strings. I might be wrong, but I don't think pdtest will have problem with Lua paths... I compile and link Lua inside pdtest and then the Lua test suite files are loaded looking at pd's paths... so no need for Lua's paths at all. L-P ___ 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, 20th September
Hello, next tuesday, 20th September, 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. Pd-Berlin Google group: You can join the open group http://groups.google.com/group/pd_berlin, and make questions to the users there. 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 info_at_minitronics.net. 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 ___ 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] (breaking symbols) was Re: find a list of numbers in a text file
On Mon, 12 Sep 2011, Jonathan Wilkes wrote: Yes, I forgot about the hub. There's that, too. But if you have a [t a] with one wire in and one wire out then chances are you ought to have used a segmented wire. But those aren't available, so you use [t a], and in these cases I give it a minus one. Not necessarily... when I have a [t a] with a single wire on each side, chances are that it's a past hub or a future hub or both. ___ | 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] pdtest - pd functional testing external
On Tue, 13 Sep 2011, Louis-Philippe wrote: I looked around the pd ecosystem and didn't find much in terms of testing facilities (please correct me if I'm wrong) and so I made an external with special functional testing purposes. Test suites are written in the very simple and easy to learn Lua programming language, a test case resemble: Suite(Example suite).case(Foobar).test(FOO).should:equal(BAR) I would appreciate feedback on the usability of its design. It work perfect for the external I need to test but I may not grasp what the collective need for testing is, if one exist at all in the pd world anyway. regarde aussi #expr-test.pd et is.pd dans GridFlow. http://gridflow.ca/ J'avais aussi commencé un projet du nom de PureUnity, un système de tests hyper-abstrait... ça fait longtemps. Ces deux choses sont censées se rejoindre un jour, quand j'y mettrai le temps. ___ | 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] cat /boot/vmlinuz-2.6.35-30-generic /dev/dsp ?
On Tue, 13 Sep 2011, jwind wrote: also try /dev/urandom I bet that /dev/urandom and vmlinuz are undistinguishable from each other. I'm not going to try, though. The main difference is the header of vmlinuz, which is the uncompressed machine code for a gzip decompressor of the rest of the file. ___ | 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] inactive patch consuming 100% CPU
On Tue, 13 Sep 2011, cyrille henry wrote: this look like denormal on the freeverb~. look archive about denormal This means that even with the removal of denormals, the patch will be taking CPU. If the plan is to not make it take CPU at all when not used, then [switch~] should be used... in addition to fixing the denormals. ___ | 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] (breaking symbols) was Re: find a list of numbers in a text file
Exactly. I'll often use one (or its signal equivalent [*~ 1]) as an anchor point or temprorary placeholder for something with a large in/out degree but undecided function. Like a way to 'hang on' to a bunch of connections in working memory. Hubs often represent points that will either break out (become outlets to a parent) or become subpatches. Having an object already there means its name can be replaced by [outlet] or [pd newfunction] without remaking those cords. Since they look rather ugly and sick out like a sore thumb, they are easily cleaned up at the end. I've often wondered is there any penalty overhead if you leave a few lying around? I assume its negligable. On Tue, 13 Sep 2011 15:39:15 -0400 (EDT) Mathieu Bouchard ma...@artengine.ca wrote: On Mon, 12 Sep 2011, Jonathan Wilkes wrote: Yes, I forgot about the hub. There's that, too. But if you have a [t a] with one wire in and one wire out then chances are you ought to have used a segmented wire. But those aren't available, so you use [t a], and in these cases I give it a minus one. Not necessarily... when I have a [t a] with a single wire on each side, chances are that it's a past hub or a future hub or both. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC -- Andy Farnell padawa...@obiwannabe.co.uk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file
On Tue, 13 Sep 2011, Andy Farnell wrote: Exactly. I'll often use one (or its signal equivalent [*~ 1]) [+~ 0] takes less CPU. ___ | 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] pdtest - pd functional testing external
Salut Mathieu, the concept behind #expr-test.pd looks nice... is this PureUnity? I hadn't seen it before... but anyway I think PureUnity and pdtest are sufficiently different to both exist for their own purposes, as PureUnity seems to compose tests in pd and pdtest does so in code with Lua. thanks for the cue! L-P 2011/9/13 Mathieu Bouchard ma...@artengine.ca On Tue, 13 Sep 2011, Louis-Philippe wrote: I looked around the pd ecosystem and didn't find much in terms of testing facilities (please correct me if I'm wrong) and so I made an external with special functional testing purposes. Test suites are written in the very simple and easy to learn Lua programming language, a test case resemble: Suite(Example suite).case(Foobar).test(**FOO).should:equal(BAR) I would appreciate feedback on the usability of its design. It work perfect for the external I need to test but I may not grasp what the collective need for testing is, if one exist at all in the pd world anyway. regarde aussi #expr-test.pd et is.pd dans GridFlow. http://gridflow.ca/ J'avais aussi commencé un projet du nom de PureUnity, un système de tests hyper-abstrait... ça fait longtemps. Ces deux choses sont censées se rejoindre un jour, quand j'y mettrai le temps. __**__** ___ | 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdtest - pd functional testing external
On Tue, 13 Sep 2011, Louis-Philippe wrote: the concept behind #expr-test.pd looks nice... is this PureUnity? No it's not. What I'm saying is that PureUnity is something else, and that I'd like to expand tests like #expr-test.pd and PureUnity until I can merge the two projects. PureUnity is a set of abstractions that has much higher-level stuff in it, that resembles C++ overloading and template specialisation and such, by putting $1 in class names, etc. But I didn't put the project to real use. I hadn't seen it before... but anyway I think PureUnity and pdtest are sufficiently different to both exist for their own purposes, as PureUnity seems to compose tests in pd and pdtest does so in code with Lua. The idea behind the way I do it, is that PureData's tests deserve to be done PureData and it deserves to be comfortable to write and read. There is no need to use a separate language. ___ | 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] pdtest - pd functional testing external
what do you mean by: and it deserves to be comfortable to write and read. ?? what confort are you talking about? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdtest - pd functional testing external
On Tue, 13 Sep 2011, Louis-Philippe wrote: what do you mean by: and it deserves to be comfortable to write and read. ?? what confort are you talking about? By opposition to trying to make pd unit tests without using at least one supporting abstraction, because then it becomes redundantly repetitive and boringly boring, doing a lot of patching for no good reason. But for testing lots of classes, higher-level redundancy appears, so more abstractions become desirable... writing tests is a lot like writing the applications that they test. ___ | 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] pd-extended 0.43 windows 7 installation
On Tue, 6 Sep 2011, Patrice Colet wrote: too, if I'm not mistaken. E.g. could it solve the libstdc++ problem that we were having with Gem, GridFlow, ATI drivers, and perhaps some other drivers or libs ? what problem? Segfault whenever throwing exceptions... when using multiple versions of libstdc++ at once. But it depends on how it's done exactly. Otherwise it could make the problem even worse. The underlying code of throw has to match that of catch(), basically. ___ | 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] (breaking symbols) was Re: find a list of numbers in a text file
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: Hans-Christoph Steiner h...@at.or.at; pd-list@iem.at pd-list@iem.at Sent: Tuesday, September 13, 2011 3:39 PM Subject: Re: [PD] (breaking symbols) was Re: find a list of numbers in a text file On Mon, 12 Sep 2011, Jonathan Wilkes wrote: Yes, I forgot about the hub. There's that, too. But if you have a [t a] with one wire in and one wire out then chances are you ought to have used a segmented wire. But those aren't available, so you use [t a], and in these cases I give it a minus one. Not necessarily... when I have a [t a] with a single wire on each side, chances are that it's a past hub or a future hub or both. If the patch isn't finished, then sure. If it is, however, I don't find I need the [t a] for a reminder of a potential hub spot. Besides, it's only two wires and would be an easy and obvious change if it needs to become a hub. -Jonathan ___ | 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] mp3amp segfault
If you want to play mp3s, I highly recommend using readanysf~. Its a separate package, but its in Debian so it should be easy to install. I think Roman has Ubuntu packages for older releases too. .hc On Tue, 2011-09-13 at 16:34 +0200, Nicolas Montgermont wrote: Hello all, I am using mp3amp~ on a server and I have a segfault everytime very shortly (2-3 sec). This problem never occurred to me... pdextended is installed from the available package (without a few dependencies) my system is: stream_test$ cat /etc/motd Linux vps-1006620-2877.cp.tsukaeru.ne.jp 2.6.18-028stab069.6 #1 SMP Wed May 26 18:10:06 MSD 2010 x86_64 GNU/Linux Ubuntu 10.04.1 LTS You can find the log and backtrace of gdb down in this mail. It seems to be a libmp3lame error. The last error is always the same but i find nearly nothing about it on the web. Does someone has any clue on a way of solving that? thanks in advance, n - (gdb) run Starting program: /usr/bin/pdextended -nogui stream_test_w_recep.pd [Thread debugging using libthread_db enabled] libdir loader $Revision: 1.8 $ compiled on Sep 22 2010 at 16:04:27 compiled against Pd version 0.42.5.extended init : Avifile RELEASE-0.7.48-100119-23:57-../src/configure init : Available CPU flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx e init : 247.30 MHz Intel(R) Xeon(R) CPU L5520 @ 2.27GHz processor detected GEM: Graphics Environment for Multimedia GEM: ver: 0.92.3 GEM: compiled: Sep 22 2010 GEM: maintained by IOhannes m zmoelnig GEM: Authors :Mark Danks (original version) GEM:Chris Clepper GEM:Cyrille Henry GEM:IOhannes m zmoelnig GEM: with help by Guenter Geiger, Daniel Heckenberg, James Tittle, Hans-Christop Steiner, et al. GEM: found a bug? miss a feature? please report it: GEM: homepage http://gem.iem.at/ GEM: bug-tracker http://sourceforge.net/projects/pd-gem/ GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/ GEM: compiled for SIMD architecture: SSE2 MMX GEM: using SSE2 optimization libdir_loader: added 'cyclone' to the global objectclass path libdir_loader: added 'zexy' to the global objectclass path libdir_loader: added 'creb' to the global objectclass path libdir_loader: added 'cxc' to the global objectclass path libdir_loader: added 'iemlib' to the global objectclass path libdir_loader: added 'list-abs' to the global objectclass path libdir_loader: added 'mapping' to the global objectclass path libdir_loader: added 'markex' to the global objectclass path libdir_loader: added 'maxlib' to the global objectclass path libdir_loader: added 'memento' to the global objectclass path libdir_loader: added 'mjlib' to the global objectclass path libdir_loader: added 'motex' to the global objectclass path libdir_loader: added 'oscx' to the global objectclass path libdir_loader: added 'pddp' to the global objectclass path libdir_loader: added 'pdogg' to the global objectclass path libdir_loader: added 'pixeltango' to the global objectclass path libdir_loader: added 'pmpd' to the global objectclass path libdir_loader: added 'rradical' to the global objectclass path libdir_loader: added 'sigpack' to the global objectclass path libdir_loader: added 'smlib' to the global objectclass path libdir_loader: added 'toxy' to the global objectclass path libdir_loader: added 'unauthorized' to the global objectclass path vbap - v1.0.3 - 12 Aug 2006 - (c) Ville Pulkki 1999-2006 (Pd port by HCS) libdir_loader: added 'pan' to the global objectclass path libdir_loader: added 'hcs' to the global objectclass path libdir_loader: added 'jmmmp' to the global objectclass path libdir_loader: added 'ext13' to the global objectclass path libdir_loader: added 'ggee' to the global objectclass path libdir_loader: added 'flib' to the global objectclass path libdir_loader: added 'ekext' to the global objectclass path libdir_loader: added 'flatspace' to the global objectclass path /usr/lib/pd-extended/extra/pdp/pdp.pd_linux: libgslcblas.so.0: cannot open shared object file: No such file or directory pdp: can't load library /usr/lib/pd-extended/extra/pidip/pidip.pd_linux: libImlib2.so.1: cannot open shared object file: No such file or directory pidip: can't load library mp3cast~: mp3 streamer version 0.5, written by Yves Degoyon mp3amp~: getting canvas mp3amp~: initializing decoder... mp3amp~: mp3 streaming client v0.12, written by Yves Degoyon mp3cast~: setting mp3 stream to 44100Hz, 128kbit/s, mode 3, quality 1 mp3cast~: mountpoint set to laps_stream_test_r.mp3 mp3cast~: set server type to IceCast 2 mp3cast~ : setting password to xx mp3cast~: connecting to port 9001 mp3cast~: logged in to locus.creacast.com mp3cast~ : using lame version : 3.98.2 mp3cast~ : lame
Re: [PD] pdtest - pd functional testing external
Any working test suite is a good thing. Its good to have options out there since people like working in different ways. I tried to use this on Ubuntu/Maverick 10.10. It built find, but when I loaded the help patch I got: /media/share/code/lp/pdtest/pdtest.pd_linux: /media/share/code/lp/pdtest/pdtest.pd_linux: undefined symbol: lua_getfield pdtest l s f b ... couldn't create About the design, is this just meant to test compiled externals, or do you see it as testing abstractions too? .hc On Tue, 2011-09-13 at 09:49 -0400, Louis-Philippe wrote: Hi pd peoples, I looked around the pd ecosystem and didn't find much in terms of testing facilities (please correct me if I'm wrong) and so I made an external with special functional testing purposes. Test suites are written in the very simple and easy to learn Lua programming language, a test case resemble: Suite(Example suite).case(Foobar).test(FOO).should:equal(BAR) where the pdtest external will outputs symbol FOO and test will pass if it receives back symbol BAR documentation and source code can be found: https://github.com/lp/pdtest#readme I would appreciate feedback on the usability of its design. It work perfect for the external I need to test but I may not grasp what the collective need for testing is, if one exist at all in the pd world anyway. regards, Louis-Philippe ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] http://puredata.info ?
Hello, sorry if this question already has been raised (just re-subscribed me to the list after some years absence). What is the status of http://puredata.info ? The pages seems to be down at least since last weekend. All the best, Björn Eriksson ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list