-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only first say block ist working #66
Comments
I can't test right now (traveling). jessie: |
I have a repro: _brickConfiguration = {
... 'wheel-diameter': 5.6,
... 'track-width': 18.0,
... 'actors': {},
... 'sensors': {},
... }
hal = Hal(_brickConfiguration)
hal.setVolume(100)
hal.sayText("Hello"); hal.sayText("and"); hal.sayText("good evening");
aplay: main:722: audio open error: Device or resource busy
# more lowlevel, still broken
hal.sound.speak("Hello").wait(); hal.sound.speak("World").wait();
aplay: main:722: audio open error: Device or resource busy
# but this works:
hal.sayText("Hello"); hal.waitFor(200);hal.sayText("and"); hal.waitFor(200); hal.sayText("good evening"); # this is what we essentiall do from python via Popen, but in a shell it works
espeak --stdout "Hello" | aplay -q; espeak --stdout "World" | aplay -q Somehow closing the device takes longer than the subcommand runs ?? |
Ahhh, ev3dev/ev3dev-lang-python#461 - too bad that there is no new release :/ |
If I use more than one say block, only the first say block is working.
The second block is not working.
The text was updated successfully, but these errors were encountered: