Home Tutorials Hints & Tips

Android Sine Wave Synthesis

Part 2 - Project Framework

Preceding tutorials in this series:

Tutorials in that series that follow:

In this tutorial we will build the project framework. The project consists on a single activity and layout file with a separate class for all of the wave generation methods. Prior starting the next tutorial you should have a launcher Activity (MainActivity.java), A black class for the sine wave methods (PlayWave.java) and single layout file (main_activity.xml). Your launcher Activity should look similar to he one below.

The layout file contains an EditText for you to enter the frequency, a ToggleButton to turn the sound on and off, and a TextView to display the frequency and should look similar to the one below


Download Download the Project files



Privacy and Cookies Disclaimer Copyright
© 2015 - 2018 North Border Tech Training All rights reserved