Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Javascript buffer and playback array?



Hi all,

I am interested in being able to record or store values over x length of time and then replay them as a loop.  

I have tried using the _javascript_ object but am not sure I am getting it right. Here is what I have so far.  
Has anyone tried this before? Any advice would be great.

if (inputs[0]!=undefined) {
var vals = new Array();
for (i=0; i<vals.length; i++){
vals.push(inputs[0]);
outputs[0]=vals[1];
}
}

Cheers,

Tim

Design Interactions
lab.neongolden.net

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.