[PD] Pitchshift frequency bins to specific frequencies

2013-10-23 Thread Nick Burge
Hi Peiman, I have tried the warp patch on my osx 10.8 laptop with csound6 
installed, but get the error on the console  [curve]: list must contain 3 
elements for each vortex.
Any clues?
Nick
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Raspberry Pi USB2 audio fixed

2013-07-03 Thread Nick Burge
I also found that powering off a 2amp 5v usb hub gave dramatically better 
results. Full duplex two channels at 44.1khz without dropouts.


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


Re: [PD] Announcing PdParty

2013-03-09 Thread Nick Burge
Hello Dan, could you please add me to your list for the pdparty/testflight app
many thanks Nick Burge
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] 64bit 32bit query

2012-11-19 Thread Nick Burge
Is it possible to build a 64 bit version of pd vanilla for osx 10.7 (x86_64 
plus i386) that will run 64 bit and/or 32 bit externals?
I tried ./configure --enable-universal, which creates the makefiles, but  the 
build fails with:

llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple 
-arch flags

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


[PD] iemmatrix on osx 10.7

2012-03-10 Thread Nick Burge
Hello list, i am trying to compile iemmatrix for use in pd vanilla 0.43.0
Following instructions on a recent post.

I have set up the Xcode command line tools on my mac powerbook and type:

make 
CONFIGUREFLAGS=--with-pd=/Applications/Pd-0.43-0.app/Contents/Resources/src

aclocal runs, autoconf runs, and make starts to compile the library, 
successfully locating the m_pd.h file, then the compilation fails:

sys_bashfilename, referenced from:
 _matrix_write in matrix.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [iemmatrix] Error 1



has anyone compiled this successfully on osx lion?
Nick
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] c:ntr:l

2011-03-01 Thread Nick Burge
Remains a mystery for the time beingI installed the 
ttf-bitstream-vera font via synaptic which was not actually installed 
before, but without the -font-face Monaco flag it still crashed...
Meanwhile your patch/program is really great. Fantastic realtime audio 
processes, but problematical when using video ... as soon as I open a 
gem window audio starts to break up. To stop audio from breaking up on 
my laptop I've had to hack the C[]NTR[]L patch into seperate audio and 
video patches, and running 2 simultaneous instances of pd one for audio 
and one for video, sending the note bangs via OSC/udp from one instance 
to the other.  Not sure why one should have to do this, but it works 
perfectly like that. Maybe you know an easier way??

Thank you for your help and sharing this with the pd community.
Nick

On 02/28/2011 05:51 PM, Marco Donnarumma wrote:

Hi Nick,
good to know, but this is just a workaround.
That command line changes the font-face which Pd will use.

Looking for the xfont error log you have posted I found this thread:
http://linux.derkeiler.com/Mailing-Lists/Debian/2005-05/2360.html

A similar error has been solved --dpkg purge(ing) and apt-get 
install(ing) two font packages.
If I'm not wrong the Pd default font is ttf-bitstream-vera, I guess 
there could be something wrong in your font configuration.


Although, I don't understand why it causes your Pd to crash only with 
cntrl and flext.

Anyone?

Best,
Marco


On Mon, Feb 28, 2011 at 9:17 AM, Nick Burge nbu...@virginmedia.com 
mailto:nbu...@virginmedia.com wrote:


Yesthat's it. The patch loads fine now. I guess I should add
the -font-face Monaco flag to the startup settings.
Can you explain why this makes it work?
Thanks very much for your help.
Nick


On 02/28/2011 01:28 AM, Marco Donnarumma wrote:

Hi Nick,
I see. Thanks for the info.

Could you try to start Pd from the terminal with:
pdextended -font-face Monaco

It seems hard to find the problem. I saw you wrote on the list,
did anybody replied?
If not, I'll write too. I'm sorry but I'm a bit clueless at the
moment, but I use to run the patch on several Ubuntu machines and
never encountered this problem before.

Best,
Marco



On Wed, Feb 23, 2011 at 10:33 PM, Nick Burge
nbu...@virginmedia.com mailto:nbu...@virginmedia.com wrote:

Hi Marco, I uninstalled compiz in synaptic but the crash is
still happening. Yes, I can bang the other bangs and I see
the help patches no problem. The graphic card is G86 nvidia
GEforce 8400m G
The only time I had a crash like this was when trying to use
Thomas Grills flext based external Xsample.
Otherwise PD behaves in a very stable manner.
The font issue may well be the cause, but that is just a sort
of hunch of mine.
Many thanks for your interest and support in this problem
Nick




On 02/23/2011 01:01 PM, Marco Donnarumma wrote:

Ok, if you have Compiz enabled, could you try to disable it
and run again CNTRL from the terminal?

Are you able to bang the other [bangs] in the splash screen
and see the related popup subpatches?

Which graphic card do you have?

It seems something related to the font Pd look for, but
can't find useful info about it. I'll keep on looking.

Can you normally use Pd with no problem?

Thanks,

Best,
Marco





On Tue, Feb 22, 2011 at 9:02 PM, Nick Burge
nbu...@virginmedia.com mailto:nbu...@virginmedia.com wrote:

Hi MarcoI tried the -noloadbang flag, but the crash
actually occurs when I click the big bang button on the
splash screen to open the main C[]NTR[]L patch.
Any ideas much appreciated.
Nick



On 02/22/2011 06:07 PM, Marco Donnarumma wrote:

Hi Nick,
thanks for your feedback, much appreciated.

I run the software on Ubuntu Lucid Lynx with no problem.
Indeed, the log you posted seems to be something X11
related, even though at the moment we cannot exclude
it's CNTRL doing something that your system does not like.

Could you try to run CNTRL in the terminal with the
flag -noloadbang?
Perhaps there are some initialization parameters which
conflict with some settings of your system.

Thanks,
Best wishes,
Marco


On Mon, Feb 21, 2011 at 11:54 AM, Nick Burge
nbu...@virginmedia.com
mailto:nbu...@virginmedia.com wrote:

btw, running pd extended in a terminal I get the
following error when it crashes out


X Error of failed request:  BadAlloc (insufficient
resources for operation)
  Major opcode

Re: [PD] c:ntr:l

2011-02-28 Thread Nick Burge
Yesthat's it. The patch loads fine now. I guess I should add the 
-font-face Monaco flag to the startup settings.

Can you explain why this makes it work?
Thanks very much for your help.
Nick

On 02/28/2011 01:28 AM, Marco Donnarumma wrote:

Hi Nick,
I see. Thanks for the info.

Could you try to start Pd from the terminal with:
pdextended -font-face Monaco

It seems hard to find the problem. I saw you wrote on the list, did 
anybody replied?
If not, I'll write too. I'm sorry but I'm a bit clueless at the 
moment, but I use to run the patch on several Ubuntu machines and 
never encountered this problem before.


Best,
Marco



On Wed, Feb 23, 2011 at 10:33 PM, Nick Burge nbu...@virginmedia.com 
mailto:nbu...@virginmedia.com wrote:


Hi Marco, I uninstalled compiz in synaptic but the crash is still
happening. Yes, I can bang the other bangs and I see the help
patches no problem. The graphic card is G86 nvidia GEforce 8400m G
The only time I had a crash like this was when trying to use
Thomas Grills flext based external Xsample.
Otherwise PD behaves in a very stable manner.
The font issue may well be the cause, but that is just a sort of
hunch of mine.
Many thanks for your interest and support in this problem
Nick




On 02/23/2011 01:01 PM, Marco Donnarumma wrote:

