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:
>>>>
>>>> On Wed, Apr 20, 2011 at 09:15:29PM -0400, Andrew Turley wrote:
>>>
>>>>> Nothing revolutionary, but I thought people might enjoy seeing Pure
>>>>> Data on yet another platform (in this case, running in OSGi on ARM).
>>>
>>>>
>>>> That's great, nevertheless your company's product or too expensive
>>>> for what they are! May be if you were to come up with something like
>>>> Panda or Beagle board, but more pro-audio oriented (i.e. with ballanced
>>>> mic input and good 96Hz converters) - many people here would be
>>>> intereseted :) It doesn't have to be OMAP (in fact better not OMAP), but
>>>> any other multicore ARM with VPF, e.g. Marvell ARMADA. Contact me if you
>>>> do need more information on this .. And certainly a cheaper enclosure ..
>>>> I see that your company make these nice and expensive eclosures ..which
>>>> would rather be optional, from my point of view!
>>>
>>> Clearly then these devices are not for you (and audio isn't their focus)
>>> but
>>> there is surely a place for a modular system like this ... clearly a lot
>>> of
>>> effort has gone into creating a slick set of units. Why not sell them if
>>> there are people who want them?
>>>
>>> If you are wanting to do similar yourself .. their software development
>>> is
>>> open source, downloadable from the site and the work they have done is
>>> available for you to use in any other open source project.
>>>
>>> I have only just looked over the site, but if the internals have had
>>> similar
>>> care and attention as the design and exterior it would be a nice kit to
>>> work
>>> with, and because of the nice exterior etc it would be more attractive to
>>> some kinds of clients. I'd say how expensive the kits seem depends on how
>>> much you put a $ value on your own development time .. if you develop
>>> stuff
>>> for your own pleasure/learning/satisfaction/whatever then maybe it isn't
>>> for
>>> you. If you don't have the cash it isn't for you either, but the work put
>>> into the code has been paid for by their customers, and that code is free
>>> for you to use (in FLOSS projects of course).
>>>
>>> It's nice to see Pd have a wide range of uses.
>>>
>>> Simon
>>>
>>
>> errordeveloper, I agree, the price point doesn't work for everybody.
>> To be clear, I wasn't trying to sell units, I just wanted to share
>> something that I had done. We've tossed around the idea of a high-end
>> audio module. I'll pass that information along if we end up doing it.
>
> I think it doesn't hurt to have different options out there, so while I
> agree bugs labs is more money than barebones embedded platforms, if you want
> the ease they offer, it could be worth the money.
>
> I'm curious whether you had a particular idea in mind when porting Pd to the
> bug labs setup.  I think there is a lot of potential in using audio in
> product design.
>
> .hc
>
>
> 
>
> "We have nothing to fear from love and commitment." - New York Senator Diane
> Savino, trying to convince the NY Senate to pass a gay marriage bill
>
>

I didn't have any specific ideas in mind when I was working on getting
libpd running on the BUG. I started working on it when I started with
the company, as a way to gain some understanding of OSGi and jni
bindings. I thought it might be useful to experiment with ideas like
graphical event-driven programming and WYSIWYG GUI design, and I
thought libpd might be a good way to get those things up and running
quickly. I've also been interested in prototyping digital instrument
design, and having a small programmable DSP platform with easy access
to an accelerometer, camera, and analog and digital IO seemed like a
useful tool.

andy

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 on yet another platform (in this case, running in OSGi on ARM).
>
>>
>> That's great, nevertheless your company's product or too expensive
>> for what they are! May be if you were to come up with something like
>> Panda or Beagle board, but more pro-audio oriented (i.e. with ballanced
>> mic input and good 96Hz converters) - many people here would be
>> intereseted :) It doesn't have to be OMAP (in fact better not OMAP), but
>> any other multicore ARM with VPF, e.g. Marvell ARMADA. Contact me if you
>> do need more information on this .. And certainly a cheaper enclosure ..
>> I see that your company make these nice and expensive eclosures ..which
>> would rather be optional, from my point of view!
>
> Clearly then these devices are not for you (and audio isn't their focus) but
> there is surely a place for a modular system like this ... clearly a lot of
> effort has gone into creating a slick set of units. Why not sell them if
> there are people who want them?
>
> If you are wanting to do similar yourself .. their software development is
> open source, downloadable from the site and the work they have done is
> available for you to use in any other open source project.
>
> I have only just looked over the site, but if the internals have had similar
> care and attention as the design and exterior it would be a nice kit to work
> with, and because of the nice exterior etc it would be more attractive to
> some kinds of clients. I'd say how expensive the kits seem depends on how
> much you put a $ value on your own development time .. if you develop stuff
> for your own pleasure/learning/satisfaction/whatever then maybe it isn't for
> you. If you don't have the cash it isn't for you either, but the work put
> into the code has been paid for by their customers, and that code is free
> for you to use (in FLOSS projects of course).
>
> It's nice to see Pd have a wide range of uses.
>
> Simon
>

errordeveloper, I agree, the price point doesn't work for everybody.
To be clear, I wasn't trying to sell units, I just wanted to share
something that I had done. We've tossed around the idea of a high-end
audio module. I'll pass that information along if we end up doing it.

andy

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[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 Pure
Data on yet another platform (in this case, running in OSGi on ARM).

andy

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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

2011-03-29 Thread Andrew Turley
Those are both good reads. The "Web Audio! All Aboard" article is
pretty inspiring.

As for running Pd on a server, if the user's don't need to share data
(for example, if you are streaming the results of their patches back
to them) you could run one instance of Pd per user. That way one user
couldn't kill audio for everyone.

In most of the work I've done the web UI interacts with Pd patches,
but it doesn't actually send patches, so to the extent that I trust my
own patching ability, I can feel fairly certain that my instance of Pd
won't crash. I guess I assumed that with the sequencer that's the type
of thing you would be doing.

andy

On Tue, Mar 29, 2011 at 11:00 AM, Pierre Massat  wrote:
> I think you should all read this:
> https://wiki.mozilla.org/Audio_Data_API
>
> and this:
> http://weblog.bocoup.com/web-audio-all-aboard
>
> I believe it only works in Firefox 4 at the moment.
>
> If i wanted to use Pd to generate sound for a web application, i'd have to
> keep an instance of Pd running on the server continuously, right? And keep
> all the patches i need open? Which means that if any 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:
>>
>> > 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:
>> > http://www.pillowsopher.com/blog/
>> >
>> > I've also been looking at wrapping libpd
>> > (http://gitorious.org/pdlib/pages/Libpd) in a web server (maybe
>> > writing a node.js binding?) and using that to generate audio based on
>> > data from a web browser.
>> >
>> > andy
>> >
>> > On Tue, Mar 29, 2011 at 8:07 AM, Pierre Massat 
>> > wrote:
>> > > Hi all,
>> > >
>> > > I've been toying with some new HTML tags (canvas and audio), in a an
>> > > attempt
>> > > to build a web app that would work as a simple sequencer. Although
>> > > canvas is
>> > > great, i'm not fully satisfied with the audio tag. I was wondering, is
>> > > there
>> > > a way i could use Pd as a sound engine in a web application? Can it
>> > > run on a
>> > > server? Sorry if this is a silly question...
>> > > There was a discussion a few months back about a project calld WebPd.
>> > > Anybody knows if it's been developped any further?
>> > >
>> > > Cheers!
>> > >
>> > > Pierre
>> > >
>> > > ___
>> > > Pd-list@iem.at mailing list
>> > > UNSUBSCRIBE and account-management ->
>> > > http://lists.puredata.info/listinfo/pd-list
>> > >
>> > >
>> >
>> > ___
>> > Pd-list@iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
>> > http://lists.puredata.info/listinfo/pd-list
>>
>>
>> --
>> Andy Farnell 
>>
>> ___
>> 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] 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:
http://www.pillowsopher.com/blog/

I've also been looking at wrapping libpd
(http://gitorious.org/pdlib/pages/Libpd) in a web server (maybe
writing a node.js binding?) and using that to generate audio based on
data from a web browser.

andy

On Tue, Mar 29, 2011 at 8:07 AM, Pierre Massat  wrote:
> Hi all,
>
> I've been toying with some new HTML tags (canvas and audio), in a an attempt
> to build a web app that would work as a simple sequencer. Although canvas is
> great, i'm not fully satisfied with the audio tag. I was wondering, is there
> a way i could use Pd as a sound engine in a web application? Can it run on a
> server? Sorry if this is a silly question...
> There was a discussion a few months back about a project calld WebPd.
> Anybody knows if it's been developped any further?
>
> Cheers!
>
> Pierre
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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://www.meetup.com/barcmut/

And you can always check in with the guys at Robotspeak to see if they
know about anything.
http://www.robotspeak.com/

andy

On Tue, Jun 22, 2010 at 10:29 PM, Matthew Logan  wrote:
> I would be interested in being in an SF patching circle, although, honestly,
> I probably wouldn't have much time to participate.  I'm definitely
> interested, though.  Check out em411.com as well, as I know there were a few
> people on there that were interested in learning taking a Pd course, so
> they'd probably be interested in this, too.
>
> Matt Logan/MattyBoJangles
>
> On Sun, Jun 20, 2010 at 11:10 AM, Kim Cascone  wrote:
>>
>> is there a patching circle in SF?
>> if not, anyone interested in possibly starting one?
>>
>>
>> ___
>> 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] 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
> this method, as opposed to the variable name, and I'm sure that's just
> 'cause I'm new to ruby.
>
>> Date: Thu, 25 Mar 2010 12:16:07 -0700
>> Subject: Re: [PD] any mac OS terminal experts?
>> From: atur...@acm.org
>> To: jbtur...@hotmail.com; pd-list@iem.at
>>
>> 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.
>>
>> Assuming you have a PD patch running with a netrecieve object
>> listening to port 3939, you can send the same message as above with
>> this Ruby code:
>>
>> require 'socket'
>> hostname = "localhost"
>> port = 3939
>> s = TCPSocket.open(hostname, port)
>> # don't forget the semicolon!
>> s.puts("a b c 1 2 3;")
>> s.close()
>>
>> andy
>>
>> On Thu, Mar 25, 2010 at 11:28 AM, Andrew Faraday 
>> wrote:
>> > I mean both opening them in finder and using 'open pdsend' in the
>> > terminal,
>> > same result. I'm not up to socket programming in Ruby. But knowing that
>> > it's
>> > possible to communicate directly is a good start. Now, how do it do it?
>> >
>> >> Date: Thu, 25 Mar 2010 11:13:12 -0700
>> >> Subject: Re: [PD] any mac OS terminal experts?
>> >> From: atur...@acm.org
>> >> To: jbtur...@hotmail.com
>> >> CC: pd-list@iem.at
>> >>
>> >> 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 comfortable with socket programming in Ruby then you don't
>> >> even have to use pdsend and pdreceive.
>> >>
>> >> andy
>> >>
>> >> On Thu, Mar 25, 2010 at 10:55 AM, Andrew Faraday 
>> >> wrote:
>> >> > Hey All
>> >> > I've recently started learning Ruby (on Ubuntu 9.04), part of what
>> >> > I'm
>> >> > trying to do is control PD through ruby, using the terminal.
>> >> > The main trouble I'm having now is that I'm mostly using a Mac OS X
>> >> > machine
>> >> > which doesn't recognize the 'pdsend' and 'pdreceive' commands (as the
>> >> > linux
>> >> > shell does). I've tried opening the files with these names in
>> >> > /resources/bin
>> >> > which open a new terminal window and display what looks like the
>> >> > relevant
>> >> > -help text. But I can't seem to use these to send messages to and
>> >> > from
>> >> > pd
>> >> > from the Mac OS terminal. (in theory I could then automate this with
>> >> > Ruby).
>> >> > Any ideas, at all?
>> >> > 
>> >> > Not got a Hotmail account? Sign-up now - Free
>> >> > ___
>> >> > Pd-list@iem.at mailing list
>> >> > UNSUBSCRIBE and account-management ->
>> >> > http://lists.puredata.info/listinfo/pd-list
>> >> >
>> >> >
>> >
>> > 
>> > Not got a Hotmail account? Sign-up now - Free
>
> 
> Do you want a Hotmail account? Sign-up now - Free

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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.

