-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
No output from MHA (anymore) on Ubuntu 18.10 #24
Comments
By default MHA does not autoconnect to any other IO port. Did you remember use jack_connect or a GUI to connect MHA other input/output devices? MHAIOJack can be instructed to autoconnect with the con_in and con_out configuration variables, e.g. |
Yes, I am sure. I prepared a little testkit.zip A sweep is fed into MHA with jack_playrec while its output is recorded. The resulting recording only contains zeros. |
I just tried to reproduce the issue with your testkit on my developer machine, a bionic VM, and a cosmic VM. I could only reproduce the issue by not adding the Live session user to the audio group. On my machine and with Live session users permitted to do real-time scheduling the recording had the wrong length (28s vs 30s) but otherwise sounded fine. |
You are right! Thank you, and sorry for wasting your time. I forgot to add the user to the audio group after reinstalling Ubuntu. will close the issue. |
When jackd is first installed it displays a configuration ui where the user is asked if real time scheduling should be used. If this is answered "yes" it tries to do rt-related stuff even if later started without -R (use rt scheduling) or with -r (do not use rt scheduling) and regardless of audio driver. I got some error messages about failling memory allocations etc... This is only an empirical observation, I do not know where the postinstall script saves its output and where the output is used.
I will investigate if this is possible |
Thank you. I think this would help first-time (and also some not so first-time) users :) |
I currently don't get any output from the MHA process on Ubuntu 18.10 on my Notebook, which I tested with various versions of openMHA from 4.6.0 to 4.8.1. The process runs but the output is zero.
Interestingly, recordings with "wavrec" are empty.
This morning, I saw the same behavior on a Notebook of a student with Ubuntu 18.10 who installed openMHA from the repository, which is why I report it here.
Currently I don't know what the reason could be and I will add any related information once I have a clue.
An example config which does not produce any output different from zero is the following:
nchannels_in = 1
fragsize = 1024
srate = 48000
mhalib = iirfilter
mha.A = [1.0]
mha.B = [1.0]
iolib = MHAIOJack
cmd=start
The text was updated successfully, but these errors were encountered: