Re: [PD] emulating the behaviour of a midi keyboard: trouble with repeated notes

2009-11-08 Thread tim vets
2009/11/9 Athos Bacchiocchi 

>  hi,
>
> i'm working on a little project in which some notes with random pitches and
> duration appear at random time intervals. Each note is packed in a "midi"
> format (pitch and velocity), with a note-off event (pitch and zero velocity)
> sent after the note duration interval.
>
>  it can happen that a new note is generated before the previous one has
> been stopped.That's not a trouble, since i  can handle it with [poly],
> eventually set to 1 voice and with voice stealing to force a "monophonic"
> melody.
>
> Hi Athos,

Since you want it to be monophonic, why don't you just force a note-off for
the previous note, right before the note-on of the new note ?
If you want rests inbetween the notes you could also use [pipe]---[pack f
0], and [flush( the [pipe] when a new note arrives, so that if the previous
note had not finished yet, the scheduled note-off for it is sent early,
before the new note-on...
does that make sense ?
(attached is an example)

Tim



The problem appears if the new note coming has the same pitch than the
> previous one. This is impossible for a "real" midi keyboard, in fact a key
> can be played again only after it has been released.
> This leads to an undesired behaviour of [poly]: if there are more than 1
> voice, i have the sum of different voices playing the same note, with an
> undesiderd increase of the volume. Even worse, when the voice is only one,
> the note-off message of the previous note stops the new note before its
> assigned time duration!
>
> I tried to set up a strategy to avoid this, but with no results.  Any idea?
>
> thanks,
> athos
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


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


Re: [PD] emulating the behaviour of a midi keyboard: trouble with repeated notes

2009-11-08 Thread Mike Moser-Booth




I would try and catch this before your [makenote] is triggered
(assuming you're using [makenote]) Maybe something like this:

[random 127]
|
[t f f]   [r oldnote]
| |   |
| [!= ]
|  |
[spigot]
|
[t f f]
| |
| [s oldnote]
|
[makenote]

.mmb

Athos Bacchiocchi wrote:
 hi,
  
i'm working on a little project in which some notes with random pitches
and duration appear at random time intervals. Each note is packed in a
"midi" format (pitch and velocity), with a note-off event (pitch and
zero velocity) sent after the note duration interval.
  
 it can happen that a new note is generated before the previous one has
been stopped.That's not a trouble, since i  can handle it with [poly],
eventually set to 1 voice and with voice stealing to force a
"monophonic" melody. 
  
The problem appears if the new note coming has the same pitch than the
previous one. This is impossible for a "real" midi keyboard, in fact a
key can be played again only after it has been released.
This leads to an undesired behaviour of [poly]: if there are more than
1 voice, i have the sum of different voices playing the same note, with
an undesiderd increase of the volume. Even worse, when the voice is
only one, the note-off message of the previous note stops the new note
before its assigned time duration!
  
I tried to set up a strategy to avoid this, but with no results.  Any
idea?
  
thanks,
athos
  

___
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] emulating the behaviour of a midi keyboard: trouble with repeated notes

2009-11-08 Thread Kyle Klipowicz
Sorry, did not read that deep enough the first time.

Wish I could help more, but I can't.

~Kyle

On Sun, Nov 8, 2009 at 10:33 PM, Kyle Klipowicz  wrote:

> Try researching "edge detection."
>
> ~Kyle
>
> On Sun, Nov 8, 2009 at 9:54 PM, Athos Bacchiocchi <
> athos.bacchioc...@tin.it> wrote:
>
>>  hi,
>>
>> i'm working on a little project in which some notes with random pitches
>> and duration appear at random time intervals. Each note is packed in a
>> "midi" format (pitch and velocity), with a note-off event (pitch and zero
>> velocity) sent after the note duration interval.
>>
>>  it can happen that a new note is generated before the previous one has
>> been stopped.That's not a trouble, since i  can handle it with [poly],
>> eventually set to 1 voice and with voice stealing to force a "monophonic"
>> melody.
>>
>> The problem appears if the new note coming has the same pitch than the
>> previous one. This is impossible for a "real" midi keyboard, in fact a key
>> can be played again only after it has been released.
>> This leads to an undesired behaviour of [poly]: if there are more than 1
>> voice, i have the sum of different voices playing the same note, with an
>> undesiderd increase of the volume. Even worse, when the voice is only one,
>> the note-off message of the previous note stops the new note before its
>> assigned time duration!
>>
>> I tried to set up a strategy to avoid this, but with no results.  Any
>> idea?
>>
>> thanks,
>> athos
>>
>> ___
>> Pd-list@iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
>
> --
> -
> 
> -
>   - --
> http://plenum.tumblr.com
> http://myspace.com/plenummusic
>



-- 
-

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


Re: [PD] emulating the behaviour of a midi keyboard: trouble with repeated notes

2009-11-08 Thread Kyle Klipowicz
Try researching "edge detection."

~Kyle

On Sun, Nov 8, 2009 at 9:54 PM, Athos Bacchiocchi
wrote:

>  hi,
>
> i'm working on a little project in which some notes with random pitches and
> duration appear at random time intervals. Each note is packed in a "midi"
> format (pitch and velocity), with a note-off event (pitch and zero velocity)
> sent after the note duration interval.
>
>  it can happen that a new note is generated before the previous one has
> been stopped.That's not a trouble, since i  can handle it with [poly],
> eventually set to 1 voice and with voice stealing to force a "monophonic"
> melody.
>
> The problem appears if the new note coming has the same pitch than the
> previous one. This is impossible for a "real" midi keyboard, in fact a key
> can be played again only after it has been released.
> This leads to an undesired behaviour of [poly]: if there are more than 1
> voice, i have the sum of different voices playing the same note, with an
> undesiderd increase of the volume. Even worse, when the voice is only one,
> the note-off message of the previous note stops the new note before its
> assigned time duration!
>
> I tried to set up a strategy to avoid this, but with no results.  Any idea?
>
> thanks,
> athos
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>


-- 
-

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


[PD] emulating the behaviour of a midi keyboard: trouble with repeated notes

2009-11-08 Thread Athos Bacchiocchi
 hi,

i'm working on a little project in which some notes with random pitches and 
duration appear at random time intervals. Each note is packed in a "midi" 
format (pitch and velocity), with a note-off event (pitch and zero velocity) 
sent after the note duration interval.

 it can happen that a new note is generated before the previous one has been 
stopped.That's not a trouble, since i  can handle it with [poly], eventually 
set to 1 voice and with voice stealing to force a "monophonic" melody. 

The problem appears if the new note coming has the same pitch than the previous 
one. This is impossible for a "real" midi keyboard, in fact a key can be played 
again only after it has been released.
This leads to an undesired behaviour of [poly]: if there are more than 1 voice, 
i have the sum of different voices playing the same note, with an undesiderd 
increase of the volume. Even worse, when the voice is only one, the note-off 
message of the previous note stops the new note before its assigned time 
duration!

I tried to set up a strategy to avoid this, but with no results.  Any idea?

thanks,
athos



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


Re: [PD] PD/GEM examples

2009-11-08 Thread Joseph Gray
In case you're interested here's the workshop outline (which is also  
just a bunch of links).  It has a few collected examples at the top  
there if you ever need to copy/paste some:


http://grauwald.com/workshops/pd/

The history section is a bit vague in places.

Earliest mention I can find of Mark Dank's GEM is from 1998...  is  
this really true?  Pioneering.





On Nov 6, 2009, at 7:13 PM, Joseph Gray wrote:



Hello,

Cornish College of the Arts has invited me to teach a brief and very  
introductory workshop in Pure Data in their art department on  
Monday.  Wondering if anyone on this list would have any suggestions  
of works to present to give the students an idea of what the  
software is capable of and how it can be applied, particularly from  
a sculptural/installation/video art perspective.  Any or all  
suggestions are welcome.


Best,
Joseph Gray
http://grauwald.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


Re: [PD] build 64 bit again ...

2009-11-08 Thread Hans-Christoph Steiner


On Nov 8, 2009, at 7:54 AM, Dan Wilcox wrote:


On 11/08/2009 04:14 AM, András Murányi wrote:


On Sat, Nov 7, 2009 at 3:59 AM, Dan Wilcox   
wrote:

Ok,

64 bit Ubuntu Karmic

So I have a script to grab pd-extended and build a package ... but  
still the same weird table bugs as the last time I tried.  The  
Analog Sequencer example sounds aliased and higher pitched.  I made  
sure to force the CFLAGS to -m64, but the pd binary itself still  
has this issue.  The 64 bit puredata Ubuntu package does not have  
this problem.



hi Dan,

for me it was -fPIC had i had to insert at some places (no -m64)  
and at the and everything compiled successfully on my AMD, from  
these sources:


svn co https://pure-data.svn.sourceforge.net/svnroot/pure-data/ 
trunk/ pure-data

cd pure-data
svn co 
https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.42/pd
svn co https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/branches/0.92/Gem

Andras
I didn't have a problem compiling ... it's just that the table bug  
is not resolved in pd-extended 0.41.4.  Using the current svn as you  
suggest also compiles fine and gives me a pd without the table  
bug ... but now I have the bleeding edge, as-yet unfinished gui   
sigh.


Is there a patch for the pd-extended 0.41.4 pd source for the table  
bug?  That's all I really need right now as I can build the  
externals ok.



Try Pd-extended 0.42.5.  There are nightly builds, or get the source  
via rsync or svn.


.hc



I hate it when they say, "He gave his life for his country."  Nobody  
gives their life for anything.  We steal the lives of these kids.  - 
Admiral Gene LeRocque


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


Re: [PD] compiling externals on snow leopard

2009-11-08 Thread Hans-Christoph Steiner


You need to set the LDFLAGS to -arch i386 also.  Or even better, try  
doing a 64-bit Snow Leopard build of Pd-extended.


.hc

On Nov 8, 2009, at 6:58 PM, Rich E wrote:

I've been trying to get my externals to compile in to use with Pd- 
extended... in OS X Snow Leopard. So far it hasn't been easy because  
Pd-extended is i386 and my externals are compiling as x86_64.


All I can find on this is to force the build to i386 with the gcc  
flag '-arch i386', but the linker won't allow it:


ld: warning: in incr.o, file is not of required architecture

and then, I again have the 64 bit version:
$ file incr.pd_darwin
incr.pd_darwin: Mach-O 64-bit bundle x86_64

Anyone know how to get these guys to work with Pd-extended?

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





I hate it when they say, "He gave his life for his country."  Nobody  
gives their life for anything.  We steal the lives of these kids.  - 
Admiral Gene LeRocque



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


Re: [PD] compiling externals on snow leopard

2009-11-08 Thread Jaime Oliver
> and then, I again have the 64 bit version:
> $ file incr.pd_darwin
> incr.pd_darwin: Mach-O 64-bit bundle x86_64

in snow leopard i compile externals in .d_fat, but I'm in x86_64...

> Anyone know how to get these guys to work with Pd-extended?
>
> Rich
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>



-- 
Jaime E Oliver LR

joliv...@ucsd.edu
www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
www.realidadvisual.org

858 750 0924 (cel)
858 202 1522 (home)
9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA

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


[PD] compiling externals on snow leopard

2009-11-08 Thread Rich E
I've been trying to get my externals to compile in to use with
Pd-extended... in OS X Snow Leopard. So far it hasn't been easy because
Pd-extended is i386 and my externals are compiling as x86_64.

All I can find on this is to force the build to i386 with the gcc flag
'-arch i386', but the linker won't allow it:

ld: warning: in incr.o, file is not of required architecture

and then, I again have the 64 bit version:
$ file incr.pd_darwin
incr.pd_darwin: Mach-O 64-bit bundle x86_64

Anyone know how to get these guys to work with Pd-extended?

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


Re: [PD] GridFlow 0.9.6 for Mac OS X

2009-11-08 Thread Mathieu Bouchard

On Sun, 8 Nov 2009, mark edward grimm wrote:

although... when i mouse over the gridflow [#out window] i get the 
"spinning beach ball" - this is in all example patches, so obviously the


When I wrote the window code for OSX, I couldn't get it to work, and then 
James Tittle fixed the bugs so that it starts displaying pixels, but he 
didn't fix those bugs. That was in 2004 or so. No-one has worked on that 
module ever since... (except for keeping it in sync with changes in 
)



I am running 10.6. Well aware this is compiled for 10.4, could this be the 
problem?


No, I had this problem back when I made this code for 10.2 in 2003 or 
2004. (I don't seem to be an OSX programmer.)


 _ _ __ ___ _  _ _ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] GridFlow 0.9.6 for Mac OS X

2009-11-08 Thread mark edward grimm
 running for me too!

although... when i mouse over the gridflow [#out window] i get the "spinning 
beach ball" - this is in all example patches, so obviously the 

I am running 10.6. Well aware this is compiled for 10.4, could this be the 
problem?

m

  


--- On Sun, 11/8/09, Kyle Klipowicz  wrote:

> From: Kyle Klipowicz 
> Subject: Re: [PD] GridFlow 0.9.6 for Mac OS X
> To: "Patrick Boivin" 
> Cc: "pd-list@iem.at" 
> Date: Sunday, November 8, 2009, 5:32 PM
> Confirmed. I downloaded the latest
> Pd-extended release and GridFlow runs an example patch!
> 
> Nice work, I've been waiting for this for years.
> 
> ~Kyle
> 
> On Sat, Nov 7, 2009 at 5:25 PM,
> Patrick Boivin 
> wrote:
> 
> >  Reason:
> Incompatible library version: gridflow.pd_darwin requires
> version 36.0.0 or later, but libpng12.0.dylib provides
> version 30.0.0
> 
> 
> > error: [import]: ERROR: can't load library in
> 'gridflow'
> 
> 
> 
> What version of Pd-extended are you using ? I made
> the package
> 
> referring to what libs were distributed with the most
> recent release
> 
> (0.41.4)...
> 
> 
> 
> ~/ p...@banshee$ otool -L
> 
> /Applications/Pd-extended.app/Contents/lib/libpng12.0.dylib
> 
> /Applications/Pd-extended.app/Contents/lib/libpng12.0.dylib:
> 
>        �...@executable_path/../../lib/libpng12.0.dylib
> (compatibility version
> 
> 36.0.0, current version 36.0.0)
> 
>         /usr/lib/libz.1.dylib (compatibility version
> 1.0.0, current version 1.2.3)
> 
>         /usr/lib/libgcc_s.1.dylib (compatibility
> version 1.0.0, current version 1.0.0)
> 
>         /usr/lib/libSystem.B.dylib (compatibility
> version 1.0.0, current
> 
> version 88.3.11)
> 
> 
> 
> ___
> 
> Pd-list@iem.at
> mailing list
> 
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> 
> -- 
> -
> 
>          -
>   - --
> http://plenum.tumblr.com
> http://myspace.com/plenummusic
> 
> 
> 
> -Inline Attachment Follows-
> 
> ___
> 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] max externals to pd port

2009-11-08 Thread komika

hello list
i have set up a download site at http://www.komika.org for externals 
which read and play back timecoded vinyl (at the moment only traktor 
scratch vinyl is supported).
These externals are written for Max/MSP. I am wondering if anybody is 
interested to port those externals to PD.


- - - - - - - - - - - 
www.komika.org  
- - - - - - - - - - -


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


Re: [PD] GridFlow 0.9.6 for Mac OS X

2009-11-08 Thread Kyle Klipowicz
Confirmed. I downloaded the latest Pd-extended release and GridFlow runs an
example patch!

Nice work, I've been waiting for this for years.

~Kyle

On Sat, Nov 7, 2009 at 5:25 PM, Patrick Boivin  wrote:

> >  Reason: Incompatible library version: gridflow.pd_darwin requires
> version 36.0.0 or later, but libpng12.0.dylib provides version 30.0.0
> > error: [import]: ERROR: can't load library in 'gridflow'
>
> What version of Pd-extended are you using ? I made the package
> referring to what libs were distributed with the most recent release
> (0.41.4)...
>
> ~/ p...@banshee$ otool -L
> /Applications/Pd-extended.app/Contents/lib/libpng12.0.dylib
> /Applications/Pd-extended.app/Contents/lib/libpng12.0.dylib:
>@executable_path/../../lib/libpng12.0.dylib (compatibility version
> 36.0.0, current version 36.0.0)
>/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version
> 1.2.3)
>/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
> version 1.0.0)
>/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 88.3.11)
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>



-- 
-

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


Re: [PD] tab-abs

2009-11-08 Thread Kyle Klipowicz
I would encourage it!

A Pd-vanilla approach to table manipulations is sadly lacking, and list-abs
is a beautiful API to adhere to.

I'm sure that many rj-dj programmers wouldn't mind something like this...

~Kyle

2009/11/8 Matt Barber 

> Ah, yes, thanks!  I've said it before -- one of my favorite things
> about list-abs is their use in pedagogy -- you can get "under the
> hood" in them with music students and they don't have to learn C to do
> it (each of the list-abs objects could be written much more
> efficiently in C but it's nice to have them as abstractions, and
> vanilla abstractions at that).  These iem_tab objects are great as far
> as use-within-a-patch is concerned, though, so again thanks.  Maybe
> I'll make my own abstractions for pedagogy.
>
> Matt
>
> 2009/11/8 Raphaël Isdant :
> > Hi, you should check into /pd/extra/iem_tab
> >
> > Raf
> >
> > - Original Message - From: "Matt Barber" 
> > To: "PD-List" 
> > Sent: Saturday, November 07, 2009 4:04 AM
> > Subject: [PD] tab-abs
> >
> >
> >> Hello,
> >>
> >> I think this has been proposed before, so maybe I've missed it.  Is
> >> there a library of abstractions for operations on tables akin to
> >> list-abs?  If not, I'd like to consider how such a library might be
> >> organized  A lot of the list-abs abstractions could be translated and
> >> used for tables.  I could imagine for instance abstractions that would
> >> fill tables with various kinds of windows, and some that would
> >> implement such windows in a named table within the abstraction itself.
> >> Also, there might be abstractions that would perform the operations
> >> in-place, and some that would leave the source table intact and copy
> >> the results into another table.  Etc.
> >>
> >> Has this been developed and/or discussed already?  I would have a few
> >> to contribute.
> >>
> >> Matt
> >>
> >> ___
> >> 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
>



