![]() ![]() silence zeros(Fs, 1) finalWav silence s1 silence Step 2: Concatenate the vectors. LlPlaySound( llList2String( sound, index ), 1. (size of vector will depend on sampling rate). Silent sounds (13) Most recent Oldest Shortest duration Longest duration Any Length 2 sec 2 sec - 5 sec 5 sec - 20 sec 20 sec - 1 min 1 min All libraries Rob Bridgett Charlie Atanasyan SoundBits. ![]() What I was trying to do is read in the wav header and then adding a 0 to the beginning using the wave module but that did not work quite well. LlSetTimerEvent(llList2Float( ST, index )) Silent Wav File For 1 Second Free Trial I trying to write a script in python which would add a second of silence in the beginning of the wav file, but so far been unsuccessfully in doing so. LlPlaySound( llList2String( sound, index ), 1.0 ) List ST = // Aproximate length of each sound Integer length // used to cound number of sounds ![]() Integer index // used to track which sound to play I've been playing around with this script however it doesn't seem to work past the forth sound. float vFltSndLen = 9.0 //- length of each sound file in sequence (last one can be any length) list vLstSndNms = //- names of all the sound files in order integer vIdxSndNum //- used to track which sound to play default This should play as many chained sounds as memory allows. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |