eSpeak is a compact open source software speech synthesizer for English
and other languages.
eSpeak produces good quality English speech. It uses a different
synthesis method from other open source TTS engines, and sounds quite
different. It's perhaps not as natural or "smooth", but I find the
articulation clearer and easier to listen to for long periods.
It can run as a command line program to speak text from a file or
from stdin.
===> The following configuration options are available for espeak-ng-1.52.0_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
audio/espeak-ng: import upstream patch for support of "Piper"
This patch imports the upstream pull request #2127 that has been
accepted on 2025-03-04.
It adds the espeak_TextToPhonemesWithTerminator() function to the
library, which is required by the Piper text to speech software.
PR: 287241
audio/espeak-ng: fix build with clang 16
Since clang 16 (and gcc 11) the default C++ standard is now gnu++17.
Because audio/espeak-ng's Makefile does not explicitly set its C++
standard, this leads to an error:
src/speechPlayer/src/speechWaveGenerator.cpp:197:56: error: reference to
'sample' is ambiguous
unsigned int generate(const unsigned int sampleCount, sample*
sampleBuf) {
^
src/speechPlayer/src/sample.h:23:3: note: candidate found by name lookup is
'sample'
} sample;
^
/usr/include/c++/v1/__algorithm/sample.h:95:17: note: candidate found by name
lookup is 'std::sample'
_SampleIterator sample(_PopulationIterator __first,
^
This is because speechWaveGenerator.cpp has "using namespace std;" at
the top, so "sample" can match both "std::sample" (from <algorithm>) and
"struct sample" (from sample.h). Qualify "sample" as "::sample" to work
around the problem.
PR: 271486
Approved by: maintainer timeout (2 weeks)
MFH: 2023Q2
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
audio: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <dmagda+libsamplerate@ee.ryerson.ca>
* <trasz@FreeBSD.org>
* Adam Weinberger
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Aleksander Fafula <alex@bsdguru.org>
* Alex Allan <alex@kamaz.org.uk>
* Alexander Botero-Lowry <alex@foxybanana.com>
* Alexander Kojevnikov <alexander@kojevnikov.com>
* Alexander Nedotsukov <bland@FreeBSD.org>
* Alexander Vereeken <Alexander88207@protonmail.com>
(Only the first 15 lines of the commit message are shown above )
audio/espeak-ng: add espeak to CONFLICTS_INSTALL
The espeak package has been replaced by espeak-ng, but since the pkg
command does not understand that the latter replaces the former, it is
possible that "pkg upgrade" tries to install espeak-ng on a system
that already has espeak installed.
Create and plan to keep the CONFLICTS_INSTALL entry for some time in
order to let the pkg command know that it cannot install espeak-ng
without prior deinstallation of espeak.