Ambia-Sound-Generator

Basierend auf dem sehr inspirienden Projekt „LAYSIE“ vom MAKE-Magazin hier eine Variante, die ohne Lyrics auskommt. Die Laysie-Song-Ergebnisse sind ja für einen Moment lustig, vor allem weil die eingesprochenen Texte sehr schnell und unmittelbar in Musik umgesetzt werden. Aber Songs, also Musik mit Text, ist mir eher zu langweilig. Meine Idee von einem Track-Generator, also Sounds ohne Text, kommt sogar mit weniger Ressourcen aus, man braucht die Claude- und Whisper-APIs nicht, nur Suno, der über KIE.AI verwaltet wird.
Hardware besteht hier aus einem Piunora-Carrier-Board plus CM4-Modul, Waveshare-OLED und dem Standard-Rotary-Encoder KY-040, den man immer rumliegen lassen sollte.
Raspberry Pi 4 oder CM4-Module sind für diese Anwendung total ausreichend, die LAYSIE-Software fängt schon nach ca. 10 Prozent des Renderings an, den fertigen Sound zu streamen, das ist extrem zeitsparend. Das OLED-Display kann hier das komplette Menü abbilden, das ist ein grosser Unterschied zum LAYSIE-Display, einem 16×2-LCD-Modul. Die Audio-Ausgabe über Bluetooth ist manchmal hakelig, aber das liegt ganz klar an dem Unterschied von eigens gebauten Bluetooth-Speaker und gekauftem Bluetooth-Speaker.
Die Ergebnisse sind ganz annehmbar, nächster Schritt wäre, die alle in ein Radio-Verzeichnis zu schieben, um sie im lokalen Radio verfügbar zu haben.



Hier ein Auszug aus meiner config.py (hier die originale config.py), nicht vergessen, es gibt bei KI-Anwendungen keine Liste mit den verfügbaren Parametern, die sind nur wichtig für Menschen.


PARAMS = [
{
# Replaces "Tempo/BPM": ambient here is always beatless, so this
# controls how fast the SOUND evolves, never a pulse or BPM.
"id": "MOTION",
"label": "Motion",
"letter": "M",
"options": [
{"display": "Motionless", "value": "static and motionless, one held drone, no movement"},
{"display": "Glacial", "value": "glacial, extremely slow evolution"},
{"display": "Slow drift", "value": "slowly drifting and morphing"},
{"display": "Flowing", "value": "gently flowing and shifting textures"},
{"display": "Shimmering", "value": "shimmering, actively moving surface, still beatless"},
],
},
{
"id": "ENERGY",
"label": "Energy",
"letter": "E",
"options": [
{"display": "Calm", "value": "calm, meditative, minimal, spacious"},
{"display": "Warm", "value": "warm, gentle, softly flowing"},
{"display": "Deep", "value": "deep, immersive, dense evolving layers"},
{"display": "Dark", "value": "dark, brooding, ominous, dronal"},
{"display": "Uplift", "value": "uplifting, luminous, hopeful, airy"},
],
},
{
"id": "TEXTURE",
"label": "Texture",
"letter": "X",
"options": [
{"display": "Synth pads", "value": "lush analog synth pads"},
{"display": "Drones", "value": "sustained drones and tape hiss"},
{"display": "Choir", "value": "ethereal wordless choir pads"},
{"display": "Field rec", "value": "field recordings, rain and nature textures"},
{"display": "Warm tape", "value": "warm analog tape loops, wow and flutter"},
{"display": "Rhodes", "value": "mellow Rhodes electric piano"},
{"display": "Guitar amb", "value": "ambient guitar swells with reverb and delay"},
{"display": "Harp", "value": "gentle plucked harp"},
{"display": "Music box", "value": "delicate music box melody"},
{"display": "Marimba", "value": "soft mallets and marimba"},
{"display": "Kalimba", "value": "kalimba thumb piano patterns"},
{"display": "Handpan", "value": "resonant handpan / hang drum"},
{"display": "Cello", "value": "solo cello, long bowed notes"},
{"display": "Brass pad", "value": "soft muted brass pads"},
{"display": "Flute", "value": "breathy flute and woodwinds"},
{"display": "Bowls", "value": "singing bowls and gongs"},
{"display": "Water", "value": "flowing water and underwater textures"},
{"display": "Wind", "value": "wind, distant weather, open air"},
{"display": "Vinyl", "value": "dusty vinyl crackle and lo-fi hiss"},
{"display": "Granular", "value": "granular synthesis, shifting micro-textures"},
{"display": "Modular", "value": "west-coast modular synth bloops and drift"},
{"display": "Sub bass", "value": "deep sub-bass drone foundation"},
{"display": "Organ", "value": "slow church organ / harmonium"},
],
},
{
# Only formless arcs here — anything sectional or rhythmic
# (build, call-response, AB, stutter) was removed on purpose.
"id": "STRUCTURE",
"label": "Structure",
"letter": "S",
"options": [
{"display": "Suspended", "value": "suspended, static, timeless drone bed, no sections"},
{"display": "Static loop", "value": "one static hypnotic evolving loop, no sections"},
{"display": "Drifting", "value": "aimless drifting, no clear sections"},
{"display": "Layering", "value": "gradually layering elements one by one, no sections"},
{"display": "Bloom", "value": "sparse opening that slowly blooms into density"},
{"display": "Decay", "value": "starts full then slowly strips back to silence"},
{"display": "Tidal", "value": "tidal ebb and flow of a single sound field"},
{"display": "Sunrise", "value": "dark opening warming gradually into brightness"},
{"display": "Fade in/out", "value": "very long fade in and very long fade out"},
{"display": "Cyclic", "value": "one cyclic motif that mutates continuously"},
],
},
]