Comments (3)
I have created a branch to try and change the ALSA audio device. Would you mind trying this?
git clone [email protected]:MycroftAI/mimic.git
cd mimic
git checkout alsa_dev_change
./configure --with-audio=alsa
make
# this should fail:
bin/mimic -t "Hello"
# this may work:
MIMIC_AUDIO_DEVICE="pulse" bin/mimic -t "Hello"
from mimic1.
Thanks for the prompt response and sorry to taking a while to get back to you, this is what I got:
$ ./bin/mimic -t "Hello"
audio_open_alsa: failed to set number of channels to 1. Invalid argument.
$ MIMIC_AUDIO_DEVICE="pulse" bin/mimic -t "Hello"
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused
audio_open_alsa: failed to open audio device pulse. Connection refused
This is all with Jessie Raspbian unchanged. I had a quick play with Ubuntu Mate for the Raspberry Pi and that seemed to work (I believe it was all under pulseaudio and not direct alsa).
Happy to keep trying things if you want to get to the bottom of it but also happy to drop it if you don't feel it's worth the effort.
from mimic1.
As another quick test: could you try other ALSA audio devices to see if any of them work by chance?
MIMIC_AUDIO_DEVICE="dmix" bin/mimic -t "Hello"
A solution on mimic side is to adapt mimic output so it is able to send the same audio signal to two channels if one channel fails, that would require a bit more logic on our side but it is not impossible to do. I might do it at some point although I'm pretty busy, if you feel you can help coding I can try to guide you through the code (mainly changing src/audio/au_alsa.c
)
from mimic1.
Related Issues (20)
- Publish prebuilt mimic releases HOT 2
- windows cross-compilation instructions are not exact. HOT 2
- Problem with speaking. HOT 7
- Voice is not playing over bluetooth HOT 3
- Where is the difference between Mimic and Flite? HOT 2
- Linking fails, but easily fixed HOT 2
- Add support for Palm OS HOT 2
- Unable to make standalone mimic pause and resume at will when reading long text from terminal HOT 5
- Compile for pulseaudio HOT 2
- Using mimic libraries HOT 11
- Distorted 'ap' voice output when compiling with gcc 8.3
- mimic -p '' segs HOT 1
- Tool for creating my own .flitevox? HOT 4
- Dead links: festvox.org doesn't work anymore? HOT 3
- Is there a guide for adding new language support to mimic1? HOT 1
- Windows cross compilation error
- Issue while compiling with LTO enabled HOT 1
- Error when running 'make' HOT 5
- At ./autogen.sh: syntax error near unexpected token `newline'
- "Shared" compilation (with --enable-shared=yes) fails. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mimic1.