Performance = s.stop_transcribing() What IS performance?

This is the standard way to save your performance. You can Print it out, so does that mean it is text? What exactly is it? I want to write my own values (not using SCAMP) and pass it to performance.to_score().show() so that I can print it with Lilypond.

If all you’re interested in is producing LilyPond, it’s probably better to just directly use the abjad library, which SCAMP uses under the hood. If you want MusicXML, you can use pymusicxml, which is part of SCAMP, but distinct from it.