Re: [PD] Microsound

2010-10-18 Thread Dominic Pflaum
I've found it hard to find audio example of the music? Have you any good
examples?

Best of luck!

Dom

On Mon, Oct 18, 2010 at 3:54 AM, Nic Freed beatthefinalb...@gmail.comwrote:

 Hi, my name is Nic, and I am 15 years old. I am getting into pure
 data, and am now into a state of familiarity with the PD interface and
 common synthesis methods, along with most of the basic ideas and
 knowledge needed to begin patching. I have received quite a bit of
 help from the #dataflow irc channel, so everyone from the chat also on
 this list, I would like to say thank you! :)

 Anyway, the reason I am posting to this list is to ask about the
 techniques used in the genre known as microsound, which is explained
 in brief detail at http://en.wikipedia.org/wiki/Microsound

 I would like to learn the sort of techniques I can use in PD in
 application for the genre, since it seems ideal for such music, since
 you can work directly on a sample-by-sample basis. Also, if anyone
 here has firsthand experience in the genre, suggestions on books,
 media, and examples would be greatly appreciated!

 I apologize if this email is a bit forward, or is not correctly
 formatted for use in mailing list. This is my first time posting to a
 mailing list, so let me know if I did something incorrectly and I
 would be very thankful.

 Thank you for taking the time to respond!

 --a new student in the school of PD :)

 Nic AKA nekk

 ___
 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] Music made with Pd

2010-10-18 Thread Pierre Massat
Thanks for listening! I didn't know these bands.

Pierre

2010/10/18 Kyle Klipowicz kylek...@gmail.com

 Yeah sounds good. Kind of a Field Music or Ghosts and Vodka sound to it.

 Good work on making some nice tunes.

 ~Kyle

 On Mon, Oct 11, 2010 at 11:12 AM, Marco Donnarumma de...@thesaddj.comwrote:

 Hi Pierre,
 nice music!

 Yes, it's interesting to listen to Pd played in a rock band.

 M


  From: Pierre Massat pimas...@gmail.com
 Subject: [PD] Music made with Pd
 To: pd-list pd-list@iem.at
 Message-ID:
aanlktin3+e=m6r4y0m1rwa9y72lj0l1ftr01grcqy...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1


 Hi everyone,

 I just wanted to share some music i've made with my band, because i've
 used
 Pd with my guitar and a rt setup and i'm very happy with the results. I
 remember when i started experimenting with this a year ago, i had hope
 but i
 did not expect it to work so well. So here it is :
 http://pierreetleloup.bandcamp.com/
 There's some Pd-processed guitar on the following songs: Not too sad,
 Nyctalope, Canop?e and We own the sky. The rest is just plain rock trio

 stuff (irrelevant here). There's no keyboard and i didn't need any
 hardware
 effetcs.

 So this gives me an opportunity to thank everybody on the list, it's
 really
 neat to always have someone who can help you and provide a bit of code!

 cheers!

 Pierre




 --
 Marco Donnarumma aka TheSAD
 Independent New Media Arts Professional, Performer, Teacher
 Ongoing MSc by Research, University of Edinburgh, UK


 PORTFOLIO: http://marcodonnarumma.com
 LAB: http://www.thesaddj.com | http://cntrl.sourceforge.net |
 http://www.flxer.net
 EVENT: http://www.liveperformersmeeting.net

 ___
 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] Microsound

2010-10-18 Thread Ricardo Lameiro
Hi Nic, for what I read about it, I think microsound, isn't really a Genre,
but more a technique.
There are diferent ways to go using microsounds, for instance one of the
most used/known is the granular synthesis.
You can search some stuff from Curtis Roads, he made a lot of digital
granular synthesis, and he also has some books about it.
I am sure more people in here will have more insight than me to explain how
to use microsounds on your music.

Best of luck in your journey

RRL

2010/10/18 Dominic Pflaum dompfl...@gmail.com

 I've found it hard to find audio example of the music? Have you any good
 examples?

 Best of luck!

 Dom


 On Mon, Oct 18, 2010 at 3:54 AM, Nic Freed beatthefinalb...@gmail.comwrote:

 Hi, my name is Nic, and I am 15 years old. I am getting into pure
 data, and am now into a state of familiarity with the PD interface and
 common synthesis methods, along with most of the basic ideas and
 knowledge needed to begin patching. I have received quite a bit of
 help from the #dataflow irc channel, so everyone from the chat also on
 this list, I would like to say thank you! :)

 Anyway, the reason I am posting to this list is to ask about the
 techniques used in the genre known as microsound, which is explained
 in brief detail at http://en.wikipedia.org/wiki/Microsound

 I would like to learn the sort of techniques I can use in PD in
 application for the genre, since it seems ideal for such music, since
 you can work directly on a sample-by-sample basis. Also, if anyone
 here has firsthand experience in the genre, suggestions on books,
 media, and examples would be greatly appreciated!

 I apologize if this email is a bit forward, or is not correctly
 formatted for use in mailing list. This is my first time posting to a
 mailing list, so let me know if I did something incorrectly and I
 would be very thankful.

 Thank you for taking the time to respond!

 --a new student in the school of PD :)

 Nic AKA nekk

 ___
 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




-- 
Fagote / Contrafagote
Bassoon / Contra-bassoon
http://myspace.com/ricardolameiro
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Microsound

2010-10-18 Thread Laurent Kappler

 I think this is totaly microsound:

http://lab.8rnl.be/Migrateur/

Music from Bjarni Gunnarsson
http://bjarni-gunnarsson.net/

**
Laurent

