This app allows you to have the power of a lightsaber, or at least the sounds of one. The app features 3 buttons, each of which play different sound effects. If you tap on the blue lightsaber, an audio clip of the lightsaber activating plays, followed by humming. If you tap on the red lightsaber, an audio clip of that lightsaber activating plays, also followed by humming. By tapping of the third button, the picture of two lightsabers colliding, you can hear an audio clip of two lightsabers colliding in combat. Each audio clip can be paused by tapping on the same picture again, so if you tap the blue lightsaber, the audio will play, and if you tap it again, the audio will be stopped.
​https://youtu.be/iMTv69YIcG0
Reflections
1. In this lesson, you created your own sound board app. Give a brief description of it here. Describe its theme, if it has one, and what particular sounds (music or speeches) it plays. My app is a Star Wars lightsaber sound effect sound board. It features three buttons, each of which have different sound effects. One of them plays an audio clip of Luke Skywalker's lightsaber, one plays an audio clip of Kylo Ren's lightsaber, and the last button plays an audio clip of two lightsabers colliding.
2. Describe how you designed your app's UI. What components does it use? My app features 3 buttons with images in a vertical arrangement, 6 players, and a background.
3. Now that you've had some experience building apps in App Inventor, what do you think about programming. Is it a creative activity? In what ways does it allow you to express yourself? I think programming is a very creative and thought provoking activity. It is fun to do and it is quite satisfying when you finally get something to work perfectly. You can express yourself however you want with it, but you have to put some time into it.
Coding The app uses three event handlers. To start one of the events, the user must click on one of the three buttons, the Skywalker_Button (the picture of the blue lightsaber), the Kylo_Button (the picture of the red lightsaber), and the Contact_Button (the picture of the two lightsabers colliding). When one of the buttons is clicked, the players linked to their respective button will begin to play. The code works like this; when you tap on a button all other plays are stopped, then the app checks if the players linked to the tapped button are playing already, if they are then they will be paused, but if they are not then they will begin playing.