Notifications
Clear all
[Closed] adding a sound file to scene
Oct 01, 2008 8:01 am
Hi.
With MaxScript, is there a way to access the “sound” track in the curve editor? Specifically, what I would like to do is add a .wav file to it, and then change the scene’s duration to that of the sound.
3 Replies
Oct 01, 2008 8:01 am
wavsound.filename = "c:\\audio\\somesound.wav"
animationRange = interval wavSound.start wavSound.end
Oct 01, 2008 8:01 am
Thanks a lot ZeBoxx2. I had seen that in the MAXscript documentation, but I was confused by the fact that it’s in the page about a VRML97 helper.
Oct 01, 2008 8:01 am
yeah, that confused me as well… might be better off as its own topic / part of the “Track View Nodes” topic (where Global Tracks etc. are described as well), considering it’s not actually VRML-specific.