id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
204	Remove Audio Button from toolbar	jdalbey	sdanthin	"From my study of the Simulation Manager, it seems that CHP_RADIO is never handled by Sim Mgr.

So I assume that it is actually the CHP_RADIO tag which is the 'placeholder' that contains the text of the dialog.  I assume they exist in the xml script so they can appear to instructors in the EI Notebook.

The AUDIO tag is the one that tells Sim Mgr which file to play.

Sebastien and I are proposing to remove the ""Audio"" button from the Script Builder.

In the XML the Audio file name always seems to match the name of the CHP !RadioFile. 
We are concerned that allowing the user to enter the filenames creates a likelihood that the names will fail to match.  Or they might create the CHP tag but forget to create the corresponding Audio tag.

After considerable discussion we like the idea of having the !ScriptBuilder auto generate the AUDIO tag in the xml file based on the CHP !RadioFile name.  That way the program can ensure that the filenames always are consistent.

We imagine a workflow as follows.

 1. Using Script Builder, author creates incident 181 and adds a CHP Radio event.
 1. Author adds the ""Dispatch"" and ""Field"" dialog to the event.
 1. When the user saves the event, the Script Builder automatically generates a filename for the audio file: 18101.txt.
 1. Any subsequent CHP Radio events are assigned filenames sequentially: 18102.txt, 18103.txt, etc.
 1. When the incident is saved, the dialog for each CHP Radio event is placed (exported) in the associated .txt file in the ""audio"" folder.  An AUDIO xml tag is automatically added to the xml script with the same filename.
 1. In the recording studio, the ""audio"" folder contains all the files for which dialog needs to be recorded.  The dialog for 18101.txt is recorded into 18101.mp3, etc. 18103.mp3 is placed in the same folder as the .txt file.  (The .txt file can be discarded). (The mp3 files must be named according to their pre-assigned filenames.) The script is now ready to run in the Simulation Manager.
 1. If the script is subsequently edited in !ScriptBuilder, the CHP Radio events may be moved to different points on the timeline, but they will retain their originally assigned filename.
 1. If a CHP Radio event is deleted from the timeline, its associated AUDIO tag will be automatically removed from the xml."	task	closed	High	May 2021 Training	ScriptBuilder GUI		Minor	done		