Assuming you have a PD patch running with a netrecieve object
listening to port 3939, you can send the same message as above with
this Ruby code:

  require 'socket'
  hostname = "localhost"
  port = 3939
  s = TCPSocket.open(hostname, port)
  # don't forget the semicolon!
  s.puts("a b c 1 2 3;")
  s.close()

andy

On Thu, Mar 25, 2010 at 11:28 AM, Andrew Faraday  wrote:
> I mean both opening them in finder and using 'open pdsend' in the terminal,
> same result. I'm not up to socket programming in Ruby. But knowing that it's
> possible to communicate directly is a good start. Now, how do it do it?
>
>> Date: Thu, 25 Mar 2010 11:13:12 -0700
>> Subject: Re: [PD] any mac OS terminal experts?
>> From: atur...@acm.org
>> To: jbtur...@hotmail.com
>> CC: pd-list@iem.at
>>
>> 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 comfortable with socket programming in Ruby then you don't
>> even have to use pdsend and pdreceive.
>>
>> andy
>>
>> On Thu, Mar 25, 2010 at 10:55 AM, Andrew Faraday 
>> wrote:
>> > Hey All
>> > I've recently started learning Ruby (on Ubuntu 9.04), part of what I'm
>> > trying to do is control PD through ruby, using the terminal.
>> > The main trouble I'm having now is that I'm mostly using a Mac OS X
>> > machine
>> > which doesn't recognize the 'pdsend' and 'pdreceive' commands (as the
>> > linux
>> > shell does). I've tried opening the files with these names in
>> > /resources/bin
>> > which open a new terminal window and display what looks like the
>> > relevant
>> > -help text. But I can't seem to use these to send messages to and from
>> > pd
>> > from the Mac OS terminal. (in theory I could then automate this with
>> > Ruby).
>> > Any ideas, at all?
>> > 
>> > Not got a Hotmail account? Sign-up now - Free
>> > ___
>> > Pd-list@iem.at mailing list
>> > UNSUBSCRIBE and account-management ->
>> > http://lists.puredata.info/listinfo/pd-list
>> >
>> >
>
> 
> Not got a Hotmail account? Sign-up now - Free

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 comfortable with socket programming in Ruby then you don't
even have to use pdsend and pdreceive.

