Re: [orca-list] orca-list Digest, Vol 196, Issue 25



Sorry, the attachment does not work, now my configuration file in plain text:

# The mary-generic output module is based on the generic plugin for Speech
# Dispatcher. It means there is no code written explicitly for
# this plugin, all the specifics are handled in this configuration
# and we call a simple command line client to perform the actual
# synthesis. Use this config file with the sd_generic output module.
#
# IMPORTANT: The audio output method relies on an audio playback
# utility (play, aplay, paplay for OSS, ALSA or Pulse)
# being installed. If this is not the case, consider installing it
# or replace the $PLAY_COMMAND string in the GenericExecuteString below
# with play, paplay or similar.
#
# GenericExecuteSynth is the shell command that should be
# executed in order to say some message. This command must
# stop saying the message on SIGKILL, otherwise it's useless.
# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE
# which will be substituted for the appropriate value (you
# can modify this value, see other parameters).
# This line uses the command curl, so you might need to install
# curl if it isn't already installed.
# The command can be split into more lines, if necessary, using '\'.
#GenericExecuteSynth \
#"curl \"http://localhost:59125/process?INPUT_TEXT=`echo \'$DATA\'| xxd -plain | tr -d '\\n' | sed 's/\\\(..\\\)/%\\\1/g'`&INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&AUDIO=WAVE_FILE&LOCALE=$LANGUAGE&VOICE=$VOICE\" > $TMPDIR/mary-generic.wav && $PLAY_COMMAND $TMPDIR/mary-generic.wav"
#Changed by joshjama
GenericExecuteSynth \
"`echo \'$DATA\'| xxd -plain | tr -d '\\n' | sed 's/\\\(..\\\)/%\\\1/g'`) | larynx -v en-us - > $TMPDIR/larynx-generic.wav && play $TMPDIR/larynx-generic.wav "
#"curl \"http://localhost:59125/process?INPUT_TEXT=`echo \'$DATA\'| xxd -plain | tr -d '\\n' | sed 's/\\\(..\\\)/%\\\1/g'`&INPUT_TYPE=TEXT&OUTPUT_TYPE=AUDIO&AUDIO=WAVE_FILE&LOCALE=$LANGUAGE&VOICE=$VOICE\" | sox -v $VOLUME - $TMPDIR/mary-generic.wav tempo $RATE pitch $PITCH norm && $PLAY_COMMAND $TMPDIR/mary-generic.wav"

GenericCmdDependency "larynx"

# The following three items control punctuation levels None, Some, and All.
# Each of these values will be substituted into the $PUNCT variable depending
# on the value passed to speech dispatcher from applications.
# Note that if an empty string is specified, then $PUNCT will be blank
# which is a default situation for espeak.

GenericPunctNone ""
GenericPunctSome "--punct=\"()[]{};:\""
GenericPunctAll "--punct"

# GenericStripPunctChars is a list (enclosed in doublequotes) of
# all the characters that should be replaced by whitespaces in
# order not to be badly handled by the output module or misinterpreted
# by shell.
#GenericStripPunctChars  ""

# If the language you need to pass in $LANG is different
# from the standard ISO language code, you can specify
# which string to use instead. If you wish to use
# other than ISO charset for the specified language,
# you can add it's name (as accepted by iconv) as a
# third parameter in doublequotes.

GenericLanguage  "en" "en_GB" "utf-8"
GenericLanguage  "en" "en_US" "utf-8"
GenericLanguage  "de" "de" "utf-8"
GenericLanguage  "fr" "fr" "utf-8"
GenericLanguage  "tr" "tr" "utf-8"
GenericLanguage  "te" "te" "utf-8"
GenericLanguage  "it" "it" "utf-8"

# AddVoice specifies which $VOICE string should be assigned to
# each language and symbolic voice name. All the voices you want
# to use must be specified here. This list will likely not be
# up-to-date, please check your mary installation and add the voices
# you want to use.

