Browse Source

adjust to new lss lib

master
Nils 2 years ago
parent
commit
6655913cc3
  1. 1
      configure
  2. 5
      engine/api.py
  3. 4
      engine/auditioner.py
  4. 2
      engine/config.py
  5. 4
      engine/instrument.py
  6. 4
      engine/main.py

1
configure

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

5
engine/api.py

@ -26,11 +26,8 @@ import logging; logger = logging.getLogger(__name__); logger.info("import")
from typing import List, Set, Dict, Tuple
import atexit
#Third Party Modules
from calfbox import cbox
#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:
from template.engine.api import *

4
engine/auditioner.py

@ -24,10 +24,8 @@ import logging; logger = logging.getLogger(__name__); logger.info("import")
#Python Standard Lib
#Third Party
from calfbox import cbox
#Template Modules
from template.calfbox import cbox
from template.engine.input_midi import MidiProcessor
class Auditioner(object):

2
engine/config.py

@ -60,6 +60,4 @@ Only "soft" settings, such as filters, can be changed dynamically and will be sa
At the moment this software is in its ALPHA phase which means that samples libraries will still
change.""",
"dependencies" : "\n".join("* "+dep for dep in ()),
}

4
engine/instrument.py

@ -25,10 +25,8 @@ import logging; logger = logging.getLogger(__name__); logger.info("import")
#Python Standard Lib
import re
#Third Party
from calfbox import cbox
#Template Modules
from template.calfbox import cbox
from template.engine.pitch import midiName2midiPitch #dict
from template.engine.input_midi import MidiProcessor

4
engine/main.py

@ -28,10 +28,8 @@ import tarfile
#from io import TextIOWrapper
import mmap
#Third Party
from calfbox import cbox
#Template Modules
from template.calfbox import cbox
from template.engine.data import Data as TemplateData
from template.start import PATHS

Loading…
Cancel
Save