Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Set number variable to half length of song
Old
surfacedreamer
Guest
 
Status:
Posts: n/a
Default Set number variable to half length of song - 04-20-2011, 01:06 PM

I'm doing a project and I am stumped on one area. I was hoping somebody might have some advice/pointers on how to accomplish the following:

I have two variables in an object method I'm running...

section (sound type variable)
cSpeed (number type variable)

I can set the cSpeed variable with a hard number and everything works fine however I would like to set it to half the duration of the section (sound) variable. Any ideas?
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.