musicgen-lyria3
Generate 30-second music clips (default) or 2-3 minute full songs with the Lyria 3.5 model family from Google GenAI. Supports creating music with lyrics…
от palladius★ 45 звёзд на GitHub
Установить musicgen-lyria3 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Musicgen Lyria 3.5
Overview
Generate 30-second clips or full-length songs with Google's Lyria 3.5 family via the Gemini Interactions API (44.1 kHz stereo audio, structural coherence, vocals, and lyrics).
All generated MP3s automatically receive:
- 📜 Embedded Lyrics: Stored in standard
USLT(Unsynchronized Lyrics) and mirrored inCOMM(Comment) for 100% player/device compatibility. - 👤 Default Artist Avatar: Incorporates the official Drake Riccardo Meme Clean NO (
assets/drake_riccardo_artist_default.png) as Artist Picture (APICType 8). - 🏷️ ID3v2.3 Metadata: Artist (
Riccardo C feat. Google Lyria 3), Title, Album, Year, andTXXX:AI_TOOL. - 📝 Sidecar Text File: Matching
<output>.txtsaved alongside the.mp3.
Models & Scripts
| Model | Model ID | Best for | Duration | Bundled Script |
|---|---|---|---|---|
| Lyria 3 Clip | lyria-3-clip-preview |
Short clips, loops, previews | ⏱️ 30s | scripts/musicgen-lyria3-30sec.py (Default) |
| Lyria 3.5 | lyria-3.5 |
Full songs (verses, choruses, bridges) | 🎵 2–3 min | scripts/musicgen-lyria3-2min.py |
scripts/musicgen-lyria3-list.py: List available audio/music models.scripts/analyze_meter_timeline.py: DSP Musical Meter & Time-Signature Autocorrelation Analyzer (4/4vs3/4-6/8vs5/8vs7/8) + Interactive Multitrack HTML DAW Generator.
Storage & Tagging Rules
- Output audio is saved as
<output_path>.mp3. - MANDATORY: Lyrics and metadata MUST ALWAYS be saved in the exact same folder as the audio file with the exact same base name (e.g.,
assets/song_v2.mp3➔assets/song_v2.txt). - Tagging Flags:
--title "My Custom Song Title"(defaults to filename without underscores)--artist "Riccardo C feat. Google Lyria 3"(default)--album "My Album Name"--cover "path/to/cover.png"(embeds as Front Cover Type 3)--artist-image "path/to/artist.png"(defaults to Drake Riccardo Clean NO meme)
Example Usage
# 30-sec clip with auto ID3 & embedded lyrics (Default)
uv run scripts/musicgen-lyria3-30sec.py -o "assets/music/clip" -p "A synth-pop song: 'Electrified, living for the night.'"
# Full song with Lyria 3.5 and custom album/cover
uv run scripts/musicgen-lyria3-2min.py -o "assets/music/song" --cover "assets/images/cover.png" -p "An energetic pop-rock anthem: 'Full lyrics here...'"
# Tokenize musical time signatures (4/4, 3/4, 5/8, 7/8) & build an Interactive Multitrack HTML DAW
python3 scripts/analyze_meter_timeline.py --mp3 "assets/music/song.mp3" --title "My Prog Song"
Musical Meter & Interactive Multitrack HTML DAW (analyze_meter_timeline.py)
When the user asks whether an AI-generated track actually obeys odd time signatures (5/8, 7/8, 13/8) vs. binary/ternary (4/4, 3/4, 6/8), or wants a clickable multitrack timeline visualization of meter transitions:
- Run
python3 scripts/analyze_meter_timeline.py --mp3 <path/to/song.mp3>(or run--help/ inspect the top-of-file docstringhead -n 75 scripts/analyze_meter_timeline.pyfor full DSP architecture details). - The script automatically extracts a 50 Hz Onset Flux envelope, separates 3 IIR frequency stems (
🥁 Bass & Drums < 260 Hz,🎹🎤 Mellotron/Organ/Vocals 260–2800 Hz,🎸 12-String/Hi-Hats > 2.8 kHz), computes sliding-window harmonic autocorrelation across4/4,3/4 (6/8),5/8, and7/8, aligns.srtsubtitles, and outputs:<basename>_meter.json: Tokenized per-second meter probabilities and transition blocks.<basename>_meter_player.html: Self-contained interactive HTML DAW with embedded audio, click-to-jump transition pills (Pre-Roll -2s), real-time WebAudio BiquadFilterSolo/Muteper stem, and a synthesized live smart metronome (1046 Hzdownbeat +523 Hzsubdivisions).
Italian Phonetic Guidelines
AI singing models mispronounce unaccented Italian words. Always use explicit accents or spacing inline: Nicòla (not Nicola), Mòdena, Dàvide, Cacio Cavallo (spaced), mattacchióne, energìa (not energià), tecnologìa, fantasìa.
Karaoke & Subtitles (.srt / .lrc)
If the user asks for synchronized lyrics, teleprompter slides, or subtitles (.srt / .lrc) for karaoke, use Whisper via uv to align the audio to lyrics. For the step-by-step procedure, read references/karaoke_timeline_alignment.md.
Standalone Karaoke HTML Generation
When generating a karaoke HTML page from the aligned timestamps:
- Audio source: Always use the battezzata (chosen-one) version of the mp3, NOT a random version. Check for symlinks named
chosen-one-long.mp3/chosen-one-short.mp3. - Scrubbing progress bar: The karaoke HTML MUST include a clickable progress bar at the bottom of the page for REW/FF (rewind/fast-forward). Users must be able to click anywhere on the bar to jump to that position in the song. Also support Arrow Left/Right keys for
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- CHANGELOG.md
- VERSION
- assets/drake_riccardo_artist_default.png
- lyria_music/20260415/die_verfolgung_song.mp3
- lyria_music/20260415/die_verfolgung_song.txt
- lyria_music/20260415/in_bocca_al_lupo_ale.mp3
- lyria_music/20260415/in_bocca_al_lupo_ale.txt
- lyria_music/20260415/riccardo_martijn_song.mp3
- lyria_music/20260415/riccardo_martijn_song.txt
- lyria_music/20260416/alessandro_school_hero.mp3
- lyria_music/20260416/alessandro_school_hero.txt
- references/karaoke_timeline_alignment.md
- scripts/analyze_meter_timeline.py
- scripts/jingle-vacanze-pasqua.mp3
- scripts/jingle-vacanze-pasqua.txt
- scripts/musicgen-lyria3-2min.py
- scripts/musicgen-lyria3-30sec.py
- scripts/musicgen-lyria3-list.py
- scripts/musicgen-lyria3_test.py
- scripts/pokemon-adventure-song.mp3
- scripts/pokemon-adventure-song.txt
- scripts/sebi-gnam-gnam-land.mp3
- scripts/sebi-gnam-gnam-land.txt
- scripts/sebi-hot-wheels.txt
- scripts/sebi-lido-estensi.mp3
- scripts/sebi-lido-estensi.txt
- scripts/sebi-test.txt
- scripts/seby-6-anni.mp3
- scripts/seby-6-anni.txt
FAQ
Что делает скилл musicgen-lyria3?
Generate 30-second music clips (default) or 2-3 minute full songs with the Lyria 3.5 model family from Google GenAI. Supports creating music with lyrics, vocals, and specific genres from text prompts. Automatically embeds rich ID3v2.3 tags (lyrics in USLT/COMM, default Drake Riccardo meme artist avatar, album, metadata) and saves matching lyrics (.txt) in the same directory.
Как установить скилл musicgen-lyria3?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл musicgen-lyria3 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…