andy

On Thu, Mar 25, 2010 at 10:55 AM, Andrew Faraday  wrote:
> Hey All
> I've recently started learning Ruby (on Ubuntu 9.04), part of what I'm
> trying to do is control PD through ruby, using the terminal.
> The main trouble I'm having now is that I'm mostly using a Mac OS X machine
> which doesn't recognize the 'pdsend' and 'pdreceive' commands (as the linux
> shell does). I've tried opening the files with these names in /resources/bin
> which open a new terminal window and display what looks like the relevant
> -help text. But I can't seem to use these to send messages to and from pd
> from the Mac OS terminal. (in theory I could then automate this with Ruby).
> Any ideas, at all?
> 
> Not got a Hotmail account? Sign-up now - Free
> ___
> 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] 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 apps gave me. OSCemote is a nice compromise
because you can create a UI using HTML and JavaScript.

andy

On Fri, Sep 11, 2009 at 11:18 AM, Jerome Covington
 wrote:
> Would anybody care to share experiences working on projects to use the
> iPhone as a controller for pD?
>
> --
> Regards,
> Jerome Covington
>  .  .  .  .   :   .  .  .  .   :
> "define audio development"
>
> ___
> 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] 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 Moser-Booth wrote:
> How do these objects even out your ratios (or, I guess, what do you mean by
> that)? Finding the difference between two frequencies after converting them
> to a MIDI value allows you to work linearly instead of logarithmically,
> which is just easier--well, for me anyway. For example, after converting
> 912Hz and 1081Hz to MIDI and getting the difference, you come up with
> 2.9431. Now you can just think of them as 2.9431 half-steps apart, and that
> one number will work starting from any pitch. If you stick to the frequency
> realm, you'll have to consider them a ratio of 912:1081, which is fine, but
> a little ugly and not as easy.
>
> As far as filling in the gaps, I don't know if this will help at all or not,
> but it might be something to think about. When you look at how the major
> scale is constructed, it can be seen as taking advantage of the first few
> harmonics in the harmonic series. I'll use the C major scale to (try to)
> illustrate. Going up from C in the harmonic series, you get an octave, a
> fifth (G), another octave, a major third (E), and another fifth [1]. Those
> last three notes are a C major triad (C-E-G). Now, stepping back a bit, the
> first note other than C in the series is G, the fifth, or dominant, in the
> scale. If you go the other way, down a fifth, you get F, the subdominant.
> Now, taking the intervals from the C major chord and applying them to G and
> F, you get G-B-D and F-A-C, respectively. The notes in those chords are what
> is used to fill in the gaps, and now you have all of the notes of a C major
> scale: C-D-E-F-G-A-B.
>
> I mention all of that because you're already working with partials. So
> perhaps working with an interval or ratio between two of your partials and
> applying that to another of your partials to generate new frequencies might
> get you somewhere. Or it might suck, who the fuck knows :-). Either way,
> this sounds like an interesting project, and I'd be interested in seeing
> where you go with all of this.
>
> Best of luck,
> .mmb
>
> [1] http://en.wikipedia.org/wiki/Harmonic_series_(music)
>
> J bz wrote:
>
> Dear Mike and Andrew,
>
> Thank you for your speedy responses, though I think I am not explaining
> myself very well.  I don't want to use mtof or ftom as these objects even
> out my ratios.  What I'm looking to do is create a scale (say 12 notes for
> example) out of these ratio's with the possibility of filling in the
> consonant gaps whilst preserving the original frequencies and ratio's.  The
> 1st number in each group is the strongest partial so: 912Hz, 1081Hz, 1211Hz
> etc.  If I'm saying that these frequencies are 'good' to my ear, is there a
> way of creating equally 'good' sounding notes to fill in the gaps in, say
> for example, a 12 note scale based on these notes scaling from the lowest to
> the highest without doing the whole thing 'by ear'?
>
> Cheers for weighing in,
>
> Jbz
>
> On Mon, Jul 20, 2009 at 11:16 PM, Andrew Faraday 
> wrote:
>>
>> Hey Jbz
>> I'm not sure if this is what you want, but if you convert a midi note to
>> frequency [mtof] then multiply by integers, you get the natural partials.
>> So if you multiply the outlet of [mtof] by 2 3 4 5 and 6. then you can
>> change the multiplication figure, etc. I think that's the effect you're
>> after.
>> God bless
>> Andrew
>>
>> 
>> Date: Mon, 20 Jul 2009 22:24:05 +0100
>> From: jbee...@googlemail.com
>> To: pd-list@iem.at
>> Subject: [PD] making scales from frequency values
>>
>> Dear all,
>>
>> I have five chimes.  I've worked out the frequencies (using Audacity) of
>> the 5 strongest partials of each chime.  I now want to be able to work out
>> how to change the octaves of the various partials?  My original intention
>> was to find the nearest midinote and just use those but after listening to
>> the results I would much prefer to keep the original ratio's whilst being
>> able to alter the 'inversions'.
>>
>> Here's the list that I have already:
>> BT1
>>     912Hz
>>   2434Hz
>>   4575Hz
>>   7175Hz
>> 11584Hz
>>
>> BT2
>>   1081Hz
>>   2861Hz
>>   5339Hz
>>   8325Hz
>> 15209Hz
>>
>> BT3
>>   1211Hz
>>   3196Hz
>>   5935Hz
>>   9199Hz
>> 15206Hz
>>
>> BT4
>>   1347Hz
>>   3553Hz
>>   6569Hz
>> 10128Hz
>> 18139Hz
>>
>> BT5
>>   1812Hz
>>   4699Hz
>>   8525Hz
>> 13264Hz
>> 15469Hz
>>
>> Is there one piece of mathematrical wizardy that can sort this in Pd?
>>
>> Cheers,
>>
>> Jbz
>>
>> 
>> Windows Live Messenger: Happy 10-Year Anniversary—get free winks and
>> emoticons. Get Them Now
>
> 
> ___
> Pd-list@iem.at mailing

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 diatonic).

The attached patch lets you set the first partial frequency (either
specifying the exact frequency or using the slider to select a MIDI
note), then sets the remaining partials as a ratio of the first
partial. I calculated the ratios using the ratios from BT2.  This
should give you an idea of how to maintain the spacing of the
partials. You can then use a chart like the one Derek included to
figure out which frequencies to use for the first partials, or you
could play around and find them by hand.

Does that help at all?

andy

