#133 Crackling on recording from digital source

closed-fixed
Audio (19)
5
2006-09-19
2006-04-10
No

I get short clicks and plops on the start of recording
where there should be perfect silence and lots of
artefacts after about 80 measures. Timemachine is able
to record a clean take from the same source, an Om kick
drum patch.
(0.8)

Discussion

  • Robert Jonsson

    Robert Jonsson - 2006-04-10
    • assigned_to: nobody --> spamatica
     
  • Robert Jonsson

    Robert Jonsson - 2006-04-10

    Logged In: YES
    user_id=81832

    ...so it's not all in my head, I have had suspicions about
    this too.
    Diving right in.

     
  • Robert Jonsson

    Robert Jonsson - 2006-04-10

    Logged In: YES
    user_id=81832

    Some questions.

    What jack settings do you use?

    If you listen to the file muse recorded with another
    player does the crackling persist? I'm asking because it
    may be a playback issue as the prefetch functionality has
    changed slightly.
    If the file indeed has clicks, could I check a sample of
    it? Not sure where that will lead, but you never know..

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-10

    Logged In: YES
    user_id=1062672

    jackd -R -P80 -t10000 -dalsa -dhw:0 -r48000 -p128 -n2

    I used MusE, Sweep and mplayer to listen to it.

    Sample attached. First the Artefacts on silence, then a cut
    from the later part.

    BTW, I had yet another kind of recording trouble: a delay in
    what had been recorded. Plus not only wrong wavform
    graphics, but parts of previous recordings at the start of
    new ones. Didn't see anything of this with 0.7.x versions.

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-10

    Artefacts

     
  • Robert Jonsson

    Robert Jonsson - 2006-04-10

    Logged In: YES
    user_id=81832

    Gosh those are audible.... not what I expected at all..
    Hmm, how is that possible

    About the other issue you mention, when you understand
    more about it please submit it as a separate bug-report.

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-11

    Logged In: YES
    user_id=1062672

    On recording, MusE reports:
    Prefetch: NO BUFFER
    (...)
    FIFO 0x89858b8 overrun... 1024
    WaveTrack::getData(1045903, 1, 128): fifo overrun

    First several of the first, than lots of the other with some
    Prefetch messages inbetween. (I looked past this mesagges
    initialy, because i'm used to muse reporting something all
    the time, even if it just works, sorry.)

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-11

    Logged In: YES
    user_id=1062672

    Attaching a package with the MusE file and Om patches from
    my ongoing project. You need latest Om CVS (currently frozen
    and working well). Uncheck Run before loading root.om. The
    kick patch has been the most 'reliable' regarding broken
    recording (worked with timemachine, though, so I think
    neither om nor Jack are broken).
    Tapas had similar issues when testing with this package.
    I know testing with this is a bit much to ask, and no bad
    feelings if you don't ;) (I can often be found in #lad,
    thorwil).

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-11

    Logged In: YES
    user_id=1062672

    Attaching a package with the MusE file and Om patches from
    my ongoing project. You need latest Om CVS (currently frozen
    and working well). Uncheck Run before loading root.om. The
    kick patch has been the most 'reliable' regarding broken
    recording (worked with timemachine, though, so I think
    neither om nor Jack are broken).
    Tapas had similar issues when testing with this package.
    I know testing with this is a bit much to ask, and no bad
    feelings if you don't ;) (I can often be found in #lad,
    thorwil).

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-11

    Project with Om patches that trigger recording problems

     
    Attachments
  • Robert Jonsson

    Robert Jonsson - 2006-04-12

    Logged In: YES
    user_id=81832

    I'm trying ;) Checking in on irc tonight if time permits.

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-12

    Logged In: YES
    user_id=1062672

    So I found out it's the same with 0.7.1. I know I recorded
    stuff from Om with the 0.7 series without problems, before,
    though.
    Either there is something specific about the signals my new
    Om patches generate that bothers MusE, but not Jack itself
    and Timemachine (I deem that quite unlikely), or it doesn't
    like my current Jack version, 0.100.7 (or any lib that also
    plays a role in recording.)

     
  • Robert Jonsson

    Robert Jonsson - 2006-04-12

    Logged In: YES
    user_id=81832

    Ok, I was suspecting that.

    Did you always run jack with 128 frames?
    Could you try running jack with bigger buffers? E.g. 1024
    instead of 128.

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-12

    Logged In: YES
    user_id=1062672

    With 512 the issue is still there, but to a lesser amount,
    it seems. Everything above 256 makes for bad midi timing,
    1024 ruins it, so while this might help to get at the
    problem, there's no workaround here.

    Oh, with 1024 I get a very interesting result. Attaching
    recording with MusE, 1024 frames, faded out after the totaly
    off start (it continous with the right sound and timing,
    just with crackling). Plus for comparsion, what I got with
    Timemachine (on 128 frames, though).

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-12

    Kick recorded with MusE, 1024 frames

     
    Attachments
  • Thorsten Wilms

    Thorsten Wilms - 2006-04-12

    Kick recorded with Timemachine, 128 frames

     
    Attachments
  • Robert Jonsson

    Robert Jonsson - 2006-04-13

    Logged In: YES
    user_id=81832

    A fix in CVS that hopefully takes care of the clicks and
    plops.
    Also note bug: 1469994, which explains a lot of strange
    distortion happening when small jack buffers are used.
    Workaround: disconnect the audio-group so there's only one
    output from the track.

     
  • Thorsten Wilms

    Thorsten Wilms - 2006-05-26

    Logged In: YES
    user_id=1062672

    Problem has disappeared (0.8.1a)

     
  • Robert Jonsson

    Robert Jonsson - 2006-09-19

    Logged In: YES
    user_id=81832

    Missed to close this one earlier.

     
  • Robert Jonsson

    Robert Jonsson - 2006-09-19
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks