@gencreator/sound
v0.1.0
Published
Unified sound and audio intelligence engine: multi-model prompt compilation, mastering release gates, and catalog graph.
Maintainers
Readme
@gencreator/sound
Unified sound and audio intelligence engine: multi-model prompt compilation, mastering release gates, and catalog graph.
Part of the GenCreator Ecosystem.
Features
- Multi-Model Prompt Compilation: Compiles structured musical ideas into targeted, tag-optimized prompt blocks for Suno, Udio, ElevenLabs, and MusicGen.
- Mastering Release Gate: Verifies compliance with industry streaming standards (EBU R128 / Spotify / Apple Music: target -14.0 LUFS integrated, True Peak <= -1.0 dBFS, LRA dynamic range).
- Catalog & Intake Registry: Tracks ISRC/ISWC codes, BPM, musical key, multi-track stems, and artist metadata.
- Royalty Split Contracts: Cryptographic-friendly royalty shares and percentage validation.
Installation
npm install @gencreator/sound @gencreator/coreQuick Start
1. Compile Song Prompt
import { compileAudioPrompt } from '@gencreator/sound';
const prompt = compileAudioPrompt({
title: 'Neon Horizon',
targetEngine: 'suno',
structure: {
genre: 'Synthwave',
subgenres: ['Outrun', 'Cyberpunk'],
bpm: 120,
key: 'Am',
mood: ['driving', 'nostalgic', 'cinematic'],
instruments: ['analog synth', 'drum machine', 'bassline'],
vocalStyle: 'male'
},
lyrics: [
{ tag: 'Verse', lines: ['Streets of chrome under neon rain', 'Racing ghosts in the passing lane'] },
{ tag: 'Chorus', lines: ['We fly into the neon night', 'Chasing shadows into the light'] }
],
tags: ['80s', 'retro', 'anthem']
});
console.log(prompt.stylePrompt);
console.log(prompt.lyricsPrompt);2. Verify Mastering Release Gate
import { verifyMasteringGate } from '@gencreator/sound';
const report = verifyMasteringGate({
integratedLufs: -14.1,
truePeakDbfs: -1.2,
loudnessRangeLu: 8.4,
sampleRateHz: 48000,
bitDepth: 24
});
console.log('Release Gate Passed:', report.passed); // true
console.log('Quality Score:', report.score); // 100License
MIT © Frank Riemer