On Mon, Jul 20, 2009 at 4:20 PM, Dudley
Brooks wrote:
> If he's trying to make a scale which sounds "good" with notes which have
> non-harmonic partials (I don't have the original post to see whether the
> listed frequencies are, indeed, non-harmonic), then he might be interested
> in this:
>
> http://ebook30.com/magazine/music/89538/tuning-timbre-spectrum-scale.html
>
> There's another site on which you can enter the partial frequencies and it
> will generate a "consonant" scale for that timbre.  Unfortunately, I have
> lost the URL, and haven't yet successfully figured out what to search on to
> find it!
>
> Surely someone on this list knows the site (and theory) I'm referring to.
>
> -- Dudley
>
> Derek Holzer wrote:
>>
>> Hi Andrew,
>>
>> it's really not so complicated, it's just simple math. If the root and
>> partial frequencies of his chimes don't fit any note in an existing scale,
>> then trying to squeeze them into one won't "sound good". It's also a lot of
>> list-searching and ear-guessing to see what the "closest fit" might be.
>> Using simple ratios like these will preserve the intervals of the notes no
>> matter what the original frequencies might be.
>>
>> best,
>> D.
>>
>> Andrew Faraday wrote:
>>>
>>> I'll be honest, this sounds a bit advanced. It's logarithmic and thus
>>> beyond me.
>>>
>>> However...
>>>
>>> Perhaps try to find a list of just temperament or world music scales and
>>> their frequencies. See if any match up to the scale you're trying to
>>> achieve.
>>>
>>> Andrew
>>>
>>>  > Date: Tue, 21 Jul 2009 00:52:24 +0200
>>>  > From: de...@umatic.nl
>>>  > To: jbee...@googlemail.com
>>>  > CC: pd-list@iem.at
>>>  > Subject: Re: [PD] making scales from frequency values
>>>  >
>>>  > Still not entirely sure I know what you're after, so at the risk of
>>>  > repeating myself, use the (just intoned) intervals here:
>>>  >
>>>  > 1, 1:1-unison;
>>>  > 2, 135:128-major_chroma;
>>>  > 3, 9:8-major_second;
>>>  > 4, 6:5-minor_third;
>>>  > 5, 5:4-major_third;
>>>  > 6, 4:3-perfect_fourth;
>>>  > 7, 45:32-diatonic_fourth;
>>>  > 8, 3:2-perfect_fifth;
>>>  > 9, 8:5-minor_sixth;
>>>  > 10, 27:16-pyth_major_sixth;
>>>  > 11, 9:5-minor_seventh;
>>>  > 12, 15:8-major_seventh;
>>>  > 13, 2:1-octave;
>>>  >
>>>  > I.e. major third = 6:5, and 6 divided by 5 is 1.2, so to transpose up
>>> a
>>>  > major third, multiply original frequency by 1.2.
>>>  >
>>>  > Or, 5 divided by 6 is 0.8333, so multiply by that to transpose
>>> down
>>>  > a major third. Or cook up something with [expr] that does the job more
>>>  > precisely, like [expr f$1 * (5/6)] etc etc...
>>>  >
>>>  > All of these should "sound good" across the whole musical spectrum so
>>>  > long as you don't plan on changing key ;-)
>>>  >
>>>  > D.
>>>  >
>>>  > J bz wrote:
>>>  >
>>>  > > If I'm saying that these frequencies are
>>>  > > 'good' to my ear, is there a way of creating equally 'good' sounding
>>>  > > notes to fill in the gaps in, say for example, a 12 note scale based
>>> on
>>>  > > these notes scaling from the lowest to the highest without doing the
>>>  > > whole thing 'by ear'?
>>>  >
>>>  > --
>>>  > ::: derek holzer ::: http://blog.myspace.com/macumbista :::
>>>  > http://www.vimeo.com/macumbista :::
>>>  > ---Oblique Strategy # 126:
>>>  > "Only one element of each kind"
>>>  >
>>>  > ___
>>>  > Pd-list@iem.at mailing list
>>>  > UNSUBSCRIBE and account-management ->
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>> 
>>> Share your memories online with anyone you want. Learn more.
>>> 
>>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>


chimes.pd
Description: Binary data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[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's a blog post that talks a little bit about my motivations:
http://www.pillowsopher.com/blog/?p=79

And here's a link to the code:
http://www.pillowsopher.com/stuff/tuiotouch.tgz

andy

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 too.
> I´ve been searching the web for explicit info and tuts for assigning
> controls behaviour in pd to midi events coming from a midi controller (with
> faders and such, not a keyboard) and I wander if you can tell me where that
> info could be found, cause I found nothing clear about it, only some answers
> to some problems, not really explicit.
> I looked it up here in the list but I didn´t find it. (I´m not saying it is
> not there.The answer could be under my own nose, so forgive me if I am not
> aware of that)
>
> Thank you
>
> nan
>
> ___
> 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] 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,
>>
>> How can I play MIDI sounds from PD in OSX? It is necessary to have
>> another MIDI software running? Can I just play General MIDI from PD?
>
> Pd is not a MIDI-synthesizer.
>
> you can:
> - generate MIDI data and send it to a MIDI-synthesizer (using whatever
> MIDI-routing your system provides to get MIDI from one app to another)
> - build your own synthesizer which could be controlled by MIDI. if you
> are truely lazy, there's an object called [fluid~] that let's you import
> soundfonts...
>
> gmadst
> IOhannes
>
> ___
> 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] 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 you have the controller hooked up you should
be able to use the [hid] object to get the inputs.

andy