#English GB
AddVoice        "en_GB"    "MALE1"         "dfki-spike"
AddVoice        "en_GB"    "FEMALE1"       "dfki-prudence"
AddVoice        "en_GB"    "CHILD_FEMALE"  "dfki-poppy"
AddVoice "en_GB" "Male2" "dfki-obadiah"
#English US
AddVoice "en_US" "Male1" "cmu-bdl"
AddVoice "en_US" "Male2" "cmu-rms"
AddVoice "en_US" "Female1" "cmu-slt"
#German
AddVoice        "de"    "MALE1"         "dfki-pavoque-styles"
AddVoice        "de"    "Female1"         "bits1"
AddVoice        "de"    "Male2"         "bits2"
AddVoice        "de"    "Male3"         "bits3"
AddVoice        "de"    "Female2"         "bits4"
AddVoice "de" "Male4" "dfki-pavoque-neutral"
#Turkeish
AddVoice "tr" "Male1" "dfki-ot"
#Frensh
AddVoice "fr" "Female1" "upmc-jessica"
AddVoice "fr" "Male1" "upmc-pierre"
AddVoice "fr" "Female2" "enst-camille"
AddVoice "fr" "Male2" "enst-dennys-hsmm"
#Teluguian
AddVoice "te" "Female1" "cmu-nk-hsmm"
#Italiano
AddVoice "it" "Female1" "istc-lucia-hsmm"
# Not installed yet
#marylux-lb
# These parameters set _rate_, _pitch_, and _volume_ conversion. This is

# part of the core of the definition of this generic output
# module for this concrete synthesizer, it's not intended to
# be modified by common users.
# The resulting rate (or pitch) has the form:
#       (speechd_rate * GenericRateMultiply) + GenericRateAdd
# while speechd_rate is a value between -100 (lowest) and +100 (highest)
# You have to define some meaningful conversion for each synthesizer

# Here's the mapping from SSIP (Speech Dispatcher) to ESpeak (v1.10):
#
#           SSIP Range  SSIP Default    ESpeak/MBROLA Range ESpeak Default
#           ----------- ------------    ------------         --------------
# Rate      -100 to 100     0           80 to 320       160
# Pitch     -100 to 100     0            0 to 99         50
# Volume    -100 to 100     0            0 to 2          --
#
# The SSIP defaults are actually controlled via DefaultRate, DefaultPitch, and
# DefaultVolume in the speechd.conf file.
# Specific values for Mary TTS

GenericRateAdd          1
GenericPitchAdd         1
GenericVolumeAdd        1

# (These values are multiplied by 100, because DotConf currently
# doesn't support floats. So you can write 0.85 as 85 and so on.)

GenericRateMultiply     1
GenericPitchMultiply 750
GenericVolumeMultiply 2

# If the client program can't handle floats, you will have to
# use these two options to force integers as the parameters
# 1 means force integers, 0 means do nothing (write floats).

GenericRateForceInteger     0
GenericPitchForceInteger    1
GenericVolumeForceInteger   0

# Note that SSIP rates < -50 are spoken at -50.

# Debug turns debugging on or off
# See speechd.conf for information where debugging information is stored
Debug 0

# Copyright (C) 2008-2010 Brailcom, o.p.s
# Copyright (C) 2014 Luke Yelavich <themuso ubuntu com>
# Copyright (C) 2018 Samuel Thibault <samuel thibault ens-lyon org>
# Copyright (C) 2018 Didier Spaier <didier slint fr>
# Debug turns debugging on or off
# See speechd.conf for information where debugging information is stored
Debug 0

# Copyright (C) 2018 Florian Steinhardt <no known email example com>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.  See the GNU General Public License for more details (file
# COPYING in the root directory).
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
#Set the default voice.
#It will be used if no voice is selected by the user.
DefaultVoice    "dfki-spike"


<orca-list-request gnome org> schrieb am So., 22. Mai 2022, 20:17:
Send orca-list mailing list submissions to
        orca-list gnome org

To subscribe or unsubscribe via the World Wide Web, visit
        https://mail.gnome.org/mailman/listinfo/orca-list
or, via email, send a message with subject or body 'help' to
        orca-list-request gnome org

You can reach the person managing the list at
        orca-list-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of orca-list digest..."


Today's Topics:

   1.  orca-list Digest, Vol 196, Issue 27 larynx tts and
      speech-dispatcher (Joshua Jama)


----------------------------------------------------------------------

Message: 1
Date: Sun, 22 May 2022 20:17:25 +0200
From: Joshua Jama <joshjama gmail com>
To: orca-list gnome org
Subject: [orca-list] orca-list Digest, Vol 196, Issue 27 larynx tts
        and speech-dispatcher
Message-ID:
        <CAC5phuim3vDvVyBqsaf7wTqLkqyAc-9ZPxHe-BYk616n2-uPVA mail gmail com>
Content-Type: text/plain; charset="utf-8"

Hi, is there any module file for larynx tts and speech-dispatcher?
I could not find anything about it on the web.
I am trying to ride one on my own, but failed until now.
Here is my configuration, i'm not having any ideas what I'm doing wrong.

Thanks for any help.
Best
Joshua

<orca-list-request gnome org> schrieb am So., 22. Mai 2022, 14:00:

