Hello Tim,
Creating a clean loop sound could be challenge. I also have the experience that taking a zero crossing point may be insufficient.
Another cause for a "bad click" could be a bug in a JMRI audio library. That issue was resolved in JMRI 4.3.2. So, please update, if you have installed an older version.
On the XML config file.
Right, the fade-in-time and fade-out-time is set in milliseconds. But it's not yet implemented in Diesel sounds.
As a reference to the XML commands may be helpful:
-
-
Have you already tried the EMD_645_Turbo.vsd (for a download see )? There is a slight click on notch 2, but other notches are fine.
Klaus
Am 22.12.2018 um 21:35 schrieb Timothy Miller:
toggle quoted message
Show quoted text
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