Re: [PD] need help with pmpd

2008-12-11 Thread Damien Henry - Voxler
then use iLine instead of iSeg : they are infinitly long.

Cheers,
Damien.



jörg brinkmann a écrit :
 thank you veryvery much Jack :)

 they are not falling out of the corners anymore. nice

 but is it possible to never let the balls come across the border ?
 (this happens when you shake very drastically)

 P.S.: if someone has some own pmpd examples to share. that would be great





  Original-Nachricht 
   
 Datum: Wed, 10 Dec 2008 23:50:24 +0100
 Von: Jack [EMAIL PROTECTED]
 An: jörg brinkmann [EMAIL PROTECTED]
 CC: pd-list@iem.at
 Betreff: Re: [PD] need help with pmpd
 

   
 Try with this parameters.
 I prefer to use [iLine2D] than [iSeg2D] because the 6th argument  
 (depth) will force the ball to 'come back' all the line long and not  
 the segment long (if i'm right).
 ++

 Jack

 

   

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


Re: [PD] need help with pmpd

2008-12-10 Thread Damien Henry - Voxler
hi !

Just make your segment longer, or use iLine instead of iSeg.

Cheers,
Damien.

jörg brinkmann a écrit :
 hello pdlers,

 the pmpd library is superfun to play with. 

 but i need some help with my simple patch (shaker)

 does someone knows, why the balls in my patch sometimes fall out of the 
 shaker ?

 (this happens when you shake it too hard)

 thanks for any help !

 greetz







   
 

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
   
#N canvas 601 33 852 602 10;
#X obj 11 43 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
;
#X obj 74 77 loadbang;
#X msg 64 114 reset;
#X msg 185 104 0 \, destroy;
#X obj 6 169 s mass;
#X obj 147 470 gemhead;
#X obj 147 503 translateXYZ;
#X obj 136 443 unpack s f f;
#X obj 43 395 gemmouse;
#X msg 43 438 \; mass reset \;;
#X msg 173 82 reset \, create \, 1;
#X text 36 42 - 2;
#X obj 173 151 gemwin 50;
#X obj 295 466 gemhead;
#X obj 295 499 translateXYZ;
#X obj 284 439 unpack s f f;
#X obj 147 532 sphere 0.1;
#X obj 295 528 sphere 0.1;
#X obj 411 465 gemhead;
#X obj 411 498 translateXYZ;
#X obj 400 438 unpack s f f;
#X obj 411 527 sphere 0.1;
#X obj 283 416 mass2D mass 10 1 1;
#X obj 399 415 mass2D mass 10 1.5 1;
#X obj 159 187 iAmbient2D mass 0 -0.005 0 0 0.03;
#X obj 24 564 s mousx;
#X obj 16 511 s mousy;
#X obj 588 80 r mousx;
#X obj 511 81 r mousy;
#X text 300 83 - 1;
#X text 754 51 - 3;
#X text 505 51 click into the window and move the cursor;
#X floatatom 588 101 5 0 0 0 - - -;
#X floatatom 511 106 5 0 0 0 - - -;
#X obj 510 215 s shakey;
#X obj 589 214 s shakex;
#X obj 119 295 r shakey;
#X obj 365 296 r shakex;
#X obj 282 294 r shakey;
#X obj 444 294 r shakey;
#X obj 599 296 r shakey;
#X obj 533 297 r shakex;
#X obj 34 293 r shakex;
#X obj 197 295 r shakex;
#X obj 66 188 s metrobang;
#X obj 22 268 r metrobang;
#X obj 184 270 r metrobang;
#X obj 515 276 r metrobang;
#X obj 350 271 r metrobang;
#X obj 511 130 - 250;
#X obj 588 127 - 250;
#X obj 511 154 / 250;
#X obj 588 152 / 250;
#X obj 135 421 mass2D mass 10 0 1;
#X obj 589 179 * 4;
#X obj 511 181 * -4;
#X obj 282 320 - 3;
#X obj 119 320 + 3;
#X obj 533 322 + 2;
#X obj 365 323 - 2;
#X text 660 109 transforms values into GEM coordinates (from x=-4 to
x=4 \, from y=-4 to y=4);
#N canvas 699 177 384 387 top--- 0;
#X obj -7 78 inlet;
#X obj 29 322 curve 2;
#X obj 27 258 gemhead;
#X msg 42 57 setX1 \$1;
#X msg 107 58 setY1 \$1;
#X msg 174 58 setX2 \$1;
#X msg 241 57 setY2 \$1;
#X obj 36 23 inlet;
#X obj 110 27 inlet;
#X obj 177 27 inlet;
#X obj 242 26 inlet;
#X obj 21 211 pack f f 0;
#X obj 106 215 pack f f 0;
#X obj 142 167 t b f;
#X obj 52 169 t b f;
#X text 274 117 upper border;
#X text 81 324 upper stripe;
#X obj -7 114 iSeg2D mass 0 0 0 0 200 0 0 0.4 0.4 0.4;
#X connect 0 0 17 0;
#X connect 2 0 1 0;
#X connect 3 0 17 0;
#X connect 4 0 17 0;
#X connect 5 0 17 0;
#X connect 6 0 17 0;
#X connect 7 0 3 0;
#X connect 7 0 11 0;
#X connect 8 0 4 0;
#X connect 8 0 14 0;
#X connect 9 0 5 0;
#X connect 9 0 12 0;
#X connect 10 0 6 0;
#X connect 10 0 13 0;
#X connect 11 0 1 1;
#X connect 12 0 1 2;
#X connect 13 0 12 0;
#X connect 13 1 12 1;
#X connect 14 0 11 0;
#X connect 14 1 11 1;
#X restore 22 354 pd top---;
#N canvas 222 252 480 347 bottom--- 0;
#X obj 10 44 inlet;
#X obj 57 278 curve 2;
#X obj 54 247 gemhead;
#X text 66 312 Bezierkurve (2 punkte x/y/z ergeben einen Strich);
#X msg 69 67 setX1 \$1;
#X msg 134 68 setY1 \$1;
#X msg 201 68 setX2 \$1;
#X msg 268 67 setY2 \$1;
#X obj 68 40 inlet;
#X obj 137 37 inlet;
#X obj 204 37 inlet;
#X obj 269 36 inlet;
#X obj 145 189 pack f f 0;
#X obj 28 187 pack f f 0;
#X obj 175 152 t b f;
#X obj 57 156 t b f;
#X text 295 112 lower border;
#X text 125 278 lower stripe;
#X obj 316 213 iLine2D;
#X obj 14 110 iSeg2D mass 0 0 0 0 200 0 0 0.4 0.4 0.4;
#X connect 0 0 19 0;
#X connect 2 0 1 0;
#X connect 4 0 19 0;
#X connect 5 0 19 0;
#X connect 6 0 19 0;
#X connect 7 0 19 0;
#X connect 8 0 4 0;
#X connect 8 0 13 0;
#X connect 9 0 5 0;
#X connect 9 0 15 0;
#X connect 10 0 6 0;
#X connect 10 0 12 0;
#X connect 11 0 7 0;
#X connect 11 0 14 0;
#X connect 12 0 1 2;
#X connect 13 0 1 1;
#X connect 14 0 12 0;
#X connect 14 1 12 1;
#X connect 15 0 13 0;
#X connect 15 1 13 1;
#X restore 184 353 pd bottom---;
#N canvas 27 172 336 347 left--- 0;
#X obj 15 29 inlet;
#X obj 21 300 curve 2;
#X obj 18 228 gemhead;
#X msg 69 60 setX1 \$1;
#X msg 134 61 setY1 \$1;
#X msg 201 61 setX2 \$1;
#X msg 268 60 setY2 \$1;
#X obj 61 32 inlet;
#X obj 130 29 inlet;
#X obj 197 29 inlet;
#X obj 273 27 inlet;
#X obj 78 232 pack f f 0;
#X obj 198 238 pack f f 0;
#X obj 86 181 t b f;
#X obj 226 191 t b f;
#X text 68 300 left stripe;
#X text 254 139 left border;
#X obj 20 139 iSeg2D mass 0 0 0 0 200 0 0 0.4 0.4 0.5;
#X connect 0 0 17 0;
#X connect 2 0 1 0;
#X connect 3 0 17 0;
#X connect 4 0 17 0;
#X connect 5 0 17 0;
#X connect 