-- 
-

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


Re: [PD] arduino melody example in PD?

2009-11-08 Thread altern


That sketch is playing a tune making square waves of different 
frequencies. That's not really the same as PWM, which varies the length 
of the pulse, but the frequency stays constant. There are a few ways to 
generate a square wave of a given freq. in Pd, if that is your goal. If 
you want to do it by modeling the Arduino's use of a timer to turn a 
signal on and off, that might be an interesting exercise. One easier 
way, though, would be to amplify and clip a sine wave.


[osc~ 440]
|
[*~ 50]
|
[clip~ -0.5 0.5]

then if you plug a 50 cent piezo buzzer into the sound card of your 
$1000 laptop, it will sound just like a $3 avr!


hehe... thanks for your suggestion :)

enrike

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


[PD] arduino melody example in PD?

2009-11-08 Thread Collin


That sketch is playing a tune making square waves of different  
frequencies. That's not really the same as PWM, which varies the  
length of the pulse, but the frequency stays constant. There are a  
few ways to generate a square wave of a given freq. in Pd, if that is  
your goal. If you want to do it by modeling the Arduino's use of a  
timer to turn a signal on and off, that might be an interesting  
exercise. One easier way, though, would be to amplify and clip a sine  
wave.


[osc~ 440]
|
[*~ 50]
|
[clip~ -0.5 0.5]

