Game Development Community

audio question, just out of curiosity

by Levi Walton · in Torque Game Builder · 03/18/2010 (12:04 pm) · 1 replies

can tgb create and/or modify sound through script? ive looked at some documentaion and see about loading sound etc. For example making a synth type program? just curious.

#1
03/18/2010 (3:39 pm)
Yes and no. You can modify existing sounds through OpenAL calls that are accessible from the scripts. You can't dynamically create sounds through scripts.

Look at functions like alxSource* and alxGetSource*. Those will allow you to manipulate existing audio.