Re: [PD] Reverse video in the PD editor?
Hallo, Ken Restivo hat gesagt: // Ken Restivo wrote: Thanks. I went with grey for now. Not perfect but it's an improvement. I'd be careful with a fully black background: The IEMGUIs store their colors in the patch, and most patches use black labels. Ciao -- Frank Barknecht ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM-dev] new w32 binary!
Hi! IOhannes m zmoelnig [EMAIL PROTECTED] a écrit : yesterday i have managed to compile Gem on W32 (surprisingly simple that was) Can I ask which compiler do you use on w32? this version has been compiled with DirectShow9 and QuickTime7.2 support. support for tablets has been further removed. I guess they have to be both installed for having Gem loading. please test and report any bugs. Thank you, I'll give many tries! ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM-dev] new w32 binary!
[EMAIL PROTECTED] wrote: Hi! IOhannes m zmoelnig [EMAIL PROTECTED] a écrit : yesterday i have managed to compile Gem on W32 (surprisingly simple that was) Can I ask which compiler do you use on w32? Micro$oft Visual Studio 2003 (i know it's outdated, but it's the newest VS we have here at the university; gcc rulez) this version has been compiled with DirectShow9 and QuickTime7.2 support. support for tablets has been further removed. I guess they have to be both installed for having Gem loading. you don't need QuickTime installed; it will be autodetected on load and used accordingly. i don't know about DirectX, but i guess you will need it beforehand. note: i should have written DirectX-9 instead of DirectShow-9 to avoid confusion. please test and report any bugs. Thank you, I'll give many tries! cool :-) fgmasdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] IP camera and pidip
On Wed, Apr 09, 2008 at 09:15:12PM +0200, t'es in t'es bat wrote: Hello, I work for an installation with six usb webcam, i use pdp_canvas, it work fine. But in ubuntu i meet some pb for the opening of the different webcam. I work with different kind of webcam and it seemly work but i need to plug cam step by step. Often it crash pd. Maybe someone can help me for choosing the webcam. BETTER i want to use ip cam and i find some model for linux with mjpeg or jpeg motion compression. Can you give me some feedback on that kind of stuff i need also advice to get the video into pd I have Axis IP cam which produces mjpeg, from my pc i grab the wideo with wget into fifo, encoding it and cutting in parts with ffmpeg. Using parts of the video in pd. It works. problem comes when you need uninterrupted stream. Emptying buffer crashes installation. There are IP cams that produce mpeg4, 3gp (Vivotek), mp4, or other formats, but you would have to receive stream in pd and stream it from there again i guess. CtrlAltBack -- |||Ctrl + Alt + Back||| |||restart your view||| ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Reverse video in the PD editor?
On Wed, Apr 09, 2008 at 06:09:37PM -0400, marius schebella wrote: hi, you can either set it in pd.tk (color scheme) or use hcs/sys_gui to do it on the fly. huh ? that sounds great - where do i find it if i can't find it ? Pd version 0.41.0-extended-20071107, hcs is there, but havent seen sys_gui. CtrlAltBack -- |||Ctrl + Alt + Back||| |||restart your view||| ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Ambisonics for Immersive Environment
Hi, I am bit of a newbie and I'm intending to development an immersive audio-visual environment based on a mysql / xml database of sound artists. I would like to explore PD as the means of presenting data in a spatialised installation context, and ambisonics would add a lot to the experience. The options available in PD are, as I understand IEM bin_ambi http://iem.at/Members/noisternig/bin_ambi CUBEmixer http://puredata.info/Members/ritsch/News/cubemixer Ambilib http://music.york.ac.uk/mrc/download.php ambipan~, ambicube~ and vbapan~ http://cicm.mshparisnord.org/dl/ambipan.htm Does anyone have any recommedations for this? My app is, at present based in X3D, and the position of sound sources are expressed as, for example position='-3.20022 -.78022 17.05038', how complex would it be to send this spatialisation data to PD, and use to PD as the audio engine for app for further real-time manipulation? best regards milo p.s. at present i'm on a xp box. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] IP camera and pidip
Thanks for answer, .but i hope to realize a stream, i need it for my concept, Anyone have a strategy to get the ip camera stream in mjpeg in pdip for pdp_canvas Or do i have to use another lib for that job I have Axis IP cam which produces mjpeg, from my pc i grab the wideo with wget into fifo, encoding it and cutting in parts with ffmpeg. Using parts of the video in pd. It works. problem comes when you need uninterrupted stream. Emptying buffer crashes installation. There are IP cams that produce mpeg4, 3gp (Vivotek), mp4, or other formats, but you would have to receive stream in pd and stream it from there again i guess. CtrlAltBack -- |||Ctrl + Alt + Back||| |||restart your view||| ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- TNTB t'es in t'es bat 1 Rue Camille Pelletant 13210 St Remy de Provence T/: 04 90 26 95 09 P/: 06 86 86 12 19 + http://www.tntb.net === ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Ambisonics for Immersive Environment
j milo taylor wrote: Hi, I am bit of a newbie and I'm intending to development an immersive audio-visual environment based on a mysql / xml database of sound artists. I would like to explore PD as the means of presenting data in a spatialised installation context, and ambisonics would add a lot to the experience. The options available in PD are, as I understand IEM bin_ambi http://iem.at/Members/noisternig/bin_ambi CUBEmixer http://puredata.info/Members/ritsch/News/cubemixer Ambilib http://music.york.ac.uk/mrc/download.php ambipan~, ambicube~ and vbapan~ http://cicm.mshparisnord.org/dl/ambipan.htm Does anyone have any recommedations for this? My app is, at present based in X3D, and the position of sound sources are expressed as, for example position='-3.20022 -.78022 17.05038', how complex would it be to send this spatialisation data to PD, and use to PD as the audio engine for app for further real-time manipulation? the CUBEmixer (and ambisonics in general) eats spherical coordinates (in degree); i guess your coordinates are cartesian, so you have to convert them. zexy's [cart2sph] does this for you (but outputs angles in radians, so you have to convert them to degree (e.g. [rad2deg]) fgmasdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Ambisonics for Immersive Environment
Hi Milo, The IEM's ambisonics approach (binaural or with loudspeakers) is very consistent and from my point of view very well programmed (as the programming involved Thomas, Iohannes, Winfried ) The CUBEMixer is a very nice GUI combining sub-busses, direct routing, ambisonics (for headphones and speakers), room-simulation, etc., and allows you to work like on a conventional mixing desk. We've been applying the libraries mentioned above to many artistic and scientific projects over the last view years. I really can recommend to using them, as they are pretty stable. The communication with your applications might be easily implemented using OSC. Unfortunately I don't know the libraries you mentioned (Amblib, ambipan, etc.) very well. So please check for other recommendations too :) Cheers, Markus Quoting j milo taylor [EMAIL PROTECTED]: Hi, I am bit of a newbie and I'm intending to development an immersive audio-visual environment based on a mysql / xml database of sound artists. I would like to explore PD as the means of presenting data in a spatialised installation context, and ambisonics would add a lot to the experience. The options available in PD are, as I understand IEM bin_ambi http://iem.at/Members/noisternig/bin_ambi CUBEmixer http://puredata.info/Members/ritsch/News/cubemixer Ambilib http://music.york.ac.uk/mrc/download.php ambipan~, ambicube~ and vbapan~ http://cicm.mshparisnord.org/dl/ambipan.htm Does anyone have any recommedations for this? My app is, at present based in X3D, and the position of sound sources are expressed as, for example position='-3.20022 -.78022 17.05038', how complex would it be to send this spatialisation data to PD, and use to PD as the audio engine for app for further real-time manipulation? best regards milo p.s. at present i'm on a xp box. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Ambisonics for Immersive Environment
j milo taylor wrote: Hi, The options available in PD are, as I understand IEM bin_ambi http://iem.at/Members/noisternig/bin_ambi Does anyone have any recommedations for this? My app is, at present and bin_ambi is obviously for binaural rendering, so that would be my choice for doing headphone-based things. fmgasdr IOhannes ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A slightly more substantial question
Hi Ken. I haven't used the jack_transport object, and I don't know what its format is; but, assuming you can translate it into audio samples, one very simple way would be: [bang~] | [jack_transport] | ([expr] or whatever format conversion you need) | [$1 64( | [tabplay~] If you change [block~] size, then the second number in the message box would have to change too. 64 is the default number of samples per block, and [block~] outputs one bang per block. I don't know if this is necessary or not; perhaps it wouldn't stray anyway. On the other hand it might work better to make the number 72 or something higher than the block size, so you don't have gaps if it does stray... -Chuckk On Thu, Apr 10, 2008 at 4:18 AM, Ken Restivo [EMAIL PROTECTED] wrote: I'm trying to create a PD application that'll be sync'ed to jack transport as a sort of master clock. I found the jack_transport object, loaded it, and it runs. If I bang it regularly with a metro, I can see the current sample in jack transport. So far so good. My question is about what'd be the most efficient/effective way to sync up a tabplay~ or tabread4~ object to the sample clock in jack transport. So far I've considered the following approaches: 1) Bang jack_transport with the output of a sig~ or phasor~ object, getting the clock from jack, and use that to hit tabread4~ (I don't know how I'd do this with tabplay~ though, and performance is an issue so if tabplay~ is cheaper I want to use it). 2) Bang jack_transport with the output of a metro every n milliseconds, and calculate what sample I'm supposed to be at in the tabread4~ or tabplay~ object, and just re-sync periodically if they drift. If they aren't ever going to drift (i.e. if PD's internal sample clock is sync'ed to JACK), then perhaps this resyncing will only happen at the start of playing, or perhaps I only need to do it then. 3) Or, maybe, let's say if I have a loop, I just need to bang the tabplay~ whenever the sample clock in jack_transport divided the number of samples in the loop is modulo 0. That'd be simplest and probably cheapest, but I don't know if the clocks will drift. Will they? I dunno. I'm asking you guys when probably I should be asking the software instead, by just trying it out and determining empirically what works. But before I get too deep into it I'd like to get a second opinion on whether any of the above approaches will work or if there's some other technique I should be looking at. For some reason I suspect that this'll go really easily, but I want to make sure I'm not overlooking anything important. Thanks. -ken ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- http://www.badmuthahubbard.com ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Ambisonics for Immersive Environment
Hi IOhannes, Good to hear from you. Thanks for the response. The aim for my app is an installation i.e. multispeaker diffusion rather than headphones. I have stereo sources that I wish to place around the exhibition space, so bin_ambi would not be the right choice right? regards milo ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Ambisonics for Immersive Environment
Hi Milo, Then you should use the CUBEMixer or ambisonics decoder _NOT_ the bin_ambi, which is binaural sound reproduction only. Best wishes, Markus Quoting j milo taylor [EMAIL PROTECTED]: Hi IOhannes, Good to hear from you. Thanks for the response. The aim for my app is an installation i.e. multispeaker diffusion rather than headphones. I have stereo sources that I wish to place around the exhibition space, so bin_ambi would not be the right choice right? regards milo ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] A slightly more substantial question
Hallo, Ken Restivo hat gesagt: // Ken Restivo wrote: I'm trying to create a PD application that'll be sync'ed to jack transport as a sort of master clock. I found the jack_transport object, loaded it, and it runs. If I bang it regularly with a metro, I can see the current sample in jack transport. So far so good. My question is about what'd be the most efficient/effective way to sync up a tabplay~ or tabread4~ object to the sample clock in jack transport. So far I've considered the following approaches: 1) Bang jack_transport with the output of a sig~ or phasor~ object, getting the clock from jack, and use that to hit tabread4~ (I don't know how I'd do this with tabplay~ though, and performance is an issue so if tabplay~ is cheaper I want to use it). If you want to play samples with a different samplerate than the one Pd and jack are using you have to to use tabread4~. tabplay~ doesn't do any interpolation or transposition. I normally never use tabplay~ except for some quick prototyping. 2) Bang jack_transport with the output of a metro every n milliseconds, and calculate what sample I'm supposed to be at in the tabread4~ or tabplay~ object, and just re-sync periodically if they drift. If they aren't ever going to drift (i.e. if PD's internal sample clock is sync'ed to JACK), then perhaps this resyncing will only happen at the start of playing, or perhaps I only need to do it then. I've never used jack_transport, but the samplerates of Jack and Pd should never get out of sync unless something really bad happens (xruns etc), and then you have other problems. However what can get out of sync is the notion of: What time is it? Pd itself doesn't have a timeline built in, so how to deal with a global clock very much depends on what your patch looks like. Example: Jack transport can do a rewind to the beginning of a piece. A Pd patch however may not have a beginning, it might just run a process which gets modified. What should such a patch do with a rewind order? Assuming you have a Pd patch which has a beginning and which at the beginning plays a sample of 2 seconds length with tabread4~ and vline~. Now jack_transport moves the system to a time 1 second after the start of the piece. Then you either can ignore this and not play the sample at all, or you restart the sample, but with the vline~ at the position it would have 1 second after the beginning. This of course requires a slighty different patching style than if you would just ignore it - as you'd have to patch your sample player in a way that it can always start playing samples at every possible time. Ciao -- Frank Barknecht _ __footils.org__ ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Reverse video in the PD editor?
On Apr 10, 2008, at 5:17 AM, Ctrl Alt Back wrote: On Wed, Apr 09, 2008 at 06:09:37PM -0400, marius schebella wrote: hi, you can either set it in pd.tk (color scheme) or use hcs/sys_gui to do it on the fly. huh ? that sounds great - where do i find it if i can't find it ? Pd version 0.41.0-extended-20071107, hcs is there, but havent seen sys_gui. It's currently only implemented in 0.40 extended. Check out the canvas_name and window_name objects and their help patches. .hc kill your television ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] extended sql and py
You should try mjmogo's sqldb: http://puredata.info/Members/mjmogo/ Check the archives of this list for more discussion, there is quite a bit. It's a new object, but should be quite nice, and could use some testing. .hc On Apr 10, 2008, at 12:33 AM, Joseph Barrows wrote: hi puredata'ers, i want to use SQL access, and am confused as to how it get it to work, can someone explain what i need to do? it doesnt appear to be in the extended build (just installed auto build for 10 april) using ubuntu on an intel processor am happy to download and compile source if needed, i just lose track of where everything is supposed to go (and need many of the other bits of extended and dont want to compile everything from source, though i spose i could, ahh linux!) also, py is listed in the extended help, but the examples dont work (the py object is in a dotted line can not create object box) thanks, joseph -- Joseph Barrows live video performance; web site design; new media artist jjbarrows.artwww.net [EMAIL PROTECTED] ___ 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
[PD] pduino and FSRs
I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino and FSRs
Which program crashes? Which version are you using? You will get a lot of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have never seen a crash using [arduino], except when I unplug the arduino when Pd is connected to it, so I suspect the problem lies elsewhere. .hc On Apr 10, 2008, at 11:16 AM, nick burge wrote: I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [GEM-dev] new w32 binary!
On Apr 10, 2008, at 3:41 AM, IOhannes m zmoelnig wrote: [EMAIL PROTECTED] wrote: Hi! IOhannes m zmoelnig [EMAIL PROTECTED] a écrit : yesterday i have managed to compile Gem on W32 (surprisingly simple that was) Can I ask which compiler do you use on w32? Micro$oft Visual Studio 2003 (i know it's outdated, but it's the newest VS we have here at the university; gcc rulez) Shall we try to switch the Gem build to MinGW? Then we'll have automated builds, and you'll be able to make Gem Windows binaries by cross-compiling on GNU/Linux. .hc this version has been compiled with DirectShow9 and QuickTime7.2 support. support for tablets has been further removed. I guess they have to be both installed for having Gem loading. you don't need QuickTime installed; it will be autodetected on load and used accordingly. i don't know about DirectX, but i guess you will need it beforehand. note: i should have written DirectX-9 instead of DirectShow-9 to avoid confusion. please test and report any bugs. Thank you, I'll give many tries! cool :-) fgmasdr IOhannes ___ 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
[PD] lua scripting for pd objects
hi, i need to create a lot of instances (let's say 3000) of a gem abstraction. each instance has to hold it's own variables, so it is difficult to work with repeat. In the past I always used pd-messages to create these objects, but I have the feeling that it would be faster and easier to do in a scripting language like lua. are there any plans to support scripting of pd objects (in this case gem objects) within lua or any other scripting language? marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] lua scripting for pd objects
Sounds like a good time for [nqpoly4]. I have used it to manage 1000 instances of one abstraction and more than that for multiple abstractions. Check the included Gem example for nqpoly4. .hc On Apr 10, 2008, at 12:10 PM, marius schebella wrote: hi, i need to create a lot of instances (let's say 3000) of a gem abstraction. each instance has to hold it's own variables, so it is difficult to work with repeat. In the past I always used pd-messages to create these objects, but I have the feeling that it would be faster and easier to do in a scripting language like lua. are there any plans to support scripting of pd objects (in this case gem objects) within lua or any other scripting language? marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list Using ReBirth is like trying to play an 808 with a long stick.- David Zicarelli ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] lua scripting for pd objects
marius schebella wrote: are there any plans to support scripting of pd objects (in this case gem objects) within lua or any other scripting language? Support already exists to the same level that it does in Pd. You can use pd.send(name, sel, atoms) to send to subpatch's receiver. (I think, best check the examples for exact syntax.) Whether it would be useful to have a library of functions to make it easier, I don't know. Claude -- http://claudiusmaximus.goto10.org ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] lua scripting for pd objects
well, nqpoly4 asks for a very special method to write your abstraction, and I wonder if there is an overhead from additional send/receives? besides, I will try it, never used it before, thanks. marius. Hans-Christoph Steiner wrote: Sounds like a good time for [nqpoly4]. I have used it to manage 1000 instances of one abstraction and more than that for multiple abstractions. Check the included Gem example for nqpoly4. .hc On Apr 10, 2008, at 12:10 PM, marius schebella wrote: hi, i need to create a lot of instances (let's say 3000) of a gem abstraction. each instance has to hold it's own variables, so it is difficult to work with repeat. In the past I always used pd-messages to create these objects, but I have the feeling that it would be faster and easier to do in a scripting language like lua. are there any plans to support scripting of pd objects (in this case gem objects) within lua or any other scripting language? marius. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Using ReBirth is like trying to play an 808 with a long stick.-David Zicarelli ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] lua scripting for pd objects
Hallo, marius schebella hat gesagt: // marius schebella wrote: well, nqpoly4 asks for a very special method to write your abstraction, That's only because it's a generic helper for dynamic patching. You could of course also just do your dynamic patching the traditional way. and I wonder if there is an overhead from additional send/receives? There are no additional sends and receives in nqpoly4: It handles messaging from the outside through direct connections with in/outlets. I doubt that it makes much of a differnce anyway. An alternative with Lua might be to write polyphonic pdlua objects. A quick example is attached simple [linebuffer] which just draws many [curve 2]-like lines with optional aging. It can easily handle several thousands of lines. (Requires luagl, rename suffix for newest pdlua) Ciao -- Frank Barknecht _ __footils.org__ require 'luagl' local M = pd.Class:new():register(linebuffer) function M:initialize(name, atoms) self.inlets = 2 self.outlets = 1 self.buffer = {} self.aging = 0.01 self.smooth = false return true end function M:in_1_reset() self.buffer = {} end function M:in_2_list(atoms) for i=1,4 do assert(type(atoms[i]) == number, Error: All 4 coordinates must be numbers!) end atoms.age = 1 self.buffer[#self.buffer + 1] = atoms end function M:in_1_aging(atoms) self.aging = math.max(0, atoms[1]) or 0.01 end function M:in_1_smooth(atoms) if atoms[1] and atoms[1] ~= 0 then self.smooth = true else self.smooth = false end if self.smooth then glEnable(GL_LINE_SMOOTH) else glDisable(GL_LINE_SMOOTH) end end function M:render() for i,l in ipairs(self.buffer) do c = l.age glBegin(GL_LINES) glColor4d(1,1,1,c) glVertex2d(l[1], l[2]) glVertex2d(l[3], l[4]) glEnd() l.age = l.age - self.aging end for i,l in ipairs(self.buffer) do if l.age = 0 then table.remove(self.buffer, i) end end end function M:in_1_gem_state() self:render(self) self:outlet(1, float, {#self.buffer}) end linebuffer-help.pd Description: application/puredata ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino and FSRs
Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista system. Its PD that crashes, or stops working as Vista so nicely puts it, when I connect the FSRs. I have arduino connecting via wireless xbees at 19200 baud. I also use an infra red distance sensor that gives no problem. I've been routing the data from the FSRs through the autoscale object. Maybe I should find a way to reduce the amount of data being sampled...every 40ms for example? How would I do that? Nick. _ From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 17:25 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs Which program crashes? Which version are you using? You will get a lot of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have never seen a crash using [arduino], except when I unplug the arduino when Pd is connected to it, so I suspect the problem lies elsewhere. .hc On Apr 10, 2008, at 11:16 AM, nick burge wrote: I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] lua scripting for pd objects
Hi Marius, i've used py and dyn~ in combination for such stuff many times. With that many objects it makes probably sense to put the abstractions in subpatches (e.g. 30 subpatches with 100 objects each) as pd has problems with many objects in one canvas. gr~~~ Am 10.04.2008 um 18:10 schrieb marius schebella: hi, i need to create a lot of instances (let's say 3000) of a gem abstraction. each instance has to hold it's own variables, so it is difficult to work with repeat. In the past I always used pd-messages to create these objects, but I have the feeling that it would be faster and easier to do in a scripting language like lua. are there any plans to support scripting of pd objects (in this case gem objects) within lua or any other scripting language? 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] pduino and FSRs
I've never run on Vista before, so I can't say much about that. I have run on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the data on the arduino, the messages coming to Pd via the serial port should be all the same. Are you using the latest version: http://at.or.at/hans/pd/Pduino-0.3.1.zip .hc On Apr 10, 2008, at 12:57 PM, nick burge wrote: Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista system. Its PD that crashes, or stops working as Vista so nicely puts it, when I connect the FSRs. I have arduino connecting via wireless xbees at 19200 baud. I also use an infra red distance sensor that gives no problem. I've been routing the data from the FSRs through the autoscale object. Maybe I should find a way to reduce the amount of data being sampled...every 40ms for example? How would I do that? Nick. From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 17:25 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs Which program crashes? Which version are you using? You will get a lot of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have never seen a crash using [arduino], except when I unplug the arduino when Pd is connected to it, so I suspect the problem lies elsewhere. .hc On Apr 10, 2008, at 11:16 AM, nick burge wrote: I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list -- -- Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith There is no way to peace, peace is the way. -A.J. Muste ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] GEM does not open window
IOhannes m zmoelnig schrieb: Birgit Gasteiger wrote: Hello! I am just starting with Gem and as I tried to create a window with the object pd gemwin in one of the basic example files of the help browser, I got the error: Xlib: extension GLX missing on display :0.0. I am using the nvidia driver on kubuntu 7.1. Has anybody an idea how to solve this? do you have the nvidia-glx package installed? do you have glx enabled in your /etc/X11/xorg.conf? there should be an entry Loadglx in the 'Section Module' do other openGL-applications work? (e.g. try glxgears which is part of the mesa-utils package) fgmasd IOhannes Hi, Gem is working now. The problem was that the nvidia driver was installed but not in use, I had to activate it with the restricted-manager like described on http://wiki.ubuntuusers.de/restricted-manager Best, Birgit ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino and FSRs
Yes, I've got the latest versionmaybe a silly question...but could it be that Pduino is optimised for sensors working on a supply of 5v. because the phidget voltage dividers i've got my FSRs attached to come with a potentiometer that alters the resistance of the circuit...with pduino i can only activate 2 at a time before it all grinds to a halt...on arduino2PD i can activate all six without any problem. Strange. Nick. _ From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 21:51 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs I've never run on Vista before, so I can't say much about that. I have run on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the data on the arduino, the messages coming to Pd via the serial port should be all the same. Are you using the latest version: http://at.or.at/hans/pd/Pduino-0.3.1.zip .hc On Apr 10, 2008, at 12:57 PM, nick burge wrote: Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista system. Its PD that crashes, or stops working as Vista so nicely puts it, when I connect the FSRs. I have arduino connecting via wireless xbees at 19200 baud. I also use an infra red distance sensor that gives no problem. I've been routing the data from the FSRs through the autoscale object. Maybe I should find a way to reduce the amount of data being sampled...every 40ms for example? How would I do that? Nick. _ From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 17:25 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs Which program crashes? Which version are you using? You will get a lot of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have never seen a crash using [arduino], except when I unplug the arduino when Pd is connected to it, so I suspect the problem lies elsewhere. .hc On Apr 10, 2008, at 11:16 AM, nick burge wrote: I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith There is no way to peace, peace is the way. -A.J. Muste ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] PdExtended autobuild
hi, looks like the debian stable autobuild of last night didnt make it. ++ O ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino and FSRs
The code and the electrics are quite separate. If the electrics work with one firmware, then they'll work with another. The question is, what is the it that grinds to a halt. .hc On Apr 10, 2008, at 4:17 PM, nick burge wrote: Yes, I've got the latest versionmaybe a silly question...but could it be that Pduino is optimised for sensors working on a supply of 5v. because the phidget voltage dividers i've got my FSRs attached to come with a potentiometer that alters the resistance of the circuit...with pduino i can only activate 2 at a time before it all grinds to a halt...on arduino2PD i can activate all six without any problem. Strange. Nick. From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 21:51 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs I've never run on Vista before, so I can't say much about that. I have run on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the data on the arduino, the messages coming to Pd via the serial port should be all the same. Are you using the latest version: http://at.or.at/hans/pd/Pduino-0.3.1.zip .hc On Apr 10, 2008, at 12:57 PM, nick burge wrote: Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista system. Its PD that crashes, or stops working as Vista so nicely puts it, when I connect the FSRs. I have arduino connecting via wireless xbees at 19200 baud. I also use an infra red distance sensor that gives no problem. I've been routing the data from the FSRs through the autoscale object. Maybe I should find a way to reduce the amount of data being sampled...every 40ms for example? How would I do that? Nick. From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 17:25 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs Which program crashes? Which version are you using? You will get a lot of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have never seen a crash using [arduino], except when I unplug the arduino when Pd is connected to it, so I suspect the problem lies elsewhere. .hc On Apr 10, 2008, at 11:16 AM, nick burge wrote: I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list - --- Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith -- -- There is no way to peace, peace is the way. -A.J. Muste There is no way to peace, peace is the way. -A.J. Muste ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pduino and FSRs
What baud are you running each at? IIRC, the XBee needs a strange value. .hc On Apr 10, 2008, at 5:52 PM, nick burge wrote: I wish I knew. I'm loading the arduino-test patch with no other objects or abstractions so as to eliminate other suspects. Still PD crashes when I enable more than 2 analogIns. Would it help to speed up or slow down the xbee connection? From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 23:12 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs The code and the electrics are quite separate. If the electrics work with one firmware, then they'll work with another. The question is, what is the it that grinds to a halt. .hc On Apr 10, 2008, at 4:17 PM, nick burge wrote: Yes, I've got the latest versionmaybe a silly question...but could it be that Pduino is optimised for sensors working on a supply of 5v. because the phidget voltage dividers i've got my FSRs attached to come with a potentiometer that alters the resistance of the circuit...with pduino i can only activate 2 at a time before it all grinds to a halt...on arduino2PD i can activate all six without any problem. Strange. Nick. From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 21:51 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs I've never run on Vista before, so I can't say much about that. I have run on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the data on the arduino, the messages coming to Pd via the serial port should be all the same. Are you using the latest version: http://at.or.at/hans/pd/Pduino-0.3.1.zip .hc On Apr 10, 2008, at 12:57 PM, nick burge wrote: Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista system. Its PD that crashes, or stops working as Vista so nicely puts it, when I connect the FSRs. I have arduino connecting via wireless xbees at 19200 baud. I also use an infra red distance sensor that gives no problem. I've been routing the data from the FSRs through the autoscale object. Maybe I should find a way to reduce the amount of data being sampled...every 40ms for example? How would I do that? Nick. From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] Sent: 10 April 2008 17:25 To: nick burge Cc: Pd List Subject: Re: [PD] pduino and FSRs Which program crashes? Which version are you using? You will get a lot of data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have never seen a crash using [arduino], except when I unplug the arduino when Pd is connected to it, so I suspect the problem lies elsewhere. .hc On Apr 10, 2008, at 11:16 AM, nick burge wrote: I have a little problem using Pduino and some force sensing resistors that I am using in conjunction with phidget voltage dividersthey seem to crash the program as soon as I activate more than 1 at a time. Should I be applying some sort of filter to the data stream? Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at once. Nick Burge. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list Looking at things from a more basic level, you can come up with a more direct solution... It may sound small in theory, but it in practice, it can change entire economies. - Amy Smith - --- There is no way to peace, peace is the way. -A.J. Muste -- -- There is no way to peace, peace is the way. -A.J. Muste Mistrust authority - promote decentralization. - the hacker ethic ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] memento, rrradical, sssad?
Hi Frank, list! I'm getting into memento because I'm trying to implemet a state saving utility for my tr-909 emulation patch. I've taken a look to your RRadical Pd tutorial and I have use your examples from Pd extended help. But looking at Polywavesynth patch by Phil Stone, I've taken a look to his state saving stuffs based on sssad, and that looks pretty much easy and suitable for my purpose. So, now I'm a little bit confuse with so many libraries. I would like to know what's the purpose of each of this libraries (memento, rrradical, sssad), its applications, advantages, and inconvenients, and which of this is better for my purpose. Another question is about OSC libraries. I've used oscx succesfully but I've seen Polywavesynth used Mr Peach OSC objects (which seems pretty usefull). What's the difference between both? My head is full of apparently-same-purpose libraries!!! Saludos! -- Raul Diaz Poblete * [EMAIL PROTECTED] Barcelona [Spain] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Spanish translation of Pd documentation
Hi! There's a good spanish manual to pd beguinners by Sergi Jorda in this url: http://www.tecn.upf.es/%7Esjorda/PD/IntroduccionPD3.pdf I think it's not finished, but it's really good for people starting with pd. Saludos! On 10/04/2008, Jaime Oliver [EMAIL PROTECTED] wrote: Yes, that's the one i remembered seeing, i think. I am now wondering about what oggro's was... J On Wed, Apr 9, 2008 at 4:57 PM, altern [EMAIL PROTECTED] wrote: I think that www.delcorp.org is Pablo, the current maintainer of PDP and programmer of delVJ. Natanael Olaiz(e)k dio: Great!! That is what I was looking for: http://delcorp.org/pdmanual_es/ !!! Is partially translated, but I can't enter to the CVS URL... do you know who did it? Thanks, Natanael. El 04/09/2008 06:54 PM, Hans-Christoph Steiner escribió: If there is anything missing from this page, please add to it: http://puredata.info/docs .hc On Apr 9, 2008, at 3:13 PM, Jaime Oliver wrote: Something else that is started, but in it's initial phase is: http://wiki.puredata.info/es/Portada which would definitely benefit from your energy. Check past posts about this for reference to what objects have already been translated... best, J On Wed, Apr 9, 2008 at 11:55 AM, altern [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: hi there were some tutorials but i am not sure if the docs are translated. let me know if you get it done. i know some lazy spanish students that would be very happy to see that. enrike Natanael Olaiz(e)k dio: Hi all! I write to ask if someone knows if there is a spanish translation of the official Pd documentation. If not, I want to start to do it. I asked to Miller and he has no problem with that. And of course, if someone wants to help me is welcome. :) Thanks in advance. Best regards, Natanael Olaiz. ___ PD-list@iem.at mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ 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 mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Using ReBirth is like trying to play an 808 with a long stick. -David Zicarelli ___ 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 -- 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 -- Raul Diaz Poblete * [EMAIL PROTECTED] Barcelona [Spain] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] IP camera and pidip
ola, let's see, does your ip cam delivers you a stream in the form of http://ip:port/something.someformat ?? where someformat = mp4, mpg, ogg ? in that case, you can use that solution : in a shell script : rm /tmp/pipe mknod /tmp/pipe p mencoder -nosound -ovc raw -of rawvideo -vf format=rgb24,crop=320:240 http://ip:port/something.someformat -o /tmp/pipe in pd : pdp_rawin /tmp/pipe bitmap/rgb/320x240 suerte, sevy t'es in t'es bat wrote: Thanks for answer, .but i hope to realize a stream, i need it for my concept, Anyone have a strategy to get the ip camera stream in mjpeg in pdip for pdp_canvas Or do i have to use another lib for that job ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] extended sql and py
hi,m isn't sqldb for mac os x only? i dont have a build environment setup at the moment so haven't tried compiling it for linux, but if some one can confirm this will work i will setup my machine for building -jb On 11/04/2008, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: You should try mjmogo's sqldb: http://puredata.info/Members/mjmogo/ Check the archives of this list for more discussion, there is quite a bit. It's a new object, but should be quite nice, and could use some testing. .hc On Apr 10, 2008, at 12:33 AM, Joseph Barrows wrote: hi puredata'ers, i want to use SQL access, and am confused as to how it get it to work, can someone explain what i need to do? it doesnt appear to be in the extended build (just installed auto build for 10 april) using ubuntu on an intel processor am happy to download and compile source if needed, i just lose track of where everything is supposed to go (and need many of the other bits of extended and dont want to compile everything from source, though i spose i could, ahh linux!) also, py is listed in the extended help, but the examples dont work (the py object is in a dotted line can not create object box) thanks, joseph -- Joseph Barrows live video performance; web site design; new media artist jjbarrows.artwww.net [EMAIL PROTECTED] ___ 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 -- Joseph Barrows live video performance; web site design; new media artist jjbarrows.artwww.net [EMAIL PROTECTED] ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Spanish translation of Pd documentation
Thank you for the link, it's a really good tutorial! But anyway, I think it would be great to have the official manual translated. I sent a mail to Pablo Martin Coedes (coedes[at]sindominio[dot]net -anyone knows if he is the owner of the partial translation and that is his email address?-) asking for his permission to continue his translation. BTW, people from this list and the Musix one offers them help to do it!! Best regards, Natanael. On 04/10/2008 07:10 PM, raul diaz wrote: Hi! There's a good spanish manual to pd beguinners by Sergi Jorda in this url: http://www.tecn.upf.es/%7Esjorda/PD/IntroduccionPD3.pdf I think it's not finished, but it's really good for people starting with pd. Saludos! On 10/04/2008, *Jaime Oliver* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yes, that's the one i remembered seeing, i think. I am now wondering about what oggro's was... J On Wed, Apr 9, 2008 at 4:57 PM, altern [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I think that www.delcorp.org http://www.delcorp.org is Pablo, the current maintainer of PDP and programmer of delVJ. Natanael Olaiz(e)k dio: Great!! That is what I was looking for: http://delcorp.org/pdmanual_es/ !!! Is partially translated, but I can't enter to the CVS URL... do you know who did it? Thanks, Natanael. El 04/09/2008 06:54 PM, Hans-Christoph Steiner escribió: If there is anything missing from this page, please add to it: http://puredata.info/docs .hc ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list