4.5 sound with flicking noise

On latest version 4.5 after a while I found the the sound from my usb input started to have some subtle "flick" sound. It is like static sound and it is especially apparent when in silent environment. I turned off the sound from the source to show you how it sounds like. It does not happen in 4.4.1.

I use Focusrite Scarlette 2i2 USB as my only sound source, and i attached a picture to show my setting.

Please help when you get a chance. Thanks.

https://drive.google.com/drive/folders/1pJ7-bgFRcRZ9ewqmlkXZqr1HzbNYT7M7

Comments

  • edited November 28

    @"Jason Lee" Thank you for reporting your issue.

    Unfortunately I don't have a Scarlett audio interface handy. I tried to reproduce the issue with another USB audio interface but was not able to find anything as of yet.

    A few questions:

    • Do the audio artifacts change in quantity and/or quality when the input is not "silence"? Can you provide an example?

    • Do the audio artifacts change in quantity and/or quality when you change the device input sample rate?

    • Do you experience the issue only in mimoLive or does it occur -at the same time- in other applications using the same audio device?

    • Is there other software running on your machine that could potentially compete with mimoLive for the Scarlett?

    • Does the issue occur in a fresh mimoLive document with only the Audio Source containing the Scarlett as input device?

    • Are you running mimoLive on a smaller audio buffer size than the default 512 samples? If so, try setting it back to the default. Go to Preferences > General > Audio Buffer Size.

    • If you have other hardware available, do you experience the issue with other (USB) audio devices?

    If all of this does not bring any enlightenment to you I would like to ask you to record further tests with a blank document:

    • First, let's eliminate the internal audio engine processing as culprit and run a test with a signal like a simple sine wave at a fixed frequency, e.g. 1k Hz, as a media source in a placer layer.

    • Then set up an audio source and send a test signal as input through the Scarlett. This should help us to better understand what's happening to the input signal.

    On a more practical note regarding the audio setup in your screenshot, are you aware that the Audio Mix Panel lets you solo a layer instead of muting all others?

  • @"Jason Lee" Also of interest: What exactly does "after a while" mean? Does the audio degrade after a few seconds, after some minutes?

  • Thanks Beni for your quick reply, to answer your questions:

    • Yes it is the same with some ambience sound and I attached mimoLive4.5_PianoSample in the same link for your reference.
    • I never tried to change the device input sample rate. I use 48kHz.
    • This problem appears only in mimoLive, and that is the only application running when I experience this
    • After a while means about 2 minutes. It seems when I started to have sound it will start to have the artifact left over towards the silence part of the song.

    Thanks for your all suggested configuration changes. I will try it out later and find out a minimal reproducible case.

    P.S. Another problem I experienced was the delay in the all the outputs I put into my configurations. I have 2 outputs, HDMI out and Scarlett USB out and the sound of each output gets delay and out of sync over time. It seems to affect live output only and not the recording (may be the recorded video was also delayed so they are still in sync). I am not talking about the usual delay of video to live which I understand it is natural with digital video. The delay is sound only and get worst over time.

    The workaround is to stop and start the audio output, then it will be in sync again. It is per output so let say you restarted the USB out, HDMI out is out of sync. So I have to start and stop the audio once in a while.

  • @"Jason Lee" Thank you for the additional audio sample, it's helpful in that the audio artifacts can be seen more clearly in the waveform.

    Regarding the other problem you describe, what you experience can be explained by the File Recording output destination and the Audio Aux output destination using different processes to acquire and write audio data.

    Can you tell how much audio delay is built up over how much time? A lip sync test video might help in determining this.

    Could you please run mimoLive in Debug Mode, reproduce both issues and send me the log? You can send it as a private message if you prefer.

    Also let me know what Mac you're running mimoLive on.

  • edited December 1

    Hi Beni,

    Ran in debug mode and captured the debug log in mimoLive4.5_Audio_debug_Log.txt. A lot of errors:

    error 22:16:56.919040 -0800 mimoLive CGAffineTransformInvert: singular matrix.
    default 22:16:57.304934 -0800 mimoLive HALC_ProxyIOContext.cpp:1068:IOWorkLoop: HALC_ProxyIOContext::IOWorkLoop: skipping cycle due to overload

    Also I tried to run with just the audio layer. After 5 minutes and not able to reproduce. So it must be some other layers causing this, even i muted all of them. Captures another debug log mimoLive4.5_noArtifact_Log.txt

    Edit: after some more testing it does show the artifacts even with 1 layer with the usb audio. It is apparent when you suddenly stop an upbeat audio. Captured another log mimoLive4.5_SuddenStopArtifact_Log.txt

    But as you can tell it is tedious to isolate the actual cause of it. So will need some time.

  • @"Jason Lee" From the logs I can tell that audio input from a Core Audio device -most likely the Scarlett- is a tad too slow which -I guess- accumulates over time until mimoLive's audio engine eventually fills the lag up with silence which becomes audible as click noises. This behavior could be an indicator that the system or one of its subsystems like I/O is being pushed towards its limits.

    Unfortunately I don't see mimoLive4.5_SuddenStopArtifact_Log.txt. Were there other documents open in mimoLive at the same time?

    Could you please let me know what Mac you're running mimoLive on?

  • The machine is Mac Pro late-2013 quad-core 3.7GHz with dual AMD FirePro D300 graphics.

    So with 4.5 does it need more system resources? I don't remember I was facing audio performance problem before. For example with 4.4.1 it has no problem at all.

    I also added back mimoLive4.5_SuddenStopArtifact_Log.txt.

  • @"Jason Lee" The way how audio input is handled by mimoLive changed quite a bit between 4.4.1 and 4.5, mainly to fix a bug with the input level metering. I will see if there's another bug slumbering in the new implementation.

    It would help if you could tell me what macOS version you're running on.

    Also could you please confirm that mimoLive4.5_noArtifact_Log.txt and mimoLive4.5_noArtifact_Log.txt are from mimoLive sessions where only one document was open in mimoLive and only one source and one layer and the default audio output destination were present in that document and no other app was running? That is, the one mimoLive audio input process was the only process causing (notable) user-initiated CPU load?

Sign In or Register to comment.