Tv SoundProjectInfo

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<Sound

tv_SoundProjectInfo [projectID] [soundIndex]

Result: offset volume mute fadeIn1 fadeIn2 fadeOut1 fadeOut2 soundfilename in out colorIndex

RETURN -2 IF No SOUND at soundIndex


GEt Info from current project first sound layer Parse Adjust

soundIndex =0
tv_SoundProjectInfo 0 soundIndex
soundInfo=result
PARSE soundInfo offset volume mute fadeIn1 fadeIn2 fadeOut1 fadeOut2 soundfilename in out colorIndex
offset =offset +1
tv_SoundProjectAdjust soundIndex mute volume  offset  fadeIn1 fadeIn2 fadeOut2 fadeOut1 colorIndex