On Tue, Jan 20, 2009 at 8:00 AM, Andrew Faraday  wrote:
> Dear all
> I've been attemting to use input from an xbox 360 wireless controller for PD
> on mac OS 4. However I can't find anywhere to connect to a bluetooth input
> device. Anyone know?
> God Bless
> Andrew
> 
> Are you a PC?  Upload your PC story and show the world Click Here!
> ___
> 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] 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
> instrument actually is, then fair enough.  it's confusing.
>
> http://en.wikipedia.org/wiki/Brass_instrument#Some_other_brass_instruments
>
> ___
> 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] 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:
> As Live is proprietary software, and they have already embedded Max, I
> don't see how PD could get into it... though PD can be used in
> parallel to Live, sending midi [and I assume audio?.. using Jack or
> soundflower or something?]
>
> PD can also be used as a vst [though I've never done it, being a Linux
> only user, and preferring to work directly in PD]:
> http://crca.ucsd.edu/~jsarlo/pdvst/
>
> Besides the inline editing [inside Live], I haven't thought of a real
> example that cannot be done with PD along-side of Live.. though, it is
> not as slick..
>
> -Alex
>
> On 1/16/09, harris_pil...@gmx.de  wrote:
>> hi guys,
>>
>>  i was just wondering why you guys dont do this max for live thing that
>>  was announced? i guess there will be no way that pd will be
>>  implemented in live like that? but maybe someone in the list has ideas
>>  to work around that?
>>
>>  for the ones who dont know what i'm talking about; it's pretty much
>>  this:  ableton.com/extend
>>
>>  ___
>>  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] 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 b]
>> | |
>> | [;
>> | spigotswitch 0(
>> |
>> [tabwrite~ mytable]
>>
>>
>>
>>
>> [table mytable 256]
>>
>
>
> hmm, i would have done it like:
>
> [bang(
> |
> [tabwrite~ mytable]
>
> [table mytable 256]
>
>
> this way you don't need a global send/receive :-)
>
>
> fgsadmr
> IOhannes
>
> ___
> 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] 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 that helps.

andy

On Tue, Nov 18, 2008 at 12:43 PM, Oded Ben-Tal <[EMAIL PROTECTED]> wrote:
> I'm not sure it's a bug or I'm missing something. I am having problems
> with oscx objects (Pd version 0.40.3-extended-20080721):
> I can create [sendOSC] but not [dumpOSC] If I open the helpfile for
> dumpOSC it usually (but not always!) displays fine but if I try copy/paste
> to another patch it doesn't work. I tried adding [import]] & [declare] to
> no avail (closing and opening the file as well as restarting pd in
> between).
> I also tried adding oscx to the path but that doesn't stick. I managed to
> add other directories to the load path and next time I start pd they are
> there. not when I tried oscx. And the dll files are there in the correct
> place. Is there some mysterious incantation?
>
> thanks
> Oded
>
> ___
> 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] 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~] object.

I think I know how to manipulate the list once I have it, so that part
isn't a problem. I just want something that I can [bang( every once in
a while to get the vector. Any ideas, or places I should be looking?

andy

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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, 2008 at 10:02 AM, bernardo amorim
<[EMAIL PROTECTED]> wrote:
> hi there
> i would like to know if anyone has ever made a thing like this?
>
> http://memo.tv/webcam_piano
>
> in puredata. I have a grid example but i cant seem to understand how if
> functions
>
> can anyone help?
> :)
>
> hugs bern
>
> ___
> 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] 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 and paste them, I then have to move the
original objects out of the way to get access to the newly pasted
objects. I feel like in the previous version of Pd-extended the newly
pasted objects end up on top of the old objects, so that you could
just paste and them move them out of the way.

So first, is my memory of the old behavior correct? Second, is this
the behavior people would expect? Third, are people seeing this across
platforms, or is it just me?

andy

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 control Liquid Media via MIDI messages, or
some sort of message sent via a socket connection (maybe OSC)? If so,
then you might be able to use Pd to capture your pedal input and then
combine that with the information from [fiddle~] and/or [bonk~] to
send the appropriate information to Liquid Media. If the only way to
control Liquid Media is through keystrokes, then you might need to
write some software that intercepts the keystrokes from the pedals and
changes them depending on what is going on in Pd.

andy

On Tue, Apr 29, 2008 at 12:18 PM, Hugh Sung <[EMAIL PROTECTED]> wrote:
> I'm using a presentation program called "Liquid Media", sort of like
> Powerpoint on steroids.  Up to this point i had been using multiple foot
> pedals assigned to different keystrokes to trigger visual cues, like video
> clips, animated GIFs and the like, during live classical music piano
> recitals.
>
> I'd like to incorporate the dynamic capabilities of realtime visual sync,
> with the ability to easily "change the scene", as it were.  i'm hoping that
> someone can help me come up with a combined solution where PD acts as an
> audio trigger controller, triggering keystroke events based on pitch ranges,
> dynamic peaks and rhythmic events, and Liquid Media accepts those
> PD-generated keystrokes to trigger correlating visual cues.  Each scene
> would comprise of specific trigger-able events, and the foot switch would
> allow for a manual "change of scene".  i'm hoping to accomplish two things
> with this combined approach:
>
> 1.  make it a little easier to incorporate visuals synced to audio events
> 2.  allow for easy scene transitions, to better compliment the "narrative"
> structure of classical compositions
>
> Hope this makes sense...thanks all for your input so far! (and patience!)
>
>
>
> On Tue, Apr 29, 2008 at 2:45 PM, Dan Wilcox <[EMAIL PROTECTED]> wrote:
> >
> > As for forwarding keypresses and mouse events to an application ...
> >
> > I have done this in Windows to control FLStudio (aka FruityLoops) by
> sending menu events and keypresses through python windows scripting,
> pywinauto, and osc in python.
> >
> > I have info and code on my website.  It should still work but it's a bit
> old (2006) and I don't use Windows anymore.
> >
> >
> >
> >
> > On Tue, 2008-04-29 at 13:05 -0400, marius schebella wrote:
> > fiddle~ comes with pd (look in the "extra" folder), there is a help
> > patch that will explain how it works.
> > hope this helps.
> > marius.
> >
> > Hugh Sung wrote:
> > > i'm not familiar with that program - can you provide a link to fiddle~,
> > > or any other program that can easily do what i'm looking for with all
> > > the various parameters?
> > >
> > > Many thanks!
> > >
> > > On Tue, Apr 29, 2008 at 12:50 PM, marius schebella
> > > <[EMAIL PROTECTED] > wrote:
> > >
> > > Hugh Sung wrote:
> > >
> > > Actually, this isn't for speech recognition - i'm trying to come
> > > up with a simple way to use key triggers to activate visuals.
> > >
> > > For example: if the piano plays A440, i'm presuming PD can be
> > > configured to recognize that pitch with a microphone input and
> > > then echo out a text string - the letter "A", perhaps.
> > >
> > >
> > > in that case, you best use fiddle~. what's the other program? does
> > > it accept network communication? then you can send the letters over
> > > tcp or udp connection (netsend).
> > > marius.
> > >
> > >
> > >
> > >
> > > --
> > > Hugh Sung
> > > www.hughsung.com 
> > > www.TabletPCMusician.com 
> > > www.musicmeetstech.com 
> >
> >
> >
> >
> >
> > ---
> > Dan Wilcox
> > robotcowboy.com
>
>
>
> --
> Hugh Sung
> www.hughsung.com
>
> www.TabletPCMusician.com
> www.musicmeetstech.com
> ___
>  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] 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 now. So has anyone tried anything else?

andy

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 coming from the Wiimote to
use in your application. For example, if the acceleration on one axis
is 542, you will have to decide what you want that to mean in your
model.

Also remember that gravity causes acceleration, so even if you aren't
moving the Wiimote you will still detect accelertion. You may want to
try to remove that from your calculations.

I'm not sure if any of this is helping. I've been playing around with
accelerometers a little bit lately, so I might be able to help you,
but I'm still not sure I fully understand what you're trying to do and
where you're running into trouble.

andy

On Wed, Apr 2, 2008 at 3:45 AM, Claude Heiland-Allen
<[EMAIL PROTECTED]> wrote:
> Luigi Rensinghoff wrote:
>  > I would liek to simply generate some force in the x or -x dirction to
>  > move a mass.
>  >
>  > The data i get from the wii is i guess already "accelleration" and not
>  > absolute position, since i would liek to avoid using the ir-sensor bar.
>
>  One of Isaac Newton's laws of motion [1]
>
>  F = m a
>
>  force = mass * acceleration
>
>  where force and acceleration are vectors
>
>  I might be misunderstanding what you need, though.
>
>
>  Claude
>
>  [1] http://en.wikipedia.org/wiki/Newton%27s_laws_of_motion
>
>  --
>  http://claudiusmaximus.goto10.org
>
>  ___
>  PD-list@iem.at mailing list
>  UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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

