Re: [PD] libpd and BUG Labs

2011-04-26 Thread Andrew Turley
On Mon, Apr 25, 2011 at 10:06 AM, Hans-Christoph Steiner wrote: > > On Apr 21, 2011, at 10:39 AM, Andrew Turley wrote: > >> On Thu, Apr 21, 2011 at 9:26 AM, Simon Wise wrote: >>> >>> On 21/04/11 16:47, errordevelo...@gmail.com wrote: >>>> >>

Re: [PD] libpd and BUG Labs

2011-04-21 Thread Andrew Turley
On Thu, Apr 21, 2011 at 9:26 AM, Simon Wise wrote: > On 21/04/11 16:47, errordevelo...@gmail.com wrote: >> >> On Wed, Apr 20, 2011 at 09:15:29PM -0400, Andrew Turley wrote: > >>> Nothing revolutionary, but I thought people might enjoy seeing Pure >>> Data o

[PD] libpd and BUG Labs

2011-04-20 Thread Andrew Turley
I work for BUG Labs. In my spare time I've been playing around with some ideas for using libpd on our device. I put up a blog post about my work here: http://community.buglabs.net/aturley/posts/240-libpd-Embedding-Graphical-Programming Nothing revolutionary, but I thought people might enjoy seeing

Re: [PD] Pd - DSP in a web app

2011-03-29 Thread Andrew Turley
patch crashes Pd > there'll be no sounds anymore? > > Pierre > > > > 2011/3/29 Andy Farnell >> >> Sometimes you guys make me want to shout with >> happiness. Dont stop the rock. >> >> On Tue, 29 Mar 2011 09:45:26 -0400 >> Andrew Turley wrote:

Re: [PD] Pd - DSP in a web app

2011-03-29 Thread Andrew Turley
A few people (myself included) have built web UIs that control PD patches that run on a server. The technique I've used involves an http server that acts as a gateway, transforming http requests into OSC messages which are then sent to PD patches. My blog has some info about some of my experiments:

Re: [PD] Pure Data Patching Circle in San Francisco

2010-06-23 Thread Andrew Turley
You can check out [Phasor~] over at Noisebridge. It's a group for patchers of all sorts (PD, Max, Reaktor, ...). https://www.noisebridge.net/wiki/Phasor They meet "irregularly". You might also check out the Bay Area Computer Music Technology Group (BArCMuT) for some like-minded individuals. http:/

Re: [PD] any mac OS terminal experts?

2010-03-25 Thread Andrew Turley
In Ruby you should be able to do this: myvar = 42 s.puts("#{myvar} ;") andy On Thu, Mar 25, 2010 at 2:12 PM, Andrew Faraday wrote: > Thanks a bunch for this, it is, effectively, what I wanted to do with pdsend > and pdreceive. The only problem now is sending a variable I've defined via > thi

Re: [PD] any mac OS terminal experts?

2010-03-25 Thread Andrew Turley
So first off, you don't need to call them with 'open' from the command line. You can just run them directly like any other command, like this: echo "a b c 1 2 3;" | /Applications/Pd-extended.app/Contents/Resources/bin/pdsend 3939 The command reads the standard input and sends the data to PD. Ass

Re: [PD] any mac OS terminal experts?

2010-03-25 Thread Andrew Turley
You should be able to run them from the command line. When you say that you are "opening the files", do you mean you're clicking on them in the Finder? As you've said, that will just open up a terminal window. Also, these commands just communicate with strings over a TCP socket. If you're comforta

Re: [PD] iPhone control

2009-09-11 Thread Andrew Turley
I've used the various OSC controllers (MRMR, OSCemote, TouchOSC) and I've written some custom web apps to control things (I have some posts over at www.pillowsopher.com/blog). The OSC stuff is faster (more responsive and less latency) than the web stuff, but I liked the degree of control the web ap

Re: [PD] making scales from frequency values

2009-07-20 Thread Andrew Turley
The ratios are maintained because you're multiplying (I'm not quite sure what you mean by "even out"). But yes, you could also convert to MIDI and then use addition, and then convert back to set the oscillator. Six of one, half-a-dozen of the other. andy On Mon, Jul 20, 2009 at 7:06 PM, Mike Mose

Re: [PD] making scales from frequency values