then if you plug a 50 cent piezo buzzer into the sound card of your  
$1000 laptop, it will sound just like a $3 avr!


Then you could store the note durations and frequencies in 2 separate  
arrays, like in the Arduino sketch, where the freq is sent to the  
[osc~] and the duration is sent to a [delay] that sends a bang to a  
counter that increments to the next array elements. Then it will play  
"Twinkle, twinkle," and what could be better than that!


Collin




Message: 6
Date: Sat, 07 Nov 2009 22:59:36 +0100
From: altern 
Subject: [PD] arduino melody example in PD?
To: the PureData - mailinglist 
Message-ID: <4af5edc8.6040...@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

hi

i have been trying to port this example to PD

http://arduino.cc/en/Tutorial/Melody

it just uses a piezo to buzz a song. i dont understand very well this
PWM controls and also I am finding quite difficult to translate the
arduino code to PD. So after some headache i thought maybe someone has
already done this for PD?

thanks

enrike


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


Re: [PD] tab-abs

2009-11-08 Thread Matt Barber
Ah, yes, thanks!  I've said it before -- one of my favorite things
about list-abs is their use in pedagogy -- you can get "under the
hood" in them with music students and they don't have to learn C to do
it (each of the list-abs objects could be written much more
efficiently in C but it's nice to have them as abstractions, and
vanilla abstractions at that).  These iem_tab objects are great as far
as use-within-a-patch is concerned, though, so again thanks.  Maybe
I'll make my own abstractions for pedagogy.