Ok, if you have Compiz enabled, could you try to disable it and
run again CNTRL from the terminal?

Are you able to bang the other [bangs] in the splash screen and
see the related popup subpatches?

Which graphic card do you have?

It seems something related to the font Pd look for, but can't
find useful info about it. I'll keep on looking.

Can you normally use Pd with no problem?

Thanks,

Best,
Marco





On Tue, Feb 22, 2011 at 9:02 PM, Nick Burge
nbu...@virginmedia.com mailto:nbu...@virginmedia.com wrote:

Hi MarcoI tried the -noloadbang flag, but the crash
actually occurs when I click the big bang button on the
splash screen to open the main C[]NTR[]L patch.
Any ideas much appreciated.
Nick



On 02/22/2011 06:07 PM, Marco Donnarumma wrote:

Hi Nick,
thanks for your feedback, much appreciated.

I run the software on Ubuntu Lucid Lynx with no problem.
Indeed, the log you posted seems to be something X11
related, even though at the moment we cannot exclude it's
CNTRL doing something that your system does not like.

Could you try to run CNTRL in the terminal with the flag
-noloadbang?
Perhaps there are some initialization parameters which
conflict with some settings of your system.

Thanks,
Best wishes,
Marco


On Mon, Feb 21, 2011 at 11:54 AM, Nick Burge
nbu...@virginmedia.com mailto:nbu...@virginmedia.com wrote:

btw, running pd extended in a terminal I get the
following error when it crashes out


X Error of failed request:  BadAlloc (insufficient
resources for operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  22074
  Current serial number in output stream:  22075
recv: Connection reset by peer (104)

best Nick.



 Original Message 
Subject:c:ntr:l
Date:   Mon, 21 Feb 2011 11:49:50 +
From:   Nick Burge te...@telefonica.net
mailto:te...@telefonica.net
To: de...@thesaddj.com mailto:de...@thesaddj.com



Hello Marco, congratulations on your interesting and beautifully
documented project Xth sense.
I'm interested in trying to get C:NTR:l running on my ubuntu 10.04
laptop system, but trying to start the patch crashes PD and causes 
it to
close immediately.
Do you know of anyone running it on a comparable system?
best regards, Nick Burge.






-- 
Marco Donnarumma

Independent New Media and Sonic Arts Professional,
Performer, Instructor
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http://marcodonnarumma.com
http://marcodonnarumma.com/
Lab: http://www.thesaddj.com http://www.thesaddj.com/ |
http://cntrl.sourceforge.net
http://cntrl.sourceforge.net/ | http://www.flxer.net
http://www.flxer.net/
Event: http://www.liveperformersmeeting.net
http://www.liveperformersmeeting.net/





-- 
Marco Donnarumma

Independent New Media and Sonic Arts Professional, Performer,
Instructor
ACE, Sound Design MSc by Research (ongoing)
The University of Edinburgh, UK
~
Portfolio: http

[PD] C[]NTR[]L crashes ubuntu 10.04

2011-02-21 Thread Nick Burge
Dear List, trying to start the Marco Donnarruma's patch C[]NTR[]L it 
instantly crashes PD.running from a terminal I get this:


X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  22074
  Current serial number in output stream:  22075
recv: Connection reset by peer (104)

and PD immediately shuts down.

running pd-extended 42.5 on linux ubuntu 10.04

Has anyone had this running on a similar system?

Nick

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


Re: [PD] pdp_theonice on ubuntu lucid: Video streaming problem

2010-09-22 Thread Nick Burge

Hi, many thanks for your reply
Now I cannot connect with the ogg patch either.


thsi is what i get playing back an ogg audio file

oggread~: START
oggcast~: connecting to port 8000
oggcast~: logging in to IceCast2 server...
oggcast~: logged in to http://source.giss.tv:8000/entretenidos.ogg
oggcast~: ogg/vorbis encoder initialised
status: 1
error: oggcast~: could not send ogg header to server (-1)
oggcast~: closing due to error...
oggcast~: connection closed
status: 0

Is it just that the server is sometimes not working?
best regards, Nick.










On 09/22/2010 03:33 AM, ydego...@gmail.com wrote:

bis repetita :

nah, it's false problem i think...

giss.tv ( which i admin also ) had some problems today,
try again tomorrow

saludos,
sevy



Nick Burge wrote:
Trying to connect to giss.tv with the pidip patch: giss-pdp-dv.pd I 
get this...


pdp_theonice~ : connection thread -1339835536 launched
pdp_theonice~: connecting to port 8001
pdp_theonice~: logged in to source.giss.tv
pdp_theonice~: connecting child -1339835536 exiting
pdp_theonice~ : initializing encoder...
pdp_theonice~ : encoder initialized.
pdp_theonice~ : writing headers...
pdp_theonice~ : start streaming at 7 frames/second
status: 1
pdp_theonice~ : could not write audio packet (ret=-1).
pdp_theonice~ : shutting down encoder
pdp_theonice~ : could not write audio packet (ret=-1).
pdp_theonice~ : could not write audio packet (ret=-1).
status: 0


The audio patch giss-pdp-ogg.pd works fine, also
I seem to connect OK and have been able to stream video + audio to 
the same server using the application Theorur


be nice to be able to do this from pd though.is there a way to 
change the encoder?


Nick.


___
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] pdp_theonice on ubuntu lucid: Video streaming problem

2010-09-21 Thread Nick Burge
Trying to connect to giss.tv with the pidip patch: giss-pdp-dv.pd I get 
this...


pdp_theonice~ : connection thread -1339835536 launched
pdp_theonice~: connecting to port 8001
pdp_theonice~: logged in to source.giss.tv
pdp_theonice~: connecting child -1339835536 exiting
pdp_theonice~ : initializing encoder...
pdp_theonice~ : encoder initialized.
pdp_theonice~ : writing headers...
pdp_theonice~ : start streaming at 7 frames/second
status: 1
pdp_theonice~ : could not write audio packet (ret=-1).
pdp_theonice~ : shutting down encoder
pdp_theonice~ : could not write audio packet (ret=-1).
pdp_theonice~ : could not write audio packet (ret=-1).
status: 0


The audio patch giss-pdp-ogg.pd works fine, also
I seem to connect OK and have been able to stream video + audio to the 
same server using the application Theorur


be nice to be able to do this from pd though.is there a way to 
change the encoder?


Nick.


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


Re: [PD] Video codec advice

2010-08-27 Thread Nick Burge

On 08/26/2010 07:49 PM, pd-list-requ...@iem.at wrote:

Re: [PD] Video codec advice
   


Hello Hans, I was attempting to run your video player patch on my ubuntu 
10.04 laptop using pd-extended 0.42.5 ...the objects all load except for 
mimtimefile.which will not create.

Which library am I missing, or is this patch only going to work on a mac?
Nick.

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


Re: [PD] GEM: pix_film terribly slow in Ubuntu

2010-08-19 Thread Nick Burge

H
mjpeg transcoded videos immediately crash pd/Gem and force the program to quit 
on my lucid 10.04 laptop as soon as I try to open them in a pix_movie patch

Opening a pix_movie object the console reports my version of Gem to have been 
compiled with quicktime support and libmpeg3 support

Is mjpeg not included in libmpeg3??


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


[PD] youtube2PDcrashes

2010-08-14 Thread Nick Burge
Hello List, trying out the youtube2PD patch it all seems to work up to 
the point where I try to play back the transcoded video file. This 
causes pd to crash and exit.

I'm on linux ubuntu 10.04
I can play the transcoded files back using another application like 
movie player or vlc, but Gem, which is included in my pd-extended 
(version 0.42.5) does not like them.

