[PD] error: pdp_route: no method for 'symbol'

2007-11-19 Thread Javier Garcia

Hi,

when i try to open a .mov with the patch i have attached this error message 
appear:

error: pdp_route: no method for 'symbol'
... you might be able to track this down from the Find menu.

Any idea?

br.
GARFF

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: [PD] tabread4~~

2007-11-19 Thread Ypatios Grigoriadis
Hello again,

here's the -help file, as i promised.

(My apologies to Miller Puckette for stealing the -help files style.. :-))

***

#N canvas 354 145 966 694 12;
#X obj 12 615 output~;
#X obj 12 432 phasor~ 1;
#X obj 12 357 vradio 30 1 0 2 tabread4~~test tabread4~~test empty 0
-8 0 10 -262144 -1 -1 0;
#X text 51 362 -- tabread4~;
#X text 51 392 -- tabread4~~;
#X obj 12 13 tabread4~~;
#X text 30 60 The tabread4~~ object takes two audio signals to specify
the read position in an array \ which makes it way more precise in
longer arrays than the simple tabread4~.;
#X text 30 117 BEWARE!!!;
#N canvas 466 186 745 640 crossfader 0;
#X obj 12 424 +~;
#X obj 154 403 *~;
#X obj 12 398 *~;
#X obj 297 382 line~;
#X obj 57 377 line~;
#X obj 57 324 == 0;
#X obj 12 477 outlet~;
#X obj 12 21 inlet~;
#X obj 154 21 inlet~;
#X obj 297 281 r tabread4~~test;
#X msg 57 351 \$1 50;
#X msg 297 356 \$1 50;
#X obj 257 99 metro 500;
#X obj 257 155 tabwrite~ tabread4~_tab;
#X obj 258 190 tabwrite~ tabread4~~_tab;
#X obj 257 41 loadbang;
#X obj 257 71 1;
#X connect 0 0 6 0;
#X connect 1 0 0 1;
#X connect 2 0 0 0;
#X connect 3 0 1 1;
#X connect 4 0 2 1;
#X connect 5 0 10 0;
#X connect 7 0 2 0;
#X connect 7 0 13 0;
#X connect 8 0 1 0;
#X connect 8 0 14 0;
#X connect 9 0 5 0;
#X connect 9 0 11 0;
#X connect 10 0 4 0;
#X connect 11 0 3 0;
#X connect 12 0 13 0;
#X connect 12 0 14 0;
#X connect 15 0 16 0;
#X connect 16 0 12 0;
#X restore 12 581 pd crossfader;
#X obj 12 456 *~ 44100;
#X obj 12 500 +~;
#X obj 12 524 +~ 1;
#X obj 273 479 sig~;
#X obj 273 454 * 44100;
#X floatatom 273 432 4 0 1799 0 - - -;
#X text 114 13 high precision array lookup;
#X obj 161 548 tabread4~~ testone;
#X obj 12 548 tabread4~ testone;
#N canvas 0 0 450 300 (subpatch) 0;
#X array tabread4~_tab 512 float 0;
#X coords 0 1 511 -1 400 280 1;
#X restore 540 78 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array tabread4~~_tab 512 float 0;
#X coords 0 1 511 -1 400 280 1;
#X restore 540 390 graph;
#X msg 273 406 0;
#X msg 273 366 381;
#X msg 273 386 1522;
#X text 30 131 You can't use this help file as it is unless there is
at least 350-400 MB of RAM available to your system.;
#X text 29 169 To initialize do the following:;
#X text 30 191 1) Create a sine audio file (80-100 Hz \, 32bit mono
\, 1800 sec) somewhere on your HDD (needs about 300 MB).;
#X obj 401 228 bng 20 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 30 226 2) Click here to locate and load the file --;
#X text 74 288 Now play with the following...;
#N canvas 579 489 386 207 load 0;
#X obj -66 121 soundfiler;
#X floatatom -66 159 0 0 0 0 - - -;
#X obj 149 16 table testone;
#X obj -66 19 inlet;
#X obj -66 67 openpanel;
#X msg -66 94 read -resize -maxsize 8e+007 \$1 testone;
#X connect 0 0 1 0;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 5 0 0 0;
#X restore 401 253 pd load;
#X text 270 338 jump to different positions..;
#X text 11 333 listen to..;
#X obj 273 524 +~ 1;
#X text 321 431 -- current position (sec);
#X connect 1 0 9 0;
#X connect 8 0 0 0;
#X connect 8 0 0 1;
#X connect 9 0 10 0;
#X connect 9 0 16 0;
#X connect 10 0 11 0;
#X connect 11 0 17 0;
#X connect 12 0 10 1;
#X connect 12 0 32 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 16 0 8 1;
#X connect 17 0 8 0;
#X connect 20 0 14 0;
#X connect 21 0 14 0;
#X connect 22 0 14 0;
#X connect 26 0 29 0;
#X connect 32 0 16 1;



p.s. 1: [tabread4~~] lies in the latest zexy lib.

p.s. 2: I tried to find a way to create a 30min sine array on the fly but
I ran into the same 32bit resolution problem (array index
specification)... Sorry

p.s. 3: Music is for me the way to control time and matter, even if it's
only in my imagination. But isn't imagination (or the observers location and
speed..) the only thing that matters?

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


[PD] [Pd] Writing subpatch contents, was Re: [Csnd] Writing subpatch contents

2007-11-19 Thread Chuckk Hubbard
Oops.  I meant to put [Pd]

On Nov 19, 2007 4:55 PM, Chuckk Hubbard [EMAIL PROTECTED] wrote:
 I believe the question of saving automation data has come up before,
 but this is a different question, I think.

 I want to write and read the objects in a subpatch to and from
 textfiles; not the state of the objects, nor scalars, but the patch
 itself.  Is there a way?
 I have 8 voices in my sequencer, and 8 subpatches for creating control
 values to send to csoundapi~.  But each Csound orchestra I work with
 will have different parameters for different instruments, and so the 8
 will be different from each other, as well as being different
 depending on what score I open in my Pd sequencer.  So I gave up on
 using abstractions with arguments, because whenever I change one they
 all change.  But AFAIK subpatches can't be read and written by sending
 messages to them.
 Any ideas?
 Is there a 'menusaveas' message or something?
 -Chuckk

 --
 http://www.badmuthahubbard.com




-- 
http://www.badmuthahubbard.com

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


Re: [PD] [Csnd] Writing subpatch contents

