-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #94 from readbeyond/devel
aeneas v1.5.1
- Loading branch information
Showing
154 changed files
with
2,064 additions
and
1,705 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 +1 @@ | ||
1.5.0 | ||
1.5.1 |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
Copyright 2015-2016, Alberto Pettarin (www.albertopettarin.it) | ||
""" | ||
__license__ = "GNU AGPL v3" | ||
__version__ = "1.5.0" | ||
__version__ = "1.5.1" | ||
__email__ = "[email protected]" | ||
__status__ = "Production" | ||
|
||
|
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
Copyright 2015-2016, Alberto Pettarin (www.albertopettarin.it) | ||
""" | ||
__license__ = "GNU AGPL v3" | ||
__version__ = "1.5.0" | ||
__version__ = "1.5.1" | ||
__email__ = "[email protected]" | ||
__status__ = "Production" | ||
|
||
|
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 |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
Copyright 2015-2016, Alberto Pettarin (www.albertopettarin.it) | ||
""" | ||
__license__ = "GNU AGPL v3" | ||
__version__ = "1.5.0" | ||
__version__ = "1.5.1" | ||
__email__ = "[email protected]" | ||
__status__ = "Production" | ||
|
||
|
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
Copyright 2015-2016, Alberto Pettarin (www.albertopettarin.it) | ||
""" | ||
__license__ = "GNU AGPL v3" | ||
__version__ = "1.5.0" | ||
__version__ = "1.5.1" | ||
__email__ = "[email protected]" | ||
__status__ = "Production" | ||
|
||
|
@@ -116,6 +116,77 @@ class AudioFile(Loggable): | |
:type logger: :class:`~aeneas.logger.Logger` | ||
""" | ||
|
||
FILE_EXTENSIONS = [ | ||
u"3g2", | ||
u"3gp", | ||
u"aa", | ||
u"aa3", | ||
u"aac", | ||
u"aax", | ||
u"aiff", | ||
u"alac", | ||
u"amr", | ||
u"ape", | ||
u"asf", | ||
u"at3", | ||
u"at9", | ||
u"au", | ||
u"avi", | ||
u"awb", | ||
u"celt", | ||
u"dct", | ||
u"dss", | ||
u"dvf", | ||
u"eac", | ||
u"flac", | ||
u"flv", | ||
u"gsm", | ||
u"m4a", | ||
u"m4b", | ||
u"m4p", | ||
u"m4v", | ||
u"mid", | ||
u"midi", | ||
u"mkv", | ||
u"mmf", | ||
u"mov", | ||
u"mp2", | ||
u"mp3", | ||
u"mp4", | ||
u"mpc", | ||
u"mpeg", | ||
u"mpg", | ||
u"mpv", | ||
u"msv", | ||
u"oga", | ||
u"ogg", | ||
u"ogv", | ||
u"oma", | ||
u"opus", | ||
u"pcm", | ||
u"qt", | ||
u"ra", | ||
u"ram", | ||
u"raw", | ||
u"riff", | ||
u"rm", | ||
u"rmvb", | ||
u"shn", | ||
u"sln", | ||
u"theora", | ||
u"tta", | ||
u"vob", | ||
u"vorbis", | ||
u"vox", | ||
u"wav", | ||
u"webm", | ||
u"wma", | ||
u"wmv", | ||
u"wv", | ||
u"yuv", | ||
] | ||
""" Extensions of common formats for audio (and video) files. """ | ||
|
||
TAG = u"AudioFile" | ||
|
||
def __init__(self, file_path=None, is_mono_wave=False, rconf=None, logger=None): | ||
|
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 |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
Copyright 2015-2016, Alberto Pettarin (www.albertopettarin.it) | ||
""" | ||
__license__ = "GNU AGPL v3" | ||
__version__ = "1.5.0" | ||
__version__ = "1.5.1" | ||
__email__ = "[email protected]" | ||
__status__ = "Production" | ||
|
||
|
@@ -134,7 +134,7 @@ def __init__( | |
self._compute_mfcc_c_extension, | ||
self._compute_mfcc_pure_python, | ||
(), | ||
c_extension=self.rconf[RuntimeConfiguration.C_EXTENSIONS] | ||
rconf=self.rconf | ||
) | ||
self.audio_length = self.audio_file.audio_length | ||
if audio_file_was_none: | ||
|
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,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
gcc cdtw_driver.c cdtw_func.c cint.c -o cdtw_driver -lm -Wall -pedantic -std=c99 | ||
gcc cdtw_driver.c cdtw_func.c ../cint/cint.c -o cdtw_driver -lm -Wall -pedantic -std=c99 | ||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
rm -rf build __pycache__ *.so cdtw_driver |
Oops, something went wrong.