Skip to content

SensiLab/PromptSynth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PromptSynth

Evolving Supercollider synths using Large Language Models

Background

Present :

  • Dependencies : Claude.ai API / Supercollider / Python

  • Steps :

    • Create Virtual Environment
    • Install Python Requirements
    • set export ANTHROPIC_API_KEY=
    • Set a prototype synth template_0.sc
    • Set prompt (used for every iteration) prompt.sc
    • Run oscCommands.sc in SC
    • Run next_sound.py in Python
  • How it works :

    • Hacked together as a very basic work flow
    • Send Claude : template_0.sc and prompt.sc
    • Claude returns some code : (and calls SC to load, interpret and play new Synth Definition code)
    • Each iteration is saved and loaded into SC, so every iteration is archived.

Description

Future :

  • Rag (Retrieval-Augmented Generation), MCP (Model Context Protocol) and general tooling.
  • Build more robust ‘play ground’ for testing LLM’s, workflows and prompting strategies.
  • Archive outputs : code, audio, error, analysis.
  • Automate automate automate : batch process all of it.
  • Local model version.
  • Looking for collaborators : ideas, techniques, code
  • Big dream : local model running on a RPI that generates continuous soundscape with prompting (text for now) that guides the composition.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published