Matt

2009/11/8 Raphaël Isdant :
> Hi, you should check into /pd/extra/iem_tab
>
> Raf
>
> - Original Message - From: "Matt Barber" 
> To: "PD-List" 
> Sent: Saturday, November 07, 2009 4:04 AM
> Subject: [PD] tab-abs
>
>
>> Hello,
>>
>> I think this has been proposed before, so maybe I've missed it.  Is
>> there a library of abstractions for operations on tables akin to
>> list-abs?  If not, I'd like to consider how such a library might be
>> organized  A lot of the list-abs abstractions could be translated and
>> used for tables.  I could imagine for instance abstractions that would
>> fill tables with various kinds of windows, and some that would
>> implement such windows in a named table within the abstraction itself.
>> Also, there might be abstractions that would perform the operations
>> in-place, and some that would leave the source table intact and copy
>> the results into another table.  Etc.
>>
>> Has this been developed and/or discussed already?  I would have a few
>> to contribute.
>>
>> Matt
>>
>> ___
>> 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] using pix_mix to mix past images with present

2009-11-08 Thread Jack
Le samedi 07 novembre 2009 à 19:39 -0600, John Harrison a écrit :
> Hmm. This worked for you? I get a seg fault with your patch when I
> click on [create, 1(. I could get it to start w/out a seg fault by
> disconnecting the [t a b ] from the [gemlist], then clicking on the
> [create, 1( then reconnecting [t a b] to [gemlist], but then it
> doesn't work. I only see what is coming from the camera and not any
> sort of mix. No errors reported either.
Yep, all works fine here. Actually you needn't [pix_separator] in my
patch.
> 
> What I am suspecting and what I thought your patch might also be
> showing is that I need 2 rendering chains to use [pix_mix] and that
> having the images to mix in separate buffers but from the same
> rendering chain is not sufficient.
Yep, it seems there is a strange behaviour with [pix_mix] and
[pix_delay] from the same rendering chain. (That's why i use a [gemlist]
object to avoid this problem.)
If someone know why ?
++

Jack


> But I'm not sure why that would be the case for a pix_ object so I
> could also be making up random rules for stuff I don't understand ---
> thus my initial question.
> 
> So basically I have a solution as I show in my original patch I sent.
> But I'm looking for the "why" now.
> 
> I'm running Gem 0.91.3 and Pd 0.41.3 extended on Jaunty.
> 
> Thanks,
> 
> -John
> 
> On Sat, Nov 7, 2009 at 8:49 AM, Jack  wrote:
> What about this ?
> ++
> 
> Jack
> 
> 
> 
> Le samedi 07 novembre 2009 à 07:32 -0600, John Harrison a
> écrit :
> 
> > I wanted to mix past images with present images from a
> webcam using
> > pix_mix. Attached is a patch that successfully does this
> using
> > pix_buffer and fails to do this using pix_delay. My question
> is, why
> > doesn't pix_delay work with pix_mix in my patch? How woulld
> I change
> > my patch to get pix_delay to get the same results as
> pix_buffer does?
> >
> > Thanks,
> >
> > -John
> >
> > --
> > John
> > http://alumni.media.mit.edu/~harrison/
> 
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
> 
> 
> 
> -- 
> John
> http://alumni.media.mit.edu/~harrison/


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


Re: [PD] build 64 bit again ...

2009-11-08 Thread Dan Wilcox

On 11/08/2009 04:14 AM, András Murányi wrote:
On Sat, Nov 7, 2009 at 3:59 AM, Dan Wilcox > wrote:


Ok,

64 bit Ubuntu Karmic

So I have a script to grab pd-extended and build a package ... but
still the same weird table bugs as the last time I tried.  The
Analog Sequencer example sounds aliased and higher pitched.  I
made sure to force the CFLAGS to -m64, but the pd binary itself
still has this issue.  The 64 bit puredata Ubuntu package does not
have this problem.


hi Dan,

for me it was -fPIC had i had to insert at some places (no -m64) and 
at the and everything compiled successfully on my AMD, from these sources:


svn co
https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/
pure-data
cd pure-data
svn co

https://pure-data.svn.sourceforge.net/svnroot/pure-data/branches/pd-extended/0.42/pd
svn co
https://pd-gem.svn.sourceforge.net/svnroot/pd-gem/branches/0.92/Gem


Andras
I didn't have a problem compiling ... it's just that the table bug is 
not resolved in pd-extended 0.41.4.  Using the current svn as you 
suggest also compiles fine and gives me a pd without the table bug ... 
but now I have the bleeding edge, as-yet unfinished gui  sigh.


Is there a patch for the pd-extended 0.41.4 pd source for the table 
bug?  That's all I really need right now as I can build the externals ok.
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] hosting

2009-11-08 Thread Ricardo Lameiro
Could be GIT or something. maybe being a mirror of the info that is actually
at puredata.info

2009/11/8 

> Hello Fabio,
>
> it could be fabulous to get have a stand-alone host for pd community
> could be great! then we could have it as central SVN (or may be even
> bazar?)  independent from sf.net  ;)
> and some pretty  web interface with some documentation and comments on how
> the abstractions and externals are actually working @:)
>
> basically SVN web-vier with discussion etc .. ;)
>
> also various projects could make their oun page too ;}~
>
>
> On Sat, Nov 07, 2009 at 04:51:20PM +0100, mbutubuntu wrote:
> > Hello folks,
> > I'm Fabio Buda and I recently started to work with hosting; I support
> > OpenSource and FreeSoftware and I'm offering free hosting+DB services to
> > opensource projects or communities, are puredata community interested in
> > it?
> >
> > Best Regards,
> > Fabio Buda
> > +39 338 9423302
> > http://www.netd.it
> >
> > ___
> > 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] smartphone advice