On 10/18/2010 12:59 PM, Ricardo Lameiro wrote:
Hi Nic, for what I read about it, I think microsound, isn't really a 
Genre, but more a technique.
There are diferent ways to go using microsounds, for instance one of 
the most used/known is the granular synthesis.
You can search some stuff from Curtis Roads, he made a lot of digital 
granular synthesis, and he also has some books about it.
I am sure more people in here will have more insight than me to 
explain how to use microsounds on your music.


Best of luck in your journey

RRL

2010/10/18 Dominic Pflaum dompfl...@gmail.com 
mailto:dompfl...@gmail.com


I've found it hard to find audio example of the music? Have you
any good examples?

Best of luck!

Dom


On Mon, Oct 18, 2010 at 3:54 AM, Nic Freed
beatthefinalb...@gmail.com mailto:beatthefinalb...@gmail.com
wrote:

Hi, my name is Nic, and I am 15 years old. I am getting into pure
data, and am now into a state of familiarity with the PD
interface and
common synthesis methods, along with most of the basic ideas and
knowledge needed to begin patching. I have received quite a bit of
help from the #dataflow irc channel, so everyone from the chat
also on
this list, I would like to say thank you! :)

Anyway, the reason I am posting to this list is to ask about the
techniques used in the genre known as microsound, which is
explained
in brief detail at http://en.wikipedia.org/wiki/Microsound

I would like to learn the sort of techniques I can use in PD in
application for the genre, since it seems ideal for such
music, since
you can work directly on a sample-by-sample basis. Also, if anyone
here has firsthand experience in the genre, suggestions on books,
media, and examples would be greatly appreciated!

I apologize if this email is a bit forward, or is not correctly
formatted for use in mailing list. This is my first time
posting to a
mailing list, so let me know if I did something incorrectly and I
would be very thankful.

Thank you for taking the time to respond!

--a new student in the school of PD :)

Nic AKA nekk

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



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




--
Fagote / Contrafagote
Bassoon / Contra-bassoon
http://myspace.com/ricardolameiro


___
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] Microsound

2010-10-18 Thread oskoff lovich
 One of the more common techniques associated to microsound
  is granular synthesis,

 book   microsound by curtis road

 pd tutorial  http://www.pd-tutorial.com by Johannes Kreidler   3.7
granular synthesis

PD granulators:  particlechamber by Derek  Holzer
http://puredata.info/community/patches

pulsegrain by nullpointer
http://www.nullpointer.co.uk/-/pd.htm

nm-grainer by Nick Mariete


http://puredata.info/Members/nmariette/granular-implementations

   granulator by ch   in the externat lib nusmuk included at
pd-extended


  also try to check at pd-list archives


 salut!




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


Re: [PD] Microsound

2010-10-18 Thread David
The classic reference is Microsound by Curtis Roads (one of the
references in the Wikipedia article), although some of the math is
pretty advanced.

http://mitpress.mit.edu/catalog/item/default.asp?ttype=2tid=10389

There's also a mailing list dedicated to Microsound that you might
want to subscribe to, although it doesn't seem very active these days:

http://www.microsound.org

Good luck with PD and Microsound!

 On Mon, Oct 18, 2010 at 3:54 AM, Nic Freed beatthefinalb...@gmail.comwrote:

 Hi, my name is Nic, and I am 15 years old. I am getting into pure
 data, and am now into a state of familiarity with the PD interface and
 common synthesis methods, along with most of the basic ideas and
 knowledge needed to begin patching. I have received quite a bit of
 help from the #dataflow irc channel, so everyone from the chat also on
 this list, I would like to say thank you! :)

 Anyway, the reason I am posting to this list is to ask about the
 techniques used in the genre known as microsound, which is explained
 in brief detail at http://en.wikipedia.org/wiki/Microsound

 I would like to learn the sort of techniques I can use in PD in
 application for the genre, since it seems ideal for such music, since
 you can work directly on a sample-by-sample basis. Also, if anyone
 here has firsthand experience in the genre, suggestions on books,
 media, and examples would be greatly appreciated!

 I apologize if this email is a bit forward, or is not correctly
 formatted for use in mailing list. This is my first time posting to a
 mailing list, so let me know if I did something incorrectly and I
 would be very thankful.

 Thank you for taking the time to respond!

 --a new student in the school of PD :)

 Nic AKA nekk


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


Re: [PD] Microsound

2010-10-18 Thread Max


Am 18.10.2010 um 13:40 schrieb oskoff lovich:

 
 
  One of the more common techniques associated to microsound
   is granular synthesis,  
 
  book   microsound by curtis road
 
  pd tutorial  http://www.pd-tutorial.com by Johannes Kreidler   3.7 
 granular synthesis
 
 PD granulators:  

i like this one by tim vets:
http://www.timvets.net/video/grains.php?page=software


 particlechamber by Derek  Holzer   http://puredata.info/community/patches
 
 pulsegrain by nullpointer  
 http://www.nullpointer.co.uk/-/pd.htm
 
 nm-grainer by Nick Mariete 
 

 http://puredata.info/Members/nmariette/granular-implementations
 
granulator by ch   in the externat lib nusmuk included at 
 pd-extended
 
 
   also try to check at pd-list archives
 


PGP.sig
Description: Signierter Teil der Nachricht
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Microsound

2010-10-18 Thread Ivica Ico Bukvic
 One of the more common techniques associated to microsound
  is granular synthesis,  

 book   microsound by curtis road

 pd tutorial  http://www.pd-tutorial.com by Johannes Kreidler   3.7 granular 
synthesis

