as a side note, you can also get behaviour somewhat like this using externals PDContainer and [pool]
http://grh.mur.at/software/pdcontainer.html http://grrrr.org/ext/pool/
On Tue, 2006-12-26 at 11:53 +0100, Jiri Heitlager wrote:
I recently joined this list and I doent have mail that go back further then 21 th of december. Could you post the message maybe again.
Jiri
pd-list-request@iem.at wrote:
Send PD-list mailing list submissions to pd-list@iem.at
To subscribe or unsubscribe via the World Wide Web, visit http://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to pd-list-request@iem.at
You can reach the person managing the list at pd-list-owner@iem.at
When replying, please edit your Subject line so it is more specific than "Re: Contents of PD-list digest..."
Today's Topics:
- Question newbie mulit-dim array (Jiri Heitlager)
- Multi dimensional [list] (Jiri Heitlager)
- Re: soundfiler (Frank Barknecht)
- Re: Multi dimensional [list] (Frank Barknecht)
- running pd as a cubase vsti (David McCarthy)
- reverse delay for live signal processing? (Kevin McCoy)
- Re: reverse delay for live signal processing? (Peter Plessas)
- Re: reverse delay for live signal processing? (Kevin McCoy)
Message: 1 Date: Mon, 25 Dec 2006 13:57:51 +0100 From: Jiri Heitlager jiri@z25.org Subject: [PD] Question newbie mulit-dim array To: pd-list@iem.at Message-ID: 458FCACF.6080200@z25.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed
hello list,
I am just starting to use Pd and have a lot to learn. I am currently trying to build a simple sequencer for controlling 8 speaker channels. I use qlist for this where each line is formatted like this. <millisec> <target> <message>
as example a line is:
1000 que [sp1 on] [sp2 off] [sp3 on]
I process this line and that all works fine.
Next thing I need to do is build some kind of system/interface that makes it possible for the user to actually record when a speaker is set on/off in time. To do this i want to create a timer that starts running when a speaker is turned on Pd needs to set a new line in the textfile that I use for the qlist. Problem is that each new line is added at the end of the file and evertime the user restarts the timer, all other data is lost. So it seems that when recording, everything should be entered in an [list] this list needs to be sorted on the time entry. Is this achivable in PD and do the real diehards out there think this is the way to go for me? Does [list] have methods for sorting?
I hope all is clear.
Thanx and merry x-mas to all.
Jiri
Message: 2 Date: Mon, 25 Dec 2006 15:43:43 +0100 From: Jiri Heitlager jiri@z25.org Subject: [PD] Multi dimensional [list] To: pd-list@iem.at Message-ID: 458FE39F.1080403@z25.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Is it possible to create a [list] where each item is a [list]?
Thank you
Message: 3 Date: Mon, 25 Dec 2006 15:47:58 +0100 From: Frank Barknecht fbar@footils.org Subject: Re: [PD] soundfiler To: pd-list@iem.at Message-ID: 20061225144758.GE25596@fliwatut.scifi Content-Type: text/plain; charset="us-ascii"
Hallo, europa989@aol.com hat gesagt: // europa989@aol.com wrote:
Hi, like sent a message to soundfiler: [read -resize C:\Documents and Settings\myname\folder\folder\filename.aif tablename]. I forgot which way slashes go after C: and stuff. This is on PC, windows. K. then there's a table object. I think that's what they're called, like where there is a table in the subpatch of the object. I think i called the table [table tablename 2040]. There's an error that I believe "Documents and Settings" causes. Windows produces a "don't change this foldername" alert if you try to change it to "Documents_and_Settings". With a different soundfiler object and messages to open up browsers to get the "filename.aif", the "filename.aif" successfully loads to the "tablename" table. A solution without opening browser window is preferable. Over and out
The most simple solution is to move the soundfiles to a directory without spaces in its path name.
If this isn't possible, you need to get the space back into the list message that is coming from the message box which stores your space-polluted filename. Attached patch shows one possible way to achieve this using the [list-l2s] abstraction from the [list]-abs collection (also attached). The trick is to use [makefilename %c] to generate symbols from their ASCII values. Sending a "32" into this will let [makefilename] send a symbol-message whose data is the " "-SPACE symbol.
[list-l2s] then concatenates every element in an incoming list using this SPACE-symbol into a single symbol. So the three-element message:
2. 3.
"C:/Documents and Settings/myname/folder/folder/filename.aif"
will become a one-element symbol:
1.
"symbol C:/Documents\ and\ Settings/myname/folder/folder/filename.aif"
Here "\ " is meant to indicate the SPACE-symbol. You need to do this *before* you build the final "read -resize ..." message of course, so you use [read -resize $1 TABLENAME( afterwards.
As you see this is slightly complicated so again I'd suggest to just move your files areound and avoid spaces in filenames generally like the elders did.
Ciao
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list