Skip to content

Commit be8166d

Browse files
committed
Merge pull request #28 from readbeyond/devel
Releasing as v1.3.2
2 parents 3e292a1 + c602993 commit be8166d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+948
-88
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
recursive-include aeneas/res *
22
recursive-include aeneas/tools/res *
3-
include check_dependencies.py
3+
include aeneas_check_setup.py
44
recursive-include docs *
55
prune docs/build
66
include LICENSE

README.md

+12-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
**aeneas** is a Python library and a set of tools to automagically synchronize audio and text.
44

5-
* Version: 1.3.1
6-
* Date: 2015-10-28
5+
* Version: 1.3.2
6+
* Date: 2015-11-11
77
* Developed by: [ReadBeyond](http://www.readbeyond.it/)
88
* Lead Developer: [Alberto Pettarin](http://www.albertopettarin.it/)
99
* License: the GNU Affero General Public License Version 3 (AGPL v3)
@@ -75,8 +75,9 @@ or raw CSV/SSV/TSV/TXT/XML for further processing.
7575
2. `ffmpeg` and `ffprobe` executables available in your `$PATH`
7676
3. `espeak` executable available in your `$PATH`
7777
4. Python 2.7.x
78-
5. Python modules `BeautifulSoup`, `lxml`, `numpy`, and `pafy`
79-
6. (Optional but strongly suggested) Python C headers to compile the Python C extensions
78+
5. Python modules `BeautifulSoup`, `lxml`, and `numpy`
79+
6. (Optional, but strongly recommended) Python C headers to compile the Python C extensions
80+
7. (Optional, required only for downloading audio from YouTube) Python module `pafy`
8081

8182
Depending on the format(s) of audio files you work with,
8283
you might need to install additional audio codecs for `ffmpeg`.
@@ -144,8 +145,9 @@ you can install all the dependencies by running
144145
$ git clone https://github.com/ReadBeyond/aeneas.git
145146
$ cd aeneas
146147
$ sudo pip install -r requirements.txt
148+
(Optional: $ sudo pip install pafy)
147149
$ python setup.py build_ext --inplace
148-
$ python check_dependencies.py
150+
$ python aeneas_check_setup.py
149151
```
150152

151153
If the last command prints a success message,
@@ -226,8 +228,9 @@ Feel free to jump to step 9 if you already have
226228
$ git clone https://github.com/ReadBeyond/aeneas.git
227229
$ cd aeneas
228230
$ sudo pip install -r requirements.txt
231+
(Optional: $ sudo pip install pafy)
229232
$ python setup.py build_ext --inplace
230-
$ python check_dependencies.py
233+
$ python aeneas_check_setup.py
231234
```
232235

233236
If the last command prints a success message,
@@ -536,6 +539,9 @@ APIs and Web application for ReadBeyond Sync,
536539
helped shaping the structure of this package
537540
for its asynchronous usage.
538541

542+
**Chris Hubbard** prepared the files for
543+
packaging aeneas as a Debian/Ubuntu `.deb`.
544+
539545
All the mighty [GitHub contributors](https://github.com/readbeyond/aeneas/graphs/contributors),
540546
and the members of the [Google Group](https://groups.google.com/d/forum/aeneas-forced-alignment).
541547

README.txt

+16-8
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ aeneas
44
**aeneas** is a Python library and a set of tools to automagically
55
synchronize audio and text.
66

7-
- Version: 1.3.1
8-
- Date: 2015-10-28
7+
- Version: 1.3.2
8+
- Date: 2015-11-11
99
- Developed by: `ReadBeyond <http://www.readbeyond.it/>`__
1010
- Lead Developer: `Alberto Pettarin <http://www.albertopettarin.it/>`__
1111
- License: the GNU Affero General Public License Version 3 (AGPL v3)
@@ -86,9 +86,11 @@ System Requirements
8686
2. ``ffmpeg`` and ``ffprobe`` executables available in your ``$PATH``
8787
3. ``espeak`` executable available in your ``$PATH``
8888
4. Python 2.7.x
89-
5. Python modules ``BeautifulSoup``, ``lxml``, ``numpy``, and ``pafy``
90-
6. (Optional but strongly suggested) Python C headers to compile the
89+
5. Python modules ``BeautifulSoup``, ``lxml``, and ``numpy``
90+
6. (Optional, but strongly recommended) Python C headers to compile the
9191
Python C extensions
92+
7. (Optional, required only for downloading audio from YouTube) Python
93+
module ``pafy``
9294

9395
Depending on the format(s) of audio files you work with, you might need
9496
to install additional audio codecs for ``ffmpeg``. Similarly, you might
@@ -156,8 +158,9 @@ Linux
156158
$ git clone https://github.com/ReadBeyond/aeneas.git
157159
$ cd aeneas
158160
$ sudo pip install -r requirements.txt
161+
(Optional: $ sudo pip install pafy)
159162
$ python setup.py build_ext --inplace
160-
$ python check_dependencies.py
163+
$ python aeneas_check_setup.py
161164

162165
If the last command prints a success message, you have all the
163166
required dependencies installed and you can confidently run
@@ -243,8 +246,9 @@ Feel free to jump to step 9 if you already have ``python``,
243246
$ git clone https://github.com/ReadBeyond/aeneas.git
244247
$ cd aeneas
245248
$ sudo pip install -r requirements.txt
249+
(Optional: $ sudo pip install pafy)
246250
$ python setup.py build_ext --inplace
247-
$ python check_dependencies.py
251+
$ python aeneas_check_setup.py
248252

249253
If the last command prints a success message, you have all the
250254
required dependencies installed and you can confidently run
@@ -363,8 +367,8 @@ Limitations and Missing Features
363367
- Audio is assumed to be spoken: not suitable/YMMV for song captioning
364368
- No protection against memory trashing if you feed extremely long
365369
audio files
366-
- On Mac OS X and Windows, audio synthesis might be slow (tens of
367-
minutes) if you have thousands of text fragments
370+
- On Mac OS X and Windows, audio synthesis might be slow if you have
371+
thousands of text fragments
368372

369373
TODO List
370374
---------
@@ -380,6 +384,7 @@ TODO List
380384
- Better documentation
381385
- Testing other approaches, like HMM
382386
- Publishing the package on PyPI
387+
- Publishing the package on Debian repo
383388

384389
Would you like to see one of the above points done? Consider
385390
`sponsoring <#supporting>`__ this project!
@@ -565,6 +570,9 @@ text.
565570
ReadBeyond Sync, helped shaping the structure of this package for its
566571
asynchronous usage.
567572

573+
**Chris Hubbard** prepared the files for packaging aeneas as a
574+
Debian/Ubuntu ``.deb``.
575+
568576
All the mighty `GitHub
569577
contributors <https://github.com/readbeyond/aeneas/graphs/contributors>`__,
570578
and the members of the `Google

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.1
1+
1.3.2

aeneas/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
5757
"""
5858
__license__ = "GNU AGPL v3"
59-
__version__ = "1.3.1"
59+
__version__ = "1.3.2"
6060
__email__ = "[email protected]"
6161
__status__ = "Production"
6262

aeneas/adjustboundaryalgorithm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2020
"""
2121
__license__ = "GNU AGPL v3"
22-
__version__ = "1.3.1"
22+
__version__ = "1.3.2"
2323
__email__ = "[email protected]"
2424
__status__ = "Production"
2525

aeneas/analyzecontainer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2424
"""
2525
__license__ = "GNU AGPL v3"
26-
__version__ = "1.3.1"
26+
__version__ = "1.3.2"
2727
__email__ = "[email protected]"
2828
__status__ = "Production"
2929

aeneas/audiofile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2828
"""
2929
__license__ = "GNU AGPL v3"
30-
__version__ = "1.3.1"
30+
__version__ = "1.3.2"
3131
__email__ = "[email protected]"
3232
__status__ = "Production"
3333

aeneas/cdtw.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ __copyright__ = """
99
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
1010
"""
1111
__license__ = "GNU AGPL v3"
12-
__version__ = "1.3.1"
12+
__version__ = "1.3.2"
1313
__email__ = "[email protected]"
1414
__status__ = "Production"
1515

aeneas/cdtw_setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2323
"""
2424
__license__ = "GNU AGPL v3"
25-
__version__ = "1.3.1"
25+
__version__ = "1.3.2"
2626
__email__ = "[email protected]"
2727
__status__ = "Production"
2828

@@ -38,7 +38,7 @@
3838

3939
setup(
4040
name="cdtw",
41-
version="1.3.1",
41+
version="1.3.2",
4242
description="""
4343
Python C Extension for computing the DTW as fast as your bare metal allows.
4444
""",

aeneas/cew.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ __copyright__ = """
99
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
1010
"""
1111
__license__ = "GNU AGPL v3"
12-
__version__ = "1.3.1"
12+
__version__ = "1.3.2"
1313
__email__ = "[email protected]"
1414
__status__ = "Production"
1515

aeneas/cew_setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2121
"""
2222
__license__ = "GNU AGPL v3"
23-
__version__ = "1.3.1"
23+
__version__ = "1.3.2"
2424
__email__ = "[email protected]"
2525
__status__ = "Production"
2626

@@ -36,7 +36,7 @@
3636

3737
setup(
3838
name="cew",
39-
version="1.3.1",
39+
version="1.3.2",
4040
description="""
4141
Python C Extension for synthesizing text with espeak.
4242
""",

aeneas/cmfcc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ __copyright__ = """
99
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
1010
"""
1111
__license__ = "GNU AGPL v3"
12-
__version__ = "1.3.1"
12+
__version__ = "1.3.2"
1313
__email__ = "[email protected]"
1414
__status__ = "Production"
1515

aeneas/cmfcc_setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2323
"""
2424
__license__ = "GNU AGPL v3"
25-
__version__ = "1.3.1"
25+
__version__ = "1.3.2"
2626
__email__ = "[email protected]"
2727
__status__ = "Production"
2828

@@ -38,7 +38,7 @@
3838

3939
setup(
4040
name="cmfcc",
41-
version="1.3.1",
41+
version="1.3.2",
4242
description="""
4343
Python C Extension for computing the MFCCs as fast as your bare metal allows.
4444
""",

aeneas/container.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
3232
"""
3333
__license__ = "GNU AGPL v3"
34-
__version__ = "1.3.1"
34+
__version__ = "1.3.2"
3535
__email__ = "[email protected]"
3636
__status__ = "Production"
3737

aeneas/downloader.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
1818
"""
1919
__license__ = "GNU AGPL v3"
20-
__version__ = "1.3.1"
20+
__version__ = "1.3.2"
2121
__email__ = "[email protected]"
2222
__status__ = "Production"
2323

aeneas/dtw.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
4343
"""
4444
__license__ = "GNU AGPL v3"
45-
__version__ = "1.3.1"
45+
__version__ = "1.3.2"
4646
__email__ = "[email protected]"
4747
__status__ = "Production"
4848

aeneas/espeakwrapper.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2323
"""
2424
__license__ = "GNU AGPL v3"
25-
__version__ = "1.3.1"
25+
__version__ = "1.3.2"
2626
__email__ = "[email protected]"
2727
__status__ = "Production"
2828

@@ -183,7 +183,7 @@ def _synthesize_multiple_c_extension(
183183
fragments = text_file.fragments
184184
for fragment in fragments:
185185
f_lang = fragment.language
186-
f_text = fragment.text
186+
f_text = fragment.filtered_text
187187
if f_lang is None:
188188
f_lang = Language.EN
189189
f_lang = self._replace_language(f_lang)
@@ -220,7 +220,7 @@ def _synthesize_multiple_c_extension(
220220
anchors.append([
221221
intervals[i][0],
222222
fragment.identifier,
223-
fragment.text
223+
fragment.filtered_text
224224
])
225225
# increase the character counter
226226
num_chars += fragment.characters
@@ -270,7 +270,7 @@ def _synthesize_multiple_pure_python(
270270
# synthesize and get the duration of the output file
271271
self._log(["Synthesizing fragment %d", num])
272272
result = self._synthesize_fragment_pure_python(
273-
text=fragment.text,
273+
text=fragment.filtered_text,
274274
language=language
275275
)
276276
(duration, sr_nu, enc_nu, data) = result

aeneas/executejob.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2626
"""
2727
__license__ = "GNU AGPL v3"
28-
__version__ = "1.3.1"
28+
__version__ = "1.3.2"
2929
__email__ = "[email protected]"
3030
__status__ = "Production"
3131

aeneas/executetask.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
3333
"""
3434
__license__ = "GNU AGPL v3"
35-
__version__ = "1.3.1"
35+
__version__ = "1.3.2"
3636
__email__ = "[email protected]"
3737
__status__ = "Production"
3838

aeneas/ffmpegwrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2020
"""
2121
__license__ = "GNU AGPL v3"
22-
__version__ = "1.3.1"
22+
__version__ = "1.3.2"
2323
__email__ = "[email protected]"
2424
__status__ = "Production"
2525

aeneas/ffprobewrapper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
Copyright 2015, Alberto Pettarin (www.albertopettarin.it)
2121
"""
2222
__license__ = "GNU AGPL v3"
23-
__version__ = "1.3.1"
23+
__version__ = "1.3.2"
2424
__email__ = "[email protected]"
2525
__status__ = "Production"
2626

0 commit comments

Comments
 (0)