PD granulators:  particlechamber by Derek  Holzer   
http://puredata.info/community/patches

pulsegrain by nullpointer  
http://www.nullpointer.co.uk/-/pd.htm

nm-grainer by Nick Mariete 

   
http://puredata.info/Members/nmariette/granular-implementations

   granulator by ch   in the externat lib nusmuk included at 
pd-extended



You can also check out disis_munger~ which is an updated/enhanced version of 
munger~ from the PeRcolate library and which apparently never worked quite 
right on PD/Linux.

 

HTH

 

Ico

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


Re: [PD] Microsound

2010-10-18 Thread oskoff lovich
 You can also check out disis_munger~ which is an updated/enhanced version of
 munger~ from the PeRcolate library and which apparently never worked quite
 right on PD/Linux.

munger~ and disis_munger~  working very well on PD/Linux



2010/10/18, Ivica Ico Bukvic i...@vt.edu:
  One of the more common techniques associated to microsound
   is granular synthesis,

  book   microsound by curtis road

  pd tutorial  http://www.pd-tutorial.com by Johannes Kreidler   3.7
 granular synthesis

 PD granulators:  particlechamber by Derek  Holzer
 http://puredata.info/community/patches

 pulsegrain by nullpointer
 http://www.nullpointer.co.uk/-/pd.htm

 nm-grainer by Nick Mariete


 http://puredata.info/Members/nmariette/granular-implementations

granulator by ch   in the externat lib nusmuk included at
 pd-extended



 You can also check out disis_munger~ which is an updated/enhanced version of
 munger~ from the PeRcolate library and which apparently never worked quite
 right on PD/Linux.



 HTH



 Ico




-- 
http://noconventions.mobi/noish

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


Re: [PD] vbap/define_loudspeakers mach-o error

2010-10-18 Thread Mathieu Bouchard

On Sun, 17 Oct 2010, Pagano, Patrick wrote:

Thanks Mathieu, i figured with the mach-o error which i recall from SGI 
days as well that it had to do with the CPU


Mach-o is only the name of the file format for files that are to be run by 
the CPU (apps, dylibs, etc). It depends on which OS you run. For a Linux 
OS, the same error is possible but would be considered an error about ELF 
because the file format is ELF, and on Windows, it's EXE-PE instead.


There's more than one possible error that can happen with handling those 
file formats : it's not just about which kind of CPU. When you get Symbol 
not found it's also a Mach-o error as long as the file format is Mach-o.


 ___
| Mathieu Bouchard -- Villeray, Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] overdriven speaker

2010-10-18 Thread Mathieu Bouchard

On Sat, 16 Oct 2010, Martin Schied wrote:

field) and also time variant (temperature) and modulation (doppler 
effect / amplitude modulation) effects. I don't know which effects have 
a stronger or weaker influence,


for a sinewave, a peak of ±1 millimètre at 1 kiloHertz travels like

  y = 0.001*sin(2000πt)  mètres
so
  dy/dt = 2π*cos(2000πt) mètres/seconde

so, the peak speed is ±2π m/s while the speed of sound is roughly 343 m/s, 
thus the doppler effect would be ±1.83 %, creating a vibrato of ±32 cents, 
but this vibrato is so fast, that it actually sounds like something else, 
because it runs at the same frequency as the input signal.


I tried it, and it sounds like related to waveshaping (although it's not). 
So maybe that's closer to what fallen_devil wants, because it has a 
quite richer sound than the usual [expr~ tanh($v1)].


I did it using [vd~]. (I imagine that I will soon retry with a natural 
spline version of it...)


 ___
| Mathieu Bouchard -- Villeray, Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] overdriven speaker

2010-10-18 Thread Pierre Massat
This is getting interesting. I'm sorry, how did you do this with vd~?

2010/10/18 Mathieu Bouchard ma...@artengine.ca

 On Sat, 16 Oct 2010, Martin Schied wrote:

  field) and also time variant (temperature) and modulation (doppler effect
 / amplitude modulation) effects. I don't know which effects have a stronger
 or weaker influence,


 for a sinewave, a peak of ±1 millimètre at 1 kiloHertz travels like

  y = 0.001*sin(2000πt)  mètres
 so
  dy/dt = 2π*cos(2000πt) mètres/seconde

 so, the peak speed is ±2π m/s while the speed of sound is roughly 343 m/s,
 thus the doppler effect would be ±1.83 %, creating a vibrato of ±32 cents,
 but this vibrato is so fast, that it actually sounds like something else,
 because it runs at the same frequency as the input signal.

 I tried it, and it sounds like related to waveshaping (although it's not).
 So maybe that's closer to what fallen_devil wants, because it has a quite
 richer sound than the usual [expr~ tanh($v1)].

 I did it using [vd~]. (I imagine that I will soon retry with a natural
 spline version of it...)

  ___
 | Mathieu Bouchard -- Villeray, Montréal, QC
 ___
 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] Microsound

2010-10-18 Thread Ivica Ico Bukvic
It seems I worded my original email clumsily. AFAIK munger~ never worked for me 
which is why in part we built DISIS_munger~ (which does work).

oskoff lovich noi...@gmail.com wrote:

 You can also check out disis_munger~ which is an updated/enhanced version of
 munger~ from the PeRcolate library and which apparently never worked quite
 right on PD/Linux.

munger~ and disis_munger~  working very well on PD/Linux



