¿ªÔÆÌåÓý

Locked Re: Making A VSD File -- Was: Virtual Sound Decoder - Clicks on looped sound files


 

Steve,

Looks like you are good to go.? ready to step into the swamp.? My technique (which, when I don't follow it, leads to disaster) is as follows

copy and paste a BACKUP loco.vsd folder. I CANNOT STRESS THIS ENOUGH.??
make two desktop folders - one "vsd-zip" and the other "loco_blah_blah"
put the loco.vsd folder into the empty "vsd-zip" folder.
vsd is just an extension of a zip file so rename .vsd to .zip
extract the zip flles
now you will see a sound folder, a config file and maybe a text file with copyright info.
copy and paste the sound folder and config file from the "vsd-zip" folder to the empty "loco" folder
in the "loco" folder, look at the sound files (.wav) - almost always 8 bit, 11KHz sample, uncompressed, mono.? the format of all sound files has to be the same.
add your sounds to the particular sub folder (common, engine, horn) AND add the same sounds to the sound folder in the "vsd-zip" folder by file copy and paste.??

tedious, but I sometimes get a vsd crash if I just copy and paste the whole sound folder from "loco" folder to "vsd-zip" folder.? your option though.

now for the config file - open it from the "loco" folder? with an XML editor and change the particular wav file that you are working with (say bell to double clap bell).
each action has its own .wav file.? some have start, run, end .wav files.? engines are more complicated.
this is (I think) javascript so every character counts: caps, lower case, spaces, dashes, etc.? It will drive you crazy.
bty <!--? blah, blah, blah --> can be used for notes.? also can be used to "blank" out whole sections of the script.
save the xml file.

status - "loco" folder has updated sound folder and a modified config file? ----? ?"vsd-zip" folder has an extracted sound folder (updated), an unmodified config file
and a text file (maybe).

copy/overwrite the modified config file to the "vsd-zip" folder.
??backstep?? the "vsd-zip" folder so you end up with loco.zip.? ????backstep??? what kind of techie term is that?
now you can run JMRI's VSDecoder.? the program will accept the .zip file (this saves a step as you go back and forth adding changes).
when finished or your brain starts to melt, rename the loco.zip to loco.vsd and move it to the "loco_blah_blah" folder
you will now have an empty "vsd-zip" folder and a "loco_blah_blah" folder with the loco.vsd folder, a sound folder and the config file.
run a train to chill.? whew!

Conrad

ps go slow, make one or two changes then see if program runs.??







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