¿ªÔÆÌåÓý

Locked Re: Virtual Sound Decoder - Clicks on looped sound files


 

Hi Timothy,?
While my experience with jmri is very limited (so far), my professional expertise is in the audio realm. It is probably something like the decoder creating an endpoint in the waveform that didn't correspond to your zero crossing. Just chopping it randomly would very likely create a pop.

?If you'd like to email or post the file in question, I'd be happy to examine it for irregularities (if you feel it may be something in your original file).?

Another trick might be creating a cross fade at the suspected end/start point. ?

On Sat, Dec 22, 2018 at 4:19 PM Timothy Miller <tmiller@...> wrote:
Hello all,? I have had much success with the virtual sound decoder except in one area.? I have created my own decoder config and sound files and am having issues with the Looped throttle notch sounds having a very bad click as each loop restarts.? ?When creating my audio files, I was extremely careful to set my loop points at zero crossing points in the sound waves.? I checked the loop in my sound editor and everything was smooth. I have installed OpenAL as the directions state.? All functions work fine except the click in the output of the looped files.?

Is there a setting that may be causing the sound file to not start exactly at the beginning?
Is this a limitation to the OpenAL or the sound management system?

I noticed in the XML config file, there is a Fade in and Fade out setting.? I assume it is milliseconds.? The example scripts are set to 5.? I tried 0 and 10 with not noticeable changes.?

I also have looked for a reference to the XML commands for the sound decoder and found none.? I learned what I needed by studying the example config files.? ?

Any help here would be greatly appreciated.??
Tim




Timothy Miller

--
Andrew Roberts Potomac Sound LLC PO Box 223 Monrovia, MD 21770-0223 (301) 332-6111 Andrew@...

Join [email protected] to automatically receive all group messages.