Compile and run on phone
Make sure audio files are in /Internal storage/Android/data/com.dobi.walkingsynth/files/Music/kick_80.wav, seems to be the way to get the file picker to work.
Timestamps for steps and onsets will be logged in UNIX epoch miliseconds every time the stop button is triggered (the music is stopped).
=== ARCHIVE BELOW===
Update as for date 05.11.2017 - the WalkingSynth has undergone several architectural changes in order to facilitate the latest Android design patterns and architecture suggestions. This means that the project uses:
- Dagger2 for Dependency Injection
- Butterknife
- MVP pattern for sepratation
- RxJava2 for handling accelerometer values
- Fantastic 3d praty Horizontal Wheel View for displaying current note
- Custom Picker Views created with the help of recycler view
IMPORTANT! => Csound libraries are .so libraries which are compiled binaries for armeabi and armeabi-v7a cpu ABIs.
This is an Android app for playing and generating music while walking. It keeps track of the leg movement pace and plays music based on that. It counts the steps quite precisely, so this could also serve as pedometer. It comes with particular version of compiled Csound library as *.so files.
- Mobile device's accelerometer
- Csound library - Csound GitHub
- Achartengine for plotting
- Creating melodies from musical scales to play (Pentatonic / Flamenco / Major / Minor) based of different tempo based on the pace of your walk
- Musical interlude (notification) after certain amount of steps made
- Adjustable step detecton threshold for different legs' pace
- Step counter (pedometer)
- Counting elapsed time (Java's Timer class)
- Working upon accelerometer data (it is plotted as the blue line in the chart)
- Saving/Restoring musical parameters (note, scale, intervals for interludes)
- Saving current threshold for step detection algorithm
- Step detector using custom algorithm
- Music analyzer (it contains tempo validator)
- Music sequencer for playing Synthesizer and Drums melodies
- Reverb and delay effects
- Written in Android Studio 3.0
- Tested on Google Nexus 7 2013 API 22 (5.1.1), OnePlus5 (7.1.1)
- Software under MIT License
- Michał Dobrzański
- [email protected]
- This is my personal software project created with passion to the music.
- I explored the depths of csound language, which seems to be very poweful in terms of music generation.