2010/10/18, Ivica Ico Bukvic i...@vt.edu:
  One of the more common techniques associated to microsound
   is granular synthesis,

  book   microsound by curtis road

  pd tutorial  http://www.pd-tutorial.com by Johannes Kreidler   3.7
 granular synthesis

 PD granulators:  particlechamber by Derek  Holzer
 http://puredata.info/community/patches

 pulsegrain by nullpointer
 http://www.nullpointer.co.uk/-/pd.htm

 nm-grainer by Nick Mariete


 http://puredata.info/Members/nmariette/granular-implementations

granulator by ch   in the externat lib nusmuk included at
 pd-extended



 You can also check out disis_munger~ which is an updated/enhanced version of
 munger~ from the PeRcolate library and which apparently never worked quite
 right on PD/Linux.



 HTH



 Ico




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


[PD] bpm counter

2010-10-18 Thread L.J.
before building something that's already there, has anyone done a
working bpm counter in pd?

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


Re: [PD] bpm counter

2010-10-18 Thread Mathieu Bouchard

On Mon, 18 Oct 2010, L.J. wrote:


before building something that's already there, has anyone done a
working bpm counter in pd?


use GridFlow's [fps]. It will give you Hz (bangs per second). After that 
you can use [* 60] to convert it to bangs per minute. There's an option in 
[fps] to choose how often you want it reported.


See this help file : http://gridflow.ca/help/fps-help.html

Note that the default mode is real, so it uses [realtime]. If you want 
it to use logical time, you can write in the box :


  [fps, mode logical]

 ___
| Mathieu Bouchard -- Villeray, Montréal, QC___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Latency under Linux/Jack (again...)

2010-10-18 Thread Raphael Raccuia

I still have a lot of DIO errors... no idea how to manage that?
I also do get some xruns now and then when moving around gui object
I have a lot (1 every 30 sec when I don't touch nothing, more if I play 
with a patch), and they are really audibles...

r

Raphael Raccuia a écrit :

tried with just one security config, no changes...

Lorenzo a écrit :



-RME Multiface I /HDSP expresscard
   

So this (not the pcmcia) works on linux? That's interesting news.
OT: it should... I asked on many forums to be sure it does, and people 
said me it's basically the same as pcmcia... but I have a lot of 
trouble: freeze on boot 9/10... but 1/10, when it works it works 
pretty good! It could be a hardware issue (my computer). I'm talking 
with a RME technician to fix it, or almost know where the problem 
comes from...


I also do get some xruns now and then when moving around gui object 
(like selecting a whole lot of objects and moving them around) even 
with rt kernel, pd run with -rt etc etc...

Otherwise it is usually *quite* stable.

Lorenzo

Of course jack run with -R. I repeat I don't have any problem to run
application with really good latency: yesterday, I forgot to increase
buffer as I worked on a 96000Hz Ardour session... I noticed I was
working at 5ms I/O after one hour recording and playing a lot of 
tracks,

and no xrun, no problems...
I also think it's not a good Idea to run pd as root... and I suppose
other application won't connect to jack if I run it as root also.

I noticed I had two times the @audio config (limits.conf, audio.conf).
You'll say: better twice than nothing... But maybe it generates a
conflict... I try

Le mardi 12 octobre 2010 à 11:50 -0300, Bernardo Barros a écrit :
 
Don't run programs as root, your system will be as insecure as a 
windows box...
Just allow rt privileges to the audio group, and add yourself to 
this group.

Then start jack with rt privileges. All software linked to Jack will
run with -rt.

from http://jackaudio.org/faq

JACK requires real-time scheduling privileges for reliable,
dropout-free operation. The server requests these privileges when
running with the -R option.

Most recent distributions use PAM to manage the permissions of users
on a relatively granular level. If the file /etc/security/limits.conf
exists on your system, it is using PAM. In order to configure PAM such
that normal users can run jackd with realtime privileges make sure the
following lines exist:
@audio   -  rtprio 99
@audio   -  memlockunlimited


2010/10/12 Pedro Lopespedro.lo...@ist.utl.pt:
   
If you start pd in sudo, you have to connect to jack in sudo mode. 
Thus

start jack in sudo (or gksudo for qjackctl).
I advise to use an rt kernel too. See documentation of Ubuntu Studio.

On Tue, Oct 12, 2010 at 3:27 PM, Raphael Raccuia
rafael.racc...@blindekinder.com  wrote:
 

Hi list,
I tested Pd rt as I need low latency for a performance next week...
It seems -rt flag doesn't have any effect. I measured Pd latency 
with
jdelay, and always get 640 (@48000), so about 13ms (pd only)... 
lower I

set buffer in jack (no less than 256), more DIO errors I get... and
there are a lot! This setting works great with many application
(Ardour...), with about 10ms (~15 really). So I would have ~25ms, 
which

is acceptable, but too many DIO errors!

-what is -defeatrt setting? (I tried 0 and 1, no change)
-why is -rt flag without effect?
-tried nosleep, no change...

I also tried to start pd in root (sudo)...

It says:
priority 8 scheduling enabled.
priority 6 scheduling enabled.
(which I normally don't have)

but unfortunately can't connect to jack (state 17)

thank's for your help


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



--
Pedro Lopes (ongoing MSc)
contact: pedro.lo...@ist.utl.pt
website: http://web.ist.utl.pt/Pedro.Lopes

___
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


___
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] Latency under Linux/Jack (again...)

2010-10-18 Thread Bernardo Barros
I had problems with xruns using the nouveau driver, the nvidia driver
improved performance here. Hope that this helps.

