Jump to content
Mumble forums

Mac USB Robotic Voice


fumetsukaiu
 Share

Recommended Posts

I've been using a headset since I first got my mac back in '08, at first everything worked great then after an update, I believe 10.5.7, I had friends tell me I sounded like a robot/murloc/garbled/etc. Now 10.6.5 is out and this issue is still present, I've talked to Apple Customer Support twice about it and even brought it into a Mac Store.


Finally stumbled on this gem of a post, http://discussions.apple.com/thread.jspa?threadID=2166616&start=45&tstart=0 with users describing in great detail what they have tested and found out.


Just recently Apple has finally said that everything is working on their end and this is what is going on.


Engineering has determined that this issue originates with a 3rd party.


Why it is not a common issue before Mac OS X 10.5.7

On Mac OS X 10.5.6 & prior, the USB audio driver publishes 2 audio engines, one for input stream and another for output stream. Applications could change sample rate on one audio stream without affecting the other stream. On 10.5.7 & onwards, a change in the USB audio driver publishes only 1 audio engine for both input & output streams. Changing sample rate on one stream will affect another stream (technically, the sample rate resides on the audio engine, so changing the sample rate naturally affects both streams). So in this case, changing the sample rate causes the input stream to run at a different rate that originally when Ventrilo launched. Ventrilo doesn't handle the sample rate change properly, resulting in the audio corruption (robotic/garbled, etc).


(a) This problem actually could occur on Mac OS X 10.5.6, depending on the USB audio device used. If the device can only support one sample rate, then this problem will also occur after the USB audio driver switches the sample rate on both streams when it detected one stream is falling behind.

(b) This problem is not specific to USB audio driver. Using Ventrilo for example with Firewire audio device also exhibits similar issue. The Firewire audio driver also puts input & output audio stream on the same audio engine.


In conclusion, this is a 3rd party application developer issue. Ventrilo (& other programs such as Mumble) need to listen to and handle sample rate change properly.


Please feel free to contact the 3rd party vendor (Ventrilo, Teamspeak or Skype as appropriate for your case) regarding this issue to help alert them of its importance.



Was wondering if this is indeed something Mumble could fix. Funny thing is that it also occurs with Mac products like Garageband and Quicktime.

Link to comment
Share on other sites

  • Administrators

Could you please try to see if it works correctly in this snapshot: http://mumble.hive.no/snapshot/Mumble-Snapshot-1.2.2-674-gc85be07.dmg?


Please also take a look at the log (or perhaps upload the latest part of the log somewhere), if it doesn't seem to work correctly (logs are put in ~/Library/Logs/Mumble.log). I've added some extra logging for stream format changes, so it'll be useful for tracking down what's going wrong if it's still not working.


Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

My mic seems to be working for the most part, however now I am hearing everyone as robotic from time to time. Here is a log of a few hours on mumble.

 

