Re: [PD] pduino 0.5 servofirmata pd crash

2010-02-21 Thread Jose Luis Santorcuato
Hi, i prefer the standard firmata, i dont have problems with motors 5v or
3v. pd dont crash...
OS?
gREETINGS FROM cHILE

José



2010/2/20 Ricardo Brazileiro 

> olá,
>
> I was testing my servo motor using pduino 0.5 ServoFirmata with
> arduino-test.pd and when I change the value to pin 10 the pure-data crash.
>
> I'm using the most recent release of pd-extended and ubuntu 9.04
>
> How to use ServoFirmata and arduino object?
>
> cheers
>
> --
> ricardo brazileiro
> http://rbrazileiro.info
>
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
http://www.chilemigra.cl
http://arselectronicachile.blogspot.com
http://www.myspace.com/santorcuato
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Wiimote and MotionPlus on Linux

2010-02-21 Thread Jack
Hi Roman,

I have downloaded this version :
http://mikewoz.com/downloads/wiimote_0.6.00.tar.gz
from :
http://mikewoz.com/pd-stuff.php

But I can't see in the wiimote.c something related to the MotionPlus.
++

Jack



Le dimanche 21 février 2010 à 18:05 +0100, Roman Haefeli a écrit :
> Hi Jack
> 
> It's a while ago since I played the last time with it. IIRC, you just
> need to compile a recent version of [wiimote] in order to get support
> for the MotionPlus-extension. 
> 
> Hm, I seem not to be able to find Mike Wonzniewski's Wiimote page
> anymore. Has it moved? If so, where?
> 
> This is not valid anymore:
> http://mikewoz.com/index.php?page=pd-stuff
> 
> Roman
> 
> 
> 
> On Sun, 2010-02-21 at 17:29 +0100, Jack wrote:
> > Is it possible to use the Wiimote with MotionPlus on Linux ?
> > It seems [wiimote] need an upgrade to return informations from the
> > MotionPlus. Am I wrong ?
> > Thanx.
> > ++
> > 
> > Jack
> > 
> > 
> > ___
> > 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] poly second inlet

2010-02-21 Thread Jonathan Wilkes


--- On Sun, 2/21/10, Matteo Sisti Sette  wrote:

> From: Matteo Sisti Sette 
> Subject: [PD] poly second inlet
> To: "PD list" 
> Date: Sunday, February 21, 2010, 6:03 PM
> Hi,
> 
> What does the second inlet of [poly] do?

Velocity.  (Notice all the messages sent to the first inlet are lists.)

> 
> It doesn't seem to change either the number of voices nor
> to dynamically enable/disable voice stealing.

Maybe there should be a third inlet for voice stealing.

-Jonathan


  


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


Re: [PD] poly second inlet

2010-02-21 Thread Matteo Sisti Sette
Oh sorry, what a stupid: obviously the second inlet is for inputting 
"unpacked" notes, with velocity into the right inlet and note number 
into the left one :$


Matteo Sisti Sette escribió:

Hi,

What does the second inlet of [poly] do?

It doesn't seem to change either the number of voices nor to dynamically 
enable/disable voice stealing.


The help patch doesn't say anything about it; there is a comment that says:
"<-- scroll to change the value of delay in milliseconds."
where the "<--" arrow points to nothing.

I thought the autor of the help patch may have forgotten to put a number 
box connected to the right inlet (which would be just next to the 
comment); however I have tried to connect a numberbox and I don't see 
any delay, neither on note-on's nor on note-off's (the latter was what I 
expected, since it would be very useful to account for release time when 
managing polyphony)


Is that comment an error (probably copy-pasted by accident from another 
object's help patch)? Or does the second inlet actually control some 
delay that I'm not seing because I don't know where to look?


thanks
m.




--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


Re: [PD] turn a symbol to a message

2010-02-21 Thread Jonathan Wilkes


--- On Sun, 2/21/10, Roman Haefeli  wrote:

> From: Roman Haefeli 
> Subject: Re: [PD] turn a symbol to a message
> To: "Ignacio Lois" 
> Cc: pd-list@iem.at
> Date: Sunday, February 21, 2010, 11:03 AM
> On Sat, 2010-02-20 at 20:01 +0100,
> Ignacio Lois wrote:
> > Hello everyone.
> > 
> > I've been pulling my hair out for a while with an
> inexplicable
> > problem.
> > I'm trying to build an [open file.wav( message to feed
> a [readsf~]
> > object.
> > A [makefilename] object is returning the exact symbol.
> I'm connecting
> > it to a [$1( message, and then onto the [readsf~]
> object and I get the
> > error: "readsf~_ no method for 'open file.wav'
> > If I replace the $1 message for the hard coded "open
> file.wav", it
> > works perfectly.
> > What am I doing wrong?
> 
> And yeah: Pd is missing a way to display the distinction
> between:
> 
> "'open file.wav'"       <-
> 'open file.wav' selector
> 
> and:
> 
> "'open' 'file.wav'"    <- message with 'open'
> selector
>                
>           and 'file.wav' as first
> argument
> 
> Both look the same, when printed. This indeed could be
> confusing. How
> about adding a 'debug' [print] option (-d?) to make [print]
> not decode
> incoming message, but make it print all the implicit stuff,
> that is
> usually hidden? Would that make sense?

How would [print] resolve this ambiguity?  Both messages above 
are handled by the print_anything method, which prints the selector 
+ any atoms that make up the rest of the message.  Plus if there's a way 
to clearly distinguish visually between these two messages, I'd rather see 
that solution applied to Pd as a whole, so that for instance symbols with 
spaces in them may be saved in a patch.

In the meantime, it might be helpful to make an abstraction that breaks up 
an incoming message into its constituent parts.  So one's output would look 
like this:
selector: open file.wav
arguments:

while the the other's would look like this:
selector: open
arguments: file.wav

But I don't think this should be the job of the [print] object.

-Jonathan


  


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


Re: [PD] Wiimote and MotionPlus on Linux

2010-02-21 Thread Roman Haefeli
Hi Jack

It's a while ago since I played the last time with it. IIRC, you just
need to compile a recent version of [wiimote] in order to get support
for the MotionPlus-extension. 

Hm, I seem not to be able to find Mike Wonzniewski's Wiimote page
anymore. Has it moved? If so, where?

This is not valid anymore:
http://mikewoz.com/index.php?page=pd-stuff

Roman



On Sun, 2010-02-21 at 17:29 +0100, Jack wrote:
> Is it possible to use the Wiimote with MotionPlus on Linux ?
> It seems [wiimote] need an upgrade to return informations from the
> MotionPlus. Am I wrong ?
> Thanx.
> ++
> 
> Jack
> 
> 
> ___
> 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] poly second inlet

2010-02-21 Thread Matteo Sisti Sette

Hi,

What does the second inlet of [poly] do?

It doesn't seem to change either the number of voices nor to dynamically 
enable/disable voice stealing.


The help patch doesn't say anything about it; there is a comment that says:
"<-- scroll to change the value of delay in milliseconds."
where the "<--" arrow points to nothing.

I thought the autor of the help patch may have forgotten to put a number 
box connected to the right inlet (which would be just next to the 
comment); however I have tried to connect a numberbox and I don't see 
any delay, neither on note-on's nor on note-off's (the latter was what I 
expected, since it would be very useful to account for release time when 
managing polyphony)


Is that comment an error (probably copy-pasted by accident from another 
object's help patch)? Or does the second inlet actually control some 
delay that I'm not seing because I don't know where to look?


thanks
m.

--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


[PD] GEM: can't load library / libMagickWand Problem

2010-02-21 Thread Dario Pedrioli
Hi,

i'm running Gem 0.92.2 compiled by myself and Ubuntu 9.04 64 bit

I've a problem with GEM:

when I launch PD it throw me this error (found nothing on google):

/usr/local/lib/pd/extra/Gem.pd_linux: /usr/lib/libMagickWand.so.1: undefined
symbol: ClutImageChannel
Gem: can't load library

Never had this problem before on the same machine... maybe a libmagick
upgrade?

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


[PD] Wiimote and MotionPlus on Linux

2010-02-21 Thread Jack
Is it possible to use the Wiimote with MotionPlus on Linux ?
It seems [wiimote] need an upgrade to return informations from the
MotionPlus. Am I wrong ?
Thanx.
++

Jack


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


Re: [PD] displaying waveforms in gem

2010-02-21 Thread Martin Schied
hi Andrew, I remember a discussion about this in the board  - someone 
buit this based on [curve] I think. Also I know of a pdmtl abstraction 
which uses gl primitives for displaying the waveform, which is a bit 
faster than using curve (at least I think so) it's pdmtl/gems.scope~-help.pd


regards,
Martin

Andrew Faraday wrote:

Hey All

I'm looking into some live sampling work with direct visualization in 
Gem. I'm just wondering if there's a way to use the waveform of a 
sample (I.E. What you see in an array containing audio) as an object 
in gem. 

The only way I can think of doing it is taking a screen shot of an 
array, saving that to a file and using that as a texture. This way 
isn't particularly adaptable, however, as I'd need to go through the 
process for any new sample. 


Any Ideas?

Thanks

Andrew


We want to hear all your funny, exciting and crazy Hotmail stories. 
Tell us now 



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

I

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


Re: [PD] PD, xxxduino and adafruitmotor shield

2010-02-21 Thread Derek Holzer
All you need to drive a DC motor is simply some kind of transistor. The 
Arduino cannot provide enough current, that is all. With stepper motors, 
it's a bit more complicated since there is a forward and a reverse 
pulse. Also, if you want to be able to change the direction of the DC 
motor, then you will need to use some sort of H-Bridge IC to switch the 
direction of the DC current. IIRC, the H-Bridge simply take High or Low 
to one pin to switch the current from positive-flowing to 
negative-flowing. If you only want one direction for your stepper, you 
could try just sending PWM via a transistor to one leg of the stepper 
and see what happens ;-)


I'm sure others have less Neanderthal suggestions, but these could get 
your started.


D.

JNM wrote:


Salut

We are in Dakar, Sénégal, for the second PD/XXXduino workshop in west 
Africa where we prototype a suitcase for the pedagogy of interactive 
art.(( http://www.craslab.org/valise (draft, english soon)))


We try to find a solution to control the stepper motor and dc motor with 
PD standard firmata 2.1 with the adafruitmotorshield. Servomotors are 
easy to pilot from PD, but steppers and DC motor are piloted by a chip.

The docs says (http://www.ladyada.net/make/mshield/faq.html):

 "The DC/Stepper motors are NOT connected to the Arduino directly. They 
are connected to the 74HC595 latch which is spoken to by the Arduino. 
You CANNOT talk directly to the motors, you MUST use the motor shield 
library"


Does anyone in the list has found a hack to talk to this chip from PD to 
pilot the steppers and DC motors ?

Thanks
JNM, Jérôme Abel, and 17 Senegalese and Malian students

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




--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 100:
"It is quite possible"

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


Re: [PD] turn a symbol to a message

2010-02-21 Thread Matteo Sisti Sette

Roman Haefeli wrote:

> And yeah: Pd is missing a way to display the distinction between:
> ...

Not only to display it, but also to represent it (for example for 
storing it into a file with [textfile], or into a message box with [set 
...( and not re-parsing it; and for manually writing it as a "literal").


Indeed Pd is missing a way of properly managing all characters that have 
some special meaning, like whitespace, dollar sign, commas and 
semicolons, and even characters that have some special meaning 
_internally_, such as brackets, which cause weird behaviours if used as 
labels of gui objects (sometimes the weirdnesses only manifest 
themselves after saving and loading the patch)



--
Matteo Sisti Sette
matteosistise...@gmail.com
http://www.matteosistisette.com

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


[PD] PD, xxxduino and adafruitmotor shield

2010-02-21 Thread JNM


Salut

We are in Dakar, Sénégal, for the second PD/XXXduino 
workshop in west Africa where we prototype a suitcase for 
the pedagogy of interactive art.(( 
http://www.craslab.org/valise (draft, english soon)))


We try to find a solution to control the stepper motor and 
dc motor with PD standard firmata 2.1 with the 
adafruitmotorshield. Servomotors are easy to pilot from 
PD, but steppers and DC motor are piloted by a chip.
The docs says 
(http://www.ladyada.net/make/mshield/faq.html):


 "The DC/Stepper motors are NOT connected to the Arduino 
directly. They are connected to the 74HC595 latch which is 
spoken to by the Arduino. You CANNOT talk directly to the 
motors, you MUST use the motor shield library"


Does anyone in the list has found a hack to talk to this 
chip from PD to pilot the steppers and DC motors ?

Thanks
JNM, Jérôme Abel, and 17 Senegalese and Malian students

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


Re: [PD] displaying waveforms in gem

2010-02-21 Thread Derek Holzer

Hi Andrew,

I know this got discussed, using the [curve] GEM object I think, a few 
years ago here... it might have been someone who was working with my 
Particlechamber, even. Problem is, I can't remember who it was. I think 
searching the archive with the same keywords as your subject line should 
turn it up though... HTH!


D.

Andrew Faraday wrote:

Hey All

I'm looking into some live sampling work with direct visualization in 
Gem. I'm just wondering if there's a way to use the waveform of a sample 
(I.E. What you see in an array containing audio) as an object in gem. 

The only way I can think of doing it is taking a screen shot of an 
array, saving that to a file and using that as a texture. This way isn't 
particularly adaptable, however, as I'd need to go through the process 
for any new sample. 



--
::: derek holzer ::: http://macumbista.net :::
---Oblique Strategy # 168:
"Use fewer notes"

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


[PD] displaying waveforms in gem

2010-02-21 Thread Andrew Faraday

Hey All
I'm looking into some live sampling work with direct visualization in Gem. I'm 
just wondering if there's a way to use the waveform of a sample (I.E. What you 
see in an array containing audio) as an object in gem. 
The only way I can think of doing it is taking a screen shot of an array, 
saving that to a file and using that as a texture. This way isn't particularly 
adaptable, however, as I'd need to go through the process for any new sample. 
Any Ideas?
Thanks
Andrew
_
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] turn a symbol to a message

2010-02-21 Thread Roman Haefeli
On Sat, 2010-02-20 at 20:01 +0100, Ignacio Lois wrote:
> Hello everyone.
> 
> I've been pulling my hair out for a while with an inexplicable
> problem.
> I'm trying to build an [open file.wav( message to feed a [readsf~]
> object.
> A [makefilename] object is returning the exact symbol. I'm connecting
> it to a [$1( message, and then onto the [readsf~] object and I get the
> error: "readsf~_ no method for 'open file.wav'
> If I replace the $1 message for the hard coded "open file.wav", it
> works perfectly.
> What am I doing wrong?

And yeah: Pd is missing a way to display the distinction between:

"'open file.wav'"   <- 'open file.wav' selector

and:

"'open' 'file.wav'"<- message with 'open' selector
  and 'file.wav' as first argument

Both look the same, when printed. This indeed could be confusing. How
about adding a 'debug' [print] option (-d?) to make [print] not decode
incoming message, but make it print all the implicit stuff, that is
usually hidden? Would that make sense?

Roman




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


Re: [PD] turn a symbol to a message

2010-02-21 Thread Roman Haefeli
Somehow you managed to create a symbol "open file.wav" (with a space in
between). Usually a space character is used as a delimiter for
separating the elements of a Pd message. However, when the space
character is part of the symbol itself, which is only possible to do by
using [makefilename], it cannot serve as a delimiter between the 'open'
part and the 'file.wav' part anymore. 
What [readsf~] expects is a message with the 'open' method with the
first argument being the filename, for instance 'file.wav'. A message
box with the following content could work:

[open file.wav(

But you also could compose such a message without using [makefilename]:

[symbol file.wav(
|
[open $1(

or:

[symbolbox\
|
[open $1(

Traditionally, [makefilename] was used to compose the filename part (not
the whole message), for example when you used some kind of a template
for filenames, for instance fileX.wav, where X would have been a 
number.  

[numberbox\ <- 40
|
[makefilename file%d.wav]
|
[open $1(

-> open file40.wav

However, with modern versions of Pd, variable substitution within symbol
elements works as well, which is even simpler:

[numberbox\
|
[open file$1.wav( 

Another case, which you still need [makefilename] for, is when you would
like the number part of the composed message to be fixed-length:

[numberbox\ <- 91
|
[makefilename file%04d.wav]
|
[open $1(

->  open file0090.wav

Hope that helps
Roman




On Sat, 2010-02-20 at 20:01 +0100, Ignacio Lois wrote:
> Hello everyone.
> 
> I've been pulling my hair out for a while with an inexplicable
> problem.
> I'm trying to build an [open file.wav( message to feed a [readsf~]
> object.
> A [makefilename] object is returning the exact symbol. I'm connecting
> it to a [$1( message, and then onto the [readsf~] object and I get the
> error: "readsf~_ no method for 'open file.wav'
> If I replace the $1 message for the hard coded "open file.wav", it
> works perfectly.
> What am I doing wrong?



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


[PD] Fontsize of all non-pd windows

2010-02-21 Thread meino . cramer

Hi,

how can I change the fontsize off all window, which do not
contain patches (i.e. help browser, console etc...)?

When starting pd form the commandline, it prints
TCL_LIBRARY="/usr/lib/pd/tcl/library" TK_LIBRARY="/usr/lib/pd/tk/library"   
   "/usr/lib/pd/bin/pd-gui" 5400
Waiting for connection request...
... connected
tk scaling is 1.5549433731251912

I dont know, whether the tk scaling has something to do with font
sizes ?!?!?

Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.


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