I think I have all the dependencies installed (ffmpeg sox)
Should I be tinkering with the ffmpeg settings in the youscrap.py file?
Nick

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


[PD] syncgrain and fluid seem to crash pd

2010-07-01 Thread Nick Burge
Hi List, I've compiled the syncgrain and fluid externals from the 
footils department, but both seem to crash the pd program as soon as I 
try to open either of the objects.I'm on linux ubuntu lucid 10.04

Does anyone have these externals working under that system?
Nick.

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


Re: [PD] dmx and pd

2010-06-19 Thread Nick Burge
Thanks very much Martin, looks like an interesting project to understand 
the workings of dmx a bit better.

best regards, Nick.


On 06/18/2010 05:58 PM, Martin Peach wrote:
Here's the patch. It's a bit messy but you can probably morph it into 
what you want.


Martin


Martin Peach wrote:
You can definitely use the DMX USB pro with [comport]. I have a patch 
somewhere that I tested with a DMX dimmer.
You basically need to send a header and the control values as a list 
of bytes.

http://www.enttec.com/docs/dmx_usb_pro_api_spec.pdf
has the protocol.
If I find the patch I'll post it.

Martin


Nick Burge wrote:
I would like to use pd to control some lights via a wii device. I am 
on linux 10.04.
I have the wii up and running in pd, I have compiled dmx512 from the 
iem repository, and have the objects dmxin and dmx out in my 
pd/extra directory. Since these objects depend upon dmx4linux I 
tried to compile the dmx4linux programme which is supposed to create 
a dev/dmx directory.. but so far it does'nt do so. The latest 
version goes back to 2008, so it may not be viable with Lucid.??
Typing dmesg i see my dmx usb pro interface is recognised as 
dev/ttyUSB0 when i plug it in.

But the pd objects will not create.
Does anyone on the list have a viable dmx system (preferably using 
enttec dmx usb pro) set up on linux that they could inform me about?

Thanks.
Nick.

___
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] dmx and pd

2010-06-19 Thread Nick Burge
Hello Jack, in fact most lighting desks have a midi to dmx interface 
built in...its just that when you get to a venue its a lot more 
convenient to be able to send dmx directly without having to resort to 
the lighting desk manual. But this interface looks like a useful tool to 
do just that.

Nick


On 06/18/2010 05:04 PM, Jack wrote:

If you can read french :
http://www.interface-z.com/produits/com09_mididmx.htm
It transforms MIDI protocol to DMX protocol.
It works on all platform (test here on MacOSX and Ubuntu Lucid).
++

Jack



Le vendredi 18 juin 2010 à 16:30 +0200, Nick Burge a écrit :
   

I would like to use pd to control some lights via a wii device. I am on
linux 10.04.
I have the wii up and running in pd, I have compiled dmx512 from the iem
repository, and have the objects dmxin and dmx out in my pd/extra
directory. Since these objects depend upon dmx4linux I tried to compile
the dmx4linux programme which is supposed to create a dev/dmx
directory.. but so far it does'nt do so. The latest version goes
back to 2008, so it may not be viable with Lucid.??
Typing dmesg i see my dmx usb pro interface is recognised as dev/ttyUSB0
when i plug it in.
But the pd objects will not create.
Does anyone on the list have a viable dmx system (preferably using
enttec dmx usb pro) set up on linux that they could inform me about?
Thanks.
Nick.

___
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] dmx and pd

2010-06-18 Thread Nick Burge
I would like to use pd to control some lights via a wii device. I am on 
linux 10.04.
I have the wii up and running in pd, I have compiled dmx512 from the iem 
repository, and have the objects dmxin and dmx out in my pd/extra 
directory. Since these objects depend upon dmx4linux I tried to compile 
the dmx4linux programme which is supposed to create a dev/dmx 
directory.. but so far it does'nt do so. The latest version goes 
back to 2008, so it may not be viable with Lucid.??
Typing dmesg i see my dmx usb pro interface is recognised as dev/ttyUSB0 
when i plug it in.

But the pd objects will not create.
Does anyone on the list have a viable dmx system (preferably using 
enttec dmx usb pro) set up on linux that they could inform me about?

Thanks.
Nick.

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


Re: [PD] raw audio format and open files randomly

2009-07-05 Thread nick burge
 Hello list.Intrigued by the idea of playing back jpeg (or other) files
as audio signals I've been having a go with the readsf~ and soundfiler
objectsskipping the header with readsf~ and using the -raw flag in
soundfiler, opening in an array and using tabplay~ to play it backwhilst
I can get these objects to open the files and play them back, the results
seem a bit disappointing...just a lot of white noise at a constant volume.
The wave forms displayed in the array look more promising than the audio
result
Was I expecting too much? What else could I be doing to achieve a more
interesting sound?
Nick.



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


[PD] Multiple sound cards on XP

2009-03-22 Thread nick burge
 
I had exactly the same messages when installing my firewire interface
(fireface400)and attempting to get the 8 ins and outs that should have been
available.
By changing the samplerate from 44.1 to 48khz in audio settings I was able
to get the thing workingthe system clock of the interface has to be in
agreement with pd I suppose.
Good luck, Nick




-Original Message-
From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of
pd-list-requ...@iem.at
Sent: 22 March 2009 12:00
To: pd-list@iem.at
Subject: Pd-list Digest, Vol 48, Issue 110

Send Pd-list mailing list submissions to
pd-list@iem.at

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.puredata.info/listinfo/pd-list
or, via email, send a message with subject or body 'help' to
pd-list-requ...@iem.at

You can reach the person managing the list at
pd-list-ow...@iem.at

When replying, please edit your Subject line so it is more specific
than Re: Contents of Pd-list digest...


