(BS) Ringtone composer (music maker) [AF16]

by Brendan Silva

Version 15 (April 22, 2025)

Download (58 downloads)

Tested on Android KitKat, Oreo, and Upside Down Cake. This flowchart generates small audio samples (unsigned 8000Hz PCM) to simulate a slow, imperfect, very limited — yet fun — music composition program. Additional ringtones will be included in future flowchart updates.

─── 𝗜𝗺𝗽𝗼𝗿𝘁𝗮𝗻𝘁 ───

A folder named "AutomateSoundCache" will be created at the root of your SD card. It stores temporary audio samples that significantly accelerate the music rendering process.

📥 If you prefer, you can download all rendered audio files from the link below:
https://github.com/BrendanSilva/Miscellaneous-files/blob/main/ringtone_composer_cache_cch.7z

After downloading, extract all .cch files into the "AutomateSoundCache" folder.

─── 𝗙𝗹𝗼𝘄 𝗹𝗼𝗴𝗴𝗶𝗻𝗴 ───

All caching operations are logged, which may cause the log file to grow considerably. Therefore, it is strongly recommended to disable flow logging.

─── 𝗖𝗼𝗺𝗽𝗼𝘀𝗶𝗻𝗴 ───

Musical notes must be written in the following format (without quotes): "octave,name,duration". Notes should be entered in sequence, separated by spaces.

You may use 7 octaves and the following notes: C, D, E, F, G, A, B. For semitones, include: Cs (C#), Ds (D#), Fs (F#), Gs (G#), and As (A#). The pseudo-note "R" generates static noise, ideal for simulating short beats. To create pauses in your composition, insert the pseudo-note "N" for silence.

The duration is based on the relative length of the sample, which ranges from 1 (62 ms) to 16 (1 second).

─── 𝗘𝗱𝗶𝘁𝗶𝗻𝗴 ───

Create a file named "melody.txt" and place it in the cache folder. Any plain text editor can be used to modify your music. Within this file, comments can be added using "//".

──────

Tags: 8-bit, af16, algorithm, apps, audio, chiptune, chorus, coding, composer, composition, creation, custom, digital, distortion, diy, editing, editor, effect, encoding, eq, equalization, game, groove, instrument, maker, melody, midi, mod, monotone, mp3, music, musical, note, ogg, pcm, phaser, pitch, pitcher, playback, processing, production, recording, rendering, retro, reverb, ringtone, sampler, samples, sequencer, sound, synth, synthesizer, text, tool, waveform

𝑭𝒍𝒐𝒘𝒄𝒉𝒂𝒓𝒕 𝒃𝒚 𝑩𝒓𝒆𝒏𝒅𝒂𝒏 𝑺𝒊𝒍𝒗𝒂
https://www.buymeacoffee.com/brendansilva

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.