Skip to content

Commit

Permalink
remove old docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellkammer committed Aug 5, 2023
1 parent aab098e commit c660e71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions docs/core.rst
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,4 @@ Table of Contents
workspace
Input / Output (import/export to musicxml, lilypond, MiDI, ...) <coreio>
Pure Notation <symbols>
Miscellaneous Tools <coretools>


5 changes: 0 additions & 5 deletions docs/coretools.rst

This file was deleted.

4 changes: 3 additions & 1 deletion maelzel/core/playback.py
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,9 @@ def _schedFlatEvents(renderer: RealtimeRenderer,
else:
if (prevalue := point.prevalue) is None:
prevalue = instr.namedParams().get(point.param)
assert prevalue is not None
if prevalue is None:
raise ValueError(f"Default value for {point.param} not known, "
f"default values: {instr.namedParams()} (instr={instr})")
pairs = [0, prevalue,
point.time - point.pretime, point.value]
synth.automate(param=point.param, pairs=pairs, delay=point.pretime)
Expand Down

0 comments on commit c660e71

Please sign in to comment.