# SoundAircraft The `SoundAircraft` aircraft is a preset of the [WASMAircraft](../wasmaircraft/) **modular aircraft**, and includes a minimal set of files to set up an aircraft to play sound effects based on user interaction. Once the {{< glossterm >}}wasm{{< /glossterm >}} Aircraft package has been built, this module will be available for flying from the aircraft selection screen: {{< image-center src="images/7_Samples_Tutorials/Samples/WASMAircraft/SoundAircraft/sound_1_aircraft.png" alt="Selecting The Sound Aircraft In The Simulation" >}}   The `WasmModules.sln` file (found in the `Sources` folder of the project) will allow you to compile the source-code with Microsoft Visual Studio (2019 or 2022) in order to create the `SoundAircraft.wasm` WebAssembly module which will then be loaded by the simulation. Once compiled, the module will automatically be copied into the following folder: \[ROOT\]\(PackageSources\)SimObjects\(Airplanes\)MyCompany\_Wasm\_Aircraft\(presets\)mycompany\(SoundAircraft\)panel   Note that if you make changes to the C++ code and recompile the sound WASM module, you will have to build your package again. This *can* be done while the plane is used within the simulation.     ### Testing Once you start a flight using the sound aircraft preset, you will be presented with 3 "glass cockpit" screens which can be interacted with. The first will do nothing (it is provided as a "template") and the other two will play sound effects when clicked. You can stop the sound on the third screen by clicking it again: {{< image-center src="images/7_Samples_Tutorials/Samples/WASMAircraft/SoundAircraft/sound_2_glasscockpit.png" alt="The Cockpit Interior Of The Charts Aircraft" >}}