2010/10/18 Raphael Raccuia rafael.racc...@blindekinder.com:
 I still have a lot of DIO errors... no idea how to manage that?
 I also do get some xruns now and then when moving around gui object
 I have a lot (1 every 30 sec when I don't touch nothing, more if I play with
 a patch), and they are really audibles...
 r

 Raphael Raccuia a écrit :

 tried with just one security config, no changes...

 Lorenzo a écrit :

 -RME Multiface I /HDSP expresscard


 So this (not the pcmcia) works on linux? That's interesting news.

 OT: it should... I asked on many forums to be sure it does, and people
 said me it's basically the same as pcmcia... but I have a lot of trouble:
 freeze on boot 9/10... but 1/10, when it works it works pretty good! It
 could be a hardware issue (my computer). I'm talking with a RME technician
 to fix it, or almost know where the problem comes from...

 I also do get some xruns now and then when moving around gui object (like
 selecting a whole lot of objects and moving them around) even with rt
 kernel, pd run with -rt etc etc...
 Otherwise it is usually *quite* stable.

 Lorenzo

 Of course jack run with -R. I repeat I don't have any problem to run
 application with really good latency: yesterday, I forgot to increase
 buffer as I worked on a 96000Hz Ardour session... I noticed I was
 working at 5ms I/O after one hour recording and playing a lot of tracks,
 and no xrun, no problems...
 I also think it's not a good Idea to run pd as root... and I suppose
 other application won't connect to jack if I run it as root also.

 I noticed I had two times the @audio config (limits.conf, audio.conf).
 You'll say: better twice than nothing... But maybe it generates a
 conflict... I try

 Le mardi 12 octobre 2010 à 11:50 -0300, Bernardo Barros a écrit :


 Don't run programs as root, your system will be as insecure as a
 windows box...
 Just allow rt privileges to the audio group, and add yourself to this
 group.
 Then start jack with rt privileges. All software linked to Jack will
 run with -rt.

 from http://jackaudio.org/faq

 JACK requires real-time scheduling privileges for reliable,
 dropout-free operation. The server requests these privileges when
 running with the -R option.

 Most recent distributions use PAM to manage the permissions of users
 on a relatively granular level. If the file /etc/security/limits.conf
 exists on your system, it is using PAM. In order to configure PAM such
 that normal users can run jackd with realtime privileges make sure the
 following lines exist:
 @audio   -  rtprio     99
 @audio   -  memlock    unlimited


 2010/10/12 Pedro Lopespedro.lo...@ist.utl.pt:


 If you start pd in sudo, you have to connect to jack in sudo mode.
 Thus
 start jack in sudo (or gksudo for qjackctl).
 I advise to use an rt kernel too. See documentation of Ubuntu Studio.

 On Tue, Oct 12, 2010 at 3:27 PM, Raphael Raccuia
 rafael.racc...@blindekinder.com  wrote:


 Hi list,
 I tested Pd rt as I need low latency for a performance next week...
 It seems -rt flag doesn't have any effect. I measured Pd latency with
 jdelay, and always get 640 (@48000), so about 13ms (pd only)... lower
 I
 set buffer in jack (no less than 256), more DIO errors I get... and
 there are a lot! This setting works great with many application
 (Ardour...), with about 10ms (~15 really). So I would have ~25ms,
 which
 is acceptable, but too many DIO errors!

 -what is -defeatrt setting? (I tried 0 and 1, no change)
 -why is -rt flag without effect?
 -tried nosleep, no change...

 I also tried to start pd in root (sudo)...

 It says:
 priority 8 scheduling enabled.
 priority 6 scheduling enabled.
 (which I normally don't have)

 but unfortunately can't connect to jack (state 17)

 thank's for your help


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



 --
 Pedro Lopes (ongoing MSc)
 contact: pedro.lo...@ist.utl.pt
 website: http://web.ist.utl.pt/Pedro.Lopes

 ___
 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

 ___
 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] overdriven speaker

2010-10-18 Thread Mathieu Bouchard

On Mon, 18 Oct 2010, Pierre Massat wrote:


This is getting interesting. I'm sorry, how did you do this with vd~?


C'est juste ça (en attachement). En fait, ma vraie patch est plus 
complexe, mais j'essaye pas vraiment de reproduire le phénomène physique 
de toute façon. Mes formules de vitesse sont même pas bonnes : il faudrait 
que j'utilise la loi de Maxwell et la loi de Hooke pour obtenir queqchose 
dans le domaine du réaliste, parce que y a rien qui dise comment les 
signaux audio de Pd peuvent correspondre à des millimètres dans cette 
patch ; J'imagine que ça me prendrait des [rpole~], [cpole~] et/ou 
[biquad~] quelque part là-dedans.


 ___
| Mathieu Bouchard -- Villeray, Montréal, QC#N canvas 0 0 395 185 10;
#X obj 19 26 adc~;
#X obj 18 144 dac~;
#X obj 26 47 delwrite~ a 500;
#X floatatom 48 87 5 0 0 0 - - -;
#X obj 18 125 vd~ a;
#X obj 18 68 +~ 1;
#X obj 18 106 +~ 2;
#X obj 18 87 *~ 5;
#X connect 0 0 2 0;
#X connect 0 0 5 0;
#X connect 3 0 7 1;
#X connect 4 0 1 0;
#X connect 5 0 7 0;
#X connect 6 0 4 0;
#X connect 7 0 6 0;
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] pduino + arduino UNO

2010-10-18 Thread alessandro contini
hey there,
i'm teaching in an intensive course about Arduino in an italian design
school.

some of the students are using Pduino for their final projects.
the point is i have a student who bought the new Arduino UNO board, we tried
to use it with Firmata 2.2 and Pduino, but it doesn't work.
when loading the arduino-test it loads only a part of the patch in the
console view. it recognizes the board as an Arduino UNO, but then it says
can't create