2009-07-20 Thread Andrew Turley
Just FYI, looking at BT2,BT3 and BT4 I see that the ratios of the first partials is pretty close to a major second. Also, the ratio of the first and second partials is just about 2.64 for each of the tones you have given, which works out to something like 1 octave + a 4th (between the major and dia

[PD] TUIO iPhone web app and web server

2009-04-18 Thread Andrew Turley
I put together a little iPhone web app and a Python web server that let you send TUIO messages using Safari. The web app sends multitouch information to the web server, which takes care of translating them into TUIO messages. I thought maybe some people on this list might be interested in it. Here

Re: [PD] pd + controller

2009-04-04 Thread Andrew Turley
Take a look at the ctlin object. That's the one you want. The first outlet is the value, the second outlet is the control number, and the third outlet is the channel. andy On Fri, Apr 3, 2009 at 7:16 PM, donotreply wrote: > Hi to all of you people. I´m new in the list, and quite a newbee in pd t

Re: [PD] MIDI on OSX

2009-02-10 Thread Andrew Turley
The easiest way that I know of is to set up an IAC loopback device (http://www.spectrasonics.net/news/Creating-an-IAC-Bus.html) , use that as your MIDI out in PD, and then open up Garage Band. andy On Tue, Feb 10, 2009 at 11:02 AM, IOhannes m zmölnig wrote: > enrique franco wrote: >> Hi, >> >> H

Re: [PD] XBOX 360 controller to pd (noob question)

2009-01-20 Thread Andrew Turley
Have you installed drivers for the controller? You might want to start here. http://tattiebogle.net/index.php/ProjectRoot/Xbox360Controller I've used his PS3 driver. It only seems to work with USB, not over Bluetooth. I don't know if the XBox driver supports Bluetooth connectivity or not. Once yo

Re: [PD] saxophone/truphet/trabone -LIKE sound in pd

2009-01-17 Thread Andrew Turley
Regardless of what kind of sound you're trying to make, the "Synth Secrets" columns in SOS are probably one of the best places to start learning how to do it. andy On Sat, Jan 17, 2009 at 5:51 AM, hard off wrote: > and the didgeridoo, apparently. if i made a mistake as to what a brass > instru

Re: [PD] max for live

2009-01-16 Thread Andrew Turley
I think the nicest thing about the Live/Max integration is that you can distribute patches without have to tell people to install all kinds of other software. Removing a few steps drastically lowers the threshold for getting people to try it. andy On Fri, Jan 16, 2009 at 8:35 AM, Alex wrote: > A

Re: [PD] looking for a way to dump fft~ info

2008-11-19 Thread Andrew Turley
Thanks guys, this is making more sense to me, I think. andy On Wed, Nov 19, 2008 at 10:05 AM, IOhannes m zmoelnig <[EMAIL PROTECTED]> wrote: > hard off wrote: >> hope this ascii graphic stuff works. >> >> [bang~] >> | >> | [r spigotswitch] >> | / >> [spigot] >> | >> [t b

Re: [PD] osc on winXP

2008-11-18 Thread Andrew Turley
[dumpOSC] seems to require a port argument, otherwise it will not be created correctly. Thus, you need: [dumpOSC 9393] rather than just: [dumpOSC] Also, if you try to create a second instance of [dumpOSC] with the same port as an existing instance, the new instance will not be created. I hope

[PD] looking for a way to dump fft~ info

2008-11-18 Thread Andrew Turley
I'm working on an application where I want to take a snapshot of the results of [fft~] every once in a while and send them out using OSC. The part I'm having trouble with is getting the output from [fft~]. In the help file for [fft~] they use [print~] to print out the vector coming from the [fft~]

Re: [PD] webcam piano? can any one help?

2008-09-23 Thread Andrew Turley
There's [pdp_mgrid], which will divide the camera's field into a grid and then give you coordinates of changes in the image. You could then tie that to a [poly] object to generate a bunch of notes tones. I've played around with this a little. It helps to have a good camera. andy On Tue, Sep 23, 2

[PD] pasted objects now end up under the original object

2008-08-31 Thread Andrew Turley
I'm running Pd-extended 0.40.3 on an iBook G4 in OS X 10.4.11, and I've noticed that if I copy an object and then paste it to the same place, the newly pasted object ends up under the old object. This is annoying because if I have some objects that are already connected to other objects and I copy

Re: [PD] Newbie request

2008-04-29 Thread Andrew Turley
The [fiddle~] and [bonk~] objects should let you capture all of the information that you are looking for. As far as getting that information from Pd to Liquid Media, that may be the tricky part. Your current pedals are sending keystrokes straight to Liquid Media. Do you know if there is a way to co

[PD] sending applescript events

2008-04-18 Thread Andrew Turley
Has anyone done any work getting Pd to send applescript events? I know I can use [shell] and osascript, but then I incur the cost of starting a new program. I've been playing around with appscript in Python, but I haven't had much luck getting the Python extension to Pd working, so that's out for n

Re: [PD] reading suggestions for wii/sensor data conversion

2008-04-02 Thread Andrew Turley
>From what I understand about pmpd, it looks like you can send an force message to a mass object. As Claude says, F=m*a, so you can calculate the force to send to the object based on the object's mass and the acceleration data coming from the Wiimote. You will probably have to scale the signals co

Re: [PD] looking for a way to execute a program from pd

2008-03-22 Thread Andrew Turley
he Pd patch uses GridFlow to save histogram-in.ppm and sends "go" to > netsend, which executes one run through the loop, then when Pd > netreceive receives "ready", it loads histogram-out.ppm and carries on > processing - hopefully GridFlow will get histogram supp

Re: [PD] looking for a way to execute a program from pd

2008-03-22 Thread Andrew Turley
It looks like that should work. Thanks. andy On Sat, Mar 22, 2008 at 12:43 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: > > [shell] and [popen] should work. > > .hc > > > > On Mar 22, 2008, at 2:09 PM, Andrew Turley wrote: > > > Hey, I was wo

[PD] Fwd: Wii remote controller and Mac OS X

2008-03-22 Thread Andrew Turley
I meant to send this to the group ... -- Forwarded message -- From: Andrew Turley <[EMAIL PROTECTED]> Date: Sat, Mar 22, 2008 at 10:12 AM Subject: Re: [PD] Wii remote controller and Mac OS X To: Hans-Christoph Steiner <[EMAIL PROTECTED]> Hrmm ... well I just

[PD] looking for a way to execute a program from pd

2008-03-22 Thread Andrew Turley
Hey, I was wondering if there was a way to execute a program from pd. Specifically, I would like to use the osascript command in Mac OS X to send a command to iTunes. I can write an external to do this, but if there is already something out there to do then then I will use that. andy ___

Re: [PD] Wii remote controller and Mac OS X

2008-03-21 Thread Andrew Turley
] and see what you get. andy On Fri, Mar 21, 2008 at 11:24 PM, Andrew Turley <[EMAIL PROTECTED]> wrote: > I hooked up a [print] to the [hid] object's first outlet. If you do > that you should see a constant stream of messages that look like this: > ... > 0x002c 561 >

Re: [PD] Wii remote controller and Mac OS X

2008-03-21 Thread Andrew Turley
ata from the device. Are you able to get the six-axis accelerometer > data from the device? that's the real fun stuff. > > .hc > > > On Mar 21, 2008, at 5:05 PM, Andrew Turley wrote: > > > > > For the record, the SIXAXIS controller works well in Mac OS X wi

Re: [PD] Wii remote controller and Mac OS X

2008-03-21 Thread Andrew Turley
For the record, the SIXAXIS controller works well in Mac OS X with this driver: http://tattiebogle.net/index.php/ProjectRoot/Ps3Controller I've used that for the Guitar Hero controller. Using the [hid] object I get 3 continuous values from the XYZ sensors. andy On Fri, Mar 21, 2008 at 12:59 PM,

Re: [PD] HID: Am I doing this right?

2008-03-20 Thread Andrew Turley
I don't know exactly what you're trying to do, but it might just be easier to use [key], [keyup] and [keyname]. But if you do want to use [hid], once you have the device open you have to send a [1( to start polling. You might want to just hook a [print] object to the output to see what kind of inf

Re: [PD] Why use Lua instead of PHP in my case ?

2008-03-20 Thread Andrew Turley
I think the latency involved in writing data to and from the database will probably prove a much larger bottleneck than the speed of the language that you use, at least if you're trying to read the web pages and use the data in Pd in real-time. andy On Thu, Mar 20, 2008 at 9:03 AM, Frank Barknech