2008-03-22 Thread Andrew Turley
Wow, thanks. I didn't know about pdsend and pdreceive, I had always
just written my own network handling scripts and/or used netcat. Since
I don't need pd to deal with any of the program output this may be a
good avenue to explore.

andy

On Sat, Mar 22, 2008 at 1:49 PM, Claude Heiland-Allen
<[EMAIL PROTECTED]> wrote:
> An alternative method that I like for asynchronous execution is:
>
>  [netsend]
>  [netreceive] -- optional, for knowing when the command has completed
>
>  and a bash script like:
>
>  #!/bin/bash
>  pdreceive ... |
>  while read line
>  do
>somecommand "$LINE" >/dev/null
>echo "done;" # optional
>  done | # optional (pipe)
>  pdsend ... # optional
>
>
>  pdsend and pdreceive are little tools provided with Pd to interact with
>  netsend and netreceive.
>
>  A concrete example:
>
>  8<
>  #!/bin/bash
>  pdreceive 1570 |
>  while read line ; do
>  ppmhist -map histogram-tmp.ppm
>  ppmtoppm histogram-out.ppm
>  echo "ready ;"
>  done |
>  pdsend 1571
>  8<
>
>  The 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 support soon, if it
>  doesn't already.
>
>
>  Claude
>
>
>  Andrew Turley wrote:
>  > 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 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
>  >>  >
>  >>  > ___
>  >>  > PD-list@iem.at mailing list
>  >>  > UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>  >>  > listinfo/pd-list
>  >>
>  >>
>  >>
>  >>  
>  >>  
>  >>
>  >>  The arc of history bends towards justice. - Dr. Martin Luther
>  >>  King, Jr.
>  >>
>  >>
>  >>
>  >
>  > ___
>  > PD-list@iem.at mailing list
>  > UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>
>  --
>  http://claudiusmaximus.goto10.org
>

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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 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
>  >
>  > ___
>  > PD-list@iem.at mailing list
>  > UNSUBSCRIBE and account-management -> http://lists.puredata.info/
>  > listinfo/pd-list
>
>
>
>  
>  
>
>  The arc of history bends towards justice. - Dr. Martin Luther
>  King, Jr.
>
>
>

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[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 hooked up my regular SIXAXIS controller (not the
 GH controller), and I'm not getting the XYZ data either. Sorry about
 that, I assumed it would work the same way.

 And the GH controller is USB, not bluetooth. It is wireless, but they
 use their own communication protocol, not bluetooth. I'm not sure why
 they did that. My only guess is that it saved battery life, or shaved
 $0.50 off the price of the controller.

 andy



 On Sat, Mar 22, 2008 at 8:50 AM, Hans-Christoph Steiner <[EMAIL PROTECTED]> 
wrote:
 >
 >
 > It is supposed to give transposition and rotation in XYZ, hence SIXAXIS.
 > That's the hope at least.
 >
 > .hc
 >
 >
 >
 > On Mar 21, 2008, at 3:59 PM, Mike McGonagle wrote:
 > Hans, do you know how many "control" signals this will produce? From what I
 > read in the literature, it sounds like it also has motion controls. Does
 > that mean that it has XYZ sensors? Or does it also have the pitch and yaw
 > sensors as well? It sounds like a Wii has XYZ and pitch and yaw...
 >
 > Mike
 >
 >
 > On Fri, Mar 21, 2008 at 2:06 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]>
 > wrote:
 > >
 > > I just got a Sony SIXAXIS, I am hoping it is easier to use than the
 > > WiiRemote.  There seems to be more good lowlevel code available for
 > > it, anyway.
 > >
 > > http://www.us.playstation.com/PS3/About/WirelessController
 > > http://www.us.playstation.com/PS3/Accessories/SCPH-98040
 > >
 > > .hc
 > >
 > >
 > >
 > >
 > > On Mar 21, 2008, at 1:00 PM, mark edward grimm wrote:
 > >
 > > > hi Luigi,
 > > >
 > > > thanks for the tip on OSculator. im just looking at it
 > > > now. you have it communicating with pd? i just tried
 > > > it out with nodebox real quick and seems to works
 > > > fine...
 > > >
 > > > i also go the wiitar connecting to pd with a 3rd party
 > > > app called "wiitar"... that works fairly decent too!
 > > >
 > > > i haven't got the wii working with darwiiremoteOSC yet
 > > > but seems pretty straight forward.
 > > >
 > > > i would agree it would be nice to have a pd external
 > > > (aka.wiiremote) but for now these solutions seem
 > > > adequateeh?
 > > >
 > > > i just got these two remotes in the mail from ebay
 > > > yesterday so i have not messed with them too much
 > > > other than making sure they worked... maybe it would
 > > > be nice to have a wiki page or something will all
 > > > wiimote related pd patches/vids/experiments/examples?
 > > >
 > > > ...lots of cool possibilities as a controller i see!!
 > > >
 > > > BTW what else are people doing with the wiimote? i see
 > > > its interfaced with max/msp, and processing also.
 > > >
 > > > Cheers
 > > > mark
 > > >
 > > >
 > > >
 > > > --- Luigi Rensinghoff <[EMAIL PROTECTED]>
 > > > wrote:
 > > >
 > > >>>
 > > >>
 > > >>
 > > >> How is the Progress with the wiiremote external ???
 > > >> (especially Mac-
 > > >> Intel)
 > > >>
 > > >> I have played around with OSculator and its really
 > > >> working fine.
 > > >>
 > > >> Anybody else playing around with the Wii ???
 > > >>
 > > >>
 > > >> Happy Easter
 > > >>
 > > >> Luigi
 > > >>
 > > >>
 > > >>
 > > >>
 > > >>> ---<
 > > >>
 > > >> Luigi Rensinghoff
 > > >> [EMAIL PROTECTED]
 > > >> skype:gigischinke
 > > >> ichat:gigicarlo
 > > >>
 > > >>
 > > >>
 > > >>
 > > >>> ___
 > > >> PD-list@iem.at mailing list
 > > >> UNSUBSCRIBE and account-management ->
 > > >> http://lists.puredata.info/listinfo/pd-list
 > > >>
 > > >
 > > >
 > > > 
 > > > mark edward grimm | m.f.a | ed.m
 > > > syracuse u. | vpa foundations | timearts
 > > > adjunct | new media consultant
 > > > megrimm.net | soci