> Send orca-list mailing list submissions to
>         orca-list gnome org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.gnome.org/mailman/listinfo/orca-list
> or, via email, send a message with subject or body 'help' to
>         orca-list-request gnome org
>
> You can reach the person managing the list at
>         orca-list-owner gnome org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of orca-list digest..."
>
>
> Today's Topics:
>
>    1.  orca doesn't speak at all on pidgin fedora 36 orca 42
>       (Amir-Trend Plus)
>    2. Re:  Pitch-problem on Fedora 36 (Amir-Trend Plus)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 22 May 2022 15:09:43 +0800
> From: Amir-Trend Plus <trend669953 gmail com>
> To: orca-list gnome org
> Subject: [orca-list] orca doesn't speak at all on pidgin fedora 36
>         orca 42
> Message-ID:
>         <CAP0K4V9QTupzuqDNv40Yos=zpf-UB9x0FAe=gomb2_WUR=
> j8ZA mail gmail com>
> Content-Type: text/plain; charset="UTF-8"
>
> hi,
> installed pidgin from official, sudo dnf install pidgin
> then added the lib telegram
> https://github.com/ars3niy/tdlib-purple/
>
> and installed it successfully.
>
> but when i open pidgin, nothing speaks.
> just like inaccessible app.
>
> specs:
> orca 42, fedora 36 fresh.
> edited the ~/.bashrc export ACCESSIBILITY_ENABLED=1 export
> QT_ACCESSIBILITY=1
>
> anything left to make pidgin accessible?
>
> last time i tried it works.
>
> i hear it said buddie list when i alt tab from other app to it but then
> nothing.
>
> thanks
>
>
> --
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 22 May 2022 15:20:24 +0800
> From: Amir-Trend Plus <trend669953 gmail com>
> To: Frans-Willem Post <fwpost gmail com>
> Cc: jason hsw jhsw me, orca-list gnome org
> Subject: Re: [orca-list] Pitch-problem on Fedora 36
> Message-ID:
>         <
> CAP0K4V9KCHGquvHovMtoY7dwhysU3yLg5SimnVVdT7SMRj1f3A mail gmail com>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi,
> unfortunately after doing sudo dnf upgrade and it upgraded a lot of
> things for about 1gb, the bug happens even if using espeak-ng.
>
> fedora mate 36 at first sudo dnf upgrade still fedora 36 but got some
> upgrades for about 1gb size.
>
>
>
>
> 2022-05-22 14:45 GMT+08:00, Frans-Willem Post via orca-list
> <orca-list gnome org>:
> > Yes, indeed. Switching to eSpean-NG does resolve the issue for me, too.
> >
> > I have no idea about the implications of this workaround or the inner
> > workings of the setting. Where/how should this bug be filed?
> >
> > Thanks,
> > Frans-Willem
> >
> > On 21-05-2022 19:43, Jason SW wrote:
> >> Hello,
> >>
> >> This issue started for me after I upgraded speech-dispatcher.
> >> I looked at what had changed since the upgrade, and I noticed that the
> >> eSpeak module configuration file was no longer being included in the
> >> package, only the one for eSpeak-NG. Switching Orca from using eSpeak to
> >> using eSpeak-NG resolved it for me.
> >>
> >> HTH
> >> _______________________________________________
> >> orca-list mailing list
> >> orca-list gnome org
> >> https://mail.gnome.org/mailman/listinfo/orca-list
> >> Orca wiki: https://wiki.gnome.org/Projects/Orca
> >> Orca documentation: https://help.gnome.org/users/orca/stable/
> >> GNOME Universal Access guide:
> >> https://help.gnome.org/users/gnome-help/stable/a11y.html
> >
> > --
> > Met de .ASC-bijlage(n) kan uw e-mailprogramma garanderen dat bovenstaand
> > bericht van mij afkomstig is, en onderweg niet door derden is aangepast.
> >
>
>
> --
> AMIR.
> twitter:
> http://www.twitter.com/amir442
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> orca-list mailing list
> orca-list gnome org
> https://mail.gnome.org/mailman/listinfo/orca-list
>
>
> ------------------------------
>
> End of orca-list Digest, Vol 196, Issue 24
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.gnome.org/archives/orca-list/attachments/20220522/3d8e7b40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: larynx-generic.conf
Type: application/octet-stream
Size: 7448 bytes
Desc: not available
URL: <https://mail.gnome.org/archives/orca-list/attachments/20220522/3d8e7b40/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: larynx-generic.conf
Type: application/octet-stream
Size: 7448 bytes
Desc: not available
URL: <https://mail.gnome.org/archives/orca-list/attachments/20220522/3d8e7b40/attachment-0001.obj>

------------------------------

Subject: Digest Footer

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list


------------------------------

End of orca-list Digest, Vol 196, Issue 25
******************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]