2009-11-08 Thread Hans-Christoph Steiner


On Nov 8, 2009, at 3:59 AM, loic kessous wrote:



The only real missing piece is the audio I/O, but that is not too  
hard to do.  Ideally, the rjdj crew would release their audio I/O  
code to be included in Pd-vanilla and we should share the work of  
maintenance and improvements.  But that's not the only way to get it  
done.  I'm here at Mobile Art & Code talking with Memo Akten and  
Zach Gage, the two openFrameworks/iPhone developers, and they have  
open source audio code that should be pretty easy to plug into Pd.   
SuperCollider has been ported to the iPhone too, but I haven't been  
able to find that code.



as I understood, openframeworks is using rtAudio, which is certainly  
a good choice, as it is designed for real-time. But why portaudio  
(the current audio implementation in pd if I'm right) would not work  
on an iPhone ?

loic


The iPhone uses the AudioQueue API for sound I/O, which portaudio does  
not support.


.hc






Programs should be written for people to read, and only incidentally  
for machines to execute.

 - from Structure and Interpretation of Computer Programs


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


Re: [PD] tab-abs

2009-11-08 Thread Raphaël Isdant

Hi, you should check into /pd/extra/iem_tab

Raf

- Original Message - 
From: "Matt Barber" 

To: "PD-List" 
Sent: Saturday, November 07, 2009 4:04 AM
Subject: [PD] tab-abs



Hello,

I think this has been proposed before, so maybe I've missed it.  Is
there a library of abstractions for operations on tables akin to
list-abs?  If not, I'd like to consider how such a library might be
organized  A lot of the list-abs abstractions could be translated and
used for tables.  I could imagine for instance abstractions that would
fill tables with various kinds of windows, and some that would
implement such windows in a named table within the abstraction itself.
Also, there might be abstractions that would perform the operations
in-place, and some that would leave the source table intact and copy
the results into another table.  Etc.

Has this been developed and/or discussed already?  I would have a few
to contribute.

Matt

___
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] [PD-announce] Ardour Workshop + FLOSS Manuals Book Sprint, 23-27.11.09 Rotterdam NL

