elieserdejesus / JamTaba

Jamtaba is a software to play online music jam sessions.
http://www.jamtaba.com
244 stars 50 forks source link

Lots of static/noise heard on MacBook due to very small buffer size #1332

Closed FrenchLobster closed 4 years ago

FrenchLobster commented 4 years ago

This issue did not occur initially, but after a few days of using JamTaba on this computer. Audio output has deteriorated with lots of static (see audio sample below), when listening to or joining any session. Rebooting the mac + reinstalling a new copy of JamTaba (and its audio plugin) didn't not resolve the issue.

Config: 2015 MacBook 12", 8Gb RAM, SSD. MacOS 10.14.6 JamTaba 2.1.14

elieserdejesus commented 4 years ago

@FrenchLobster , I will assume you are using the Standalone version, not the AU plugin version.

What is the value of your buffer size in your JamTaba Audio Preferences?

These audio gliches can be the result of a too small buffer size value. Try 256 for buffer size and check if the audio glitches are solved.

FrenchLobster commented 4 years ago

@elieserdejesus , Yes, standalone 64-bit OSX build. The buffer values listed in the dropdown list are "14, 28, 56, 112, 224, 448, 896, 1792, and 3584" (unconventional numbers, intended?), so no "256", but the audio glitches seem to be gone after I switch to 448 (from 14). Hopefully this will last. Obrigado!!

Suggesting to maybe set the default value to something higher than "14", which is the smallest buffer size available, to help prevent this issue for users with "low end" systems.

Jamtaba_buffer_size_values

elieserdejesus commented 4 years ago

14 is a very small buffer size. I will filter out the small values to avoid the glitches.

(unconventional numbers, intended?)

Yes, no common values. I will check this code, but I think these values are returned by the audio device.