i tried to search for the problem with google, but we haven't found anything
useful.
maybe someone encountered a similar problem? :)


alessandro contini + www.cntlsn.com
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] overdriven speaker

2010-10-18 Thread Pierre Massat
Sounds really cool with a guitar and with high gain (around 50). What's nice
is the change in the spectrum depending on the volume of the input.

Le 18 octobre 2010 20:13, Mathieu Bouchard ma...@artengine.ca a écrit :

 On Mon, 18 Oct 2010, Pierre Massat wrote:

  This is getting interesting. I'm sorry, how did you do this with vd~?


 C'est juste ça (en attachement). En fait, ma vraie patch est plus complexe,
 mais j'essaye pas vraiment de reproduire le phénomène physique de toute
 façon. Mes formules de vitesse sont même pas bonnes : il faudrait que
 j'utilise la loi de Maxwell et la loi de Hooke pour obtenir queqchose dans
 le domaine du réaliste, parce que y a rien qui dise comment les signaux
 audio de Pd peuvent correspondre à des millimètres dans cette patch ;
 J'imagine que ça me prendrait des [rpole~], [cpole~] et/ou [biquad~] quelque
 part là-dedans.


  ___
 | Mathieu Bouchard -- Villeray, Montréal, QC

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


Re: [PD] pduino + arduino UNO

2010-10-18 Thread tim vets
from http://arduino.cc/en/Main/Hardware :
It is similar to the Duemilanove, but has a different USB-to-serial chip
the ATMega8U2
may have something to do with it...?
gr,
Tim


2010/10/18 alessandro contini aless.cont...@gmail.com

 hey there,
 i'm teaching in an intensive course about Arduino in an italian design
 school.

 some of the students are using Pduino for their final projects.
 the point is i have a student who bought the new Arduino UNO board, we
 tried to use it with Firmata 2.2 and Pduino, but it doesn't work.
 when loading the arduino-test it loads only a part of the patch in the
 console view. it recognizes the board as an Arduino UNO, but then it says
 can't create

 i tried to search for the problem with google, but we haven't found
 anything useful.
 maybe someone encountered a similar problem? :)


 alessandro contini + www.cntlsn.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] Graphic Novel Opera

2010-10-18 Thread Martin Eckart
Hi list,

Just wanted to send out a link to my group's graphic-novel (rock?) opera
Le Cyc that we recently released online:
http://www.polydactylhearts.ca/?page_id=397

For the project I built a projection system in PD-GEM which allows the
artist to perform the visuals (including panning/zooming) in real-time
with the band.  It's a glorified slideshow but I'm proud of it :)

We're performing that and our newer project Hello Adventure (no online
samples...yet.  More of a stop-motion animation piece) in Montreal this
coming weekend and in other parts of Ontario through early November so
if you're in the area please do come say hi.

Cheers,
-martin






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


[PD] [PD-announce] [arte + innovación] T aller de Algoritmia 2010

2010-10-18 Thread Correa Diego
Estimados(as),

El segundo año de actividades de Taller de Algoritmia contemplará nuevos
módulos de conocimientos aplicados en arte y estética, además de una
relación aún más directa con la innovación en relación al nuevo espacio que
nos acoge este 2010. Nos es grato informar que gracias al apoyo de Corfo, a
través de su nueva área de archivos y biblioteca, los módulos prácticos en
innovación y estética se realizarán en sus nuevas dependencias ubicadas en
calle Moneda 921, Santiago; segundo piso, sala patrimonial; a partir de la
segunda semana de noviembre.

Los módulos convocados para este año son:

ISA::  Introducción a Sensores Análogos para Interfaces Interactivas
ICG::  Introducción a Computer Graphics
IPD::  Introducción a Pure Data (Pd)
ISM::  Introducción a Sensores con Microcontroladores
IBE::  Instrumentación Bioelectrónica
ISS::  Introducción a la Síntesis de Sonidos con Pd
IMMVP  ::  Introducción a Método en Música y Video-Performance con Pd
IOSC   ::  Introducción a Open Sound Control (OSC)
SSII   ::  Sensores Inalámbricos
CCDD   ::  Controladores Digitales
IMMEPD ::  Introducción a Métodos en Música Electrónica con Pd
IOCV   ::  Introducción a Open Computer Vision (OpenCV)
IEM::  Instrumentos Electrónicos Musicales

También quiero dar la bienvenida a Hector Capossiello y Marco Colasso, que
integran este año el taller. Desde sus respectivas áreas de expertise,
guiarán los nuevos módulos propuestos en Computer Graphics y Síntesis de
Sonido respectivamente.

Debo recordar el fiel compromiso que el taller ha tenido desde un inicio con
la utilización de lógica de licencia libre para múltiples plataformas, como
una vía efectiva de divulgar los detalles que hacen de los métodos
algorítmicos un bien de dominio común, sin desmedro de la apropiación
original, intelectual e industrial de los procesos implicados.

Desde ya les envío mis saludos más cordiales a todos(as) Uds.


se despide atentamente,



Diego Correa T.
Coordinador Taller de Algoritmia 2010
http://labormedia.cl/algoritmia
Santiago, Chile.

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


Re: [PD] Graphic Novel Opera

2010-10-18 Thread Pagano, Patrick
sounds cool
lets see the patch :-)

pp

From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of Martin 
Eckart [imart...@gmail.com]
Sent: Monday, October 18, 2010 8:24 PM
To: pd-list
Subject: [PD] Graphic Novel Opera

