Re: [PD] fun with telephone sounds

2008-01-30 Thread Russell Bryant
On Jan 29, 2008 8:25 PM, Hans-Christoph Steiner <[EMAIL PROTECTED]> wrote: > > For some reason, I just reproduced some standard telephone sounds in > Pd... maybe these exist somewhere already, but I thought I'd post > this for fun. > Neat. :) On the same topic, here is a nice reference for sta

Re: [PD] pdlua output

2008-01-30 Thread Claude Heiland-Allen
Frank Barknecht wrote: > One thing I wanted to ask here: Is there a special reason that pdlua > isn't using the (new in 5.1) vararg syntax with "..." for methods and > maybe also in outlet(...) or similar places? Yes. It makes it very difficult to do useful things with variable length inputs (su

Re: [PD] pdlua output

2008-01-30 Thread Frank Barknecht
Hallo, Claude Heiland-Allen hat gesagt: // Claude Heiland-Allen wrote: > Something like: > > -- called when "greaterthan" message is received at first inlet > -- atoms is a table of the atoms in the message following the selector > function M:in_1_greaterthan(atoms) >local name = atoms[1] -

Re: [PD] pdlua output

2008-01-30 Thread Frank Barknecht
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote: > function M:in_1_greaterthan(args) > searchstring = table.concat(args, " ") > for i, v in ipairs(self.mydata) do >if tonumber(string.match(table.concat(v, " "), searchstring)) > 1 > then self:outlet(1, "", v) end

Re: [PD] pdlua output

2008-01-30 Thread Frank Barknecht
Hallo, robcanning hat gesagt: // robcanning wrote: > ok, so this code finds all the scores with a value greater than one and > sends them to outlet one when given the message [greaterthan( > > > function M:in_1_greaterthan() > for i, v in ipairs(self.mydata) do > if tonumber(string.match(tabl

Re: [PD] pdlua output

2008-01-30 Thread Claude Heiland-Allen
robcanning wrote: > now i want to be able to send the message [greaterthan score 3( > > so in the code where it says "score=(%d+)")) - i need "score" to be > variable from second part of the message the ">1" needs to be a > variable from the 3rd part of the message The Lua operator .. is strin

Re: [PD] pdlua output

2008-01-30 Thread robcanning
Frank Barknecht wrote: > Hallo, > robcanning hat gesagt: // robcanning wrote: > > >> i add a list to a table with: >> >> -- "insert [list]" into 1st inlet: >> function M:in_1_insert(list) >>table.insert(self.mydata, list) >> end >> >> then i search the table for the pattern "score = 1" and a

Re: [PD] one more boring computation-time cuestion of mine...

2008-01-30 Thread matteo sisti sette
2008/1/29, Charles Henry <[EMAIL PROTECTED]>: > Another diagnostic idea: try comparing the behavior during loading > with audio switched on and off. Whops, I hadn't thought about that :$ Thank you :) > my guess is: > if this is a memory issue, it won't make a difference > if it's the computations

Re: [PD] reverb for each grain

2008-01-30 Thread Si Mills
Sounds fun Are you using the [nqpoly4] object to make the granular engine? S On 30 Jan 2008, at 06:59, Kevin McCoy wrote: > Not to mention, I hope you'll be showin' some clips of whatever you > come up with... doing something like this is something I have had in > mind for a while and I would