开云体育

Locked Re: Making VSD Files and Config - Volume question #vsdecoder


 

Phil,

Am 28.11.2019 um 18:45 schrieb Phil in gorgeous Young Harris via Groups.Io:
Howdy all. In my latest rabbit hole, I am putting a mini wifi camera (SQ23) on a train and plan to have an Engineer in another room run the train with the help of local Switchmen and Conductor (on the ground at the train; no radios, just hand signals like 1950). My friend said it would be cool if there was audio of the train too, so I embarked on a VSD trail.
The train will be using an Alco S-1, and while I have gotten the examples to work, I wanted an Alco, so I am making a vsd file for that.? I have the sounds and steps for Idle, Notch 1 and Notch 2 and for notching up and down, and I also have the Bell (F1), the Horn (F2), added a Shorthorn (F3).
It's a good decision to make a try with VSD! Sound enriches our hobby.
I think you're very close to a good VSD file. I'm just gonna make a few recommendations.


The problem I am having is the volume.? I can edit the sound files and manually change any I need (they are all normalized at -1db), but I thought (apparently incorrectly) that the "gain" in the config file would adjust the volume of the various pieces.
Right, the "gain" parameter is used to adjust the volume of the different sound files like the Bell, Horn, and so on. For engine sound however "engine-gain" is used instead of "gain". Engine sound covers the start and the stop sound, the idle sound and all the notch sounds. Default engine-gain is 0.8 (from a range of 0.0 to 1.0). Engine-gain = 0.0 would mute the engine sound.


I have posted my project in the ProblemsBeingWorkedOn/Phil Abernathy files section if someone wants to look. It sounds really cool, but the prime mover is far too loud, while the horn is too soft, and I don't have many notches (although it will be used for Yard switching, and may not use many notches).
Thanks for the upload! That was very helpful.

I recommend to reduce the volume of the prime mover sound with your audio editor. Yes, the horn is too soft. You could try to increase the volume in config.xml, e.g. gain = 1.2 (or reduce the engine sounds, e.g. engine-gain = 0.6).

You mentioned that "16 bit, 47khz" is not working for you. JMRI supports 16 bit, 44100Hz. Please check your rate value of 47khz! Class64.vsd is working with 16 bit, 44100Hz chuff sounds.

Klaus

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