2007-11-19 Thread marius schebella
hey,
I posted a pddp template some time ago which (I think) makes use of 
automated scripting. it loads the pd patch as a textfile into [textfile] 
and then scripts this into a subpatch. I am a little short of time right 
now, so explanation has to follow at a later point, sorry. get it at
http://puredata.info/dev/pddp/pddp-drafts/template_ms1/view
marius.

Chuckk Hubbard wrote:
 I believe the question of saving automation data has come up before,
 but this is a different question, I think.
 
 I want to write and read the objects in a subpatch to and from
 textfiles; not the state of the objects, nor scalars, but the patch
 itself.  Is there a way?
 I have 8 voices in my sequencer, and 8 subpatches for creating control
 values to send to csoundapi~.  But each Csound orchestra I work with
 will have different parameters for different instruments, and so the 8
 will be different from each other, as well as being different
 depending on what score I open in my Pd sequencer.  So I gave up on
 using abstractions with arguments, because whenever I change one they
 all change.  But AFAIK subpatches can't be read and written by sending
 messages to them.
 Any ideas?
 Is there a 'menusaveas' message or something?
 -Chuckk
 


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


Re: [PD] [Pd] Writing subpatch contents, was Re: [Csnd] Writing subpatch contents

2007-11-19 Thread Chuckk Hubbard
I'm using pd-0.41.0-test05.
The messages documented in http://dh7.free.fr/pd-msg/pd-msg_05.tar.gz
aren't working for me.
the [saveto( message kills pd, with or without an argument.  I'm
guessing this is the message that would solve my problem.  Has anyone
used it in the past?
Is this msg documentation still applicable to 0.41.0-test05?

-Chuckk

On Nov 19, 2007 5:25 PM, Chuckk Hubbard [EMAIL PROTECTED] wrote:
 Oops.  I meant to put [Pd]

 On Nov 19, 2007 4:55 PM, Chuckk Hubbard [EMAIL PROTECTED] wrote:
  I believe the question of saving automation data has come up before,
  but this is a different question, I think.
 
  I want to write and read the objects in a subpatch to and from
  textfiles; not the state of the objects, nor scalars, but the patch
  itself.  Is there a way?
  I have 8 voices in my sequencer, and 8 subpatches for creating control
  values to send to csoundapi~.  But each Csound orchestra I work with
  will have different parameters for different instruments, and so the 8
  will be different from each other, as well as being different
  depending on what score I open in my Pd sequencer.  So I gave up on
  using abstractions with arguments, because whenever I change one they
  all change.  But AFAIK subpatches can't be read and written by sending
  messages to them.
  Any ideas?
  Is there a 'menusaveas' message or something?
  -Chuckk
 
  --
  http://www.badmuthahubbard.com
 



 --
 http://www.badmuthahubbard.com




-- 
http://www.badmuthahubbard.com

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


[PD] [Pd] [swap] help incorrect

2007-11-19 Thread Chuckk Hubbard
[swap] help says:
The swap object stores numbers from its left inlet to output on its
right inlet -- after repeating its right hand input out the left.

It should say:
The swap object stores numbers from its left inlet to output on its
right inlet -- before repeating its right hand input out the left.

-Chuckk

-- 
http://www.badmuthahubbard.com

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


Re: [PD] [Pd] / as separator for list2symbol?

2007-11-19 Thread Frank Barknecht
Hallo,
Chuckk Hubbard hat gesagt: // Chuckk Hubbard wrote:

 I'm setting up an elaborate system to save 8 subpatches to
 abstractions, and read from arbitrary abstractions on loading.  The
 only way I can find to do this is using the [pd open $1( message.
 This message takes arguments /file/ and /path/.  [openpanel] outputs
 complete path.  Now I'm trying to take the filename off the end of
 that symbol and put the rest back into a pathname.  [symbol2list /]
 works fine to separate it, then [list length]-[- 1]-[list split] works
 fine to get the filename; but I can't seem to reassemble the path with
 [list2symbol /].  Is there any way to enter / as the separator?

It should work just like that. Could you post an example demonstrating
where it doesn't? Btw.: [list-l2s /] from [list]-abs works as well.

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


[PD] [Pd] How to load/save subpatch content dynamically

2007-11-19 Thread Chuckk Hubbard
This patch will load subpatches from existing .pd files.  Actually, it
copies them.  Requires zexy.  Seems crazy that it takes this many
objects to do it, but this is the simplest way I could find, due to
some of the little idiosyncrasies of Pd.
I'll post a reply soon with another to save subpatches to .pd files
(to copy them back).  If it works, it should be possible to
dynamically save and load the content of subpatches externally.  If
anyone knows a simpler way, please tell me.
Does not work completely with .pd files containing the [csoundapi~]
object, FYI.  I think it ends up pasting the clipboard into tabularasa
before completely loading the patch.

Anyone know how to skip over the Close this Window? message?  Maybe
sending key messages for Ctrl-Shift-w?

-Chuckk

-- 
http://www.badmuthahubbard.com


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


Re: [PD] [Pd] / as separator for list2symbol?

2007-11-19 Thread Patrice Colet
Chuckk Hubbard a écrit :
 I'm setting up an elaborate system to save 8 subpatches to
 abstractions, and read from arbitrary abstractions on loading.  The
 only way I can find to do this is using the [pd open $1( message.
 This message takes arguments /file/ and /path/.  [openpanel] outputs
 complete path.  Now I'm trying to take the filename off the end of
 that symbol and put the rest back into a pathname.  [symbol2list /]
 works fine to separate it, then [list length]-[- 1]-[list split] works
 fine to get the filename; but I can't seem to reassemble the path with
 [list2symbol /].  Is there any way to enter / as the separator?
 
 -Chuckk
 
I'd use getdir external for this kind of trick, and save path into a list.

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


Re: [PD] [Csnd] Writing subpatch contents

2007-11-19 Thread Frank Barknecht
Hallo,
Chuckk Hubbard hat gesagt: // Chuckk Hubbard wrote:

 I believe the question of saving automation data has come up before,
 but this is a different question, I think.
 
 I want to write and read the objects in a subpatch to and from
 textfiles; not the state of the objects, nor scalars, but the patch
 itself.  Is there a way?
 I have 8 voices in my sequencer, and 8 subpatches for creating control
 values to send to csoundapi~.  But each Csound orchestra I work with
 will have different parameters for different instruments, and so the 8
 will be different from each other, as well as being different
 depending on what score I open in my Pd sequencer.  So I gave up on
 using abstractions with arguments, because whenever I change one they
 all change.  But AFAIK subpatches can't be read and written by sending
 messages to them.
 Any ideas?
 Is there a 'menusaveas' message or something?

Maybe you can script something with select all copy and paste, but
did you try to use one of the saving systems like [sssad] to save
parameters? I don't know what exactly is in your subpatches, but I'm
pretty sure [sssad] can be made to save it. (taking my mouth quite full
here ;) 

Ciao
-- 
 Frank Barknecht _ __footils.org__

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


Re: [PD] [Pd] [swap] help incorrect

2007-11-19 Thread Mathieu Bouchard

On Mon, 19 Nov 2007, Frank Barknecht wrote:


However: numbers in the left inlet aren't stored


Why don't you try to bang a [swap] ?

You'd see that numbers in the left inlet are stored.

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


Re: [PD] error: pdp_route: no method for 'symbol'

2007-11-19 Thread Javier Garcia
Hi, 

thanks for your answers about [pdp_route] and [route], but i dont understand...

Let see:

I have attached other patch to this email, where i dont have any problems with 
[pdp_route] but yes with [route].

One more thing: the filters-abstractions im using in the first patch i send 
(you know, in my first e-mail) are part of Kinoko, where there is no problem to 
see the video neither:

http://viator.si/kinoko/

The last thing: 1 week ago I think everything worked ok, but now it gives that 
error line about symbol.

GARFF




CC: pd-list@iem.at
From: [EMAIL PROTECTED]
Subject: Re: [PD] error: pdp_route: no method for 'symbol'
Date: Mon, 19 Nov 2007 00:55:53 +0100
To: [EMAIL PROTECTED]

[pdp_route] accept only pdp packet (like movie). In your patch [K-looper] seems 
to output a symbol.++Jack
Le 19 nov. 07 à 00:39, Javier Garcia a écrit :Hi,
 
when i try to open a .mov with the patch i have attached this error message 
appear:
 
error: pdp_route: no method for 'symbol'
... you might be able to track this down from the Find menu.
 
Any idea?

br.
GARFF
Express yourself instantly with MSN Messenger! MSN Messengervj_apli2.pd[EMAIL 
PROTECTED] mailing listUNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list 

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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


Re: [PD] who is using [entry]?

2007-11-19 Thread Mathieu Bouchard

On Tue, 13 Nov 2007, Hans-Christoph Steiner wrote:


I want to keep the same names as the Tk widgets


The Tk Widget names are routinely adapted to naming conventions of 
various programming languages. Thus button may change to 
Button, TkButton, Tk::Button, tk.Button or tk.button 
depending on the language, for example.


Thus those names can be different from the original ones as long as there 
is a systematic pattern that is easy to automate and guess. For example, 
button could become [tk/button] or [tkbutton] or [tk.button] or it could 
be [tk button] as there is no need to have separate classes for what could 
be a single generic wrapper, or it could be any of the preceding schemes 
with a single class because there is no need for a class to have a single 
class name.


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


Re: [PD] who is using [entry]?

2007-11-19 Thread Hans-Christoph Steiner


I cc'ed the list since it's of general interest.

This message is called [append( for lists/atoms and [key( for  
individual keystrokes (i.e. space makes a space char).


.hc

On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:


Hans,

I was wondering if it would be possible to add some messages that  
[text] would use to append its buffer? I would think things similar  
to what a message box already understands, things like 'add',  
'add2', 'addsemi', 'addcomma', 'adddollar', and 'adddollarsym'.


Or is there something already in place?

Mike


On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner  [EMAIL PROTECTED] wrote:

On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:

 On 11/14/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote:
 Right, not directly.  This hopefully will allow people to do things
 like write SQL queries in [text] or have a chat app that allows all
 punctuation.

 Since each key typed outputs a [key ( messages from the right  
status

 outlet, it would be possible to make an object which would let you
 create messages separated by commas, if you wanted.


 I was playing with 'entry' in the 4 extended (one of the nightly  
build

 from last week), and I noticed that there was not an indication of
 there being a second outlet on the right, but it is there.

Fix in CVS

 I also
 noted that there is no 'help' file for it, but it was there in  
the 39

 extended.

Yeah, the help file problem is thruout 0.40.3-extended builds AFAIK...

 Also, is there some way to change the font size? As it is right now
 the font is really small.

Coming soon... :) (or build tkwidgets from source)

.hc

-- 
--



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





--
Peace may sound simple—one beautiful word— but it requires  
everything we have, every quality, every strength, every dream,  
every high ideal.

—Yehudi Menuhin (1916–1999), musician




 



  ¡El pueblo unido jamás será vencido!


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


[PD] Quicktime synthesizer on OS X

2007-11-19 Thread Mark Polishook
On OS X, is there a way to route Pd midi internally to the Quicktime
synthesizer? Is there an answer for an equivalent on Windows and
LInux?

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


Re: [PD] [Pd] [swap] help incorrect

2007-11-19 Thread Claude Heiland-Allen
Chuckk Hubbard wrote:
 Something else: [swap] only works for floats.  Is there an object
 somewhere that does the same for symbols?

If you ask that, why not ask about pointers too?  Or why not whole 
lists?  Or why not any message with any selector?  It should be trivial 
to implement in a scripting external (probably about 10 lines with pdlua).


Claude
-- 
http://claudiusmaximus.goto10.org

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


Re: [PD] Quicktime synthesizer on OS X

2007-11-19 Thread Derek Holzer
If the QT Synth appears as a normal MIDI client on whatever operating 
system you use, it shouldn't be hard.

On OSX you have to open up Audio MIDI Setup and see if the QT Synth 
appears as a MIDI device. If it does, then you can connect to it under 
the MIDI devices in PD. Make sure you leave the Audio MIDI Setup 
dialog open. Closing it prevents PD from accessing MIDI devices!

On Linux, if QT Synth is setup as an ALSA Midi device, you can use the 
ALSA Midi in PD, or better yet use JACK to connect the MIDI ports. On 
Windows, MidiOx should take care of the job (I guess...).

best wishes + report back!
d.

So long as the QT synth appears as

Mark Polishook wrote:
 On OS X, is there a way to route Pd midi internally to the Quicktime
 synthesizer? Is there an answer for an equivalent on Windows and
 LInux?
 
 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 

-- 
derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
---Oblique Strategy # 104:
Listen in total darkness, or in a very large room, very quietly

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


Re: [PD] who is using [entry]?

2007-11-19 Thread Mike McGonagle
Thanks, Hans, once again, I hit just reply instead of reply to all...
I did a quick test on the key message, and it appears that some keys are
still not allowed. Such things as a double quote (), a percent sign (%),
and left bracket ([) (but it does allow a right bracket), the backslash (\)
and a tilde (~). All of these characters can be typed directly into the
[text] widget.

While I know some of the characters are special in PD, some of these things
are probably needed to support the full character set that SQL can
recognize.

I was hoping that I could use a [text] object as a buffer to create multiple
SQL statements that would get sent to the server as a group. I kind of think
this would be useful in storing data in a database, in hopes of keeping down
the number of things sent to the server at once. I was toying with the idea
of adding this to the SQL external itself, but I seem to be running into a
problem that I can't troubleshoot, as it doesn't appear to have any rhyme or
reason as to why it acts that way.

Thanks for your help,

Mike


On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner [EMAIL PROTECTED] wrote:


 I cc'ed the list since it's of general interest.

 This message is called [append( for lists/atoms and [key( for individual
 keystrokes (i.e. space makes a space char).

 .hc

 On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:

 Hans,
 I was wondering if it would be possible to add some messages that [text]
 would use to append its buffer? I would think things similar to what a
 message box already understands, things like 'add', 'add2', 'addsemi',
 'addcomma', 'adddollar', and 'adddollarsym'.

 Or is there something already in place?

 Mike


 On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner  [EMAIL PROTECTED] wrote:

 
  On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:
 
   On 11/14/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote:
   Right, not directly.  This hopefully will allow people to do things
   like write SQL queries in [text] or have a chat app that allows all
   punctuation.
  
   Since each key typed outputs a [key ( messages from the right status
   outlet, it would be possible to make an object which would let you
   create messages separated by commas, if you wanted.
  
  
   I was playing with 'entry' in the 4 extended (one of the nightly build
   from last week), and I noticed that there was not an indication of
   there being a second outlet on the right, but it is there.
 
  Fix in CVS
 
   I also
   noted that there is no 'help' file for it, but it was there in the 39
   extended.
 
  Yeah, the help file problem is thruout 0.40.3-extended builds AFAIK...
 
   Also, is there some way to change the font size? As it is right now
   the font is really small.
 
  Coming soon... :) (or build tkwidgets from source)
 
  .hc
 
  
  
 
  [W]e have invented the technology to eliminate scarcity, but we are
  deliberately throwing it away to benefit those who profit from
  scarcity.-John Gilmore
 
 
 


 --
 Peace may sound simple—one beautiful word— but it requires everything we
 have, every quality, every strength, every dream, every high ideal.
 —Yehudi Menuhin (1916–1999), musician





 

   ¡El pueblo unido jamás será vencido!





-- 
Peace may sound simple—one beautiful word— but it requires everything we
have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Csnd] Writing subpatch contents

2007-11-19 Thread Chuckk Hubbard
On Nov 19, 2007 5:51 PM, Frank Barknecht [EMAIL PROTECTED] wrote:
 Hallo,
 Maybe you can script something with select all copy and paste, but
 did you try to use one of the saving systems like [sssad] to save
 parameters? I don't know what exactly is in your subpatches, but I'm
 pretty sure [sssad] can be made to save it. (taking my mouth quite full
 here ;)

Thanks again, I'll check it out.
I discovered that the message [; pd-abstraction.pd menuclose 1( closes
abstraction.pd with no warning message, btw.  I'm curious what other
hidden messages I can discover peeking through code.  Quite likely
half the workarounds I cobbled together when first learning Pd were
unnecessary.

-Chuckk

-- 
http://www.badmuthahubbard.com

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


Re: [PD] [GEM] pix_artoolkit

2007-11-19 Thread patrick
thanks IOhannes,

it's compiling just fine:

PKG_ARTOOLKIT_CFLAGS=-Ihome/pat/11h11/yeux/artoolkit/include 
PKG_ARTOOLKIT_LIBS=-L/home/pat/11h11/yeux/artoolkit/lib -lAR 
./configure 
--with-artoolkit-includes=/home/pat/11h11/yeux/artoolkit/include 
--with-artoolkit-libs=/home/pat/11h11/yeux/artoolkit/lib 
--with-artoolkit-libs --with-v4l2 --with-glversion=2.0 --enable-sse2  
--enable-Vertex --without-avifile

pat

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


Re: [PD] About editing pdpedia

2007-11-19 Thread Hans-Christoph Steiner

On Nov 19, 2007, at 2:20 AM, PSPunch wrote:


 Hi list,

 I have some questions for some of you working on pdpedia.


 ===
 1.
 Has there already been discussions on policies regarding when/which
 pages to lock?
 I am assuming that leaving everything unlocked is the way to go if  
 only
 the world were an ideal place. Are there not yet MediaWiki spammers?

Locking pages is basically for when people are fighting over a page.   
I can't imagine that anything is so divisive in Pd that we'd need to  
lock pages.  So far, we haven't had any spam yet.

 ===
 2.
 Regarding importing data from other languages..
 For some basic pages, I have gotten away with the following procedure.

 I. Open the pdpedia page in English.
 II. Enter edit mode and [copy] the contents in the form
 III. Create an equivalent page in my language and [paste] the material
 above.
 IV. Use above as a starting point to begin translation.

 --
 The above does not work for pages such as 'Category:vanilla'.
 I don't quite understand how that content is embedded in the page.
 Can some one help me on importing the list of objects?

 I've noticed that people working on the Spanish and Portuguese pages
 have been successful in this.

Once that translated template that you posted is ready to go, then  
I'll run the import.  That will generate template pages for about  
2000 objectclasses.  Then it's a matter of plugging in content, which  
can be gathered from pages in other languages, help patches, etc.

.hc




 Thanks.
 --
 David Shimamoto

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



 


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



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


Re: [PD] error: pdp_route: no method for 'symbol'

2007-11-19 Thread Jack
I think, in your case you need [gate] or [pdp_route] . You can't do  
anything with your [route] object with a toggle.
Don't forget : [pdp_route] accept message 0, 1, 2, 3, etc in its  
right inlet (there is an error in your patch with the toggle message  
entering in the left inlet).

Look at the help patch about [route].
++

Jack


Le 19 nov. 07 à 22:27, Javier Garcia a écrit :


Hi,

thanks for your answers about [pdp_route] and [route], but i dont  
understand...


Let see:

I have attached other patch to this email, where i dont have any  
problems with [pdp_route] but yes with [route].


One more thing: the filters-abstractions im using in the first  
patch i send (you know, in my first e-mail) are part of Kinoko,  
where there is no problem to see the video neither:


http://viator.si/kinoko/

The last thing: 1 week ago I think everything worked ok, but now it  
gives that error line about symbol.


GARFF




CC: pd-list@iem.at
From: [EMAIL PROTECTED]
Subject: Re: [PD] error: pdp_route: no method for 'symbol'
Date: Mon, 19 Nov 2007 00:55:53 +0100
To: [EMAIL PROTECTED]

[pdp_route] accept only pdp packet (like movie). In your patch [K- 
looper] seems to output a symbol.

++

Jack


Le 19 nov. 07 à 00:39, Javier Garcia a écrit :

Hi,

when i try to open a .mov with the patch i have attached this error  
message appear:


error: pdp_route: no method for 'symbol'
... you might be able to track this down from the Find menu.

Any idea?

br.
GARFF
Express yourself instantly with MSN Messenger! MSN Messenger
vj_apli2.pd
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - http://lists.puredata.info/ 
listinfo/pd-list



Express yourself instantly with MSN Messenger! MSN Messenger
vj_apli.pd


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


Re: [PD] About editing pdpedia

2007-11-19 Thread PSPunch

Hans,


Thanks.
I've followed the procedure in the English 'Admin howtos' pages.
I would appreciate it if you could try executing the import.

Thanks.

--
David Shimamoto



Hans-Christoph Steiner wrote
 
 On Nov 19, 2007, at 2:20 AM, PSPunch wrote:
 

 Hi list,

 I have some questions for some of you working on pdpedia.


 ===
 1.
 Has there already been discussions on policies regarding when/which
 pages to lock?
 I am assuming that leaving everything unlocked is the way to go if only
 the world were an ideal place. Are there not yet MediaWiki spammers?
 
 Locking pages is basically for when people are fighting over a page.  I 
 can't imagine that anything is so divisive in Pd that we'd need to lock 
 pages.  So far, we haven't had any spam yet.
 
 ===
 2.
 Regarding importing data from other languages..
 For some basic pages, I have gotten away with the following procedure.

 I. Open the pdpedia page in English.
 II. Enter edit mode and [copy] the contents in the form
 III. Create an equivalent page in my language and [paste] the material
 above.
 IV. Use above as a starting point to begin translation.

 -- 
 The above does not work for pages such as 'Category:vanilla'.
 I don't quite understand how that content is embedded in the page.
 Can some one help me on importing the list of objects?

 I've noticed that people working on the Spanish and Portuguese pages
 have been successful in this.
 
 Once that translated template that you posted is ready to go, then I'll 
 run the import.  That will generate template pages for about 2000 
 objectclasses.  Then it's a matter of plugging in content, which can be 
 gathered from pages in other languages, help patches, etc.
 
 .hc
 
 


 Thanks.
 -- 
 David Shimamoto

 ___
 PD-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
  
 
 
 Looking at things from a more basic level, you can come up with a more 
 direct solution... It may sound small in theory, but it in practice, it 
 can change entire economies. - Amy Smith
 
 
 


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


[PD] pdp_freeframe for Ubuntu ppc

2007-11-19 Thread bigswift
Anyone had any luck getting this to work in ppc?
i get a funky error when loading the lib, even though it compiles 

same thing with pdp_frei0r

pp

Patrick Pagano
Sound and Light Technologist
School of Theatre and Dance
University of Florida



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


Re: [PD] Quicktime synthesizer on OS X

2007-11-19 Thread Mark Polishook
I've only tried so far on OS X. The problem is the Quicktime
Synthesizer doesn't show up on the Audio Midi Setup ...  so it doesn't
appear to be reachable  I've tried on a few computers.

On Nov 19, 2007 7:03 PM, Derek Holzer [EMAIL PROTECTED] wrote:
 If the QT Synth appears as a normal MIDI client on whatever operating
 system you use, it shouldn't be hard.

 On OSX you have to open up Audio MIDI Setup and see if the QT Synth
 appears as a MIDI device. If it does, then you can connect to it under
 the MIDI devices in PD. Make sure you leave the Audio MIDI Setup
 dialog open. Closing it prevents PD from accessing MIDI devices!

 On Linux, if QT Synth is setup as an ALSA Midi device, you can use the
 ALSA Midi in PD, or better yet use JACK to connect the MIDI ports. On
 Windows, MidiOx should take care of the job (I guess...).

 best wishes + report back!
 d.

 So long as the QT synth appears as


 Mark Polishook wrote:
  On OS X, is there a way to route Pd midi internally to the Quicktime
  synthesizer? Is there an answer for an equivalent on Windows and
  LInux?
 
  ___
  PD-list@iem.at mailing list
  UNSUBSCRIBE and account-management - 
  http://lists.puredata.info/listinfo/pd-list
 

 --
 derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista
 ---Oblique Strategy # 104:
 Listen in total darkness, or in a very large room, very quietly


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


Re: [PD] who is using [entry]?

2007-11-19 Thread Hans-Christoph Steiner


I plan to support all of the Tk key symbols in that [key( message   
but I haven't found an easy way to do that yet.  Here's the list of  
symbols used for keys in Tcl/Tk:


http://tcl.tk/man/tcl8.4/TkCmd/keysyms.htm

Basically, in Tcl, I need a way to insert the character using the key  
symbol.


.hc

On Nov 19, 2007, at 7:25 PM, Mike McGonagle wrote:


Thanks, Hans, once again, I hit just reply instead of reply to all...

I did a quick test on the key message, and it appears that some  
keys are still not allowed. Such things as a double quote (), a  
percent sign (%), and left bracket ([) (but it does allow a right  
bracket), the backslash (\) and a tilde (~). All of these  
characters can be typed directly into the [text] widget.


While I know some of the characters are special in PD, some of  
these things are probably needed to support the full character set  
that SQL can recognize.


I was hoping that I could use a [text] object as a buffer to create  
multiple SQL statements that would get sent to the server as a  
group. I kind of think this would be useful in storing data in a  
database, in hopes of keeping down the number of things sent to the  
server at once. I was toying with the idea of adding this to the  
SQL external itself, but I seem to be running into a problem that I  
can't troubleshoot, as it doesn't appear to have any rhyme or  
reason as to why it acts that way.


Thanks for your help,

Mike


On Nov 19, 2007 4:10 PM, Hans-Christoph Steiner [EMAIL PROTECTED] wrote:

I cc'ed the list since it's of general interest.

This message is called [append( for lists/atoms and [key( for  
individual keystrokes (i.e. space makes a space char).


.hc

On Nov 19, 2007, at 4:17 PM, Mike McGonagle wrote:


Hans,

I was wondering if it would be possible to add some messages that  
[text] would use to append its buffer? I would think things  
similar to what a message box already understands, things like  
'add', 'add2', 'addsemi', 'addcomma', 'adddollar', and  
'adddollarsym'.


Or is there something already in place?

Mike


On Nov 14, 2007 2:32 PM, Hans-Christoph Steiner  [EMAIL PROTECTED]  
wrote:


On Nov 14, 2007, at 1:54 PM, Mike McGonagle wrote:

 On 11/14/07, Hans-Christoph Steiner  [EMAIL PROTECTED] wrote:
 Right, not directly.  This hopefully will allow people to do  
things
 like write SQL queries in [text] or have a chat app that allows  
all

 punctuation.

 Since each key typed outputs a [key ( messages from the right  
status

 outlet, it would be possible to make an object which would let you
 create messages separated by commas, if you wanted.


 I was playing with 'entry' in the 4 extended (one of the nightly  
build

 from last week), and I noticed that there was not an indication of
 there being a second outlet on the right, but it is there.

Fix in CVS

 I also
 noted that there is no 'help' file for it, but it was there in  
the 39

 extended.

Yeah, the help file problem is thruout 0.40.3-extended builds  
AFAIK...


 Also, is there some way to change the font size? As it is right now
 the font is really small.

Coming soon... :) (or build tkwidgets from source)

.hc

- 
---



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





--
Peace may sound simple—one beautiful word— but it requires  
everything we have, every quality, every strength, every dream,  
every high ideal.

—Yehudi Menuhin (1916–1999), musician




-- 
--


  ¡El pueblo unido jamás será vencido!





--
Peace may sound simple—one beautiful word— but it requires  
everything we have, every quality, every strength, every dream,  
every high ideal.

—Yehudi Menuhin (1916–1999), musician




 



  http://at.or.at/hans/


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


[PD] using chrt on pd to get rid of DIO errors

2007-11-19 Thread Rich E
After setting up ubuntustudio (7.04) with a real-time kernel (
2.6.20-16-realtime), I was experiencing DIO errors every few seconds.
Exploring this taught me alot about how to set priorities on a real-time
kernel, mainly with the command 'chrt'.  However, I don't think it is meant
to be used directly on an application, since there might be parts of the
application that are not supposed to run in real-time at a high priority.

Nonetheless, running:
[EMAIL PROTECTED]:/etc/sysconfig$ pidof pd
12079
[EMAIL PROTECTED]:/etc/sysconfig$ chrt -p 60 12079

sets pd running as:
[EMAIL PROTECTED]:/etc/sysconfig$ chrt -p 12079
pid 12079's current scheduling policy: SCHED_RR
pid 12079's current scheduling priority: 60

and the xruns go away.  I don't know too much about the different threads pd
is running on, but I was under the impression that pd is supposed to start
in real-time with a high priority.  Yet, due to the apperant changes from
chrt, I would think that it was not running in real-time.  I've tried this
on versions 0.40-3 and 0.41-7, and real-time scheduling is not specifically
turned off in the pd start-up settings.

Any thoughts?

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


[PD] fft beginner question

2007-11-19 Thread cristiano figueirÿfffff3
Hi list, i'm trying to study fft in Pd and still don't
understand the numbers produced by the analysis.
I'm on Pd vanilla 0-40.2 in debian. I just patch
this:

[float]
|\
| \
[osc~] \
|   \
|[bang]
|/
[rfft~] / | 
 \ \  | 
  \   / \ |
   \ /  [print~ imaginary]
[print~ real]

and then type 0 and 1 in float box and this
analysis came to terminal:


real:
-39.604  00000   
00   
000000   
00   
000000   
00   
000000   
00   
000000   
00   
000000   
00   
000000   
00   
000000   
00   
imaginary:
0-0   -0   -0   -0   -0  
-0   -0  
-0   -0   -0   -0   -0   -0  
-0   -0  
-0   -0   -0   -0   -0   -0  
-0   -0  
-0   -0   -0   -0   -0   -0  
-0   -0  
000000   
00   
000000   
00   
000000   
00   
000000   
00   
real:
-39.378  -0.003371 -0.0035941 -0.0035693 -0.0035941
-0.0035851 -0.0035941 -0.0035895
-0.003594 -0.0035913 -0.0035941 -0.0035921 -0.0035932
-0.0035928 -0.003594 -0.0035931
-0.0035944 -0.0035932 -0.0035941 -0.0035934 -0.0035943
-0.0035935 -0.0035942 -0.0035938
-0.0035943 -0.0035935 -0.003594 -0.0035933 -0.0035941
-0.0035936 -0.0035942 -0.0035935
-0.0035934 00000  
 00   
000000   
00   
000000   
00   
000000   
00   
imaginary:
00.07316  0.036492 0.02423  0.018069 0.014348
0.011848 0.010045
0.0086772 0.007599 0.0067242 0.0059963 0.0053794
0.0048461 0.0043795 0.0039655
0.0035944 0.0032576 0.0029496 0.0026656 0.0024016
0.0021543 0.0019211 0.0016999
0.0014889 0.0012859 0.00109  0.00090034 0.00071485
0.00053315 0.00035397 0.00017647
000000   
00   
000000   
00   
000000   
00   
000000   
00  





What this numbers represents ? Where i can study more?
thanks

cristiano 



  Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/

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


[PD] precise milisecond/second counter

2007-11-19 Thread ilya . д

hello list.

i was terribly surprised the way [metro] behaves -

checking it agains [timer] of coruse doesn't give any latency ever!

but with [realtime] and [cputime] - the result is is far from acceptable
and even unproportional, (icresing twice doesn't give any aproximatable
result).

how ever the system load was quite hight -
/proc/loadavg: 3.29 3.31 3.54 6/268 22074
and even  5.0  at some point..

i run linux 2.6.20 with built in RT_MUTEX ..
i never noticed any latency while interacting via gui..
how ever there was a bit of acceptable audio latency when i was
programing some effects using live input and comparing to pd's streight
wire from adc~ to dac~ (inside a busy patch) there was a noticable delay ..

however i assumed [metro] to be closer to ideal , really ..

so i have actually made a patch which give a very precise ticking.

please have a look ..

-- 
cheers, 
ilya .d
#N canvas 113 339 691 362 10;
#X obj 256 143 bang~;
#X obj 301 160 i;
#X obj 369 177 + 1;
#X obj 369 222 mod 1000;
#X floatatom 535 298 5 0 0 0 - - -;
#X obj 468 194 sel 1000;
#X obj 468 222 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 418 105 block~ 96;
#X text 288 19;
#X obj 498 31 samplerate~;
#X msg 498 8 bang;
#X obj 498 58 / 1000;
#X msg 498 88 set \$1;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 0 5 0;
#X connect 3 0 1 1;
#X connect 5 0 6 0;
#X connect 9 0 11 0;
#X connect 10 0 9 0;
#X connect 11 0 12 0;
#X connect 12 0 7 0;
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [Pd] [swap] help incorrect

2007-11-19 Thread Roman Haefeli

On Tue, 2007-11-20 at 00:01 +0200, Chuckk Hubbard wrote:
 Something else: [swap] only works for floats.  Is there an object
 somewhere that does the same for symbols?


[pack s s]
|
[$2 $1(

?

roman





___ 
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] tabread4~~

2007-11-19 Thread Mathieu Bouchard

On Fri, 16 Nov 2007, Charles Henry wrote:

You won't be able to find those low frequencies like 4 Hz, unless one of 
your instruments contains them, like drums for example.


I don't mean frequencies of sine waves, I mean frequency of any kind of 
periodicity that is found.


Percussion instruments can have those low frequencies.  And the result 
of adding up the fourier contributions from periodic sequences has an 
effect like a comb filter on the spectrum of the orignal instrument, 
which makes the peaks. If you have an instrument in a higher frequency 
range, you probably won't find those low e.g. 4 Hz frequencies, but you 
could find them in the envelope following signal of the original.


Notes of many instruments have a percussive/click sound in the attack, 
which tend to have a wider spectrum than the main part of the note, so 
there could be a 4 Hz component anyway, but this is not what I mean 
anyway. What I mean could include the fact that the comb effect is at 4 
Hz, but it's more abstract than that: playing any melody, you can simply 
count the time between attacks or between changes of note, and see it as a 
set of periodic patterns. It could get as far as taking any interval and 
turning it into the corresponding frequency, even though there may be a 
complete absence of actual periodicity.


but that's just nitpicking..haha I find it interesting to consider how a 
song structure could have more than one dimension...


On FidoNet in the mid-nineties, I was getting acquainted with the theory 
that rational intervals between notes (e.g. 5/4, 3/2) could correspond 
to rhythmic patterns as far as they could be expressed with a similar 
notation: thus you can see a major chord as being similar to a pattern 
involving a superposition of 4/4, 4/5 and 4/6 beats. Needless to say that 
in normal music, normal chords don't match the ratios of normal 
beats, except in extremely simple cases such as power chords.


But a loop is a path.  So, we start from point A, we go to point B and 
come back.  So, if we have a measure of 8/8, we can represent it as the 
path in the plane which follows e^(2*pi*i*t/8) or many other paths. 
Still we have a clearly defined topology (btw, I'm just learning 
topology, so I'm feeling my way through this).


A function maps points in time onto the loop.  Again we have just one 
dimension. We can extend our loop into a sphere.  or a torus or any 
other surface in more than two dimensions with holes in it.


I don't have the impression that we need topology in order to access all 
that we need to do what we have to do. So far, I think that the interest 
of using topology in music is just so that we have topology and music 
together... just an alternate way of expressing the already expressible. 
(Please convince me that some things in music are easier to think about 
using topology...)



but still it breaks down... we can only have the paths as functions of
time.  So, no matter how complicated the song structure gets, you can
flatten it into a single function. Any thoughts?


And yet, to express this function, you'll probably want to break it down 
into several functions, for modularity. The advantage of putting 
everything in one big function is somewhat overrated. Already, any 
abstraction mechanism in math is a way to modularise and outsource meaning 
so that it doesn't have to be specified in the main function(s) 
themselves.


Some current rhythm perception research focuses on dynamical systems, 
which can have those long-range correlation properties.  (again the 
action of perception is still a function of 1-D time)  The dynamical 
system can have a non-integer dimension (a fractal), so you might be on 
to something to speculate additional dimensions in sound.


The Hausdorff dimension of a set that is a subset of some space can't be 
bigger than that of that space. If anything, you get above the 1-D of the 
time dimension, but never above the number of dimensions of the space that 
the trajectory lives in. Even then, you are approximating a phenomenon 
using a fractal, which does not mean that the phenomenon is fractal any 
more than real numbers are real and that infinity is infinite: there's a 
lot of theoretical gimmickry there. Many phenomena look fractal only 
within a precise range of orders of magnitude.


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


Re: [PD] precise milisecond/second counter

2007-11-19 Thread ilya .d
sorry .. i have realised how wrong was my measuring method.

also Romain (on #dataflow) told me that it's an 'old [metro] discussion'.


but anyhow, could someone please give an opinion on the [block~]
approach ..

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


Re: [PD] precise milisecond/second counter

2007-11-19 Thread Roman Haefeli
hi ilya

On Tue, 2007-11-20 at 04:52 +, ilya .д wrote:
 hello list.
 
 i was terribly surprised the way [metro] behaves -
 
 checking it agains [timer] of coruse doesn't give any latency ever!

[metro] does its job accurately in logical time. it's not accurate, if
a) you have audio dropouts
b) you are using it to generate some output different from audio and you
measure the output (e.g arduino)
c) if you are using [realtime] to measure, because [realtime] measures
in realtime, which means, that it measures the moment, when the output
of metro is processed. this can happen anywhere between now and
audiobuffersize later, depending on your cpu load.
 
when you use [metro] to trigger a sound and you record the result, then
you will see, that it is even subsample accurate (if your sound
generation part is based on [vline~] and not on [line~]). you will also
see that [metro] is just perfectly accurate in logical time when
measuring with [timer], which actually measures logical time.
 

 but with [realtime] and [cputime] - the result is is far from acceptable
 and even unproportional, (icresing twice doesn't give any aproximatable
 result).

when taking the average, the output of [realtime] should be change
proportionally to the change of [metro]'s time. if not, the only
explanation i have is that your running pd over the limit of your cpu,
which shifts logical time against real time (this happens with every
drop out).


 how ever the system load was quite hight -
 /proc/loadavg: 3.29 3.31 3.54 6/268 22074
 and even  5.0  at some point..

yo, what i was saying.

 i run linux 2.6.20 with built in RT_MUTEX ..
 i never noticed any latency while interacting via gui..
 how ever there was a bit of acceptable audio latency when i was
 programing some effects using live input and comparing to pd's streight
 wire from adc~ to dac~ (inside a busy patch) there was a noticable delay ..

the delay is in no way related how busy pd is. 

 however i assumed [metro] to be closer to ideal , really ..

as long as you are dealing with audio, [metro] _is_ ideal. the reason
why this works so well with audio is, that pd's timing is based on a
fixed rate, which is the clock of your soundcard (respectively jack, if
you are running pd with jack, but jack takes the clock from the card
then...). when your output is only a soundfile, you even don't need a
soundcard to get perfect results, [metro] is still perfectly accurate,
no matter at which speed the file is calculated. 

 so i have actually made a patch which give a very precise ticking.

your [bang~]/[block~] based solution does - as [metro] - work in logical
time, thus is expected to give you the exact same results.  

 please have a look ..

you forgot the attachment.





___ 
Der fr�he Vogel f�ngt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: 
http://mail.yahoo.de


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


Re: [PD] tabread4~~

2007-11-19 Thread Charles Henry
On Nov 19, 2007 11:06 PM, Mathieu Bouchard [EMAIL PROTECTED] wrote:
 On Fri, 16 Nov 2007, Charles Henry wrote:
 I don't mean frequencies of sine waves, I mean frequency of any kind of
 periodicity that is found.

Yes, I was sure you knew what you were talking about.  I just had to
jump on it, and add some parts that I felt you could have included.
Also, you got some good info here:

 Notes of many instruments have a percussive/click sound in the attack,
 which tend to have a wider spectrum than the main part of the note, so
 there could be a 4 Hz component anyway, but this is not what I mean
 anyway. What I mean could include the fact that the comb effect is at 4
 Hz, but it's more abstract than that: playing any melody, you can simply
 count the time between attacks or between changes of note, and see it as a
 set of periodic patterns. It could get as far as taking any interval and
 turning it into the corresponding frequency, even though there may be a
 complete absence of actual periodicity.

 On FidoNet in the mid-nineties, I was getting acquainted with the theory
 that rational intervals between notes (e.g. 5/4, 3/2) could correspond
 to rhythmic patterns as far as they could be expressed with a similar
 notation: thus you can see a major chord as being similar to a pattern
 involving a superposition of 4/4, 4/5 and 4/6 beats. Needless to say that
 in normal music, normal chords don't match the ratios of normal
 beats, except in extremely simple cases such as power chords.

Yes, but there is evidence for the fundamental bass that occurs
between pairs of notes, with a strength dependent on those ratios.
Complex harmonies could have multiple fundamentals.  It's a mystery to
me how harmony/rhythm work at a fundamental level.  I'm planning to
apply for grad school at FAU this month.  My plans are not sure now,
but I will eventually work on this.

 I don't have the impression that we need topology in order to access all
 that we need to do what we have to do. So far, I think that the interest
 of using topology in music is just so that we have topology and music
 together... just an alternate way of expressing the already expressible.
 (Please convince me that some things in music are easier to think about
 using topology...)

The topology bullshit was plainly bullshit.  But I was trying to
stretch what I know, and try to see a way for song-structure and
rhythm to take on more than one dimension.  I have started working on
a patch lately to simulate the trajectory of a particle as it flies
across the surface of a torus (it's remarkable simple, so far--a
couple of phasors and boom, there it is).  Next thing is to add
functions that will map the particle's trajectory onto sounds (the
tough part).

  Some current rhythm perception research focuses on dynamical systems,
  which can have those long-range correlation properties.  (again the
  action of perception is still a function of 1-D time)  The dynamical
  system can have a non-integer dimension (a fractal), so you might be on
  to something to speculate additional dimensions in sound.

 The Hausdorff dimension of a set that is a subset of some space can't be
 bigger than that of that space. If anything, you get above the 1-D of the
 time dimension, but never above the number of dimensions of the space that
 the trajectory lives in. Even then, you are approximating a phenomenon
 using a fractal, which does not mean that the phenomenon is fractal any
 more than real numbers are real and that infinity is infinite: there's a
 lot of theoretical gimmickry there. Many phenomena look fractal only
 within a precise range of orders of magnitude.

That's just the thing I was getting at.  We have music as a function
from 1-D into the space of all possible sounds.  Assuming the space of
sounds is band-limited and compact in time, it is actually a finite
dimension (a gigantically huge finite dimension).  But then, there's
the psychological space, which has drastically fewer dimensions, and
they're not linear.

I conjecture that timbre perception may be better explained through
topology.  A common figure in analyzing instrumental timbre is a
multi-dimensional scaling technique.  Similarity between timbres is
visualized in a linear space with a metric, corresponding to the
straight-line distance.  If it were possible for timbre space to be a
non-linear manifold, similarities would correspond to distances along
a path in the presumably curved space.  I feel absolutely certain that
I can convince you that timbre is *not* a vector space, using only the
defining properties of a vector space.
However, getting from A to B, and showing this is true would take an
exquisitely designed experiment, a real work of art :P

Chuck

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


Re: [PD] precise milisecond/second counter

2007-11-19 Thread Roman Haefeli
On Tue, 2007-11-20 at 06:51 +0100, Roman Haefeli wrote:

 you forgot the attachment.

i am just a stupid tired whatsoever...

i had a look at it and it is actually quite interesting. it doesn't give
at all the same values that [metro] would give, as i stated in the
previous mail. for easier testing i removed the counter part and had
only:

[bang~]
 |
[t b b]
 |   |
[timer] 

when changing the blocksize, the output of [timer] doesn't always
reflect that. the outputs stick to certain values:

1.
2.
5.
10.
21.333
etc

it switches, when changing blocksize from 64 to 65, resp. 128-129,
256-257 etc.

i think, this is probably not funny behaviour of [metro], but of
[bang~]. perhaps it doesn't output messages with the kind of timestamps
(or whatever this mechanism should be called) as [metro] does ?

roman





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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


Re: [PD] precise milisecond/second counter

2007-11-19 Thread Roman Haefeli
On Tue, 2007-11-20 at 07:27 +0100, Roman Haefeli wrote:

 1.
 2.
 5.
 10.
 21.333

i am actually running pd @ 48kHz, that is why these numbers all are
2^n*1. and not 2^n*1.45 (which would be the value for 44.1kHz)

however, i checked the helpfile of [block~] again and it says, that
non-power-of-two blocksizes are explicitly allowed, at least since 0.40.
therefor i'd expect 

[bang~]
|
[t b b]
| |
[timer] 

to output 'correct' values, that actually reflect the actually used
blocksize. is this is a bug or am i overseeing somehting?

roman





___ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de


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