WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-27-2007, 12:41 PM
JMOwens JMOwens is offline
Member
 
Join Date: Jun 2007
Location: Providence, RI
Posts: 34
Question Sound Looping Problem

Hi VizardWizards,
I'm trying to get a constant background (white-noise) sound for my environment, which I hoped could be achieved by looping a 5-second .wav clip. However, there is a slight pause and pop whenever it re-starts which is very disconcerting. I've tried looping the sound in Audition and it works fine there, so the pause is not inherent to the sound file itself. Does anybody have any ideas how to make a seamless transition when looping?

Technical details: My VE is set up using a timer running at 60Hz since there are a lot of scripted events. I've tried several iterations of the sound code, including a version (inside the timer definition) that only initiates the loop once:

if whiteNoiseInit == 0:
soundWhiteNoise.play()
soundWhiteNoise.loop(viz.ON)
whiteNoiseInit = 1

I've also tried a version that simply tells it to play, since it's iterating anyway. And I've tried a version that initiates the sound loop outside the main timer function. All have this weird popping. Ideas? Thanks!
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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


All times are GMT -7. The time now is 03:38 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC