Lirik
Analisis
Generate a song to see its rhyme scheme and syllable counts.
Rima rhyme explorer
Syllables and rhyme keys are computed, never guessedBagaimana ia berfungsi
The generator works backwards from the rhyme. For each stanza it picks a rhyme scheme, chooses one rhyme key per group, then chooses the end word before anything else — because the end word is the only word in a line that cannot move. Only then does it choose a sentence template whose final slot accepts that word.
- Skema rima — AABB, ABAB, ABBA, AAAA… per section.
- Kunci rima — one key per group, chosen from keys the theme can actually serve.
- Kata akhir — the end word, from that key's bucket.
- Templat — a typed Malay frame that can end on that word.
- Suku kata — slots padded to hit the line's syllable target.
Pilihan — the options
Each option changes what the engine is allowed to build, so it is enforced in code rather than only suggested to the model:
- Panjang baris — scales every section's syllable target, clamped to 4–14 so a line stays singable in one breath.
- Rima —
ketatneeds an exact rime;longgaraccepts assonance, asmalam/jalan/pandang. - Emosi — filters the emotional vocabulary at the end
word as well as in the line, so a
ceriasong cannot land its rhymes onsendu. - Skema rima —
ikut bentukkeeps each form's own scheme;campurlets every section draw its own at random, so one verse comes out AABB and the next ABAB. - Penyanyi —
solois one voice.duetsplits the song between two singers: the verses alternate and the chorus is sung together. The performer is written into each section label ([Verse — Aiman],[Chorus — Both]) and checked there, so a song cannot claim a duet it did not write.
Duet
A duet needs at least two verses, because the alternation between the two
singers is the duet. Asking for one on a single-stanza form like
satu rangkap is refused rather than quietly downgraded to a
solo wearing duet labels.
Rap
Three forms include a spoken rap section:
rap, rap_hook and rap_bridge. A rap
section draws on its own template pool, written in the colloquial register
rap uses, and carries the densest syllable target in the app — a rap flow
needs syllables to fill the beat. It is still held to the same contract:
the rhyme word is chosen first and the metre is measured.
An unknown value is refused rather than quietly replaced, so the options shown under the song always describe the song you are reading.
Dua enjin — two engines
| Terbina (built-in) | AI | |
|---|---|---|
| Kunci API | tidak perlu | perlu (.env) |
| Kelajuan | ~30 ms | ~2–15 s |
| Skema rima | dijamin | disahkan, dibaiki, atau diganti |
| Deterministik | ya | tidak — benih menetapkan kontrak, bukan teks |
The AI writes the lines, but it does not get to decide what rhymes. It is handed the rhyme groups and a list of end words that the language rules have already confirmed, then its reply is re-analysed from the text and compared against that contract. Broken lines get one targeted repair; if it still fails, Auto falls back to the built-in engine and says so, while AI only shows you the result with its warnings.
Measured over 24 songs on a live gateway: 75% pass verification outright, 97% of rhyme pairs are correct, and 96% of lines land within ±2 syllables.
Malay specifics
- Syllables are near-regular: one vowel per syllable, with a
word-final diphthong (ai, au, oi) counting as one. So
pantaiis 2, butairis 2 as well — theaithere is a hiatus (a-ir), not a diphthong. - Rhyme is judged on the final syllable, since Malay has no
stress.
malam/dalamrhyme (-am);-am,-anand-angdo not. - Affixes are preserved and re-applied:
a transitive root takes meN- (
peluk→memeluk), while an intransitive one stays bare (pulang→pulang). - Reduplication is meaningful and preserved
(
anak-anak).