-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added mocks for unittests and fixed circular import issues
further mocked the module fluidsynth hack... to solve fluidsynth import problem medleydb try librosa 0.5.1, instead of 0.5.0? fixed scikit-learn version one more try with MagicMock hacked in travis one more time .. ... .... fingers crossed... review edition coverage up!
- Loading branch information
Showing
13 changed files
with
249 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,28 @@ | ||
"""Top level imports. | ||
""" | ||
import os | ||
|
||
import numpy as np | ||
|
||
SF_PATH = os.path.join(os.path.dirname(__file__), 'resources/sf2') | ||
ACOUSTIC_MFCC_NPZ_PATH = os.path.join(os.path.dirname(__file__), 'resources/mfcc_npz/acoustic_sf_mfcc.npz') | ||
ACOUSTIC_SF_MFCC = np.load(ACOUSTIC_MFCC_NPZ_PATH) | ||
VOICING_FILE = os.path.join(os.path.dirname(__file__), 'resources/chord_voicings.json') | ||
|
||
from . import transcriber | ||
from . import resynth | ||
from . import remix | ||
|
||
from .core import TRANSCRIBER_REGISTRY | ||
from .core import RESYNTHESIZER_REGISTRY | ||
from .version import version as __version__ | ||
|
||
|
||
|
||
__all__ = [ | ||
'transcriber', | ||
'remix', | ||
'resynth', | ||
'core' | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
import os | ||
import numpy as np | ||
from .guitar_strummer import GuitarStrummer | ||
|
||
SF_PATH = os.path.join(os.path.dirname(__file__), '../resources/sf2') | ||
ACOUSTIC_MFCC_NPZ_PATH = os.path.join(os.path.dirname(__file__), '../resources/mfcc_npz/acoustic_sf_mfcc.npz') | ||
ACOUSTIC_SF_MFCC = np.load(ACOUSTIC_MFCC_NPZ_PATH) | ||
VOICING_FILE = os.path.join(os.path.dirname(__file__), '../resources/chord_voicings.json') | ||
__all__ = ["guitar_strummer"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.