Hi list,

Just wanted to send out a link to my group's graphic-novel (rock?) opera
Le Cyc that we recently released online:
http://www.polydactylhearts.ca/?page_id=397

For the project I built a projection system in PD-GEM which allows the
artist to perform the visuals (including panning/zooming) in real-time
with the band.  It's a glorified slideshow but I'm proud of it :)

We're performing that and our newer project Hello Adventure (no online
samples...yet.  More of a stop-motion animation piece) in Montreal this
coming weekend and in other parts of Ontario through early November so
if you're in the area please do come say hi.

Cheers,
-martin






___
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] overdriven speaker

2010-10-18 Thread Martin Schied
really nice distortion. I just fed it a few drum loops and it sounds 
very similar to drunken DJs at 5am...


I added a lop~ 200 before the modulation going into vd~ to reduce harsh 
sounds a bit, emphasizes the nice pow sound for bassdrums.


using the first deviation as modulation should be more physically 
correct but sounded very tinny and thin. Using direct signal for 
modulation like Mathieu used works very well and sounds more pleasant...


Interesting. I didn't expect it that way :)

cheers
Martin




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


Re: [PD] Graphic Novel Opera

2010-10-18 Thread Martin Eckart
Aw, now you're calling out my messy ass (but working!) code.  I'll try
to do some cleanup tomorrow and get something up for y'all.

The basic guts are (pdextended running on ubuntu):
GEM (with gmerlin compiled in)
-series of 300ish hand-drawn images are ffmpeged into an mjpeg .avi
-pix_film to open and display the avi
-2 gemheads to provide fading transitions between frames
HID to get the usb gamepad to control advancing frames, zooming and
panning

-martin


On Mon, 2010-10-18 at 21:19 -0400, Pagano, Patrick wrote:
 sounds cool
 lets see the patch :-)
 
 pp
 
 From: pd-list-boun...@iem.at [pd-list-boun...@iem.at] On Behalf Of Martin 
 Eckart [imart...@gmail.com]
 Sent: Monday, October 18, 2010 8:24 PM
 To: pd-list
 Subject: [PD] Graphic Novel Opera
 
 Hi list,
 
 Just wanted to send out a link to my group's graphic-novel (rock?) opera
 Le Cyc that we recently released online:
 http://www.polydactylhearts.ca/?page_id=397
 
 For the project I built a projection system in PD-GEM which allows the
 artist to perform the visuals (including panning/zooming) in real-time
 with the band.  It's a glorified slideshow but I'm proud of it :)
 
 We're performing that and our newer project Hello Adventure (no online
 samples...yet.  More of a stop-motion animation piece) in Montreal this
 coming weekend and in other parts of Ontario through early November so
 if you're in the area please do come say hi.
 
 Cheers,
 -martin
 
 
 
 
 
 
 ___
 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 + arduino UNO

2010-10-18 Thread Jose Luis Santorcuato
HI, I have no arduino one hand, you could try installing the latest Arduino
IDE, is for the UNO plate.
I noticed that in 2.1 are defined Firmat chipset ATMEGA xxx in the file
named firmata.h chipsets there are defined outputs and inputs, not sure, but
could include a chip or model, remember that the FTDI system but not necessary
with an Arduino UNO.

The Uno differs from all preceding boards in that it does not use the FTDI
USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as
a USB-to-serial converter. (arduino.cc)

Below define of plates, chips and inputs/outputs

Try de solutions and keep working


José




==
 * MACROS
 **/

/* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
 * firmware name.  It needs to be a macro so that __FILE__ is included in
the
 * firmware source file rather than the library source file.
 */
#define setFirmwareVersion(x, y)   setFirmwareNameAndVersion(__FILE__, x, y)

// total number of pins currently supported
#if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino NG
and Diecimila
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  22 // 14 digital + 8 analog
#define TOTAL_PORTS 3 // total number of ports for the board
#define ANALOG_PORT 2 // port# of analog used as digital
#define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   13 // digital pin to blink version on
#define FIRST_SERVO_PIN 2 // pin# of the first servo pin
#elif defined(__AVR_ATmega8__)  // old Arduinos
#define TOTAL_ANALOG_PINS   6
#define TOTAL_DIGITAL_PINS  20 // 14 digital + 6 analog
#define TOTAL_PORTS 3  // total number of ports for the board
#define ANALOG_PORT 2  // port# of analog used as digital
#define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   13 // digital pin to blink version on
#define FIRST_SERVO_PIN 2 // pin# of the first servo pin
#elif defined(__AVR_ATmega1280__)// Arduino Mega
#define TOTAL_ANALOG_PINS   16
#define TOTAL_DIGITAL_PINS  70 // 54 digital + 16 analog
#define TOTAL_PORTS 9 // total number of ports for the board
#define ANALOG_PORT 8 // port# of analog used as digital
#define FIRST_ANALOG_PIN54 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   13 // digital pin to blink version on
#define FIRST_SERVO_PIN 2 // pin# of the first servo pin
#elif defined(__AVR_ATmega128__)// Wiring
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  51
#define TOTAL_PORTS 7 // total number of ports for the board
#define ANALOG_PORT 5 // port# of analog used as digital
#define FIRST_ANALOG_PIN40 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   48 // digital pin to blink version on
#define FIRST_SERVO_PIN 8 // pin# of the first servo pin
#elif defined(__AVR_AT90USB162__) // Teensy
#define TOTAL_ANALOG_PINS   0
#define TOTAL_DIGITAL_PINS  21 // 21 digital + no analog
#define TOTAL_PORTS 4 // total number of ports for the board
#define ANALOG_PORT 3 // port# of analog used as digital
#define FIRST_ANALOG_PIN21 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   6 // digital pin to blink version on
#elif defined(__AVR_ATmega32U4__) // Teensy
#define TOTAL_ANALOG_PINS   12
#define TOTAL_DIGITAL_PINS  25 // 11 digital + 12 analog
#define TOTAL_PORTS 4 // total number of ports for the board
#define ANALOG_PORT 3 // port# of analog used as digital
#define FIRST_ANALOG_PIN11 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   11 // digital pin to blink version on
#elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) //
Teensy++
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  46 // 38 digital + 8 analog
#define TOTAL_PORTS 6 // total number of ports for the board
#define ANALOG_PORT 5 // port# of analog used as digital
#define FIRST_ANALOG_PIN38 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   6 // digital pin to blink version on
#elif defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644__)  // Sanguino
#define TOTAL_ANALOG_PINS   8
#define TOTAL_DIGITAL_PINS  32 // 24 digital + 8 analog
#define TOTAL_PORTS 4 // total number of ports for the board
#define ANALOG_PORT 3 // port# of analog used as digital
#define FIRST_ANALOG_PIN24 // pin# corresponding to analog 0
#define VERSION_BLINK_PIN   0 // digital pin to blink version on
#elif defined(__AVR_ATmega645__)  // Illuminato
#define TOTAL_ANALOG_PINS   6
#define TOTAL_DIGITAL_PINS  42 // 36 digital + 6 