[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

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


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

2008-03-21 Thread Andrew Turley
Oops, I should be a little more specific ... what I described was my
experience with the Guitar Hero controller, which as far as I can tell
is just a repackaged SIXAXIS controller that sends a different device
ID. It may be slightly different for the regular SIXAXIS controllers,
but use [print] 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
>  0x002d 593
>  0x002e 512
>  ...
>
>  0x002c, 0x002d and 0x002e identify the X, Y and Z messages, and the
>  numbers after them are the values. I was expecting them to show up as
>  regular gamepad messages, so I actually didn't know that I was getting
>  them at first.
>
>  andy
>
>
>
>  On Fri, Mar 21, 2008 at 9:56 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]> 
> wrote:
>  >
>  >  Hmm, so I installed that driver, and now I get the standard gamepad
>  >  data 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 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, Mike McGonagle <[EMAIL PROTECTED]>
>  >  > wrote:
>  >  >> Hans, do you know how many "control" signals this will produce?
>  >  >> From what I
>  >  >> read in the literature, it sounds like it also has motion
>  >  >> controls. Does
>  >  >> that mean that it has XYZ sensors? Or does it also have the pitch
>  >  >> and yaw
>  >  >> sensors as well? It sounds like a Wii has XYZ and pitch and yaw...
>  >  >>
>  >  >> Mike
>  >  >>
>  >  >>
>  >  >>
>  >  >> On Fri, Mar 21, 2008 at 2:06 PM, Hans-Christoph Steiner
>  >  >> <[EMAIL PROTECTED]>
>  >  >> wrote:
>  >  >>>
>  >  >>> I just got a Sony SIXAXIS, I am hoping it is easier to use than the
>  >  >>> WiiRemote.  There seems to be more good lowlevel code available for
>  >  >>> it, anyway.
>  >  >>>
>  >  >>> http://www.us.playstation.com/PS3/About/WirelessController
>  >  >>> http://www.us.playstation.com/PS3/Accessories/SCPH-98040
>  >  >>>
>  >  >>> .hc
>  >  >>>
>  >  >>>
>  >  >>>
>  >  >>>
>  >  >>> On Mar 21, 2008, at 1:00 PM, mark edward grimm wrote:
>  >  >>>
>  >  >>>> hi Luigi,
>  >  >>>>
>  >  >>>> thanks for the tip on OSculator. im just looking at it
>  >  >>>> now. you have it communicating with pd? i just tried
>  >  >>>> it out with nodebox real quick and seems to works
>  >  >>>> fine...
>  >  >>>>
>  >  >>>> i also go the wiitar connecting to pd with a 3rd party
>  >  >>>> app called "wiitar"... that works fairly decent too!
>  >  >>>>
>  >  >>>> i haven't got the wii working with darwiiremoteOSC yet
>  >  >>>> but seems pretty straight forward.
>  >  >>>>
>  >  >>>> i would agree it would be nice to have a pd external
>  >  >>>> (aka.wiiremote) but for now these solutions seem
>  >  >>>> adequateeh?
>  >  >>>>
>  >  >>>> i just got these two remotes in the mail from ebay
>  >  >>>> yesterday so i have not messed with them too much
>  >  >>>> other than making sure they worked... maybe it would
>  >  >>>> be nice to have a wiki page or something will all
>  >  >>>> wiimote related pd patches/vids/experiments/examples?
>  >  >>>>
>  >  >>>> ...lots of cool possibilities as a controller i see!!
>  >  >>>>
>  >

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

2008-03-21 Thread Andrew Turley
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
0x002d 593
0x002e 512
...

0x002c, 0x002d and 0x002e identify the X, Y and Z messages, and the
numbers after them are the values. I was expecting them to show up as
regular gamepad messages, so I actually didn't know that I was getting
them at first.

andy

On Fri, Mar 21, 2008 at 9:56 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]> 
wrote:
>
>  Hmm, so I installed that driver, and now I get the standard gamepad
>  data 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 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, Mike McGonagle <[EMAIL PROTECTED]>
>  > wrote:
>  >> Hans, do you know how many "control" signals this will produce?
>  >> From what I
>  >> read in the literature, it sounds like it also has motion
>  >> controls. Does
>  >> that mean that it has XYZ sensors? Or does it also have the pitch
>  >> and yaw
>  >> sensors as well? It sounds like a Wii has XYZ and pitch and yaw...
>  >>
>  >> Mike
>  >>
>  >>
>  >>
>  >> On Fri, Mar 21, 2008 at 2:06 PM, Hans-Christoph Steiner
>  >> <[EMAIL PROTECTED]>
>  >> wrote:
>  >>>
>  >>> I just got a Sony SIXAXIS, I am hoping it is easier to use than the
>  >>> WiiRemote.  There seems to be more good lowlevel code available for
>  >>> it, anyway.
>  >>>
>  >>> http://www.us.playstation.com/PS3/About/WirelessController
>  >>> http://www.us.playstation.com/PS3/Accessories/SCPH-98040
>  >>>
>  >>> .hc
>  >>>
>  >>>
>  >>>
>  >>>
>  >>> On Mar 21, 2008, at 1:00 PM, mark edward grimm wrote:
>  >>>
>  >>>> hi Luigi,
>  >>>>
>  >>>> thanks for the tip on OSculator. im just looking at it
>  >>>> now. you have it communicating with pd? i just tried
>  >>>> it out with nodebox real quick and seems to works
>  >>>> fine...
>  >>>>
>  >>>> i also go the wiitar connecting to pd with a 3rd party
>  >>>> app called "wiitar"... that works fairly decent too!
>  >>>>
>  >>>> i haven't got the wii working with darwiiremoteOSC yet
>  >>>> but seems pretty straight forward.
>  >>>>
>  >>>> i would agree it would be nice to have a pd external
>  >>>> (aka.wiiremote) but for now these solutions seem
>  >>>> adequateeh?
>  >>>>
>  >>>> i just got these two remotes in the mail from ebay
>  >>>> yesterday so i have not messed with them too much
>  >>>> other than making sure they worked... maybe it would
>  >>>> be nice to have a wiki page or something will all
>  >>>> wiimote related pd patches/vids/experiments/examples?
>  >>>>
>  >>>> ...lots of cool possibilities as a controller i see!!
>  >>>>
>  >>>> BTW what else are people doing with the wiimote? i see
>  >>>> its interfaced with max/msp, and processing also.
>  >>>>
>  >>>> Cheers
>  >>>> mark
>  >>>>
>  >>>>
>  >>>>
>  >>>> --- Luigi Rensinghoff <[EMAIL PROTECTED]>
>  >>>> wrote:
>  >>>>
>  >>>>>>
>  >>>>>
>  >>>>>
>  >>>>> How is the Progress with the wiiremote external ???
>  >>>>> (especially Mac-
>  >>>>> Intel)
>  >>>>>
>  >>>>> I have played around with OSculator and its really
>  >>>>> working fine.
>  >>>>>
>  >>>>> Anybody else playing around with the Wii ???
>  >>>>>
>  >>>>>
>  >>>>> Happy Easter
>  >>>>>
>  >>>>> Lu

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, Mike McGonagle <[EMAIL PROTECTED]> wrote:
> Hans, do you know how many "control" signals this will produce? From what I
> read in the literature, it sounds like it also has motion controls. Does
> that mean that it has XYZ sensors? Or does it also have the pitch and yaw
> sensors as well? It sounds like a Wii has XYZ and pitch and yaw...
>
> Mike
>
>
>
> On Fri, Mar 21, 2008 at 2:06 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]>
> wrote:
> >
> > I just got a Sony SIXAXIS, I am hoping it is easier to use than the
> > WiiRemote.  There seems to be more good lowlevel code available for
> > it, anyway.
> >
> > http://www.us.playstation.com/PS3/About/WirelessController
> > http://www.us.playstation.com/PS3/Accessories/SCPH-98040
> >
> > .hc
> >
> >
> >
> >
> > On Mar 21, 2008, at 1:00 PM, mark edward grimm wrote:
> >
> > > hi Luigi,
> > >
> > > thanks for the tip on OSculator. im just looking at it
> > > now. you have it communicating with pd? i just tried
> > > it out with nodebox real quick and seems to works
> > > fine...
> > >
> > > i also go the wiitar connecting to pd with a 3rd party
> > > app called "wiitar"... that works fairly decent too!
> > >
> > > i haven't got the wii working with darwiiremoteOSC yet
> > > but seems pretty straight forward.
> > >
> > > i would agree it would be nice to have a pd external
> > > (aka.wiiremote) but for now these solutions seem
> > > adequateeh?
> > >
> > > i just got these two remotes in the mail from ebay
> > > yesterday so i have not messed with them too much
> > > other than making sure they worked... maybe it would
> > > be nice to have a wiki page or something will all
> > > wiimote related pd patches/vids/experiments/examples?
> > >
> > > ...lots of cool possibilities as a controller i see!!
> > >
> > > BTW what else are people doing with the wiimote? i see
> > > its interfaced with max/msp, and processing also.
> > >
> > > Cheers
> > > mark
> > >
> > >
> > >
> > > --- Luigi Rensinghoff <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > >>>
> > >>
> > >>
> > >> How is the Progress with the wiiremote external ???
> > >> (especially Mac-
> > >> Intel)
> > >>
> > >> I have played around with OSculator and its really
> > >> working fine.
> > >>
> > >> Anybody else playing around with the Wii ???
> > >>
> > >>
> > >> Happy Easter
> > >>
> > >> Luigi
> > >>
> > >>
> > >>
> > >>
> > >>> ---<
> > >>
> > >> Luigi Rensinghoff
> > >> [EMAIL PROTECTED]
> > >> skype:gigischinke
> > >> ichat:gigicarlo
> > >>
> > >>
> > >>
> > >>
> > >>> ___
> > >> PD-list@iem.at mailing list
> > >> UNSUBSCRIBE and account-management ->
> > >> http://lists.puredata.info/listinfo/pd-list
> > >>
> > >
> > >
> > > 
> > > mark edward grimm | m.f.a | ed.m
> > > syracuse u. | vpa foundations | timearts
> > > adjunct | new media consultant
> > > megrimm.net | socialmediagroup.org & .com
> > > [EMAIL PROTECTED] | 585.509.8703
> > > 
> > >
> > >
> > >
> > >
> > >
> > > ___
> > > PD-list@iem.at mailing list
> > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> > > listinfo/pd-list
> >
> >
> >
> > 
> > 
> >
> > All information should be free.  - the hacker ethic
> >
> >
> >
> >
> >
> >
> >
> >
> > ___
> > PD-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> >
>
>
>
> --
> Peace may sound simple—one beautiful word— but it requires everything we
> have, every quality, every strength, every dream, every high ideal.
> —Yehudi Menuhin (1916–1999), musician
> ___
>  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] 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 info is coming out,
and then [route] the messages accordingly.

