Developer
The "Bass and Drum" application was developed by Kyle, Jumin, Simon, Kevin on November 12th, 2015.
Download
Design
The application functions as following:
"When the User clicks on one of the drum in the screen, the button plays a unique sound.
The user can click on the start recording button to record his or her unique voice and rhythm.
When finished, user may click on the stop recording button to save what he or she done.
When the play recording button is clicked the app automatically plays the recored sound.
The user may repeat the following instruction to delete the previous recording and start a new one."
"When the User clicks on one of the drum in the screen, the button plays a unique sound.
The user can click on the start recording button to record his or her unique voice and rhythm.
When finished, user may click on the stop recording button to save what he or she done.
When the play recording button is clicked the app automatically plays the recored sound.
The user may repeat the following instruction to delete the previous recording and start a new one."
Componenents
Horizontal Arrangement: The layout formats the button in the vertical layout.
BassDrum Button: The button plays a sound of a bass drum when clicked.
FloorTom Button: The button plays a sound of a floor tom when clicked.
SnareDrum Button: The button plays a sound of a snare drum when clicked.
HangingToms Button: The button plays a sound of a hanging tom when clicked.
HitHat Button: The button plays a sound of a hit hat when clicked.
CrashCymbal Button: The button plays a sound of a crash cymbal when clicked.
RideCymbal Button: The button plays a sound of a ride cymbal when clicked.
SplashCymbal Button: The button plays a sound of a splash cymbal when clicked.
ChinaCymbal Button: The button plays a sound of a china cymbal when clicked.
Text Box: The text box is used with the button component, but does not display the text.
StartRecording button: The button starts the sound recorder when clicked.
StopRecording button: The button stops the sound recorder when clicked.
PlayRecording button: The button plays the saved player from TinyDB1 storage.
Sound Recorder: A multimedia component that records the audio.
TinyDB1: Stores data of the recorded sound in the Player 10.
BassDrum Button: The button plays a sound of a bass drum when clicked.
FloorTom Button: The button plays a sound of a floor tom when clicked.
SnareDrum Button: The button plays a sound of a snare drum when clicked.
HangingToms Button: The button plays a sound of a hanging tom when clicked.
HitHat Button: The button plays a sound of a hit hat when clicked.
CrashCymbal Button: The button plays a sound of a crash cymbal when clicked.
RideCymbal Button: The button plays a sound of a ride cymbal when clicked.
SplashCymbal Button: The button plays a sound of a splash cymbal when clicked.
ChinaCymbal Button: The button plays a sound of a china cymbal when clicked.
Text Box: The text box is used with the button component, but does not display the text.
StartRecording button: The button starts the sound recorder when clicked.
StopRecording button: The button stops the sound recorder when clicked.
PlayRecording button: The button plays the saved player from TinyDB1 storage.
Sound Recorder: A multimedia component that records the audio.
TinyDB1: Stores data of the recorded sound in the Player 10.
Event Handlers
- Bass drum click event: When bass drum is clicked, call bass drum to start.
- China cymbal click event: When china cymbal is clicked, call china cymbal to start.
- Crash cymbal click event: When crash cymbal is clicked, call crash cymbal to start.
- Splash cymbal click event: When splash cymbal is clicked, call splash cymbal to start.
- Ride cymbal click event: When ride cymbal is clicked, call ride cymbal to start.
- Snare Drum click event: When snare drum is clicked, call snare drum to start.
- Hanging toms click event: When hanging toms is clicked, call hanging toms to start.
- Hit hat click event: When hit hat is clicked, call hit hat to start.
- Sound recorder event: After sound recored, call TinyDB1 tag text box to text, value to store get sound.
- Start recording click event: When start recording button is clicked, call sound recorder 1 to start.
- Stop recording click event: When stop recording button is clicked, call sound recorder 1 to stop.
- Play recording click event: When plat recording button is clicked, set player 10 source to call tinyDB1 get value, tag text box 1 to text, value tag not there " ". Call player 10 to start.
Development Process
I've realized that life may try to put bars around you, but at the same time I've learned that the Light will never cease to seep through the open cracks when you need it most. Strive on. The process of designing the components was solvable until we came up with an idea of putting a fresh new function in to the app. Half of the blocks were just an imitation of our previous "Martin Luther King" application. In class, with a short amount of time I came out with a thought of inserting a recording function to our drum and bass application. Through youtube I found solution, I tried my best to keep the blocks pure as possible. We succeeded on making the app by chance.
Download
assignment__1_.apk | |
File Size: | 1585 kb |
File Type: | apk |
Source
Using TinyDB to store sound recording - App Inventor 2 (YouTube)
https://www.youtube.com/watch?v=95CZHshnsMg
https://www.youtube.com/watch?v=95CZHshnsMg