View Single Post
Old 05-13-2018, 10:30 AM   #1
ashcat_lt
Human being with feelings
 
Join Date: Dec 2012
Posts: 7,272
Default JS "Psuedo Objects" by Index???

I guess I'm not completely sure how to even word the question.

What I'm wanting to do right now is to find and manipulate the RMS envelope for multiple audio inputs. But I'd like to avoid redundant code as much as possible, and perhaps more importantly, I'd like to not spend CPU ticks on processing empty channels. I'd like to be able to tell it how many channels are actually running and dynamically create the psuedo-objects as necessary.

thing[0].RMS_set(rms_ms); gave me a syntax error. Is there a way to do this without having to mess with the memory buffer array? I can see how to do that, but...
ashcat_lt is offline   Reply With Quote