Re: [PD] Letter - Number
marius schebella wrote: you could use msgfile from zexy and write your transaltions into a textfile if you are using zexy anyhow, then i suggest using [index] (a dictionary) instead of [msgfile] (you can use [msgfile] or [textfile] to actually store the mapping. or use [select] as marius has suggested. or use moocow's [any2string] which will give you the ascii-value of each character in a symbol (or list). this could be interesting if you want people to enter more than just one single character. fmgads.r IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] *.lua = *.pd_lua or *.l_lua?
Hans-Christoph Steiner wrote: I think this kind of thing should be caused by a real world problem rather than a hypothetical. i think this discussion _is_ triggered by a real world problem, and you seem to try making it hypothetical. fgmasd.r IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
marius schebella wrote: have a look at pix_record. Thanks for telling me about it. it is a little bit challenging to use... Do you mean that it's hard to figure out how to use it, or that it might overload the computer's processing power? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
chris clepper wrote: Look at pix_snap and pix_record to make a Quicktime movie or pix_write to make an image sequence that can be made into a movie using Quicktime Pro. Thanks! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] DesireData
On 13 Feb 2008, at 00:24, Mathieu Bouchard wrote: On Tue, 12 Feb 2008, David Plans Casal wrote: On 12 Feb 2008, at 20:31, Mathieu Bouchard wrote: Depends... I have another question... what if I want to fork/branch (whatever one calls it) other folders outside of the /trunk/pd hierarchy? CVS makes it easy to branch individual files, or specific subfolders without necessarily branching everything containing it. Branches can be wildly different than the trunk, but a fork is fork, surely. So, how does that change how the SVN is to be managed? What are you trying to say? I was just saying that desiredata changes fundamental parts of the pd infrastructure as far as I can tell, and so as hans pointed out, possibly does not belong where it is now in svn. How is that supported by SVN ? Tags, AFAIK. So, if tags can fulfill the same purpose as branches do, why do we have branches as plain folders? I don't think that this is the answer. I think you might benefit from reading the redbean book: http://svnbook.red-bean.com/ And look at the difference between tags and branches. Everything in svn -is- a folder in any case. David ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] *.lua = *.pd_lua or *.l_lua?
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: Similar things are possible with luax, ... Correction 2: luax is a loader as well, I confused it with lua~ here. Ciao -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
pix_record was crashing constantly in osx 10.4.11 gem 0.91-cvs and pd-0.40-1powerbook ppc.there was a thread about it not that long ago. Maybe in gem-dev. best, J On Feb 13, 2008 1:57 AM, marius schebella [EMAIL PROTECTED] wrote: Dudley Brooks wrote: marius schebella wrote: have a look at pix_record. Thanks for telling me about it. it is a little bit challenging to use... Do you mean that it's hard to figure out how to use it, or that it might overload the computer's processing power? yes, hard to figure out, offers some sources where you could run into problems (memory space, finding good resolution settings/a balance of available space and image quality, so that you can use it for your dvd), it also crashed in the past. but that should not keep you from trying, just don't give up if it does not work in the first time. it is still easier than using pix_write. marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR [EMAIL PROTECTED] www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] *.lua = *.pd_lua or *.l_lua?
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote: I am not arguing this for some arcane reason. All of the new Pd binary extensions (.pd_imac, .l_i386, .m_i386, etc.) that have been added have ended up causing me a lot of extra work in Pd-extended with no real benefit that I could see. Even the standard .pd_darwin/.pd_linux has created extra work. This reason doesn't apply here: There still would be only one file ending for pdlua files (two with luax), so nothing at all would change for pd-extended or any installer besides switching install *.lua to install *.pdlua or similar where necessary. If a pdlua class uses sperate modules, it would needed to be handled individually anway much like any other external, that needs some kind of supplementary material (like fonts or textures for Gem). Ciao -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
Dudley Brooks wrote: marius schebella wrote: have a look at pix_record. Thanks for telling me about it. it is a little bit challenging to use... Do you mean that it's hard to figure out how to use it, or that it might overload the computer's processing power? yes, hard to figure out, offers some sources where you could run into problems (memory space, finding good resolution settings/a balance of available space and image quality, so that you can use it for your dvd), it also crashed in the past. but that should not keep you from trying, just don't give up if it does not work in the first time. it is still easier than using pix_write. marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Phasor Driven Midi File Playback?
On 13 Feb 2008, at 7:53 AM, Martin Peach wrote: This works on my system: [read C:/PROGRA~1/pd/doc/5.reference/textfile.txt( but [C:/PROGRA~1/pd/doc/5.reference/textfile.txt( | [read $1( does not work. try [symbol C:/PROGRA~1/pd/doc/5.reference/textfile.txt( | [read $1( simon ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] fixes in 0.41?
I just realized that [netsend] and [netreceive] are unreliable, and this may be the source of most of my crashes now. When bursts of large numbers of messages are sent, there are random message losses. I may send 1000 messages in a burst and lose messages 613 through 918, with nobody issuing any error message or warning. Btw I am using TCP netsend/receive, not UDP. When a bunch of messages is lost, usually a corrupt message is received (i.e. netreceive outputs a garbage message that has never been sent: probably resulting from a piece of message). Among other things, I am using received messages to dynamically create objects in a subpatch, so god knows what happens when a garbage message is appended to a obj x y message sent to a canvas: that may be one source of crashes. Another one may be some symbol being sent to a numeric [select] or viceversa, or some message of an unexpected or illegal type entering an inlet it shouldn't enter. I am carefully checking and routing MY messages, but always assuming that only the kind of messages that I know are being sent can be received. TCP communication is all about guaranteing such an assumption is true. 2008/2/12, Miller Puckette [EMAIL PROTECTED]: It's a dangerous thing to offer, but if you can make a patch crash using 'vanilla' pd on any of 32-bit linux, windows, mac, or 64-bit linux, send me a tarball of the patch and its dependencies and I'll try to see what happened. Fixing crash bugs is always my highest priority. cheers Miller On Tue, Feb 12, 2008 at 03:46:11PM +0100, Steffen Juul wrote: On 12/02/2008, at 13.58, matteo sisti sette wrote: Are there any changelogs (is this the correct word) listing added features and especially bugfixes of each PD release? There are release notes in doc/1.manual/x5.htm. The bug/patch tracker holds some info, but are not complete either - not everything is listed there basically since Miller need not add to it but only pull from it, and not everything is guaranteed to be indexed/categorized right which means it's lost wrt. searching (like a misplaced book in the library). To get a complete list I'm afraid we are left we diff'ing the source. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Matteo Sisti Sette [EMAIL PROTECTED] http://www.matteosistisette.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
Le Wed, 13 Feb 2008 02:17:01 -0800, Jaime Oliver [EMAIL PROTECTED] a écrit : pix_record was crashing constantly in osx 10.4.11 gem 0.91-cvs and pd-0.40-1powerbook ppc.there was a thread about it not that long ago. Maybe in gem-dev. best, yes, there was a thread because the object pix_record from the CVS was broken (diditn record anything) but IOhannes fixed it (thanks IOhannes! you saved my ass!) There is still one bug, which is, the object crashes on the second recording. The workaround I found is to add a demux in the gemchain and duplicate as many pix_record objects as needed. Can send the path if someone needs it. This is it, as seen from the Linux side. Looks like it works great in PD-Extended 0.39-3. The last time I tried to pix_record on OSX (on a Dual G5 running Panther, 2Go RAM) , I switched to Gem2pdp + pdp_rec because the Mac couldnt handle it in realtime for a 640x480 window and PDP made it (might be related to PDP multithread capability). Bye O. J On Feb 13, 2008 1:57 AM, marius schebella [EMAIL PROTECTED] wrote: Dudley Brooks wrote: marius schebella wrote: have a look at pix_record. Thanks for telling me about it. it is a little bit challenging to use... Do you mean that it's hard to figure out how to use it, or that it might overload the computer's processing power? yes, hard to figure out, offers some sources where you could run into problems (memory space, finding good resolution settings/a balance of available space and image quality, so that you can use it for your dvd), it also crashed in the past. but that should not keep you from trying, just don't give up if it does not work in the first time. it is still easier than using pix_write. marius. ___ 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] select device for pix_video on Os x
thanks, it works when I send [device 0, input $1, dimen 640 480( while changing input number only, nothing happens but I succed by changing device and input numers [device 6, input 1( it works with any input number...(?) if I send only [device 6( or only [input( nothing happens it makes something only if the message contains device and input inside [device x, input x( 2008/2/13, chris clepper [EMAIL PROTECTED]: There is no way to tell what the dialog settings are current set to using the Quicktime APIs and there is no standard way that driver authors implement the dialogs so it is difficult to figure out what is going wrong. It is possible that whenever the dialog is called the settings on the USB cam are reset or at least appear to reset. I had this happen with some terrible industrial cameras before I ditched them for DV. You can use a message like [device 0, input 0, dimen 640 480( to set the device and then the dimensions. Since both the iSIght and webcam are USB devices then the input number might have to change instead of the device. The order they appear in the dialog Source list will give some idea what order they are in as will the info printed to the Pd console. On Feb 12, 2008 5:24 PM, stefan [EMAIL PROTECTED] wrote: hi, - I use a macbook and try to configure a usb webcam through pix_video default selected camera is the built-in one using [dialog( I select another webcam (usb) - if I send a message like [dimen x x( to [pix_video]. the configuration I choose in [dialog( is reset and it come back to the default settings (the built-in camera...) I use a logitechquickcam (macam driver) but I had the same problem with a apple I-sight (firewire) - I try to configure the webcam using the device message... but - [device 0( or everything else make nothing (or I don't know how to make it work..) - [enumerate( does not work... - I try with the driver too, but ... i can't figure myself how it's work is it possible to configure usb webcam with another way than [dialog( and if it is possible...how? :) and why the dialog box configuration reset when I sent a dimen message to pix_video? thx s. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] Pd 0.41-1 (bug fix for Mac OSX 10.5.1)
On 13 Feb 2008, at 01:39, Miller Puckette wrote: Pd 0.41-1 is available on http://crca.ucsd.edu/~msp/software.html It's the same as 0.41-0 except for a bug fix for newer versions of Mac OSX (10.5 and newer) thanks to David Plans Casal. I should point out I led the fork() debugging and patch testing, but Russell Bryant proposed the solution which eventually worked. d ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] measurement of spectral richness
Hi, On Tue, 2008-02-12 at 13:45 -0800, punchik punchik wrote: ive heard a lot of times that natural sounds has more spectral richness that digital generated sounds... is it possible to measure the spectral richness of a sound? There isn't a standard metric for 'richness' as far as I know. However, you might be able to break down the 'richness' percept into a number of features that can be measured. Things that spring to mind as contributing to perceived richness are: - The number of measured partials - The 'inharmonicity' of the spectrum (i.e. its divergence from a purely harmonic signal) - The 'spectral flux' the amount of variation (transience) in the spectrum between frames You could try to find a mathematical relationship between these factors that corresponds to the richness percept, or you could use some kind of classifier which you would 'train' to relate a given richness input vector (npartials, inharmonicity, flux) with a perceptually determined output measure of richness. One of the simplest classifiers for this is the k-NN classifier. Jamie -- www.postlude.co.uk ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] newbie questions(ableton)
there is a version of pd, that can be used as a vst plugin on a windows machine. http://crca.ucsd.edu/~jsarlo/pdvst/ roman On Wed, 2008-02-13 at 02:01 +, Steve Arnett wrote: i was wondering if it is possible to use pure data as plug in in ableton live 5...perhaps as a vst or some sort of other way to integrate the two programs...thanks everyone. later. steve. __ Need to know the score, the latest news, or you need your Hotmail®-get your fix. Check it out. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Letter - Number
just in case, you didn't know the objectclass, there is a objectclass [key], which outputs a number, whenever a key is pressd. since you want to press only single keys, having to press enter after each keypress could be a pain. however, if you decide to go for [key] instead of symbolatom, you use a table to look-up the numbers. roman On Tue, 2008-02-12 at 21:29 -0500, David F. Place wrote: Dear Pd Friends: I need to create a mapping from letters into numbers: (A-1,a-1,B-2,b-2,...) I want to be able to enter a letter into a symbol box and translate it to the number. This will allow me to enter rehearsal letters from parts that cue up a sequence to the right spot. I can think of very unattractive ways to do this in Pd using select. Is there an elegant way? Best Wishes, David ___ (---o---o-o-o---o-o-o( David F. Place mailto:[EMAIL PROTECTED] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] newbie questions(ableton)
Latest version of Ableton (Live 7)doesn't seem to work with JackOSX. Too bad. I used this method for a while with Live 5 and it worked fine. d. Kevin McCoy wrote: As of now, I think the only way is to route through Jack OSX - there was supposed to be something going on with a pluggo pd as per Google Summer of Code, but I don't know what happened with that. Jack is not the most convenient solution here, but it is known to work... http://jackosx.com/ Kevin On Feb 12, 2008 9:01 PM, Steve Arnett [EMAIL PROTECTED] wrote: i was wondering if it is possible to use pure data as plug in in ableton live 5...perhaps as a vst or some sort of other way to integrate the two programs...thanks everyone. later. steve. -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 76: Give the game away ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Letter - Number
Hi, I use Lua to do keyboard input processing [1] (from GridFlow's [#out window] so I don't accidentally activate any Pd shortcuts when performing...). A Lua object to map symbols to numbers would be very simple: -- snip boring class init stuff local tab = { A = 1, a = 1, B = 2, b = 2 } function MyClass:in_1_symbol(s) self:outlet(1, float, { tab[s] or -1 }) end I think [select] is probably the Pd way, albeit unattractive as you say. Another library that might help is pdcontainer, which has a map object, where you can associate values to keys. It's been a while since I used it however, but I seem to remember it was quite intuitive / well documented. Claude Roman Haefeli wrote: just in case, you didn't know the objectclass, there is a objectclass [key], which outputs a number, whenever a key is pressd. since you want to press only single keys, having to press enter after each keypress could be a pain. however, if you decide to go for [key] instead of symbolatom, you use a table to look-up the numbers. roman On Tue, 2008-02-12 at 21:29 -0500, David F. Place wrote: Dear Pd Friends: I need to create a mapping from letters into numbers: (A-1,a-1,B-2,b-2,...) I want to be able to enter a letter into a symbol box and translate it to the number. This will allow me to enter rehearsal letters from parts that cue up a sequence to the right spot. I can think of very unattractive ways to do this in Pd using select. Is there an elegant way? Best Wishes, David [1] https://devel.goto10.org/filedetails.php?repname=maximuspath=%2F2008%2Flac%2Fkey-handler.luarev=0sc=0 -- http://claudiusmaximus.goto10.org ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] newbie questions(ableton)
On 13 Feb 2008, at 13:48, Derek Holzer wrote: Latest version of Ableton (Live 7)doesn't seem to work with JackOSX. Too bad. I used this method for a while with Live 5 and it worked fine. I just tried Live 7 taking channels from Soundflower and sending to Soundflower from PD, and that works fine. http://www.cycling74.com/products/soundflower d ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
Jaime Oliver wrote: pix_record was crashing constantly in osx 10.4.11 gem 0.91-cvs and pd-0.40-1 powerbook ppc. That's been my experience so far too. there was a thread about it not that long ago. Maybe in gem-dev. best, Thanks. I'll look for it. Meanwhile, what recommendations does anyone have for other methods of making a DVD of Gem output, *not* necessarily involving having Gem itself create a file? Thanks. J On Feb 13, 2008 1:57 AM, marius schebella [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dudley Brooks wrote: marius schebella wrote: have a look at pix_record. Thanks for telling me about it. it is a little bit challenging to use... Do you mean that it's hard to figure out how to use it, or that it might overload the computer's processing power? yes, hard to figure out, offers some sources where you could run into problems (memory space, finding good resolution settings/a balance of available space and image quality, so that you can use it for your dvd), it also crashed in the past. but that should not keep you from trying, just don't give up if it does not work in the first time. it is still easier than using pix_write. marius. ___ PD-list@iem.at mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] www.realidadvisual.org/jaimeoliver http://www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ http://www-crca.ucsd.edu/ www.realidadvisual.org http://www.realidadvisual.org 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Comments on pd as a library to be used in game
Hi! Chris McCormick escribió: (...) Which seems to vaguely work, although I haven't made it make a sound yet. Anyway, I think this could be a good strategy for tying Pd into Blender. I would suggest running Pd in a separate thread and using a mutexed queue to pass it messages which would then be read from the queue inside the same thread where Pd was running and passed into Pd in that thread by using the standard Pd message generating functions. So basically the game engine and Pd-in-a-thread would only communicate by message passing over this mutexed queue which should eliminate deadlocks etc. Yeah that would be the idea I think. (sounds good to me at least). Cheers! Pablo ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Comments on pd as a library to be used in game
hi! marius schebella escribió: Patrice Colet wrote: marius schebella a écrit : It would be great to have python modules that ease the communication between Blender and PureData, with FUDI or OSCx! why do you want to run all communication through python? or do you mean on the blender side? there are libraries (mrpeach and oscx, maybe even others) that do osc communication. marius. I think he means more something like a python module to easily start and stop puredata instances, manages patches and so on if that's even possible, while the communication itself would work over osc not even going through python (at least that's what i'd do). Cheers! Pablo ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Comments on pd as a library to be used in game
Part of the trouble is that only one instance of Pd can live in any given address space (because of widespread use of static variables). This is fine for linking Pd into a video game where you'd only want one instance, but if you want multiple ones you'd want to sprout separate Pd processes with pipes or sockets. Not that I don't think that would be a useful trick! cheers M On Wed, Feb 13, 2008 at 06:52:08PM +0100, Pablo Martin wrote: Yes, but... why doesnt pd already export some kind of library? In a way it sucks that such a powerful engine is trapped inside a binary in that way, a good library would allow embedding in better ways, as well as ease experiments like desiredata or any others that might follow (thats my opinion at least). I'm asking because its veery strange to me that this didn't happen already. Maybe some design decision? I know we can hack something though (like the vst guy), but still... Cheers! Pablo Miller Puckette escribi?: No -- there ought to be, but it never makes it to the top of the priority heap. M On Tue, Feb 12, 2008 at 01:30:11PM -0500, marius schebella wrote: that sounds promising! maybe still a little too ambitious for someone who does not know the pd source at all (aka me). is there an overall introductory explanation of how the various source codes components work together besides the source code and in code documentation itself? marius. Miller Puckette wrote: Pdvst, by Joe Sarlo, does something related (embeds Pd as a VST plug-in; windows only). It uses the Pd executable, plugging in a user-supplied scheduler that manages audio and control I/O to the calling program. Since there might be several Pdvst plug-ins active at a time, each gets its own address space, which is probably more work than you need to do for the game. It should be possible simply to compile Pd without including s_main.c or s_entry.c, call the setup routines that sys_main does and then just write your own main loop to replace m_callbackscheduler() or m_pollingscheduler() depending on which side of that religious divide you want to occupy :) M On Tue, Feb 12, 2008 at 12:41:30PM -0500, marius schebella wrote: hi, I want to help with that project. I would have spend time on research and development into that direction also without the apricot game (for school), and was looking for a possibility like this. so the combination with blender and working on a real project is perfect. who is coordinating the efforts? regarding feasibility, I am not sure how easy the whole thing is. you for example will want to do all the sound/driver settings from within the game, which means pd has to be able to change this by sending commands. as far as I know this is not possible with current core pd. but all the overall work on sound/patches could be started immediately, and network connection to send game parameters is also existing already (and can still be changed later). marius. Pablo Martin wrote: Hi! Blender foundation together with crystalspace community just started making a kickass game http://apricot.blender.org. We are thinking about using puredata to handle the music system (and maybe also some more cool stuff), but I think it'd be important to be able to have puredata as a library to link and control it easier from the game (instead of running a separate process and handling all communication with osc socket). I think there was some work in progress in this direction with desiredata but i cant be so sure... can anybody confirm on the status of this or if its feasible at all? My general idea on the subject is we should be able to run pd as a game engine plugin (instead of our own sound system for example), and handle opening the different patches for different stuff, as well of communicating with each of them. Another thing, i'd like to hear from people who have used pd in games to know exactly what you did with it. I am one of main devs for the project, and i have great puredata experience, so i think it'd be very interesting to work on this, still, we are very time pressed so integrating pd should not pose too much runtime or distribution basic problems, specially the lib thing distresses me (and handling of patches from there). Just so everyone knows, we do have osc receiver in the game engine, so we could basically plug pd stuff to anywhere from object positions to shader variables to do funky stuff, sending osc messages to pd as part of logic also is not a problem. Cheers! Pablo ___ 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 -
Re: [PD] Letter - Number
Hallo, David F. Place hat gesagt: // David F. Place wrote: Thanks. I prefer to stick with vanilla Pd to make it easier to port. Select will certainly work. I have to translate 50 letters ('I' is never used as a rehearsal letter), so it is quite an ugly patch. To make it more beautiful, you could use an abstraction transl.pd with these objects inside: route float select $1 f $2 then make a chain of these: transl a 1 transl b 2 transl c 3 ... I currently cannot type bracket and pipe symbols in my terminal, so completing the patches above is left as an exercise for interested readers. ;) Ciao -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
Dudley Brooks wrote: Meanwhile, what recommendations does anyone have for other methods of making a DVD of Gem output, I record my actions during performance, then later play them back into my patch with pix_write and writesf~ activated. Pd uses 1000% CPU load, and stutters during rendering, but audio and video remain in sync. I have the [gemwin] at 720x576 25fps, for PAL DVD rendering. Then simply encode the TIFF files with your video software - I have a longwinded process that works with the following free tools: for video: convert manypngtoppm [1] ppmtoy4m y4mscaler (because ppmtoy4m is crap at chroma subsampling) mpeg2enc for audio: audacity (to trim to exact length, normalize volume, etc) twolame then: mplex and finally: dvdauthor mkisofs growisofs *not* necessarily involving having Gem itself create a file? maybe recordmydesktop - but I seem to recall it supports only Ogg codecs... BTW, I'm on Linux, but the above tools might work on OS X too. Claude [1] converts multiple pngs into one ppm stream https://devel.goto10.org/filedetails.php?repname=maximuspath=%2Fmanypngtoppm%2Fmanypngtoppm.crev=0sc=0 -- http://claudiusmaximus.goto10.org ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] open with on os x
It's not a secret, it's decently documented on Apple's site. The registration happens when you start the app. The OS reads the Contents/Info.plist that's inside the app when you launch it. .hc On Feb 12, 2008, at 6:46 PM, marius schebella wrote: true. it is apple's big secret where exactly this gets registered... marius. Hans-Christoph Steiner wrote: Yup, fun fun fun. I have found that it'll only register a given copy of Pd if you run it. .hc On Feb 12, 2008, at 5:27 PM, marius schebella wrote: the latest on this topic. I finally figured out, why osx associates so many Pd versions with the *.pd file extension. osx indexes also applications that are not in the /Applications folder at all, but somewhere on the harddrive (for example in build folders or downloaded files folders). I only got rid of these versions in the open with entries by deleting the unwanted apps themselves. both open with and also the drop down menu in the get info dialog are working again. I also think different release versions which use the same pref file, like org.puredata.plist (in ~/Library/Preferences) will always switch to the newest version by default, therefore you cannot chose version 40-2 if there is also a version 40-3, 41.0. since some pd versions use a different name for the prefs file, it is sometimes possible to set another pd version as the default app for *.pd files. marius. marius schebella wrote: Yes, that is true, but it was the only possibility to get rid of the double entries. at least the only one that I found. marius. Hans-Christoph Steiner wrote: Watch out, I am pretty sure that it deletes all your associations as well, and will prompt you again with the this App hasn't been run before, run it? dialog. .hc On Oct 31, 2007, at 12:44 PM, Dafydd Hughes wrote: boy. i'm gonna bookmark this one! On 31-Oct-07, at 12:39 PM, marius schebella wrote: I finally found the solution to this annoying problem. you have to rebuild the launch service database (see http:// www.macosxhints.com/article.php?story=20031215144430486 ) I ran the following command, and that fixed it. /System/Library/Frameworks/ApplicationServices.framework/ Frameworks/LaunchServices.framework/Support/lsregister -kill - r -domain local -domain system -domain user marius. Hans-Christoph Steiner wrote: This is a bug I run into a lot. Basically, if you have a lot of versions of Pd, it confused the assocations system. Try removing random ones. I have found that I have to clean out the associations system from time to time because I am always trying many different versions. I forgot how to do it now... I think it's done by deleting some file in /Library/Caches and rebooting. .hc On Oct 2, 2007, at 11:45 AM, marius schebella wrote: yes, that should do it, but not here. when I select Pd- extended it immediately get reset. there must be some hidden mechanism that always choses the newer version or a file where that is stored... I have no clue what I have to search for to get this fixed. marius. Dafydd Hughes wrote: Hi Marius This worked for me: In Finder, Get Info on any Pd file, Open With - choose your version - Change All... Hope this helps cheers dafydd On 10/2/07, marius schebella [EMAIL PROTECTED] wrote: Hi, I have two versions of pd-extended on my mac: pd-extended (0.39) and pd-0.40.3-extended. I want all pd files to be opened with 0.39 by default. Instead os x tries to open all Pd files with a version (0.40.3) which I deleted some time ago. oh, how I hate stupid MACOS X! anyway, how can I change that. I tried to use applications like xray, but whenever I change the settings to the older version it gets overwritten by that fascist OS that thinks it is cleverer than me. marius. ___ 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 --- - Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.- William Carlos Williams -- www.sideshowmedia.ca skype: chickeninthegrass -- -- Access to computers should be unlimited and total. - the hacker ethic - --- http:// at.or.at/hans/ All information should be free. - the hacker ethic
Re: [PD] Comments on pd as a library to be used in game
Yes, but... why doesnt pd already export some kind of library? In a way it sucks that such a powerful engine is trapped inside a binary in that way, a good library would allow embedding in better ways, as well as ease experiments like desiredata or any others that might follow (thats my opinion at least). I'm asking because its veery strange to me that this didn't happen already. Maybe some design decision? I know we can hack something though (like the vst guy), but still... Cheers! Pablo Miller Puckette escribió: No -- there ought to be, but it never makes it to the top of the priority heap. M On Tue, Feb 12, 2008 at 01:30:11PM -0500, marius schebella wrote: that sounds promising! maybe still a little too ambitious for someone who does not know the pd source at all (aka me). is there an overall introductory explanation of how the various source codes components work together besides the source code and in code documentation itself? marius. Miller Puckette wrote: Pdvst, by Joe Sarlo, does something related (embeds Pd as a VST plug-in; windows only). It uses the Pd executable, plugging in a user-supplied scheduler that manages audio and control I/O to the calling program. Since there might be several Pdvst plug-ins active at a time, each gets its own address space, which is probably more work than you need to do for the game. It should be possible simply to compile Pd without including s_main.c or s_entry.c, call the setup routines that sys_main does and then just write your own main loop to replace m_callbackscheduler() or m_pollingscheduler() depending on which side of that religious divide you want to occupy :) M On Tue, Feb 12, 2008 at 12:41:30PM -0500, marius schebella wrote: hi, I want to help with that project. I would have spend time on research and development into that direction also without the apricot game (for school), and was looking for a possibility like this. so the combination with blender and working on a real project is perfect. who is coordinating the efforts? regarding feasibility, I am not sure how easy the whole thing is. you for example will want to do all the sound/driver settings from within the game, which means pd has to be able to change this by sending commands. as far as I know this is not possible with current core pd. but all the overall work on sound/patches could be started immediately, and network connection to send game parameters is also existing already (and can still be changed later). marius. Pablo Martin wrote: Hi! Blender foundation together with crystalspace community just started making a kickass game http://apricot.blender.org. We are thinking about using puredata to handle the music system (and maybe also some more cool stuff), but I think it'd be important to be able to have puredata as a library to link and control it easier from the game (instead of running a separate process and handling all communication with osc socket). I think there was some work in progress in this direction with desiredata but i cant be so sure... can anybody confirm on the status of this or if its feasible at all? My general idea on the subject is we should be able to run pd as a game engine plugin (instead of our own sound system for example), and handle opening the different patches for different stuff, as well of communicating with each of them. Another thing, i'd like to hear from people who have used pd in games to know exactly what you did with it. I am one of main devs for the project, and i have great puredata experience, so i think it'd be very interesting to work on this, still, we are very time pressed so integrating pd should not pose too much runtime or distribution basic problems, specially the lib thing distresses me (and handling of patches from there). Just so everyone knows, we do have osc receiver in the game engine, so we could basically plug pd stuff to anywhere from object positions to shader variables to do funky stuff, sending osc messages to pd as part of logic also is not a problem. Cheers! Pablo ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ 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] Saving Gem output as video file on MacOSX ?
a crashlog would help a lot. On Feb 13, 2008 4:17 AM, Jaime Oliver [EMAIL PROTECTED] wrote: pix_record was crashing constantly in osx 10.4.11 gem 0.91-cvs and pd-0.40-1 powerbook ppc.there was a thread about it not that long ago. Maybe in gem-dev. best, J On Feb 13, 2008 1:57 AM, marius schebella [EMAIL PROTECTED] wrote: Dudley Brooks wrote: marius schebella wrote: have a look at pix_record. Thanks for telling me about it. it is a little bit challenging to use... Do you mean that it's hard to figure out how to use it, or that it might overload the computer's processing power? yes, hard to figure out, offers some sources where you could run into problems (memory space, finding good resolution settings/a balance of available space and image quality, so that you can use it for your dvd), it also crashed in the past. but that should not keep you from trying, just don't give up if it does not work in the first time. it is still easier than using pix_write. marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Jaime E Oliver LR [EMAIL PROTECTED] www.realidadvisual.org/jaimeoliver www-crca.ucsd.edu/ www.realidadvisual.org 9168 Regents Rd. Apt. G La Jolla, CA 92037 USA ___ 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] Letter - Number
On Feb 12, 2008, at 11:51 PM, marius schebella wrote: you could use msgfile from zexy and write your transaltions into a textfile a 1; b 2; c 3; ... and then [r letter] | [rewind, find $1( | [msgfile] | [$2( | [s number] pool (thomas grill) also has dictionary lookup features. but I am not sure if any of these solutions is more elegant then select, and select is quite fast. how many letters do you have? marius. Thanks. I prefer to stick with vanilla Pd to make it easier to port. Select will certainly work. I have to translate 50 letters ('I' is never used as a rehearsal letter), so it is quite an ugly patch. David F. Place wrote: Dear Pd Friends: I need to create a mapping from letters into numbers: (A-1,a-1,B-2,b-2,...) I want to be able to enter a letter into a symbol box and translate it to the number. This will allow me to enter rehearsal letters from parts that cue up a sequence to the right spot. I can think of very unattractive ways to do this in Pd using select. Is there an elegant way? Best Wishes, David ___ (---o---o-o-o---o-o-o( David F. Place mailto:[EMAIL PROTECTED] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list ___ (---o---o-o-o---o-o-o( David F. Place mailto:[EMAIL PROTECTED] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] open with on os x
but the registration is system intern and I cannot access it and change it and therefore have problems when I want to use a different release version as default. after googleing information on how Info.plist works, I came across this link http://www.dribin.org/dave/blog/archives/2006/08/02/versioning_os_x_apps/ and thought maybe changing the CfBundleVersion entry to a correct format (nn.n.nxnnn) could solve this problem, but I am not sure (I will try...). what do you think? marius. Hans-Christoph Steiner wrote: It's not a secret, it's decently documented on Apple's site. The registration happens when you start the app. The OS reads the Contents/Info.plist that's inside the app when you launch it. .hc On Feb 12, 2008, at 6:46 PM, marius schebella wrote: true. it is apple's big secret where exactly this gets registered... marius. Hans-Christoph Steiner wrote: Yup, fun fun fun. I have found that it'll only register a given copy of Pd if you run it. .hc On Feb 12, 2008, at 5:27 PM, marius schebella wrote: the latest on this topic. I finally figured out, why osx associates so many Pd versions with the *.pd file extension. osx indexes also applications that are not in the /Applications folder at all, but somewhere on the harddrive (for example in build folders or downloaded files folders). I only got rid of these versions in the open with entries by deleting the unwanted apps themselves. both open with and also the drop down menu in the get info dialog are working again. I also think different release versions which use the same pref file, like org.puredata.plist (in ~/Library/Preferences) will always switch to the newest version by default, therefore you cannot chose version 40-2 if there is also a version 40-3, 41.0. since some pd versions use a different name for the prefs file, it is sometimes possible to set another pd version as the default app for *.pd files. marius. marius schebella wrote: Yes, that is true, but it was the only possibility to get rid of the double entries. at least the only one that I found. marius. Hans-Christoph Steiner wrote: Watch out, I am pretty sure that it deletes all your associations as well, and will prompt you again with the this App hasn't been run before, run it? dialog. .hc On Oct 31, 2007, at 12:44 PM, Dafydd Hughes wrote: boy. i'm gonna bookmark this one! On 31-Oct-07, at 12:39 PM, marius schebella wrote: I finally found the solution to this annoying problem. you have to rebuild the launch service database (see http://www.macosxhints.com/article.php?story=20031215144430486 ) I ran the following command, and that fixed it. /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user marius. Hans-Christoph Steiner wrote: This is a bug I run into a lot. Basically, if you have a lot of versions of Pd, it confused the assocations system. Try removing random ones. I have found that I have to clean out the associations system from time to time because I am always trying many different versions. I forgot how to do it now... I think it's done by deleting some file in /Library/Caches and rebooting. .hc On Oct 2, 2007, at 11:45 AM, marius schebella wrote: yes, that should do it, but not here. when I select Pd-extended it immediately get reset. there must be some hidden mechanism that always choses the newer version or a file where that is stored... I have no clue what I have to search for to get this fixed. marius. Dafydd Hughes wrote: Hi Marius This worked for me: In Finder, Get Info on any Pd file, Open With - choose your version - Change All... Hope this helps cheers dafydd On 10/2/07, marius schebella [EMAIL PROTECTED] wrote: Hi, I have two versions of pd-extended on my mac: pd-extended (0.39) and pd-0.40.3-extended. I want all pd files to be opened with 0.39 by default. Instead os x tries to open all Pd files with a version (0.40.3) which I deleted some time ago. oh, how I hate stupid MACOS X! anyway, how can I change that. I tried to use applications like xray, but whenever I change the settings to the older version it gets overwritten by that fascist OS that thinks it is cleverer than me. marius. ___ 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 Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams --
Re: [PD] Saving Gem output as video file on MacOSX ?
another way to record your performances is to mirror your display and feed the output with a dv camera or some other device. recording your actions is brilliant but a lot of effort during patching. marius. Claude Heiland-Allen wrote: Dudley Brooks wrote: Meanwhile, what recommendations does anyone have for other methods of making a DVD of Gem output, I record my actions during performance, then later play them back into my patch with pix_write and writesf~ activated. Pd uses 1000% CPU load, and stutters during rendering, but audio and video remain in sync. I have the [gemwin] at 720x576 25fps, for PAL DVD rendering. Then simply encode the TIFF files with your video software - I have a longwinded process that works with the following free tools: for video: convert manypngtoppm [1] ppmtoy4m y4mscaler (because ppmtoy4m is crap at chroma subsampling) mpeg2enc for audio: audacity (to trim to exact length, normalize volume, etc) twolame then: mplex and finally: dvdauthor mkisofs growisofs *not* necessarily involving having Gem itself create a file? maybe recordmydesktop - but I seem to recall it supports only Ogg codecs... BTW, I'm on Linux, but the above tools might work on OS X too. Claude [1] converts multiple pngs into one ppm stream https://devel.goto10.org/filedetails.php?repname=maximuspath=%2Fmanypngtoppm%2Fmanypngtoppm.crev=0sc=0 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] libdir_loader pd-extended
The libdir stuff hasn't changed in probably over a year, so I don't know how new it is. There is lots in the archives about it: http://lists.puredata.info/search/PD-list? query=libdirmax=20result=normalsort=score And a doc for it: http://puredata.info/docs/developer/Libdir .hc On Feb 12, 2008, at 7:52 PM, marius schebella wrote: hey hans, can you explain the new concept behind the libdir_loader. is this only for osx? and does this conflict with plists files in ~/Library/Preferences? how can I add stuff to the libdir_loader? or use declare? which pdX versions have this loader? thnks, marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you. - Richard M. Stallman ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] *.lua = *.pd_lua or *.l_lua?
On Feb 13, 2008, at 3:44 AM, IOhannes m zmoelnig wrote: Hans-Christoph Steiner wrote: I think this kind of thing should be caused by a real world problem rather than a hypothetical. i think this discussion _is_ triggered by a real world problem, and you seem to try making it hypothetical. I guess I missed it then, where was it described? Here's how the thread started: Currently pdlua loads all *.lua files, which complicates working with *.lua modules not intended to be used as pd classes: Those would have to be in a directory outside of Pd's search path to not pollute Pd's namespace. So how about using Pd's normal tools for handling name clashes and additionally, using a naming prefix like lib for the lua files that are not intended to be Pd objectclasses (as I described earlier)? Another possibility is using a subdir for these files. Then we would not have to break the .lua naming convention and still solve the problem easily. And people wouldn't have to learn a new detail to get things working. They would then need good style once they get things working, which I think is a preferrable to having to learn naming conventions in order to get things working. .hc Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] open with on os x
Can't hurt. Let us know what happens. .hc On Feb 13, 2008, at 2:08 PM, marius schebella wrote: but the registration is system intern and I cannot access it and change it and therefore have problems when I want to use a different release version as default. after googleing information on how Info.plist works, I came across this link http://www.dribin.org/dave/blog/archives/2006/08/02/ versioning_os_x_apps/ and thought maybe changing the CfBundleVersion entry to a correct format (nn.n.nxnnn) could solve this problem, but I am not sure (I will try...). what do you think? marius. Hans-Christoph Steiner wrote: It's not a secret, it's decently documented on Apple's site. The registration happens when you start the app. The OS reads the Contents/Info.plist that's inside the app when you launch it. .hc On Feb 12, 2008, at 6:46 PM, marius schebella wrote: true. it is apple's big secret where exactly this gets registered... marius. Hans-Christoph Steiner wrote: Yup, fun fun fun. I have found that it'll only register a given copy of Pd if you run it. .hc On Feb 12, 2008, at 5:27 PM, marius schebella wrote: the latest on this topic. I finally figured out, why osx associates so many Pd versions with the *.pd file extension. osx indexes also applications that are not in the /Applications folder at all, but somewhere on the harddrive (for example in build folders or downloaded files folders). I only got rid of these versions in the open with entries by deleting the unwanted apps themselves. both open with and also the drop down menu in the get info dialog are working again. I also think different release versions which use the same pref file, like org.puredata.plist (in ~/Library/Preferences) will always switch to the newest version by default, therefore you cannot chose version 40-2 if there is also a version 40-3, 41.0. since some pd versions use a different name for the prefs file, it is sometimes possible to set another pd version as the default app for *.pd files. marius. marius schebella wrote: Yes, that is true, but it was the only possibility to get rid of the double entries. at least the only one that I found. marius. Hans-Christoph Steiner wrote: Watch out, I am pretty sure that it deletes all your associations as well, and will prompt you again with the this App hasn't been run before, run it? dialog. .hc On Oct 31, 2007, at 12:44 PM, Dafydd Hughes wrote: boy. i'm gonna bookmark this one! On 31-Oct-07, at 12:39 PM, marius schebella wrote: I finally found the solution to this annoying problem. you have to rebuild the launch service database (see http:// www.macosxhints.com/article.php?story=20031215144430486 ) I ran the following command, and that fixed it. /System/Library/Frameworks/ApplicationServices.framework/ Frameworks/LaunchServices.framework/Support/lsregister - kill -r -domain local -domain system -domain user marius. Hans-Christoph Steiner wrote: This is a bug I run into a lot. Basically, if you have a lot of versions of Pd, it confused the assocations system. Try removing random ones. I have found that I have to clean out the associations system from time to time because I am always trying many different versions. I forgot how to do it now... I think it's done by deleting some file in /Library/Caches and rebooting. .hc On Oct 2, 2007, at 11:45 AM, marius schebella wrote: yes, that should do it, but not here. when I select Pd- extended it immediately get reset. there must be some hidden mechanism that always choses the newer version or a file where that is stored... I have no clue what I have to search for to get this fixed. marius. Dafydd Hughes wrote: Hi Marius This worked for me: In Finder, Get Info on any Pd file, Open With - choose your version - Change All... Hope this helps cheers dafydd On 10/2/07, marius schebella [EMAIL PROTECTED] wrote: Hi, I have two versions of pd-extended on my mac: pd- extended (0.39) and pd-0.40.3-extended. I want all pd files to be opened with 0.39 by default. Instead os x tries to open all Pd files with a version (0.40.3) which I deleted some time ago. oh, how I hate stupid MACOS X! anyway, how can I change that. I tried to use applications like xray, but whenever I change the settings to the older version it gets overwritten by that fascist OS that thinks it is cleverer than me. marius. ___ 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 - --- Man has survived hitherto because he was too ignorant to know
Re: [PD] Saving Gem output as video file on MacOSX ?
marius schebella a écrit : another way to record your performances is to mirror your display and feed the output with a dv camera or some other device. this will limit the quality. recording your actions is brilliant but a lot of effort during patching. in fact, not so much effort. specially if you use this abstractions. you just have to insert a [rec_play_any data_name] on every connections you need to record. then the [master_rec_play] allow you to record everything in a qlist, and play it latter in order to record sound/images. this is known to gives good result. the single magic line i use to create a movie is : mencoder -oac mp3lame -lameopts cbr:br=256:aq=0 -audiofile rec_.wav -fps 50 -ss 0 -ovc xvid -xvidencopts bitrate=5000 -vop scale=640:480 mf://*.jpg -o out.avi cyrille marius. Claude Heiland-Allen wrote: Dudley Brooks wrote: Meanwhile, what recommendations does anyone have for other methods of making a DVD of Gem output, I record my actions during performance, then later play them back into my patch with pix_write and writesf~ activated. Pd uses 1000% CPU load, and stutters during rendering, but audio and video remain in sync. I have the [gemwin] at 720x576 25fps, for PAL DVD rendering. Then simply encode the TIFF files with your video software - I have a longwinded process that works with the following free tools: for video: convert manypngtoppm [1] ppmtoy4m y4mscaler (because ppmtoy4m is crap at chroma subsampling) mpeg2enc for audio: audacity (to trim to exact length, normalize volume, etc) twolame then: mplex and finally: dvdauthor mkisofs growisofs *not* necessarily involving having Gem itself create a file? maybe recordmydesktop - but I seem to recall it supports only Ogg codecs... BTW, I'm on Linux, but the above tools might work on OS X too. Claude [1] converts multiple pngs into one ppm stream https://devel.goto10.org/filedetails.php?repname=maximuspath=%2Fmanypngtoppm%2Fmanypngtoppm.crev=0sc=0 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list master_rec_play-help.pd Description: application/extension-pd rec_play_any.pd Description: application/extension-pd master_rec_play.pd Description: application/extension-pd ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [key] vs symbolatom [Was: Re: Letter - Number]
On Feb 13, 2008, at 4:52 AM, Roman Haefeli wrote: just in case, you didn't know the objectclass, there is a objectclass [key], which outputs a number, whenever a key is pressd. since you want to press only single keys, having to press enter after each keypress could be a pain. I use [key] to implement simple controls for my program. I also use symbolatom to accept alphanumeric input. These two uses often clash however. If I want to enter a string that contains one of my command letters the command is triggered. I would prefer that keystrokes are not sent to [key] when a symbolatom is selected for input. Does anyone agree? ___ (---o---o-o-o---o-o-o( David F. Place mailto:[EMAIL PROTECTED] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
Olivier Heinry wrote: The last time I tried to pix_record on OSX (on a Dual G5 running Panther, 2Go RAM) , I switched to Gem2pdp + pdp_rec because the Mac couldnt handle it in realtime for a 640x480 window and PDP made it (might be related to PDP multithread capability). I'm sorry, what is pdp_rec? It won't create, and I don't find it listed. The only thing I find that seems to be able to write to a file is pdp_rawout. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [key] vs symbolatom [Was: Re: Letter - Number]
Hallo, David F. Place hat gesagt: // David F. Place wrote: I use [key] to implement simple controls for my program. I also use symbolatom to accept alphanumeric input. These two uses often clash however. If I want to enter a string that contains one of my command letters the command is triggered. I would prefer that keystrokes are not sent to [key] when a symbolatom is selected for input. Does anyone agree? Workaround: You could use a key, that is seldom used (e.g. F-keys) to disable and enable your key commands. Ciao -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
maybe recordmydesktop - but I seem to recall it supports only Ogg codecs... BTW, I'm on Linux, but the above tools might work on OS X too. Haven't folowed this entire thread but also want to mention Yukon on Linux works for recording Gem output. Site seems to be down at the moment http://www.neopsis.com/projects/yukon/ . Also a good list of screen capture tools for Linux here. I've also used Istanbul. http://linuxmafia.com/faq/Apps/desktop-video-capture.html Jim ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Letter - Number
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: Hallo, David F. Place hat gesagt: // David F. Place wrote: Thanks. I prefer to stick with vanilla Pd to make it easier to port. Select will certainly work. I have to translate 50 letters ('I' is never used as a rehearsal letter), so it is quite an ugly patch. To make it more beautiful, you could use an abstraction transl.pd with these objects inside: route float select $1 f $2 then make a chain of these: transl a 1 transl b 2 transl c 3 ... I currently cannot type bracket and pipe symbols in my terminal, so completing the patches above is left as an exercise for interested readers. ;) Solution attached. Includes a little bonus (that requires list-abs) Ciao -- Frank Barknecht _ __footils.org__ transl.pd Description: application/puredata transl-help.pd Description: application/puredata ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] audio prefs messaging?
hi list is there a way to send a semicolon message to pd that tells the system to use a specific sound output device and number of output channels? it's not too hard to go to the menu and select it from there, but it'd be so handy this way. and while we're at it, whats the best bet for downloading pd extended for leopard? didnt find a specific link. tak pf ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] open with on os x
ok. since steffen got different behaviour on his computer, I did some more testing, and indeed with the current format given in plist for the key CfBundleVersion this information is useless, because osx cannot interpret it correctly. that means the default app is the one that you installed first. also, Info.plist is only read the very first time you start the application, so in order for the version number to take effect, you have to delete the app and reinstall it. I tested two different autobuild versions, one from 20071117 and one from 20080117. the one that I installed first became the default version and could not be changed later. then I used a different format for CfBundleVersion (0403.71.117 vs. 4003.80.117 [osx will only read 9 numbers!]) and then always the latest release became the default, no matter which version was installed first. I don't know what a good version naming scheme would be, and also pd-extended does not conflict with pd vanilla or for example netpd (I guess because these use different preference files for plist). so - the advantage of using CfBundleVersion would be that always the latest (of several) autobuild versions would be selected as the default app to open *.pd (and *.pat) files. I think this would be helpful marius. Hans-Christoph Steiner wrote: Can't hurt. Let us know what happens. .hc On Feb 13, 2008, at 2:08 PM, marius schebella wrote: but the registration is system intern and I cannot access it and change it and therefore have problems when I want to use a different release version as default. after googleing information on how Info.plist works, I came across this link http://www.dribin.org/dave/blog/archives/2006/08/02/versioning_os_x_apps/ and thought maybe changing the CfBundleVersion entry to a correct format (nn.n.nxnnn) could solve this problem, but I am not sure (I will try...). what do you think? marius. Hans-Christoph Steiner wrote: It's not a secret, it's decently documented on Apple's site. The registration happens when you start the app. The OS reads the Contents/Info.plist that's inside the app when you launch it. .hc On Feb 12, 2008, at 6:46 PM, marius schebella wrote: true. it is apple's big secret where exactly this gets registered... marius. Hans-Christoph Steiner wrote: Yup, fun fun fun. I have found that it'll only register a given copy of Pd if you run it. .hc On Feb 12, 2008, at 5:27 PM, marius schebella wrote: the latest on this topic. I finally figured out, why osx associates so many Pd versions with the *.pd file extension. osx indexes also applications that are not in the /Applications folder at all, but somewhere on the harddrive (for example in build folders or downloaded files folders). I only got rid of these versions in the open with entries by deleting the unwanted apps themselves. both open with and also the drop down menu in the get info dialog are working again. I also think different release versions which use the same pref file, like org.puredata.plist (in ~/Library/Preferences) will always switch to the newest version by default, therefore you cannot chose version 40-2 if there is also a version 40-3, 41.0. since some pd versions use a different name for the prefs file, it is sometimes possible to set another pd version as the default app for *.pd files. marius. marius schebella wrote: Yes, that is true, but it was the only possibility to get rid of the double entries. at least the only one that I found. marius. Hans-Christoph Steiner wrote: Watch out, I am pretty sure that it deletes all your associations as well, and will prompt you again with the this App hasn't been run before, run it? dialog. .hc On Oct 31, 2007, at 12:44 PM, Dafydd Hughes wrote: boy. i'm gonna bookmark this one! On 31-Oct-07, at 12:39 PM, marius schebella wrote: I finally found the solution to this annoying problem. you have to rebuild the launch service database (see http://www.macosxhints.com/article.php?story=20031215144430486 ) I ran the following command, and that fixed it. /System/Library/Frameworks/ApplicationServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user marius. Hans-Christoph Steiner wrote: This is a bug I run into a lot. Basically, if you have a lot of versions of Pd, it confused the assocations system. Try removing random ones. I have found that I have to clean out the associations system from time to time because I am always trying many different versions. I forgot how to do it now... I think it's done by deleting some file in /Library/Caches and rebooting. .hc On Oct 2, 2007, at 11:45 AM, marius schebella wrote: yes, that should do it, but not here. when I select Pd-extended it immediately get reset. there must be some hidden mechanism that always choses the newer version or a file where that is stored... I have
Re: [PD] audio prefs messaging?
the latest version is Pd-0.40.3-extended-20080117-macosx104-i386.dmg or Pd-0.40.3-extended-20080117-macosx104-powerpc.dmg from http://autobuild.puredata.info/auto-build/2008-01-17 depending on whether you have a ppc or an intel machine. the download section on puredata.info is not helpful with that. I don't know what the latest *stable* release is, but with the latest autobuild you get some important fixes, but will also lack some helpfiles (which probably were included in the last stable release??). marius. potax flan wrote: hi list is there a way to send a semicolon message to pd that tells the system to use a specific sound output device and number of output channels? it's not too hard to go to the menu and select it from there, but it'd be so handy this way. and while we're at it, whats the best bet for downloading pd extended for leopard? didnt find a specific link. tak pf ___ 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] *.lua = *.pd_lua or *.l_lua?
On Wed, Feb 13, 2008 at 02:29:31PM -0500, Hans-Christoph Steiner wrote: Currently pdlua loads all *.lua files, which complicates working with *.lua modules not intended to be used as pd classes: Those would have to be in a directory outside of Pd's search path to not pollute Pd's namespace. So how about using Pd's normal tools for handling name clashes and additionally, using a naming prefix like lib for the lua files that are not intended to be Pd objectclasses (as I described earlier)? Another possibility is using a subdir for these files. The problem is Hans, that this is not a nameclash issue at all. The problem is that *all* .pd_linux and .pd files are meant to be read by Pd as instantiable objects. This is not true for all .lua files. It's obvious that the way around this is to make a new prefix which is always treated by pd-lua like .pd and .pd_linux files are (as an instantiable object), and keep .lua files completely separate and ignored by Pure Data. The existing Pd mechanism and convention for knowing what is instantiable is to use the file extension, which is a perfectly widespread method across many programs and operating systems ('.exe', '.so', etc. etc.). Sure, as yout pointed out earlier, you could put a .dll in a directory and instantiate it in Pd if you want, but nobody in their right mind does that because it's not the convention and causes more problems without fixing any. Adding a lib prefix or moving .lua files into a subdirectory do not solve the fundemental problem which is that currently pd-lua thinks that all lua files are instantiable, when they are quite simply not. It makes no sense whatsoever to have Pd able to load a file type which it's not supposed to be able to load. Sorry to add more noise, Chris. --- http://mccormick.cx ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Saving Gem output as video file on MacOSX ?
On Wed, Feb 13, 2008 at 09:39:40PM +0100, cyrille henry wrote: marius schebella a écrit : another way to record your performances is to mirror your display and feed the output with a dv camera or some other device. this will limit the quality. recording your actions is brilliant but a lot of effort during patching. in fact, not so much effort. specially if you use this abstractions. you just have to insert a [rec_play_any data_name] on every connections you need to record. then the [master_rec_play] allow you to record everything in a qlist, and play it latter in order to record sound/images. this is known to gives good result. the single magic line i use to create a movie is : mencoder -oac mp3lame -lameopts cbr:br=256:aq=0 -audiofile rec_.wav -fps 50 -ss 0 -ovc xvid -xvidencopts bitrate=5000 -vop scale=640:480 mf://*.jpg -o out.avi [plug] The s-abstractions collection also contains a couple of friendly GOP helper abstractions (called 'total recall') for doing this: http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-totalrecall-help.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-totalrecall.pd?root=svn http://mccormick.cx/viewcvs/*checkout*/s-abstractions/s-tr-node.pd?root=svn My mencoder script for converting jpg + mp3 to video is attached [and works in Debian Etch]. This will render a perfectly synchronised video for you at the exact framerate of Gem - usually 20fps I think. I made this video with that: http://archive.org/details/Ergates/ [/plug] Best, Chris. --- http://mccormick.cx #!/bin/sh if [ $4 != ] then mencoder -flip -mf fps=$1:type=jpg -o $4 -nosound -ovc lavc -lavcopts vcodec=mjpeg -of lavf -lavfopts format=mov:i_certify_that_my_video_stream_does_not_use_b_frames -audiofile $3 -oac copy mf://$2 #mencoder -mf fps= -ffourcc DX50 -ovc lavc -lavcopts #vcodec=mpeg4:vbitrate=9800:aspect=4/3:vhq:keyint=15 -audiofile #verspuckte_Schlucke.mp3 -oac copy -vf scale=640:480 -o #residuum-verspuckte_schlucke.avi mf://*.jpg else echo Turn jpegs into mjpeg movie with .mov container format. echo Usage: echo $0 framerate inputfilenames mp3 outputmovie.mov echo echo framerate = song length / total frames recorded echo inputfilenames = e.g. '*.jpg' echo mp3 = mp3 file containing the audio echo outputmovie.mov = movie file to write to fi ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] cozinhaberta (openkitchen) no uol
http://tecnologia.uol.com.br/ultnot/2008/02/13/ult4213u330.jhtm desculpem o X -- ricardo palmieri # 1185833173 [palm.estudiolivre.org] [skype:palmieriricardo] [jabber: [EMAIL PROTECTED] [msn: [EMAIL PROTECTED] [linux user # 392484] ___ PD-announce mailing list [EMAIL PROTECTED] 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] audio prefs messaging?
On 14/02/2008, at 1.29, potax flan wrote: is there a way to send a semicolon message to pd that tells the system to use a specific sound output device and number of output channels? Yes. But not an official supported way. it's not too hard to go to the menu and select it from there, but it'd be so handy this way. The Pd GUI and pd work by sending messages back and forth. You can listen to them by making a patch like [r pd] | [print pd-msg] Now open the audio pref., make your changes and see what's printed in the console. Something like 'audio-dialog 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 44100 50 0'. That is then the message you'd want to send to pd. Like [audio-dialog 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 44100 50 0( | [s pd] If you save the preferences (fx by sending [save-preferences( to pd) it will be stored in the preference file for next time you run Pd. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list