Browse Source

adjust to new lss lib

master
Nils 2 years ago
parent
commit
f68fe71c9e
  1. 1
      configure
  2. 4
      engine/api.py
  3. 4
      engine/ccsubtrack.py
  4. 2
      engine/config.py
  5. 4
      engine/items.py

1
configure

@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
program=laborejo program=laborejo
cboxconfigure="--without-fluidsynth --without-libsmf"
version=2.0.2 version=2.0.2
. template/configure.template #. is the posix compatible version of source . template/configure.template #. is the posix compatible version of source

4
engine/api.py

@ -27,10 +27,8 @@ import random
random.seed() random.seed()
from typing import Iterable, Callable, Tuple from typing import Iterable, Callable, Tuple
#Third Party Modules
from calfbox import cbox
#Template Modules #Template Modules
from template.calfbox import cbox
import template.engine.api #we need direct access to the module to inject data in the provided structures. but we also need the functions directly. next line: import template.engine.api #we need direct access to the module to inject data in the provided structures. but we also need the functions directly. next line:
from template.engine.api import * from template.engine.api import *
from template.engine.duration import DB, DL, D1, D2, D4, D8, D16, D32, D64, D128, D256, D512, D1024, D_DEFAULT, D_STACCATO, D_TENUTO, D_TIE from template.engine.duration import DB, DL, D1, D2, D4, D8, D16, D32, D64, D128, D256, D512, D1024, D_DEFAULT, D_STACCATO, D_TENUTO, D_TIE

4
engine/ccsubtrack.py

@ -24,10 +24,8 @@ import logging; logger = logging.getLogger(__name__); logger.info("import")
#Standard Library Modules #Standard Library Modules
from weakref import WeakValueDictionary, WeakSet from weakref import WeakValueDictionary, WeakSet
#Third Party Modules
from calfbox import cbox
#Template Modules #Template Modules
from template.calfbox import cbox
import template.engine.duration as duration import template.engine.duration as duration
from template.engine.duration import D1, D4, D1024 from template.engine.duration import D1, D4, D1024
from template.helper import pairwise from template.helper import pairwise

2
engine/config.py

@ -58,6 +58,4 @@ maximum fine control to get exactly the music you want!
""" + "\n" + """ """ + "\n" + """
Working in Laborejo is very fast and efficient by using a combination of midi input and typing.""", Working in Laborejo is very fast and efficient by using a combination of midi input and typing.""",
"dependencies" : "\n".join("* "+dep for dep in ("Lilypond >= 2.19 (optional)", )),
} }

4
engine/items.py

@ -25,10 +25,8 @@ from fractions import Fraction
from weakref import WeakSet, WeakValueDictionary from weakref import WeakSet, WeakValueDictionary
from warnings import warn from warnings import warn
#Third Party Modules
from calfbox import cbox
#Template Modules #Template Modules
from template.calfbox import cbox
import template.engine.pitch as pitchmath import template.engine.pitch as pitchmath
import template.engine.duration as duration import template.engine.duration as duration
from template.engine.duration import DM, DB, DL, D1, D2, D4, D8, D16, D32, D64, D128, D256, D512, D1024, D_DEFAULT, D_STACCATO, D_TENUTO, D_TIE from template.engine.duration import DM, DB, DL, D1, D2, D4, D8, D16, D32, D64, D128, D256, D512, D1024, D_DEFAULT, D_STACCATO, D_TENUTO, D_TIE

Loading…
Cancel
Save