Ringtone composer (monotone music maker)

by Brendan Silva

Version 1 (July 5, 2022)

Download (5 downloads)

Tested on Android Oreo only. This flow generates small audio samples (unsigned 8000Hz PCM) to simulate a slow, imperfect and very limited but fun music composition program.

☛ Important:

A folder called "AutomateSoundCache" will be created at the root of the SD card. This is used to store temporary audio samples that help greatly speed up the music "export" process.

However, the caching of these files is all logged, making the log file very large. Therefore, it is highly recommended to disable flow logging.

☛ Composing:

Musical notes are written as follows, without quotes: "octave,name,duration". Write them in sequence, interspersed with white space.

It is possible to use 7 octaves for the notes: C, D, E, F, G, A, B and for the semitones/half-step: Cs (C#), Ds (D#), Fs (F#), Gs (G#), As (A#). A pseudo-note called "R" will generate static noise which is useful for simulating short beats.

The tone duration is based on the relative length of the sample, which ranges from 1 (shortest) to 16 (longest).

☛ Using a text editor:

Create a file called "melody.txt" and save it in the cache folder. You can use it to modify the composition with your favorite text editor. Lines starting with a comment marker "//" are ignored.