A composition written out as formatted TuningFork.Part source.
Source.to_source(project)
Source.to_source(project, output: :wav)
Summary
Functions
The composition as source, or "" when no track is audible.
Functions
@spec to_source(TuningFork.Composer.t(), keyword()) :: String.t()
The composition as source, or "" when no track is audible.
The result is formatted and depends only on tuning_fork. The score is bound to a variable
named after the project; a name that would not compile as a variable is slugged, and a
project named "track" binds to song.
Options:
:output— what the last line evaluates to::score(the default) binds the score,:wavwrites<name>.wav,:kinoreturns aKino.Audio.