andy

On Thu, Mar 20, 2008 at 12:22 PM, marius schebella
<[EMAIL PROTECTED]> wrote:
> Hi,
>  you can use only [hid] and send
>  [open 0(
>  message before you poll then a
>  [1(
>  message to start polling. device 0 is the keyboard on osx (at least I
>  think this is always the case, not sure, you can use "print" to get a
>  list of devices.)
>  then go with route and select, bla bla.
>  there seems to be a printout bug,  because I get a mass of printout to
>  the console. "output this:..." although I don't want this.
>  marius.
>
>
>
>
>  Mike McGonagle wrote:
>  > Hans (or anyone),
>  >
>  > After reading several comments on the Alternate Controller thread, I
>  > figured that I would try to use the [hid] stuff... but, as the stuff in
>  > the Extended (most recent nightly build) is kind of broken. While the
>  > [hid] object is, itself, in the 'extra' directory, everything else is in
>  > a subfolder called 'hid'. So, in trying to use the [keyboard] help
>  > patch, it comes up with [keyboard] as not being found, so I rename that
>  > object to [hid/keyboard], and it creates the object.
>  >
>  > So, it would appear that I can create an object in my patches, but I
>  > can't seem to quite figure out how to get stuff out of the [keyboard]
>  > abstraction. I opened the help patch (and after renaming the object), I
>  > start it polling, and don't seem to get anything.
>  >
>  > I am running a Mac OS X PPC 10.4.11 system, if that is important...
>  >
>  > I would like to try to set up a keyboard layout that allows me to use
>  > specific keys to select a particular parameter to control, and then be
>  > able to change that value either by moving the mouse, or by using
>  > (possibly) the arrow (up/down) to change the value.
>  >
>  >
>  > Mike
>  >
>  > --
>  > Peace may sound simple—one beautiful word— but it requires everything we
>  > have, every quality, every strength, every dream, every high ideal.
>  > —Yehudi Menuhin (1916–1999), musician
>  >
>  >
>  > 
>  >
>  > ___
>  > 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] 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 Barknecht <[EMAIL PROTECTED]> wrote:
> Hallo,
>
> Frank Barknecht hat gesagt: // Frank Barknecht wrote:
>
>  > Hallo,
>  > Jack hat gesagt: // Jack wrote:
>  >
>  > > Le 20 mars 08 à 15:43, Frank Barknecht a écrit :
>  > > >I don't know of an external which adds PHP support inside of Pd. If
>  > > >you are talking about which programming language to choose outside of
>  > > >Pd: I'd choose whatever you feel most comfortable with. Of course one
>  > > >could debate which language is the "better" language, Lua or PHP, but
>  > > >I think, this would be very off-topic here.
>  > > Of course, I selected that with which I am more at ease. :)
>  > > In fact, i just want to know if Lua is as at ease as PHP with
>  > > Internet, string operation and MySQL.
>  > > Lua is well implemented in PD, so i think it's not very off-topic here !
>  >
>  > Yeah, I meant the more general discussion if Lua altogether is
>  > "better" than PHP would be off-topic. Until PHP is available in Pd,
>  > the choice between Lua and PHP inside of Pd is easy.
>
>  Oh, and if you're only interested in speed: The Language Shootout
>  shows Lua as generally being roughly twice as fast and memory friendly
>  than PHP in most cases: http://tinyurl.com/ypgvnf
>
>  Lua is 13 times slower than C++, PHP is 23 times slower. (Tcl there is
>  44 times slower ...)
>
>
>
>  Ciao
>  --
>   Frank Barknecht _ __footils.org__
>
>  ___
>  PD-list@iem.at mailing list
>  UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
>

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list