[PD] textBox (like in MAX)

2008-08-26 Thread Damien Henry - Voxler
Hello,

Is there a lib somewhere that provide to pd the textBox object from MAX ?

Thanks in advance,
Damien

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


[PD] An interview about Solitude by Hans-Christoph Steiner.

2008-08-13 Thread Damien Henry - Voxler
Many of you knows that  Hans-Christoph Steiner has done an extremely
interesting piece of music using pd's data structure named Solitude.

Maybe some of you don't already know that all the pd patch are
available. On the technical side, it is a unique chance to understand
how to use data-structures. On the musical side it is also an unique
chance to compose something new from that framework.

On http://www.graphicalscores.org you'll find an interview of
Hans-Christoph Steiner about Solitude where you'll learn some more
interesting details about it.

There is also a Wiki, if anyone there as done some graphical score
related stuff don't hesitate to add a reference to your work or contact
me directly.

all the best,
Damien.


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


Re: [PD] pd and matlab

2008-05-15 Thread Damien Henry - Voxler
Hello !

About matlab and pd the following was sent in this list before in
another thread.
It was helpfull for me, so I post it again there.

Cheers,
Damien.
  This is obviously of interest to Pders 
  
  Begin forwarded message:
  
  Date: Mon, 25 Feb 2008 16:23:42 +0100
  From: Joerg Bitzer [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: [music-dsp] Matlab Tools and other useful stuff
  
  
  Hi all,
  
  listening to this list for quite a while, I thought and hope you will
  find this interesting and useful. All the tools have been developed to
  support and educate our students.
  
  
  Please look at
  
  http://www.hoertechnik-audiologie.de/software/
  
  You will find:
  
  MatPlug: A VST Plug-In to access Matlab and develop prototypes in Matlab
  Some examples are included
  
  msound: msound is an interface between Matlab and your soundcard. It is
  based on PortAudio. Source code is provided. A new version with ASIO
  support is coming soon.
  
  mmidi: MMidi is a portmidi based implementation of a midi interface
  between Matlab and any hardware midi device. Source code is available soon.
  
  psylab: psylab is a tool for designing and controlling interactive
  psychoacoustical listening experiments in a uniform and quick manner
  
  A reverberation analysis toolbox
  
  -
  Other tools you may find interesting are:
  
  A VST Spectrogram
  
  A VST SpatialAnalyzer
  
  PureMeasurement: PureMeasurement (GNU GPL) is a collection of patches
  for Pure Data (www.puredata.org), which let you perform acoustical
  measurements
  
  Lambda (GNU GPL) is a 2D acoustic wave simulator based on the
  Transmission Line Matrix
  
  Have fun with it:
  
  For further information and feedback send an email to
  
  IHASoftwareATfh-oow.de (Change AT to the normal @-sign for sending)
  
  
  
  Best regards
  
  Joerg
  
  --
  dupswapdrop -- the music-dsp mailing list and website: 
  subscription info, FAQ, source code archive, list archive, book reviews, 
  dsp links 
  http://music.columbia.edu/cmc/music-dsp 
  http://music.columbia.edu/mailman/listinfo/music-dsp
  
  
   


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


Georg Holzmann a écrit :
 Hallo!

   
 i find it quite odd .. the idea of using matlab which is t00 sl0w!
 

 Well, if you need calculations with bigger matrices then matlab (or 
 octave, numpy/scipy, ...) will be much faster !

 LG
 Georg

 ___
 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] Newbie request (Frequency 2 keystroke)

