Re: [PD] [route 0] seems to match all symbol type messages

2008-10-07 Thread IOhannes m zmoelnig
Roman Haefeli wrote:
 hi all
 
 is this expected behaviour due to some unexpected reason or is it simply
 a bug?  [route 0] seems to match all symbol type messages,

i would say this is a bug (and rather a serious one)

 but not
 anything nor list messages (of course: if the first element of the list
 is '0', it matches).

i would say this is expected behaviour.

gmasdr
IOhannes

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


Re: [PD] tanh approximation

2008-10-07 Thread Thomas Grill
Hi,

 An approximation to tanh(x) is a continued fraction
 x/1+ (x^2)/3+ (4x^2)/5+ (16x^2)/9+ ...

are you sure this is correct?
Another well-known formulation is x/(1+x^2/(3+x^2/(5+x^2/(7+.
which works for me and converges quickly.
see http://nrich.maths.org/public/viewer.php?obj_id=1451

gr~~~


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


Re: [PD] tanh approximation

2008-10-07 Thread Thomas Grill

oops, forgot the attachment


tanh_.pd
Description: application/applefile


tanh_.pd
Description: Binary data



Am 07.10.2008 um 14:46 schrieb Thomas Grill:


Hi,


An approximation to tanh(x) is a continued fraction
x/1+ (x^2)/3+ (4x^2)/5+ (16x^2)/9+ ...


are you sure this is correct?
Another well-known formulation is x/(1+x^2/(3+x^2/(5+x^2/(7+.
which works for me and converges quickly.
see http://nrich.maths.org/public/viewer.php?obj_id=1451

gr~~~


___
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] tanh approximation

2008-10-07 Thread Andy Farnell


Yep, they both converge on tanh afaics. 
Your one is more efficient though, I'll use that.
(attached)

But what I don't understand is why it needs scaling and doesn't
naturally work over -1 to +1 

cheers,

Andy

On Tue, 7 Oct 2008 14:46:56 +0200
Thomas Grill [EMAIL PROTECTED] wrote:

 Hi,
 
  An approximation to tanh(x) is a continued fraction
  x/1+ (x^2)/3+ (4x^2)/5+ (16x^2)/9+ ...
 
 are you sure this is correct?
 Another well-known formulation is x/(1+x^2/(3+x^2/(5+x^2/(7+.
 which works for me and converges quickly.
 see http://nrich.maths.org/public/viewer.php?obj_id=1451
 
 gr~~~
 


-- 
Use the source


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


[PD] tanh approximation

2008-10-07 Thread Andy Farnell

Hi all,

An approximation to tanh(x) is a continued fraction 

x/1+ (x^2)/3+ (4x^2)/5+ (16x^2)/9+ ...

See attached.

I got it working, but by trial and error needed to scale the
domain by 1/pi and add some weird scale to the range.
I'm confused about where these numbers come from. Can anyone
explain this please?

cheers,

Andy

-- 
Use the source


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


Re: [PD] biquad~ -- frey-squelchiness

2008-10-07 Thread Frank Barknecht
Hallo,
Damian Stewart hat gesagt: // Damian Stewart wrote:

 let me know your thoughts...

There are lots of abstractions missing, or rather, they are just
symbolic links to files in /music/dlib/ :(

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] looking for open dmx external

2008-10-07 Thread Damian Stewart
David Kirkpatrick wrote:
 Hi Peter,
  
 The Open DMX has stability problems and the fading is jolty 
 sometimes. Something to do with not being able to store an entire DMX 
 frame at the same time I think. I read an article a while ago that 
 explained the exact differences, but I can't seem to find it again.

actually, the Open DMX is just a standard FTDI-based USB to serial adapter 
with the outputs wired into a 5-pin DMX plug. in other words, you could 
achieve exactly the same with a standard serial port, wiring up the RX/TX 
lines into the right pins. this is all the Open DMX is on the inside. the 
system driver takes care of the timing, and doesn't do a very good job of 
it at all.

definitely go with the Pro.

-- 
damian stewart | skype: damiansnz | [EMAIL PROTECTED]
frey | live art with machines | http://www.frey.co.nz


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


[PD] biquad~ -- frey-squelchiness

2008-10-07 Thread Damian Stewart

hey alls,

i added the multiplication-by-ff1 fix that Chuck (i think it was Chuck)
suggested and wrapped it up into d-biquad~.pd (i'm not trying to claim
anyone else's work as mine - 'd-' is just the prefix i use to name all my
classes - there's a comment in the patch itself explaining where it comes
from, and when i get around to doing a proper release, proper credit will
be given in any documentation ;-)

so - the result is attached. the sequence was originally done in Ableton
Live, and recorded as MIDI data (see the [midirecplay] abstraction) to the
notes.qlist file. (i'm about to start learning tcl/tk so hopefully an
Ableton MIDI sequencer clone GUI object should be appearing soon enough...)

it uses the reverb and feedback delay from dinosaurs, a nice little bus
abstraction (a concept that i borrowed from Roman Hafaeli), as well as my
808 hihats and cowbell and Roman's 808 kick and claps.

it requires Guenter Geiger's ggee library, so best open with pd-extended.
you might also see some errors around a missing object called 'rj_centroid'
(unless you've been to one of the RJ sprints ;-) ) and something called
d_pitchiness~ - don't worry about those, i'm not actually using the
analysis.

also another nice trick i discovered by accident - the kick is very late
(there's a [pipe 10] on the kick trigger data), which gives it a nice funky
lean. a nice next stage would be to alter the delay depending on which note
in the bar we're on - shorter delay for 0 and 2 and a longer delay for 1
and 3 - or perhaps the other way round. even nicer would be to work out
some kind of sinusoidal rhythmic pattern overall - i know from many hours
boogying to techno that good rhythms are all about circles.. anyways.

it's just an endless loop at this stage, but a constant drift in the
filtering on the synth and the bass makes it interesting to listen to over
time, i think.

let me know your thoughts...

cheers
d

--
damian stewart | skype: damiansnz | [EMAIL PROTECTED]
frey | live art with machines | http://www.frey.co.nz



frey-squelchyness.tgz
Description: GNU Zip compressed data
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] looking for open dmx external

2008-10-07 Thread Hans-Christoph Steiner

On Oct 6, 2008, at 4:48 PM, Damian Stewart wrote:

 David Kirkpatrick wrote:
 Hi Peter,

 The Open DMX has stability problems and the fading is jolty
 sometimes. Something to do with not being able to store an entire DMX
 frame at the same time I think. I read an article a while ago that
 explained the exact differences, but I can't seem to find it again.

 actually, the Open DMX is just a standard FTDI-based USB to serial  
 adapter
 with the outputs wired into a 5-pin DMX plug. in other words, you  
 could
 achieve exactly the same with a standard serial port, wiring up the  
 RX/TX
 lines into the right pins. this is all the Open DMX is on the  
 inside. the
 system driver takes care of the timing, and doesn't do a very good  
 job of
 it at all.

 definitely go with the Pro.

USB serial have pretty crappy timing in general, from my experience.   
I have banged my head against the FTDI driver quite a bit while  
working on Firmata.  If you need really tight timing, go with a real  
serial port.

.hc


 -- 
 damian stewart | skype: damiansnz | [EMAIL PROTECTED]
 frey | live art with machines | http://www.frey.co.nz


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




 


 kill your television



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


Re: [PD] [route 0] seems to match all symbol type messages

2008-10-07 Thread Hans-Christoph Steiner


On Oct 7, 2008, at 3:08 AM, IOhannes m zmoelnig wrote:


Roman Haefeli wrote:

hi all

is this expected behaviour due to some unexpected reason or is it  
simply

a bug?  [route 0] seems to match all symbol type messages,


i would say this is a bug (and rather a serious one)


Yeah, that's a crazy bug, I wonder how long it's been around.  Here's  
my test patch for it:


route0-bug.pd
Description: Binary data




.hc




but not
anything nor list messages (of course: if the first element of the  
list

is '0', it matches).


i would say this is expected behaviour.

gmasdr
IOhannes

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




 



Mistrust authority - promote decentralization.  - the hacker ethic


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


[PD] looking for a Workshop person - Arduino, etc

2008-10-07 Thread Tim Boykett


Hi PDers,

   a friend from the local arts university student union has asked me
whether I know of someone who could do a workshop on the Arduino
and using it with Max and/or PD. The workshop should happen this
semester (up to Feb 2009) for two days or so. The Uni is in Linz,
Austria. There is some money for it.

This might work well for a travelling musician or artist who
is close by, or someone from Czech Rep. or Austria needing a side job.  
I would
find it interesting to also offer them a PD workshop or something
similar, perhaps PDP or Gridflow or whatever other bits are cool and
sexy this time of the year.

It would be good to be biligual (German and English). Either contact
me or Jakob at [EMAIL PROTECTED] for further details.

Cheers,

tim

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