<W>2010-12-10 00:48:06.046 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-10 00:48:06.046 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 00:48:06.046 CoreAudioInput: Stream format change detected. Restarting AudioInput.
<W>2010-12-10 00:48:06.322 CoreAudioInput: Shutting down.
<W>2010-12-10 00:48:06.322 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-10 00:48:06.322 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 00:48:06.322 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-10 00:48:06.323 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 00:48:06.599 CoreAudioOuptut: Stream format change detected. Restarting AudioOutput.
<W>2010-12-10 00:48:06.599 CoreAudioOutput: Shutting down.
<W>2010-12-10 00:48:06.600 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 00:48:06.601 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-10 00:48:06.601 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 00:48:06.601 CoreAudioOuptut: Stream format change detected. Restarting AudioOutput.
<W>2010-12-10 00:48:06.904 CoreAudioOutput: Shutting down.
<W>2010-12-10 00:48:06.904 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 00:48:06.905 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-10 00:48:06.905 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 00:54:43.920 CoreAudioInput: Shutting down.
<W>2010-12-10 00:54:44.209 CoreAudioOutput: Shutting down.
<W>2010-12-10 00:54:47.590 G15LCDEngine_lglcd: Logitech LCD Manager not detected.
<W>2010-12-10 00:54:48.173 CELT bitstream 8000000b from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.7.0.dylib
<W>2010-12-10 00:54:48.176 CELT bitstream 8000000e from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.9.0.dylib
<W>2010-12-10 00:54:48.180 Using Mac OS X system langauge as locale name
<W>2010-12-10 00:54:48.180 Locale is en
<W>2010-12-10 00:54:48.547 Database SQLite: "3.6.19" 
<W>2010-12-10 00:54:48.548 Overlay: Listening on "/Users/kaiu/.MumbleOverlayPipe" 
<W>2010-12-10 00:54:48.961 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-10 00:54:48.961 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 00:54:49.091 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-10 00:54:49.091 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 00:54:49.095 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 00:54:49.096 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-10 00:54:49.096 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 00:54:52.036 OpenSSL Support: 1 (OpenSSL 0.9.8o 01 Jun 2010)
<W>2010-12-10 00:54:52.042 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<W>2010-12-10 01:44:24.948 CoreAudioInput: Shutting down.
<W>2010-12-10 01:44:24.989 CoreAudioOutput: Shutting down.
<W>2010-12-10 22:19:02.415 G15LCDEngine_lglcd: Logitech LCD Manager not detected.
<W>2010-12-10 22:19:02.496 CELT bitstream 8000000b from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.7.0.dylib
<W>2010-12-10 22:19:02.500 CELT bitstream 8000000e from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.9.0.dylib
<W>2010-12-10 22:19:02.504 Using Mac OS X system langauge as locale name
<W>2010-12-10 22:19:02.504 Locale is en
<W>2010-12-10 22:19:02.816 Database SQLite: "3.6.19" 
<W>2010-12-10 22:19:02.817 Overlay: Listening on "/Users/kaiu/.MumbleOverlayPipe" 
<W>2010-12-10 22:19:03.274 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-10 22:19:03.274 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 22:19:03.300 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-10 22:19:03.300 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 22:19:03.414 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-10 22:19:03.414 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-10 22:19:03.415 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-10 22:19:05.828 OpenSSL Support: 1 (OpenSSL 0.9.8o 01 Jun 2010)
<W>2010-12-10 22:19:05.833 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<W>2010-12-10 23:35:27.337 CoreAudioInput: Shutting down.
<W>2010-12-10 23:35:27.378 CoreAudioOutput: Shutting down.
<W>2010-12-11 00:14:34.236 G15LCDEngine_lglcd: Logitech LCD Manager not detected.
<W>2010-12-11 00:14:35.049 CELT bitstream 8000000b from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.7.0.dylib
<W>2010-12-11 00:14:35.053 CELT bitstream 8000000e from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.9.0.dylib
<W>2010-12-11 00:14:35.056 Using Mac OS X system langauge as locale name
<W>2010-12-11 00:14:35.056 Locale is en
<W>2010-12-11 00:14:35.343 Database SQLite: "3.6.19" 
<W>2010-12-11 00:14:35.350 Overlay: Listening on "/Users/kaiu/.MumbleOverlayPipe" 
<W>2010-12-11 00:14:35.670 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-11 00:14:35.670 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 00:14:35.743 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-11 00:14:35.743 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 00:14:35.859 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 00:14:35.860 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-11 00:14:35.860 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 00:14:40.995 OpenSSL Support: 1 (OpenSSL 0.9.8o 01 Jun 2010)
<W>2010-12-11 00:14:41.001 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<W>2010-12-11 00:14:43.385 CoreAudioInput: Shutting down.
<W>2010-12-11 00:14:43.411 CoreAudioOutput: Shutting down.
<W>2010-12-11 00:21:45.760 G15LCDEngine_lglcd: Logitech LCD Manager not detected.
<W>2010-12-11 00:21:46.553 CELT bitstream 8000000b from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.7.0.dylib
<W>2010-12-11 00:21:46.558 CELT bitstream 8000000e from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.9.0.dylib
<W>2010-12-11 00:21:46.561 Using Mac OS X system langauge as locale name
<W>2010-12-11 00:21:46.561 Locale is en
<W>2010-12-11 00:21:46.914 Database SQLite: "3.6.19" 
<W>2010-12-11 00:21:46.926 Overlay: Listening on "/Users/kaiu/.MumbleOverlayPipe" 
<W>2010-12-11 00:21:47.514 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-11 00:21:47.514 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 00:21:47.696 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-11 00:21:47.696 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 00:21:47.815 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 00:21:47.816 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-11 00:21:47.816 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 00:21:51.692 OpenSSL Support: 1 (OpenSSL 0.9.8o 01 Jun 2010)
<W>2010-12-11 00:21:51.698 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<W>2010-12-11 01:17:30.201 CoreAudioInput: Stream format change detected. Restarting AudioInput.
<W>2010-12-11 01:17:30.223 CoreAudioInput: Shutting down.
<W>2010-12-11 01:17:30.224 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-11 01:17:30.224 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 01:17:30.224 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-11 01:17:30.225 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 01:17:30.225 CoreAudioInput: Stream format change detected. Restarting AudioInput.
<W>2010-12-11 01:17:30.500 CoreAudioInput: Shutting down.
<W>2010-12-11 01:17:30.500 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-11 01:17:30.500 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 01:17:30.501 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-11 01:17:30.501 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 01:17:30.777 CoreAudioOuptut: Stream format change detected. Restarting AudioOutput.
<W>2010-12-11 01:17:30.777 CoreAudioOutput: Shutting down.
<W>2010-12-11 01:17:30.777 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 01:17:30.778 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-11 01:17:30.778 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 01:17:30.778 CoreAudioOuptut: Stream format change detected. Restarting AudioOutput.
<W>2010-12-11 01:17:31.054 CoreAudioOutput: Shutting down.
<W>2010-12-11 01:17:31.054 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 01:17:31.054 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-11 01:17:31.055 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 01:29:53.673 CoreAudioInput: Shutting down.
<W>2010-12-11 01:29:53.949 CoreAudioOutput: Shutting down.
<W>2010-12-11 01:29:55.712 G15LCDEngine_lglcd: Logitech LCD Manager not detected.
<W>2010-12-11 01:29:56.655 CELT bitstream 8000000b from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.7.0.dylib
<W>2010-12-11 01:29:56.657 CELT bitstream 8000000e from /Applications/Mumble.app/Contents/MacOS/../Codecs/libcelt0.0.9.0.dylib
<W>2010-12-11 01:29:56.660 Using Mac OS X system langauge as locale name
<W>2010-12-11 01:29:56.660 Locale is en
<W>2010-12-11 01:29:56.947 Database SQLite: "3.6.19" 
<W>2010-12-11 01:29:56.948 Overlay: Listening on "/Users/kaiu/.MumbleOverlayPipe" 
<W>2010-12-11 01:29:57.385 AudioInput: 40000 bits/s, 48000 hz, 480 sample CELT
<W>2010-12-11 01:29:57.385 CoreAudioInput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 01:29:57.515 AudioInput: Initialized mixer for 1 channel 44100 hz mic and 0 channel 48000 hz echo
<W>2010-12-11 01:29:57.515 CoreAudioInput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 01:29:57.519 CoreAudioOutput: Set device to 'AppleUSBAudioEngine:Unknown Manufacturer:Unknown USB Audio Device:fa410000:2,1'.
<W>2010-12-11 01:29:57.519 AudioOutput: Initialized 2 channel 44100 hz mixer
<W>2010-12-11 01:29:57.519 CoreAudioOutput: BufferFrameSizeRange = (14.00, 6144.00)
<W>2010-12-11 01:29:59.388 OpenSSL Support: 1 (OpenSSL 0.9.8o 01 Jun 2010)
<W>2010-12-11 01:29:59.394 SSL: Adding recommended CA UTN-USERFirst-Client Authentication and Email
<W>2010-12-11 02:13:26.770 CoreAudioInput: Shutting down.
<W>2010-12-11 02:13:26.795 CoreAudioOutput: Shutting down.

Hope this helps, and let me know if there is anything else you would like me to do.

Link to comment
Share on other sites

  • 3 weeks later...
  • 5 weeks later...
Has the fix made it better, or worse, or no change?


It's possible that the robotic sound will occur, since we perform a restart of the AudioInput/AudioOutput engine when we are notified of a rate change.

 

I'm running the 1.2.3rc2 developer snapshot, and the Mr. Roboto voice is still happening.

Link to comment
Share on other sites

  • 4 weeks later...
  • Administrators

Since this seems to be an issue with Apple's USB audio driver, I guess any USB audio device should be able to reproduce this?


I can't seem to get it to happen on my cheapo USB sound card, though... I'm kind of wondering if there are explicit steps I do to reproduce the issue (and what hardware are you folks using?)

Link to comment
Share on other sites

I'm seeing this on a 2010 iMac using a USB microphone. The failure is pretty reliable. After about 20 minutes of using mumble, my voice goes all roboty. After a few minutes, it goes back to normal. Then, it goes roboty after awhile again.


Is there any logging I can turn on, to give you useful information?

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...