Re: [PD] pduino + arduino UNO

2010-10-18 Thread Jose Luis Santorcuato
Ooops, the firmata.h is in the pduino/firmata...

Best regards

José

2010/10/19 Jose Luis Santorcuato santorcuat...@gmail.com

 HI, I have no arduino one hand, you could try installing the latest
 Arduino IDE, is for the UNO plate.
 I noticed that in 2.1 are defined Firmat chipset ATMEGA xxx in the file
 named firmata.h chipsets there are defined outputs and inputs, not sure, but
 could include a chip or model, remember that the FTDI system but not necessary
 with an Arduino UNO.

 The Uno differs from all preceding boards in that it does not use the FTDI
 USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed
 as a USB-to-serial converter. (arduino.cc)

 Below define of plates, chips and inputs/outputs

 Try de solutions and keep working


 José





 ==
  * MACROS

  
 **/

 /* shortcut for setFirmwareNameAndVersion() that uses __FILE__ to set the
  * firmware name.  It needs to be a macro so that __FILE__ is included in
 the
  * firmware source file rather than the library source file.
  */
 #define setFirmwareVersion(x, y)   setFirmwareNameAndVersion(__FILE__, x,
 y)

 // total number of pins currently supported
 #if defined(__AVR_ATmega168__) || defined(__AVR_ATmega328P__) // Arduino NG
 and Diecimila
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  22 // 14 digital + 8 analog
 #define TOTAL_PORTS 3 // total number of ports for the board
 #define ANALOG_PORT 2 // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega8__)  // old Arduinos
 #define TOTAL_ANALOG_PINS   6
 #define TOTAL_DIGITAL_PINS  20 // 14 digital + 6 analog
 #define TOTAL_PORTS 3  // total number of ports for the board
 #define ANALOG_PORT 2  // port# of analog used as digital
 #define FIRST_ANALOG_PIN14 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega1280__)// Arduino Mega
 #define TOTAL_ANALOG_PINS   16
 #define TOTAL_DIGITAL_PINS  70 // 54 digital + 16 analog
 #define TOTAL_PORTS 9 // total number of ports for the board
 #define ANALOG_PORT 8 // port# of analog used as digital
 #define FIRST_ANALOG_PIN54 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   13 // digital pin to blink version on
 #define FIRST_SERVO_PIN 2 // pin# of the first servo pin
 #elif defined(__AVR_ATmega128__)// Wiring
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  51
 #define TOTAL_PORTS 7 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog used as digital
 #define FIRST_ANALOG_PIN40 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   48 // digital pin to blink version on
 #define FIRST_SERVO_PIN 8 // pin# of the first servo pin
 #elif defined(__AVR_AT90USB162__) // Teensy
 #define TOTAL_ANALOG_PINS   0
 #define TOTAL_DIGITAL_PINS  21 // 21 digital + no analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN21 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   6 // digital pin to blink version on
 #elif defined(__AVR_ATmega32U4__) // Teensy
 #define TOTAL_ANALOG_PINS   12
 #define TOTAL_DIGITAL_PINS  25 // 11 digital + 12 analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN11 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   11 // digital pin to blink version on
 #elif defined(__AVR_AT90USB646__) || defined(__AVR_AT90USB1286__) //
 Teensy++
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  46 // 38 digital + 8 analog
 #define TOTAL_PORTS 6 // total number of ports for the board
 #define ANALOG_PORT 5 // port# of analog used as digital
 #define FIRST_ANALOG_PIN38 // pin# corresponding to analog 0
 #define VERSION_BLINK_PIN   6 // digital pin to blink version on
 #elif defined(__AVR_ATmega644P__) || defined(__AVR_ATmega644__)  //
 Sanguino
 #define TOTAL_ANALOG_PINS   8
 #define TOTAL_DIGITAL_PINS  32 // 24 digital + 8 analog
 #define TOTAL_PORTS 4 // total number of ports for the board
 #define ANALOG_PORT 3 // port# of analog used as digital
 #define FIRST_ANALOG_PIN24 // pin# corresponding