Today's Topics:

   1. multiple sound cards on XP? (John Harrison)
   2. Re: ADSR variations [was: Re: Patch-off] (Jonathan Wilkes)
   3.  Horizontal Connections (Was: Re: style guide idea: [send
  (Matt Barber)
   4. Re: does anyone know of a good Eq I can use? (hard off)
   5. Re: Horizontal Connections (Was: Re: style guide idea: [send
  (Jonathan Wilkes)


--

Message: 1
Date: Sat, 21 Mar 2009 21:03:45 -0500
From: John Harrison johnharrison...@gmail.com
Subject: [PD] multiple sound cards on XP?
To: PD List pd-list@iem.at
Message-ID:
7aa995dd0903211903k12b5b0cfia00e52da4e5f0...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1

Is there a way to get Pd to use multiple sound cards on XP? I've had no
problem doing this in Linux, but in XP on both Pd vanilla 0.42-4and
Pd-extended 0.40.3-extended-20080721, trying to configure MMIO with multiple
cards is giving me:

Terminal Window:

waveInOpen: The specified format is not supported or cannot be translated.
Use the Capabilities function to determine the supported formats.

Pd console:

separate audio device choice not supported\; using sequential devices.

and no input/output on both cards with one configuration.

If I choose ASIO, Pd crashes instantly with this message in the terminal
window:
Failed to open () = 0DEV not openDEV not openDeviceIoControl STOP_ISO_STREAM
com
plete, success = 0
DEV not openDEV not open

I have ASIO4ALL installed and did seem to have good luck with that in the
past on another machine...

I'd like to have multiple Griffin iMics plugged into an XP machine and all
accessible with one instance of Pd.

-John
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.puredata.info/pipermail/pd-list/attachments/20090321/3ded9801/
attachment-0001.htm

--

Message: 2
Date: Sat, 21 Mar 2009 21:05:15 -0700 (PDT)
From: Jonathan Wilkes jancs...@yahoo.com
Subject: Re: [PD] ADSR variations [was: Re: Patch-off]
To: pd-list@iem.at, Frank Barknecht f...@footils.org
Message-ID: 109351.44216...@web65601.mail.ac4.yahoo.com
Content-Type: text/plain; charset=us-ascii





--- On Sun, 3/22/09, Frank Barknecht f...@footils.org wrote:

 From: Frank Barknecht f...@footils.org
 Subject: Re: [PD] ADSR variations [was: Re: Patch-off]
 To: pd-list@iem.at
 Date: Sunday, March 22, 2009, 2:37 AM
 Hallo,
 Jonathan Wilkes hat gesagt: // Jonathan Wilkes wrote:
 
  I agree.  I also like the use of list in that patch to
 store parameters.
  
  So if you wanted to set parameters with creation
 arguments, would it just be a matter of using $1...$5 in the
 [list]s and (un)[pack]?
 
 Yes, almost. [list] is a shortcut for [list append] so you
 need to use: 
 [list append $1 $2 $3 $4 $5] or so.

Actually [list $1 $2 $3 $4 $5] seems to work in this context, but I guess
that's because the first arg isn't a symbol.  Is that why you're saying
[list append] is needed?

-Jonathan

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


  



--

Message: 3
Date: Sun, 22 Mar 2009 00:52:05 -0400
From: Matt Barber brbrof...@gmail.com
Subject: [PD]  Horizontal Connections (Was: Re: style guide idea:
[send
To: pd-list@iem.at
Message-ID:
c71d8c030903212152v2ce34cb6o41f3eef8205ee...@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1

 Here's my proposal: horizontal connections should only be used when the
upper object has only one outlet, and the lower object has only one inlet.
?Otherwise there will be always be ambiguity.

 With your example of all outlets pointing to the same inlet, there is
still ambiguity as to whether or not all the outlets are actually connected.
?That's fine if your patching style is to connect them first, and only line

[PD] Wireless contact mics

2009-02-16 Thread nick burge

Hello Oded.
I use wireless contact mics in a couple of projects. Both requiring freedom
of movement for the object to be miked up.
(See the links below)

http://www.myspace.com/entretenidos
http://www.cryingoutloud.org/event_stretch.php

I make my own pickups (piezo ceramic discs) and pre-amps: I've often used
this schematic which gives me a good result.
http://scotthelmke.com/Mint-box-buffer.html
I plug the signal from my pre-amp into the sennheiser freeport radio mic
system which is good value for money, but limited to 4 transmitter/receivers
at once which is more than enough for me. (it has a setting to alter the
gain of the transmitter for instrument or microphone) The connection is
conveniently based on mini-jacks.
Did you have a specific problem or question I could maybe help you with?
Nick.


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


[PD] Rme fireface 400

2009-01-06 Thread nick burge
Ok I fixed itI got my 8 channels working under the MMIO driver using a
sample rate of 48000.44100 is not supported for more than 2 channels it
seems. 
There was a message in the command prompt suggesting I use Capability
function to discover supported formats
Anyone know what that is all about?
Nick.


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


Re: [PD] rme fireface 400

2009-01-05 Thread nick burge
Hi Andrew and Joao, thanks for your replies.
In the bin directory there are 2 different PD executables, one of which
provides a msDOS command prompt which displays errors as you go. I can also
test the results of changes that I make using the provided test audio and
midi patch, which has built into it a way of addressing a test tone to the
different dac~ outputs you mention.  
Now, by using the flag -audioindev 16, I can get 8 audio inputs with the
ASIO fireface driver setting the channel numbers to 8 in the audio
options, but only provided I disable audio output. Otherwise trying to set
any of the devices under output I get the error illegal combination of I/O
objects
For some reason the ASIO fireface driver does not appear as an option
under the outputs. This seems inconsistent with a 2 channel usb one card
that shows the ASIO driver as available both under inputs and outputs.
 
here is the listdev output
 
audio input devices:
1. (0)Microsoft Sound Mapper - Input
2. (0)Microphone (Realtek High Defini
3. (0)Fireface 400 Analog (1+2) MME
4. (0)Fireface 400 Analog (3+4) MME
5. (0)Fireface 400 Analog (5+6) MME
6. (0)Fireface 400 Analog (7+8) MME
7. (0)Fireface 400 SPDIF MME
8. (0)Fireface 400 ADAT (1+2) MME
9. (0)Fireface 400 ADAT (3+4) MME
10. (0)Fireface 400 ADAT (5+6) MME
11. (0)Fireface 400 ADAT (7+8) MME
12. (0)Analog (1+2) (RME Fireface 400)
13. (0)Analog (5+6) (RME Fireface 400)
14. (0)Analog (7+8) (RME Fireface 400)
15. (0)Analog (3+4) (RME Fireface 400)
16. (1)ASIO Fireface
audio output devices:
1. (0)Microsoft Sound Mapper - Output
2. (0)Speakers (Realtek High Definiti
3. (0)Fireface 400 Analog (1+2) MME
4. (0)Fireface 400 Analog (3+4) MME
5. (0)Fireface 400 Analog (5+6) MME
6. (0)Fireface 400 Analog (7+8) MME
7. (0)Fireface 400 SPDIF MME
8. (0)Fireface 400 ADAT (1+2) MME
9. (0)Fireface 400 ADAT (3+4) MME
10. (0)Fireface 400 ADAT (5+6) MME
11. (0)Fireface 400 ADAT (7+8) MME
12. (0)Analog (3+4) (RME Fireface 400)
13. (0)SPDIF Interface (RME Fireface 4
14. (0)ADAT1 (7+8) (RME Fireface 400)
15. (0)Realtek Digital Output (Realtek
16. (0)Speakers (RME Fireface 400)
17. (0)ADAT1 (5+6) (RME Fireface 400)
18. (0)Analog (5+6) (RME Fireface 400)
19. (0)ADAT1 (3+4) (RME Fireface 400)
20. (0)ADAT1 (1+2) (RME Fireface 400)
API number 4
 
Nick.
 
 


From: Andrew Faraday [mailto:jbtur...@hotmail.com] 
Sent: 04 January 2009 22:15
To: te...@telefonica.net
Subject: RE: [PD] rme fireface 400

  _  

 

I might have this wrong, but the audio options offer a prescribed number of
chanels, you can change those to 8. 
 
Then follow the [dac~] and [adc~] boxes with an argument for chanel number
or a list
 
E.G. [dac~ 1 3 5] would be outputs 1, 3 and 5.



  _  


From: te...@telefonica.net
To: pd-list@iem.at
Date: Sun, 4 Jan 2009 20:31:52 +0100
Subject: [PD] rme fireface 400



Hello List, I have trouble with an RME fireface 400 using the windows ASIO
driver on a laptop. 
It works fine under Ableton Live on the same machine, giving me the
prescribed 8 inputs and 8 outputs, but with PD i am limited to 2 in and 2
out.
I have tried using the channels, audioindev and audiooutdev flags to no
avail.
Failing that, is there an alternative audio card anyone can recommend to
give me those 8 ins and outs with pd on a windows xp or vista machine...?
Nick.

  _  

Win John Lewis vouchers with BigSnapSearch.com Search
http://clk.atdmt.com/UKM/go/117442309/direct/01/ now 
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] rme fireface 400

2009-01-04 Thread nick burge
Hello List, I have trouble with an RME fireface 400 using the windows ASIO
driver on a laptop. 
It works fine under Ableton Live on the same machine, giving me the
prescribed 8 inputs and 8 outputs, but with PD i am limited to 2 in and 2
out.
I have tried using the channels, audioindev and audiooutdev flags to no
avail.
Failing that, is there an alternative audio card anyone can recommend to
give me those 8 ins and outs with pd on a windows xp or vista machine...?
Nick.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino and xbee

2008-09-30 Thread nick burge
Thanks Hans, I'll try the new firmware.
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2008 20:04
To: nick burge
Cc: pd-list@iem.at
Subject: Re: [PD] pduino and xbee



The arduino forums are probably a better place for this question. But...

I'd guess the StandardFirmata firmware (now included in Arduino 0012) should
work. If the StandardFirmata firmware doesn't work, then it is possible to
write a simple firmware using the Firmata arduino library that does support
the xbee. But I've never used one myself.

.hc

On Sep 25, 2008, at 5:34 PM, nick burge wrote:


Hello list. Does anyone know if pduino/firmata is compatible with using the
xbee shield on an arduino??
I know the arduino for pd input system works with it. But its only good for
analog input. 
thanks. Nick Burge.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list







[W]e have invented the technology to eliminate scarcity, but we are
deliberately throwing it away to benefit those who profit from scarcity.
-John Gilmore


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


[PD] pduino and xbee

2008-09-25 Thread nick burge
Hello list. Does anyone know if pduino/firmata is compatible with using the
xbee shield on an arduino??
I know the arduino for pd input system works with it. But its only good for
analog input. 
thanks. Nick Burge.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Pd-0.40.3-extended select-help patch

2008-06-11 Thread nick burge
Trying to open the select-help patch crashes Pd-0.40.3 rc1 on my Windows
Vista system.
I can't seem to replicate the crash with other help patches. 
How strange is that?
Nick.


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


Re: [PD] [Pd] Multiple audio devices

2008-06-11 Thread nick burge
 
I also have problems with an RME fireface (400 model in my case)
I cannot get PD to make use of the asio fireface driver to give me full
duplex...I can only get input or output but not both.
Nick.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 11 June 2008 15:57
To: pd-list@iem.at
Subject: Pd-list Digest, Vol 39, Issue 38

Send Pd-list mailing list submissions to
pd-list@iem.at

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.puredata.info/listinfo/pd-list
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific than
Re: Contents of Pd-list digest...


Today's Topics:

   1. Re: Size of a table (marius schebella)
   2. Re: Size of a table (Enrique Erne)
   3. Re: Multiple Audio Devices (marius schebella)
   4. Re: Pd-extended PPC autobuild  Jack OSX (Si Mills)
   5. Re: Multiple Audio Devices (Roman Haefeli)
   6. Re: Size of a table (Roman Haefeli)
   7. Re: Size of a table (Roman Haefeli)
   8. Simplification problem (Andy Farnell)


--

Message: 1
Date: Wed, 11 Jun 2008 09:04:37 -0400
From: marius schebella [EMAIL PROTECTED]
Subject: Re: [PD] Size of a table
To: Hans Roels [EMAIL PROTECTED]
Cc: pd-list@iem.at
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hans Roels wrote:
 Apart from [soundfiler] I use this trick to get the size of any array 
 (audio or data) in pd vanilla:
 (array1 = the name of an example array)
 
 bang
 |
 [expr size(array1)]
 |
 print
 
 or replace the expr with [expr size($s2)] and connect a message 
 [symbol array1( to the second inlet of this expr object
 
 hans r

hi,
that's cool. did not know that expr can do that! are there more features of
expr that are hidden or unknown??
marius.


 
 At 09:38 11/06/2008, you wrote:
 On Wed, Jun 11, 2008 at 10:03:28AM +0200, IOhannes m zmoelnig wrote:
 raul diaz wrote:
 I have a dumb question. What's the best way to get the size of a table?
 Sometimes I load a lot of samples on tables with soundfiler and I would
 like to take the size of each sample as a variable in order to use it
 with phasor + tabread4~.
 Is there any object which gets the size of a table?
 well i have a dumb answer: why not use the length output of
[soundfiler]?

 i think that in this case the philosophy of Pd his, that there are 2
 ways to change the length of a table: do it interactively (e.g. create a
 [table bla 1024] or do it programmatically (e.g. via [; bla resize 216()
 in the first case the author of the software is responsible for using
 (e.g. hardcoding) the right table-size throughout there patch, in the
 latter case you could just listen to these programmatical changes).
 tables suddenly changing there size are beyond Pd :-)
 There is one situation I have encountered where it would be useful to
 have a built in [arraysize]. In some of the s-abstractions such as
 [s-samplepiece~] you have to pass in the table name that you'd like the
 abstraction to use. This means that at some point the user loads some
 audio data into the named table (for example using [s-loader~]) and they
 then know the sample table size. When they create the [s-samplepiece~]
 playback abstraction they must manually enter the array size as one of
 the arguments to the abstraction, along with the table name.
 Inefficient.

 Best,

 Chris.

 ---
 http://mccormick.cx

 ___
 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
 




--

Message: 2
Date: Wed, 11 Jun 2008 09:32:42 -0400
From: Enrique Erne [EMAIL PROTECTED]
Subject: Re: [PD] Size of a table
To: marius schebella [EMAIL PROTECTED]
Cc: pd-list@iem.at
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

marius schebella wrote:
 Hans Roels wrote:
 Apart from [soundfiler] I use this trick to get the size of any array 
 (audio or data) in pd vanilla:
 (array1 = the name of an example array)

 bang
 |
 [expr size(array1)]
 |
 print

 or replace the expr with [expr size($s2)] and connect a message 
 [symbol array1( to the second inlet of this expr object

 hans r
 
 hi,
 that's cool. did not know that expr can do that! are there more features 
 of expr that are hidden or unknown??
 marius.
 

very nice indeed. i remember sven posted once a way to directly access 
the value of [value] with expr but i can't remember.
eni



--

Message: 3
Date: Wed, 11 Jun 2008 09:38:47 -0400
From: 

Re: [PD] pulse measurement using touch sensors

2008-05-29 Thread nick burge

Try this link to medical sensors.

http://www.meas-spec.com/myMeas/industry/medical.asp

Nick.


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


[PD] pc mac sharing netsend and netreceive

2008-04-20 Thread nick burge
Hello list, does anyone have experience of sharing data between pc and mac
using the netsend netreceive objects or perhaps OSC? Is extra software
necessary for example?
Scenario: I want to share the data coming off  an arduino with my colleague
who runs a Macintosh whilst I run a Windows Vista PC. (Since we will be side
by side on the stage we could use a LAN cable connection) 
 
Nick Burge.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] scale object name conflict between Gem and maxlib

2008-04-17 Thread nick burge
 
Hello List,  does anyone know how to resolve the name conflict between the
scale object in maxlib and Gem?
I want to open the maxlib object , but the Gem object opens instead. (I want
to make use of both libraries simultaneously).
thanks, Nick Burge.


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


Re: [PD] scale object name conflict between Gem and maxlib

2008-04-17 Thread nick burge
Thank you Marius. I'm using the extended version, so yes, that works.
Nick. 

-Original Message-
From: marius schebella [mailto:[EMAIL PROTECTED] 
Sent: 17 April 2008 19:58
To: nick burge
Cc: Pd List
Subject: Re: [PD] scale object name conflict between Gem and maxlib

in theory, if you don't load gem and maxlib automatically, you should be
able to put [import gem] in one patch and [import maxlib] into another and
then you could use the gem scale in one patch and the maxlib scale in the
other. But I think this feature is broken right now.

if you're on pd-extended (which loads gem by default on startup) you should
be able to get the maxlib scale by [maxlib/scale] ... for now.

marius.

nick burge wrote:
  
 Hello List,  does anyone know how to resolve the name conflict between 
 the scale object in maxlib and Gem?
 I want to open the maxlib object , but the Gem object opens instead. 
 (I want to make use of both libraries simultaneously).
 thanks, Nick Burge.
 
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 


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


Re: [PD] pduino and FSRs

2008-04-13 Thread nick burge


Hello Martin, you are absolutely spot on here. In fact I want the numbers to
go up as I apply pressure so I've swapped the fsr and 10k as you suggest and
all works perfectly. No need for the expensive voltage divider then and more
difficult to calibrate several of them equally when a 10k resistor does the
job.
Thank you to everybody on pd list who have helped me sort this out. 
Nick.



FSR have a very _high_ resistance with no force. The resistance goes down
when you apply pressure. The circuit needs to look like this:

5V
|
10k
|
+--analog in
|
FSR
|
Ground

This will give a number that goes down as force is applied. If you want the
number to increase, switch the 10k and FSR.

Looking at the (considerably more expensive than a 10k resistor) phidget
voltage divider I see that the resistance is a multi-turn 1Meg
potentiometer. If it is set to zero ohms then pressing a sensor will short
out the power supply.
Also by convention the red wire is 5V, the black wire is ground and the
white is the analog signal.

Martin


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


Re: [PD] pduino and FSRs

2008-04-12 Thread nick burge
OK this is getting interesting. 
I have got the FSRs set up again on my breadboard so I can experiment a bit.
I've tried different baud rates and get the same result...that is to say a
crash in PD. 
The FSRs connect to Phidget voltage dividers as recommended by the suppliers
and from the  voltage dividers we have 3 wires: analog in, 5v and ground.
Now if I swap the wires they call analog in with the 5v wire on the
breadboard and connect again to Pduino I can enable all the analog inputs in
the Arduino object and NO CRASH
I am no expert in electronics, but I'm sure someone can give me an
explanation as to what is going on. 
Looking at the manual for the Phidget voltage dividers I see that in the
proprietry software designed for use with the phidget microprocessor there
is a setting you have to select: namely Ratiometric when using these
voltage dividers. Could that have anything to do with it?
 
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 12 April 2008 00:41
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



I use 6 analog inputs all of the time on Mac and Linux. I've never used
19200 tho. Try using [comport] alone to eliminate anything in [arduino].
Maybe there is a bug in comport on vista?

.hc

On Apr 11, 2008, at 3:17 PM, nick burge wrote:


Thank you Hans, am I being unrealistic in trying to have six analog inputs
active all at once? I know you said that was a lot of data, but I run a
fairly powerful laptop with a dual core Centrino processor, and Windows task
manager reports only a modest demand on the cpu of around 30% when I have
the patch running and all inputs active, so it seems to be an error in
timing or syncronisation rather than simply overstressing the system that
causes thisI've taken the patch right down to the basic arduino-test
patch, but still the crashes occur when I activate more than 2 analog
inputs. I'll experiment with different baud rates, go back to a usb
connection rather than the xbee wireless system and keep trying to identify
the source of the problem. I'll get back to you if I learn anything new.
Below is the data produced by the event viewer in Windows in case it means
anything to you.


pd.exe  
0.0.0.0 
47148d16
pd.dll  
0.0.0.0 
47148d15
c005
4e04
17ec
01c89bd26543018e

Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 11 April 2008 18:30
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



Let's keep this on the list since it could be generally useful.

In order to get to the next step, you should try to isolate the problem, to
see where the crash is actually happening. Otherwise, there are far too many
possibilities for me to try guessing. Ideally, you could make a simple patch
that reproduces the crash.

.hc

On Apr 11, 2008, at 3:01 AM, nick burge wrote:


Firmata, Pduino and xbees. are all set to communicate at 19200 baud.
Nick 

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 23:57
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs





What baud are you running each at? IIRC, the XBee needs a strange value.


.hc
On Apr 10, 2008, at 5:52 PM, nick burge wrote:


I wish I knew. I'm loading the arduino-test patch with no other objects or
abstractions so as to eliminate other suspects. Still PD crashes when I
enable more than 2 analogIns.
Would it help to speed up or slow down the xbee connection?

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 23:12
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



The code and the electrics are quite separate. If the electrics work with
one firmware, then they'll work with another. The question is, what is the
it that grinds to a halt.

.hc

On Apr 10, 2008, at 4:17 PM, nick burge wrote:


Yes, I've got the latest versionmaybe a silly question...but could it be
that Pduino is optimised for sensors working on a supply of 5v. because the
phidget voltage dividers i've got my FSRs attached to come with a
potentiometer that alters the resistance of the circuit...with pduino i can
only activate 2 at a time before it all grinds to a halt...on arduino2PD i
can activate all six without any problem. Strange. 
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 21:51
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



I've never run on Vista before, so I can't say much about that. I have run
on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the
data on the arduino, the messages coming to Pd via the serial port should be
all the same. 

Are you using the latest version:
http://at.or.at/hans/pd/Pduino

Re: [PD] pduino and FSRs

2008-04-11 Thread nick burge
Thank you Hans, am I being unrealistic in  trying to have six analog inputs
active all at once? I know you said that was a lot of data, but I run a
fairly powerful laptop with a dual core Centrino processor, and Windows task
manager reports  only a modest demand on the cpu of around 30% when I have
the patch running and all inputs active, so it seems to be an error in
timing or syncronisation rather than simply overstressing the system that
causes thisI've taken the patch right down to the basic arduino-test
patch, but still the crashes occur when I activate more than 2 analog
inputs. I'll experiment with different baud rates, go back to a usb
connection rather than the xbee wireless system and keep trying to identify
the source of the problem. I'll get back to you if I learn anything new.
Below is the data produced by the event viewer in Windows in case it means
anything to you.
 
pd.exe  
0.0.0.0 
47148d16
pd.dll  
0.0.0.0 
47148d15
c005
4e04
17ec
01c89bd26543018e
 
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 11 April 2008 18:30
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



Let's keep this on the list since it could be generally useful.

In order to get to the next step, you should try to isolate the problem, to
see where the crash is actually happening. Otherwise, there are far too many
possibilities for me to try guessing. Ideally, you could make a simple patch
that reproduces the crash.

.hc

On Apr 11, 2008, at 3:01 AM, nick burge wrote:


Firmata, Pduino and xbees. are all set to communicate at 19200 baud.
Nick 

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 23:57
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs





What baud are you running each at? IIRC, the XBee needs a strange value.


.hc
On Apr 10, 2008, at 5:52 PM, nick burge wrote:


I wish I knew. I'm loading the arduino-test patch with no other objects or
abstractions so as to eliminate other suspects. Still PD crashes when I
enable more than 2 analogIns.
Would it help to speed up or slow down the xbee connection?

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 23:12
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



The code and the electrics are quite separate. If the electrics work with
one firmware, then they'll work with another. The question is, what is the
it that grinds to a halt.

.hc

On Apr 10, 2008, at 4:17 PM, nick burge wrote:


Yes, I've got the latest versionmaybe a silly question...but could it be
that Pduino is optimised for sensors working on a supply of 5v. because the
phidget voltage dividers i've got my FSRs attached to come with a
potentiometer that alters the resistance of the circuit...with pduino i can
only activate 2 at a time before it all grinds to a halt...on arduino2PD i
can activate all six without any problem. Strange. 
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 21:51
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



I've never run on Vista before, so I can't say much about that. I have run
on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the
data on the arduino, the messages coming to Pd via the serial port should be
all the same. 

Are you using the latest version:
http://at.or.at/hans/pd/Pduino-0.3.1.zip

.hc

On Apr 10, 2008, at 12:57 PM, nick burge wrote:


Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista
system. Its PD that crashes, or stops working as Vista so nicely puts it,
when I connect the FSRs.
I have arduino connecting via wireless xbees at 19200 baud.
I also use an infra red distance sensor that gives no problem.
I've been routing the data from the FSRs through the autoscale object.
Maybe I should find a way to reduce the amount of data being sampled...every
40ms for example? How would I do that?
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 17:25
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



Which program crashes? Which version are you using? You will get a lot of
data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have
never seen a crash using [arduino], except when I unplug the arduino when Pd
is connected to it, so I suspect the problem lies elsewhere. 

.hc

On Apr 10, 2008, at 11:16 AM, nick burge wrote:


I have a little problem using Pduino and some force sensing resistors that I
am using in conjunction with phidget voltage dividersthey seem to crash
the program as soon as I activate more than 1 at a time. 
Should I be applying some sort of filter

[PD] pduino and FSRs

2008-04-10 Thread nick burge
I have a little problem using Pduino and some force sensing resistors that I
am using in conjunction with phidget voltage dividersthey seem to crash
the program as soon as I activate more than 1 at a time. 
Should I be applying some sort of filter to the data stream?
Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at
once.
 
Nick Burge.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pduino and FSRs

2008-04-10 Thread nick burge
Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista
system. Its PD that crashes, or stops working as Vista so nicely puts it,
when I connect the FSRs.
I have arduino connecting via wireless xbees at 19200 baud.
I also use an infra red distance sensor that gives no problem.
I've been routing the data from the FSRs through the autoscale object.
Maybe I should find a way to reduce the amount of data being sampled...every
40ms for example? How would I do that?
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 17:25
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



Which program crashes? Which version are you using? You will get a lot of
data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have
never seen a crash using [arduino], except when I unplug the arduino when Pd
is connected to it, so I suspect the problem lies elsewhere. 

.hc

On Apr 10, 2008, at 11:16 AM, nick burge wrote:


I have a little problem using Pduino and some force sensing resistors that I
am using in conjunction with phidget voltage dividersthey seem to crash
the program as soon as I activate more than 1 at a time. 
Should I be applying some sort of filter to the data stream?
Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at
once.

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







Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice, it can
change entire economies. - Amy Smith


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


Re: [PD] pduino and FSRs

2008-04-10 Thread nick burge
Yes, I've got the latest versionmaybe a silly question...but could it be
that Pduino is optimised for sensors working on a supply of 5v. because the
phidget voltage dividers i've got my FSRs attached to come with a
potentiometer that alters the resistance of the circuit...with pduino i can
only activate 2 at a time before it all grinds to a halt...on arduino2PD i
can activate all six without any problem. Strange. 
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 21:51
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



I've never run on Vista before, so I can't say much about that. I have run
on Debian, Ubuntu, and Mac OS X. It shouldn't matter what is generating the
data on the arduino, the messages coming to Pd via the serial port should be
all the same. 

Are you using the latest version:
http://at.or.at/hans/pd/Pduino-0.3.1.zip

.hc

On Apr 10, 2008, at 12:57 PM, nick burge wrote:


Hello Hans-Christoph, I am using PD 0.39.3 extended. on a windows vista
system. Its PD that crashes, or stops working as Vista so nicely puts it,
when I connect the FSRs.
I have arduino connecting via wireless xbees at 19200 baud.
I also use an infra red distance sensor that gives no problem.
I've been routing the data from the FSRs through the autoscale object.
Maybe I should find a way to reduce the amount of data being sampled...every
40ms for example? How would I do that?
Nick.

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 10 April 2008 17:25
To: nick burge
Cc: Pd List
Subject: Re: [PD] pduino and FSRs



Which program crashes? Which version are you using? You will get a lot of
data, from 6 sensors, Pduino/Firmata will read them all every 20ms. I have
never seen a crash using [arduino], except when I unplug the arduino when Pd
is connected to it, so I suspect the problem lies elsewhere. 

.hc

On Apr 10, 2008, at 11:16 AM, nick burge wrote:


I have a little problem using Pduino and some force sensing resistors that I
am using in conjunction with phidget voltage dividersthey seem to crash
the program as soon as I activate more than 1 at a time. 
Should I be applying some sort of filter to the data stream?
Arduino2PD seems more robust, allowing me to activate all 6 analog inputs at
once.

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







Looking at things from a more basic level, you can come up with a more
direct solution... It may sound small in theory, but it in practice, it can
change entire economies. - Amy Smith









There is no way to peace, peace is the way. -A.J. Muste


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


Re: [PD] Pduino and the AD5206 digital potentiometer

2008-03-06 Thread nick burge
Thanks Hans, here attached is another copy of the edited Firmata with some
added comments to the code so things dont' get too mixed up. Whilst the
additions are specifically for the AD5206 digital potentiometer, it should
be possible to make a sort of generic SPI object in PD that you use when
needed and otherwise disable to free up the Arduino pins 10-13. which would
otherwise be a pain as Martin Peach so rightly points out.
So far as constructing PD messages are concerned I'd be really grateful for
any help you could give in that direction. The message needs to be a 2 byte
variety does it not ? just like a DMX message...channel blah to level blah.
But I suppose it is a bit more complicated than that to actually make it
happen. 
Nick.
 

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2008 21:12  
To: nick burge
Cc: Pd List
Subject: Re: [PD] Pduino and the AD5206 digital potentiometer



Nice work!  I imagine that it must be possible to have the SPI-specific
messages sent via Firmata.  I don't have a clear picture of what all is
needed.  But if there are specific message types needed, then there is
plenty of room in the protocol to add SPI messages.  For example, we just
added Servo messages in an alpha version.

.hc

On Mar 5, 2008, at 1:08 PM, nick burge wrote:


With some trial and error I've managed to edit the firmata firmware to
control the chip as attached here. On Arduino you can only use digital pins
10,11,12 and 13 for  SPI... slave select, data out, data in and spiclock.
Since Firmata uses pin 13 to flash its version number there was a bit of
jostling to sort out, removing that command from the void setup section,
because otherwise it continues to print the version number constantly when
you go into the loop.
So now I have the AD5206 tutorial patch running within Firmata, which is
fun. It would be more fun and potentially creative however to have the
commands sent by PD...is that very difficult to do? Any clues anybody?
Nick

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2008 16:50
To: nick burge
Cc: Pd List
Subject: Re: [PD] Pduino and the AD5206 digital potentiometer



I am unlikely to write software for that chip unless I have a use for it.
But a firmware supporting it sounds useful. Firmata is an Arduino library,
so the easiest route would probably make a dedicated firmware for that chip
then use the Firmata to handle the communications.

.hc

On Mar 5, 2008, at 4:43 AM, nick burge wrote:


I got my AD206 chip as a free sample from analog devices 
http://www.analog.com/commerce/index.html
It would be great to have support within Firmata for SPI - (serial
peripheral interface) allowing control over this digital potentiometer or
other devices and sensors that work with that protocol when connected to an
arduino. 
Could it possibly work to simply copy sections of the code from the arduino
tutorial into the firmata firmware , first the definitions, then the void
setup section and then the write_pot(0,0) command to control the device into
the loop section.? As you can tell I have little idea how to do this.
Nick.


  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 04 March 2008 14:39
To: nick burge
Cc: 'Pd List'
Subject: Re: [PD] Pduino and the AD5206 digital potentiometer



It would be possible to add support to Firmata for this, but it's not
currently there. I don't have any of these chips, any volunteers? Patches
welcome :D

.hc

On Feb 26, 2008, at 8:54 AM, nick burge wrote:


Dear PD list. I would like to be able to control the AD5206 chip (a 6
channel digital potentiometer) from within the Pduino object written by
Hans-Christoph Steiner. The idea comes from one of the tutorial exercises in
the C++ arduino program.
http://www.arduino.cc/en/Tutorial/SPIDigitalPot
Is this relatively simple to do, or simply impossible? The aim in the long
run is to be able to be able to calibrate 6 force sensors remotely using the
digital potentiometers for an art installation project.
I have got the above mentioned tutorial project up and running succesfully
using the arduino program, and I am also able to get Pduino communicating
with the arduino quite happily on my Windows Vista system, but I would
imagine to have control over the the digital potentiometer device from
within PD would require a revision to the Firmata firmware would it not? I
would be most grateful for a clue.

thank you for your attention, sincerely, Nick Burge.
___
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












Man has survived hitherto because he was too ignorant to know how to realize
his wishes. Now that he can realize

Re: [PD] Pduino and the AD5206 digital potentiometer

2008-03-05 Thread nick burge
I got my AD206 chip as a free sample from analog devices 
http://www.analog.com/commerce/index.html
It would be great to have support within Firmata for SPI - (serial
peripheral interface) allowing control over this digital potentiometer or
other devices and sensors that work with that protocol when connected to an
arduino. 
Could it possibly work to simply copy sections of the code from the arduino
tutorial into the firmata firmware , first the definitions, then the void
setup section and then the write_pot(0,0) command to control the device into
the loop section.? As you can tell I have little idea how to do this.
Nick.


  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 04 March 2008 14:39
To: nick burge
Cc: 'Pd List'
Subject: Re: [PD] Pduino and the AD5206 digital potentiometer



It would be possible to add support to Firmata for this, but it's not
currently there. I don't have any of these chips, any volunteers? Patches
welcome :D

.hc

On Feb 26, 2008, at 8:54 AM, nick burge wrote:


Dear PD list. I would like to be able to control the AD5206 chip (a 6
channel digital potentiometer) from within the Pduino object written by
Hans-Christoph Steiner. The idea comes from one of the tutorial exercises in
the C++ arduino program.
http://www.arduino.cc/en/Tutorial/SPIDigitalPot
Is this relatively simple to do, or simply impossible? The aim in the long
run is to be able to be able to calibrate 6 force sensors remotely using the
digital potentiometers for an art installation project.
I have got the above mentioned tutorial project up and running succesfully
using the arduino program, and I am also able to get Pduino communicating
with the arduino quite happily on my Windows Vista system, but I would
imagine to have control over the the digital potentiometer device from
within PD would require a revision to the Firmata firmware would it not? I
would be most grateful for a clue.

thank you for your attention, sincerely, Nick Burge.
___
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


Re: [PD] Pduino and the AD5206 digital potentiometer

2008-03-05 Thread nick burge
With some trial and error I've managed to edit the firmata firmware to
control the chip as attached here. On Arduino you can only use digital pins
10,11,12 and 13 for  SPI... slave select, data out, data in and spiclock.
Since Firmata uses pin 13 to flash its version number there was a bit of
jostling to sort out, removing that command from the void setup section,
because otherwise it continues to print the version number constantly when
you go into the loop.
So now I have the AD5206 tutorial patch running within Firmata, which is
fun. It would be more fun and potentially creative however to have the
commands sent by PD...is that very difficult to do? Any clues anybody?
Nick

  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2008 16:50
To: nick burge
Cc: Pd List
Subject: Re: [PD] Pduino and the AD5206 digital potentiometer



I am unlikely to write software for that chip unless I have a use for it.
But a firmware supporting it sounds useful. Firmata is an Arduino library,
so the easiest route would probably make a dedicated firmware for that chip
then use the Firmata to handle the communications.

.hc

On Mar 5, 2008, at 4:43 AM, nick burge wrote:


I got my AD206 chip as a free sample from analog devices 
http://www.analog.com/commerce/index.html
It would be great to have support within Firmata for SPI - (serial
peripheral interface) allowing control over this digital potentiometer or
other devices and sensors that work with that protocol when connected to an
arduino. 
Could it possibly work to simply copy sections of the code from the arduino
tutorial into the firmata firmware , first the definitions, then the void
setup section and then the write_pot(0,0) command to control the device into
the loop section.? As you can tell I have little idea how to do this.
Nick.


  _  

From: Hans-Christoph Steiner [mailto:[EMAIL PROTECTED] 
Sent: 04 March 2008 14:39
To: nick burge
Cc: 'Pd List'
Subject: Re: [PD] Pduino and the AD5206 digital potentiometer



It would be possible to add support to Firmata for this, but it's not
currently there. I don't have any of these chips, any volunteers? Patches
welcome :D

.hc

On Feb 26, 2008, at 8:54 AM, nick burge wrote:


Dear PD list. I would like to be able to control the AD5206 chip (a 6
channel digital potentiometer) from within the Pduino object written by
Hans-Christoph Steiner. The idea comes from one of the tutorial exercises in
the C++ arduino program.
http://www.arduino.cc/en/Tutorial/SPIDigitalPot
Is this relatively simple to do, or simply impossible? The aim in the long
run is to be able to be able to calibrate 6 force sensors remotely using the
digital potentiometers for an art installation project.
I have got the above mentioned tutorial project up and running succesfully
using the arduino program, and I am also able to get Pduino communicating
with the arduino quite happily on my Windows Vista system, but I would
imagine to have control over the the digital potentiometer device from
within PD would require a revision to the Firmata firmware would it not? I
would be most grateful for a clue.

thank you for your attention, sincerely, Nick Burge.
___
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












Man has survived hitherto because he was too ignorant to know how to realize
his wishes. Now that he can realize them, he must either change them, or
perish. -William Carlos Williams


/*
 * Copyright (C) 2006 Free Software Foundation
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * See file LICENSE for further informations on licensing terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * ---
 * Firmata, the general purpose sensorbox firmware for Arduino
 * ---
 * 
 * Firmata turns the Arduino into a Plug-n-Play sensorbox, servo
 * controller, and/or PWM motor/lamp controller.
 *
 * It was originally designed to work with the Pd object [arduino]
 * which is included in Pd

[PD] Pduino and the AD5206 digital potentiometer

2008-02-26 Thread nick burge
Dear PD list.  I would like to be able to control the AD5206 chip (a 6
channel digital potentiometer) from within the Pduino object written by
Hans-Christoph Steiner. The idea comes from one of the tutorial exercises in
the C++ arduino program.
http://www.arduino.cc/en/Tutorial/SPIDigitalPot
Is this relatively simple to do, or simply impossible? The aim in the long
run is to be able to be able to calibrate  6 force sensors remotely using
the digital potentiometers for an art installation project.
I have got the above mentioned tutorial project up and running succesfully
using the arduino program, and I am also able to get Pduino communicating
with the arduino quite happily on my Windows Vista system, but I would
imagine to have control over the the digital potentiometer device from
within PD would require a revision to the Firmata firmware would it not? I
would be most grateful for a clue.
 
thank you for your attention, sincerely, Nick Burge.
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list