2008-04-29 Thread Damien Henry - Voxler
Hi,

sigmund~ and fiddle~ are objects to analyse the microphone signal to find 
the fundamental frequency.

You can use the moses and select objects to make something happend when the 
frequency is into a particular range.

I do not know how to simulate a keyboard input.


Cheers,
Damien.

Hugh Sung a écrit :
 Actually, this isn't for speech recognition - i'm trying to come up
 with a simple way to use key triggers to activate visuals.

 For example:  if the piano plays A440, i'm presuming PD can be
 configured to recognize that pitch with a microphone input and then
 echo out a text string - the letter A, perhaps. 

 I have a presentation program that can be configured to accept
 keyboard strokes to activate visual events. 

 Does that example make sense?  PD sounds like it should be able to
 handle that capability pretty easily...

 On Tue, Apr 29, 2008 at 12:14 PM, marius schebella
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

 speech to text in opensource software is still poor, and even
 poorer for languages other than english. afaik pd also doesnot
 have a builtin solution for that. you could try to use a different
 program for that and parse the text, or you could try more basic
 approaches within pd (like pitch recognition, amplitude/envelope
 following, or rhythm/melody recognition.
 I am sure there are some commercial solutions out there (like in
 the iphone) that have good speech-to-text recognition, including
 dictionaries.
 sorry that this probably is no real help for you, maybe someone
 else knows more?
 marius.

 Hugh Sung wrote:

 Hello!  I'm new to PD and was wondering if i could get a
 working start -

 i'd like to someday be able to create a PD applet that can
 take audio input from a microphone and convert the sounds to
 text that can simultaneously be applied to a concurrently
 running program, like a word processor or a presentation
 program that accepts alpha-numeric input to trigger events.
  Can someone create a PD example that does the following:

 1.  echo Alpha/numeric characters based on variable pitch
 2.  echo alpha/numeric characters based on volume
 3.  echo alpha/numeric characters based on rhythm (ie, number
 of pulses per second or minute)

 Sorry if this sounds simplistic - if i can see an example of a
 PD patch that can incorporate these elements, that will go a
 LONG way to helping me learn how to program PD on my own!

 Thanks in advance for your help and suggestions, PD list!

 -- 
 Hugh Sung
 www.hughsung.com http://www.hughsung.com
 http://www.hughsung.com
 www.TabletPCMusician.com http://www.TabletPCMusician.com
 http://www.TabletPCMusician.com
 www.musicmeetstech.com http://www.musicmeetstech.com
 http://www.musicmeetstech.com


 
 

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





 -- 
 Hugh Sung
 www.hughsung.com http://www.hughsung.com
 www.TabletPCMusician.com http://www.TabletPCMusician.com
 www.musicmeetstech.com http://www.musicmeetstech.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] pd and matlab

2008-04-28 Thread Damien Henry - Voxler
Hi list !

Does anyone as already used matlab to make externals ?

Cheers,
Damien.

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


Re: [PD] about fiddle~

2008-01-18 Thread Damien Henry - Voxler
Hi !

Does anybody whant to share an article or a document related to the
sigmund~ object ?

Thanks in advance.

Cheers,
Damien.

Miller Puckette a écrit :
 HI all,

 I don't know any canonical way to decide when a note is finished, except
 to notice that a new note has started.  But it's probably possible to use
 the discrete output of fiddle~ to catch note-on events and then make
 up criteria that define endings of notes based on either pitch deviation
 or falling envelope.

 By the way, the new sigmund~ object outperforms fiddle~ on most tasks and
 might be worth trying.  It's probably best to use the newest one (out
 of pd 0.41 test).

 cheers
 Miller

 On Fri, Jan 11, 2008 at 06:30:08PM +0100, Matteo Sisti Sette wrote:
   
 Another question about fiddle.
 I'd like to be able to distinguish between a signal with a pitch and a
 signal without a picth. It seems to me that fiddle always outputs its
 best guess no matter how reliable it is.
 
 Actually that's not quite true. fiddle~ doesn't output anything at all
   
 from its first outlet unless it's pretty certain a pitch has been found.

 Yes, he outputs a pitch from the first outlet when he finds one, but then 
 never outputs anything to tell you that a pitch is no more present. When a 
 new stable pitch is found, it is output through the first outlet, but how do 
 you know whether the first pitch had remained stable untill that moment or 
 if it had stopped existing before?
 That's why I was looking at the third outlet instead.


 
 However, it does continuously output the first estimated peak location
 it uses to make its pitch calculation from its third outlet. It will
 also output 0 as a peak location if it can't find a peak,
   
 Yes but it seems to me it is a bit too tolerant in saying he can find a 
 pitch, and I was wondering whether there is a way to set the tolerance.

 
 With the default fiddle~ settings, it seems to output 0 about 15% of the
 time, which seems quite a lot to me.
   
 With pure noise as an input? Quite a lot?
 IF it is supposed to output 0 when it can't find a pitch, I would expect to 
 output 0 about 90% of the time with pure noise as input!!


 
 Anyhow, I think this is a case of using the wrong tool for the job.
 Pitch/f0 estimators (PDAs) are designed to find pitch in a signal, not
 to measure noisiness. There are other tools to measure this
   
 Maybe. The fact is that I do want to find a pitch, but I consider none as 
 a possible value, i.e. I want to find the pitch if the signal reasonably has 
 one, and ignore it when it is most probably garbage.

 I thought there were two kinds of pitch trackers: those which do have a 
 none value, and those which assume a pitch must exist and output their 
 best estimation always. (well and a fuzzy third type, which always give 
 both a pitch value and an estimated reliability value).

 I don't fully understant to which type fiddle belongs, because on one side, 
 it does distinguish whether he does or not detect a stable pitch, since it 
 only outputs a cooked pitch when it becomes stable. However, a new cooked 
 pitch is output (AFAIU) when the pitch changes to a new one (and here I 
 don't understand well what it means, for example what is supposed to happen 
 if the pitch changes very very slowly but continuously...) and this involves 
 some mechanism to deal with vibrato (one more thing I don't understand how 
 it works), so I can't imagine it doesn't detect when a stable pitch stops 
 existing, and I would expect to output this information in some way related 
 to the cooked pitch stuff...
 That is, it is like he says NOW I detect a stable pitch of 57.2 . . 
 and NOW I detect a pitch of 60. And what happened in the meantime

 However I'll look at the documentation other people pointed me to, so I'll 
 probably understand all this a bit better.


 
 I find spectral irregularity to be quite a good noisiness metric,
   
 How do you measure (or define) spectral irregularity?


 I may want to use spectral irregularity to estimate whether the signal is 
 non-noisy and then use fiddle to get the pitch when it is supposed to exist; 
 I just thought that nobody better than the pitchtracker itself could tell me 
 how difficult it is for it to find the pitch!


 
 but there are
 several others. If you are interested in this, perhaps take a look at
 the libxtract feature extraction library, which comes with PD external
 that wraps its functionality.
   
 Thank you so much. I'll have a look 


 ___
 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 

[PD] mrpeach tcpclient float to string decoder, mayby str ?

2008-01-06 Thread Damien Henry - Voxler
Hello !

I'm testing tcpclient from mrpeach, my goal is to use julian
(http://julius.sourceforge.jp/en_index.php?q=en/index.html) as an hmm
decoder for realtime speech recogition.
I use tcpclient to establish the link beetween julian and it works
perfectly.
Of course tcpclient returns lists of floats as it is designed for this,
but i need to convert thoses lists of floats to list of symbols.

I've guess that the str object (also from mrpeach) is there for this
purpose, is it right ?
Anyway I don't succed to create some outlets of the str object (I've
read the doc, the lib is well installed, and some dummy str are created,
even when I pass an argument to it).

So here my 2 questions :
1) is STR the solution, and then how to use it ?
2) if str is not design to transforms the lists of floats into strings,
does somebody has already done this and whant to share it with me ?

Thanks in advance,
Cheers,
Damien.

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