[PD] reverse & variable speed soundplayback?

Hans-Christoph Steiner hans at eds.org
Thu Nov 30 03:50:46 CET 2006


Hey Max,

You have [; $0-speed_in 1(, that's the problem.  $0 in message boxes  
is undefined.  $1 in a message box gives you something different than  
$0 in a  object box.

http://crca.ucsd.edu/~msp/Pd_documentation/x2.htm#s6.5

You'd need:

[bang(
|
[$0]
|
[; $1-speed_in 1(

.hc



On Nov 29, 2006, at 5:23 PM, dafydd hughes wrote:

> Hey Max
>
> The problem is the way pd deals with $0- in messages.  I don't
> completely understand it, but I've attached my solution, which avoids
> using $0- directly.
>
> cheers
> dafydd
>
> On 11/29/06, Max Neupert <abonnements at revolwear.com> wrote:
>> thanks you for your encouraging props and answers.
>> i was trying to do a GOP version but have trouble with the local
>> scope of the array..
>> what is going on here?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Am 29.11.2006 um 17:15 schrieb Steffen:
>>
>> >
>> > On 29/11/2006, at 12.49, Max Neupert wrote:
>> >
>> >> - can i avoid the [ftos] object? some people seem to have trouble
>> >> to find it and i don't know which library it belongs to either.
>> >> (opens no helpfile here)
>> >
>> > I just asked Miss Marble. It seams to be due to Dieter Kovacic, and
>> > lives in externals/ext13/. It seam to have no help file, she
>> > couldn't located it, that is.
>> >
>> >> - for a GOP version the send and receives should be local.
>> >
>> > (I don't know what GOP really is, but apart from that) I think that
>> > would be a good idea: When checking out your patch to figure out if
>> > it really was the In slider that needed to be moved or not, you
>> > send a new version of it. It so happened that i had the two
>> > versions opened simultaneously, which meant that when i moved a
>> > slider in the one patch it influenced the slider of the same name
>> > in the other patch. Apropos, when is non local variables a really
>> > good idea?
>> >
>> >> so i just add "$0-" before?
>> >
>> > Im quite new to actually patch anything in Pd, so i can't give an
>> > confident answer. - But i think, yes, adding $0 will do the trick.
>> > I also thing using $42 as a prefix will do the trick, since i'm not
>> > sure if the numbers 0 and 1 have special status in the variable
>> > "show".
>> >
>> > PS. The looks are really slick in my opinion.
>>
>>
>>
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
>> listinfo/pd-list
>>
>>
>>
>>
>
>
> -- 
> www.sideshowmedia.ca
> skype: chickeninthegrass
> <use_dh.pd>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list


------------------------------------------------------------------------

"[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






More information about the Pd-list mailing list