2009-11-08 Thread Derek Holzer

File under: tangentally related to Pure Data ;-) ---

Ardour Workshop + FLOSS Manuals Book Sprint

Hosted by: moddr_lab/WORM, FLOSS Manuals and Derek Holzer

Monday 23 November to Friday 27 November, 2009
Day session: 13:00-17:00 (GMT +1)
Evening session: 18:00-22:00 (GMT +1)
Location (physical): moddr_lab, Willem Buytewechstraat 188, Rotterdam,
the Netherlands
Location (online): http://en.flossmanuals.net/bin/view/Ardour/

Introduction to FLOSS Manuals by Adam Hyde
21.00, Friday 20 Nov at WORM, Achterhaven 148, Rotterdam
http://agenda.wormweb.nl/agenda.php?id=2888

Ardour is a full-featured, free and open-source hard disk recorder and
digital audio workstation software suitable for professional use. New
and experienced users of Ardour are invited to "learn by documenting"
during this combination workshop and book sprint.

A book sprint brings together a group of writers, editors and artists to
go from an outline to a published book in just five days. We will use
this format to give workshop participants tasks which they will learn to
complete in Ardour, and which they will then document for the Ardour
FLOSS Manual. This is an exciting opportunity both to acquire new skills
as well as share them with others in the form of a book!

The workshop will be split into two sessions: an evening session
focusing on learning the software and creating chapters for the FLOSS
Manual, and an afternoon session focusing on editing, proofreading and
correcting the workshop texts. At the end of the week, we hope to have a
beginner's manual covering these and other topics:

Introduction: What is Ardour?

Installing Jack & Qjackctl: Linux
Installing JackOSX: OSX
Installing Ardour: Linux
Installing Ardour: OSX
Installing Jamin: Linux
Installing Jamin: OSX

Getting Started: the user interface
Getting Started: using JACK to interface with the soundcard and other
applications

Audio Tutorial: editing and arranging existing audio
Audio Tutorial: multitrack recording with the soundcard
Audio Tutorial: multitrack recording with other applications
Audio Tutorial: using automation
Audio Tutorial: using LADSPA and VST plugins
Audio Tutorial: mixing down tracks
Audio Tutorial: mastering with Jamin
Audio Tutorial: exporting to file and CD

etc etc

Participants who would like to join us in Rotterdam should sign up via:
works...@moddr.net

Interested remote participants should create a login on the Ardour FLOSS
Manual page: http://en.flossmanuals.net/bin/view/Ardour/
and communicate with us via the FLOSS Manuals chat interface on the
website or at: irc.freenode.net #flossmanuals
during the working times listed.

Further info/references:

Ardour: http://ardour.org/
Ardour reference manual (in progress):
http://vm-nice.stackingdwarves.net:/ardour-en/1-ARDOUR.html
Ardour reviewed by Kim Cascone:
http://createdigitalmusic.com/2009/08/04/linux-music-workflow-switching-from-mac-os-x-to-ubuntu-with-kim-cascone/
Old Ardour tutorial (cached): http://tinyurl.com/ardour-tutorial
FLOSS Manuals: http://en.flossmanuals.net/
moddr_lab: http://moddr.net/
WORM: http://wormweb.nl/
Derek Holzer: http://umatic.nl/info_derek.html

--
::: derek holzer ::: http://blog.myspace.com/macumbista :::
http://www.vimeo.com/macumbista :::
---Oblique Strategy # 81:
"Go to an extreme, move back to a more comfortable place"



___
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] smartphone advice

2009-11-08 Thread loic kessous
>
>
> The only real missing piece is the audio I/O, but that is not too hard to
> do.  Ideally, the rjdj crew would release their audio I/O code to be
> included in Pd-vanilla and we should share the work of maintenance and
> improvements.  But that's not the only way to get it done.  I'm here at
> Mobile Art & Code talking with Memo Akten and Zach Gage, the two
> openFrameworks/iPhone developers, and they have open source audio code that
> should be pretty easy to plug into Pd.  SuperCollider has been ported to the
> iPhone too, but I haven't been able to find that code.
>
>
as I understood, openframeworks is using rtAudio, which is certainly a good
choice, as it is designed for real-time. But why portaudio (the current
audio implementation in pd if I'm right) would not work on an iPhone ?
loic
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] problem loading libraries

2009-11-08 Thread loic kessous
thanks Derek ! it works.
loic

On Thu, Nov 5, 2009 at 2:48 PM, Derek Holzer  wrote:

> If you really have no idea what you did, it's best to remove every copy of
> org.puredata.pd.plist in your system before trying to reinstall.
>
> Check in
>
> /User//Library/Preferences
>
> as well as
>
> /Library/Preferences
>
> Since both of these locations aren't in the .app folder, trashing the app
> won't fix the problem. More info:
>
> http://en.flossmanuals.net/PureData/AdvancedConfig
>
> Best,
> Derek
>
>
> loic kessous wrote:
>
>> Hi,
>>
>> When I start pd-extended I don't see anymore the load of the libraries,
>> and the externals are not loaded (as for example in the patch I try to make
>> work, dumpOSC, but also abstraction as some from the mapping library)
>>
>> I maybe change something in the path or startup stuff as I was trying to
>> fix something before
>>
>> I tried to move to trash pd and pd-extended and to download a fresh
>> version but it didn't work...
>>
>> I'm on a mac mini ppc g4, and I use Pd-0.41.4-extended-macosx104-powerpc
>>
>> please help
>>
>
>
> --
> ::: derek holzer ::: http://blog.myspace.com/macumbista :::
> http://www.vimeo.com/macumbista :::
> ---Oblique Strategy # 171:
> "Use your own ideas"
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list