Home Forums Breakaway Audio Enhancer Breakaway buffer settings

Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #66

    Hi

    Buf size is fairly obvious, but what does the setting "buffers" do and what is the impact of increasing (or decreasing) these and in fact when should you increase (or decrease) this setting? Should you change when you change the buf size. I guess the real questions are "what’s it for and what does it do"?

    I’m an OtsAV home user. Regularly have OtsAV providing piped music around my home for anything up to 16 hours a day (mostly at weekends). I’ve noticed after each 6 or 7 hours playing there is a 1 or 2 second music cut out. The system will carry on uninterupted meanwhile but the sound just mutes for that 1 or 2 seconds. I’ve not noticed this before when using OtsAV "naked" i.e without Breakaway. Would this be something to do with Breakaway and if so, would increasing the Buf size and buffers help? Using Windows XP Media Center on a Toshiba Intel Centrino Core 2 Duo Processor T7200 2 Gig of Ram.

    Thanks Leif, as I’ve said before Breakaway is a fantastic product. The sound processing is simply awesome! 🙂

    #4198
    JesseG
    Member

    A few things to try in Ots to possibly stop that from happening… Set your mic input to the same soundcard, and disable the "open soundcard" option, so that it doesn’t open the input even if you’re not using it.

    Also try switching from the DirectX output, to the "Compat" output (aka MME).

    If your converter (aka soundcard) has the option of setting the sync to be external or from a digital input OR using the internal clock… try using the internal clock — unless you’re running digital audio into the converter of course, and in that case you would want to sync to the input card, and try different sync methods on that card’s master clock. Trying internal first.

    Also try running Ots in "Highest" priority (*not* realtime) and see if it has any more stutters.

    #4199

    Thanks JesseG but no change I’m afraid.

    Thanks

    Paul

    #4200
    JesseG
    Member

    It could be a number of things. Ots is historically not so stable on some machines (and more-so OS configurations), sometimes having nothing to do with the soundcard. I would suggest trying to have Ots support you so you can at least get Ots stable on your machine, without routing through Breakaway.

    When you get that taken care of, it should be no problem to use Breakaway. Clearly the skipping problems are from Ots, and not Breakaway.

    #4201

    Thanks JesseG.

    That’s the thing. OtsAV is stable (exceptionally so) and has been running for some 16 hours non stop today on an audio dedicated Toshiba Qosmio G30 without Breakaway and not so much as the threat of a stutter or skip. That’s how it’s been for years. As I said in my original post, I’ve not noticed this before when running Ots.

    Thanks anyway.

    Paul

    #4202
    Leif
    Keymaster

    Hi Johnny!

    Strange problem. I really don’t know what’s going on (because there’s nothing in Breakaway that would delay the sound for that long), but here’s how I would narrow the problem down further.

    The first thing I would find out was whether it’s a matter of Breakaway receiving audio and not passing it for a couple of seconds, OR if it’s a matter of OtsAV not sending audio for a couple of seconds.

    This is a critical question, because if it’s a matter of OtsAV not sending the audio, there’s no way for me to fix the problem, even if it doesn’t happen without Breakaway, because it wouldn’t inherently be something Breakaway is doing.

    To find this out, the first thing I would do is to play audio with Winamp for 24 hours, all other things being equal.

    Still drops out? Okay, it’s Breakaway. No dropout? We’ll need to dig deeper.

    Next thing I would do, I would make Winamp play a continuous test tone.. Let’s say a quiet (-24dB should do it) tone at 18000hz. Something I would be able to put up with listening to for 24 hours, but that could be detected on the sound card output.

    With Winamp’s test tone playing (you could use the in_tone input plug-in), I’d start up OtsAV and play music the way you normally do.

    Then, I would use a second computer to *record* the output of primary computer. When I heard a skip, I’d go look at the recording. During the period where the OtsAV music dropped out — i would see if the 18khz test tone is still there. If it is, OtsAV dropped out, Winamp didn’t – would have to be fixed by OtsAV developers.

    If they BOTH dropped out, the next thing I would do keep the current computer (Winamp + OtsAV + Breakaway), but set up an audio recording app to record from Breakaway Pipeline. Next time I heard the dropout, I’d check the recorded file. Did they both drop out? I have a bug to report to Eugene Muzychenko. Did neither drop out in the recorded file? Leif has a bug to find and fix 😉.

    I agree that this is a tremendous amount of work (kind of like thinking through and writing this email was). Unfortunately, troubleshooting always IS a lot of work – there’s no real way around it.

    Let me know how it works out, or if you decide to just live with it for now 😉

    ///Leif

    #4203
    Anonymous
    Guest

    Thanks Leif for that tutorial.

    I have the same problem here.
    OtsAV plus Breakaway will also gives me a 1 to 2 seconds dropout after 6 to 7 hours.
    I was blaming it to a background task of my slow PC (AMD 1.5GHz) with a little peak of 100% or more CPU/RAM usages.
    Now, when I think twice it could be a problem of OtsAV running together with VAC or the Breakaway Pipeline from Eugene Muzychenko.
    I tested other Software Multiband Processing (MBL4, StreamSolo, Omnia AX, XAP Soundsolution etc.) by using VAC. With all the above mentioned processing I get dropouts when the CPU is at 100% peak (normal usage with OtsAV and one of the mentioned processing tools on this slow PC is between 25% and 40%).
    This dropouts will happend while playlist generation and importing new files to OtsAV with MBL4, StreamSolo, Omnia AX etc.
    I don’t get dropouts with Breakaway while playlist generates or importing new files.
    Only after 6 or 7 hours playing there is this 1 to 2 seconds dropout.
    Without any of that processing tools, OtsAV will play without any dropouts.
    OtsAV is running 24/7 since 2003 without any crash or dropout when not using multiband processing.

    Leif I really like to buy Breakaway but with dropouts….
    I can’t test Breakaway with other Audio Applications. My 30 days trial of Breakaway ends yesterday.

    Greetings from Germany,
    Marion

    PS: Perhaps you can try it yourself with one of the OtsAV Demo or the Free Version of OtsAV.
    http://www.otsav.com

    #4204
    Anonymous
    Guest

    Just having stumbled upon this conversation, I think I may be able to turn the spotlight back onto Breakaway.

    I’ve had these mystic dropouts too, but I’ve been running my music through VLC media player or Media Player Classic. If these dropouts (which now thinking always have appeared after hours of activity) were caused by something else than CPU peaks, as they from time to time were, there might be a larger compatability question involved.

    On the original topic: is there a massive manual available somewhere, and could it be linked somewhere useful, such as the actual site or Breakaway’s menu?

    As Leif returns to the thread, I want to communicate my sincerest thanks for this great piece of software, it’s been exactly what I was looking for the past year or so. So far (I’ve been a user since 1.00) I’ve only managed to find one album of music which didn’t sound clearly better without extensive tweaking (and finally running a subcategory of rock with extreme ends of Classical or Radio Magic). With the correct setting the results in violence-orientated games (and movies) are out of this world, such as a flat granade pop finally finding the blast in it, or a high-caliber rifle sounding something other than a granny beating a carpet.

    PS. A month back, after spending a few hours trapped behind a cheap mixer for a small hall, the idea of constructing a custom linux box and an application of Breakaway to process the audio signal after it’s been mixed and before it passess onto the speakers hit me. If you’d play your cards right, I’m can see how such a device could have huge commercial success among a crowd from small artists to large performance halls.

    Keep up the good work! Greetings from Finland, the promised land of polarbears.

    #4205
    Leif
    Keymaster

    Hi DarkFade!

    I’ve been to Helsinki a couple of times. Went to Assembly ’94, ’95 and ’96 if I remember correctly. Nice city!

    Thank you for your comments!

    I’d love to do a custom box. I’m currently looking into the possibility of having a custom appliance-type PC manufactured inexpensively. It could be useful for all sorts of audio products!

    I never heard back from JohnnyTheFox so I’m afraid I don’t know what the conclusions of the troubleshooting was.

    I’ve never seen anything like those dropouts on any of my test systems, so I have no real way of tracking it down myself.

    Virtual Audio Cable (and hence Breakaway Pipeline) is synchronized to the system clock, whereas the sound card has its own clock. Because these clocks aren’t locked together, the Input and Output of breakaway are unsynchronized, and run at slightly different rates. The Pipeline clock, as far as the system is concerned, is exactly 44,100.00Hz or 48,000.00hz, but the Sound Card could very well be running at 44093.97Hz or 48120.35Hz (or any arbitrary number you can think of, as long as it’s reasonably close). With a standard FIFO buffer, you would be guaranteed periodical dropouts or skips, as the buffer would regularly underrun or overrun.

    However, Breakaway contains an adaptive sample rate converter. In real-time it detects the actual rates, and continuously (and very carefully) adjusts the sample rate conversion ratio, to keep the buffer at medium. If you’ve ever (on a heavily loaded system) noticed an audio drop-out, followed by a change in pitch, that’s likely the sample rate converter in Breakaway getting confused by the drop-out, and resetting itself to recover.

    I can’t make any sense of this drop-out occuring after 6-7 hours, though. No buffer in breakaway is as long as a couple of seconds — not even on Huge buffering!

    I could really use the help of someone experiencing the problem to run through the troubleshooting checklist I wrote before, to attempt to narrow down the problem.

    There’s no manual yet – I’m not sure what to write in it other than what’s already on all the tooltips in the program – but if you have suggestions, I’ll be happy to listen 🙂.

    ///Leif

    #4206
    Anonymous
    Guest

    Hi

    Breakaway is a wonderful software and I intend to buy two licenses to use with OTSAV DJ.
    But the 3 seconds stoping after 6 Hours is unsuitable for may needs.

    Thus, I’m trying to identify and isolate the problem in 3 steps:

    – First – Yesterday: I played sound (a continuos tone) in OTSAV for 16 hours and recorded it in the same computer before to send it to the sound card (OTSAV has an option to do this), and, in the same time, recorded it in other computer, after pass through Breakaway and the sound card.

    The sound recorded in the same computer, before the output, don’t stoped, is clean.

    The sound recorded in the other computer, after output to Breakaway and sound card, stoped two times:

    3.6 sec after 6:10:55 Hours
    3.6 sec after 12:22:21 Hours

    And at 9:17:31 Hours, have 41 Sec of distortion (soud like an helicopter).

    – Second – today: I’m recording again, usig OTSAV without Breakaway.

    – Third – tomorrow: I intend to record the same sound playing with Winamp.

    Tomorrow, i’ll to tell what happened in the second step.

    //Carlos

    #4207
    Anonymous
    Guest

    Hi

    Now, the results of the second step:

    In this step, I played sound (a continuos tone) in OTSAV for 16 hours and recorded it in the same computer before to send it to the sound card (OTSAV has an option to do this), and, in the same time, recorded it in other computer, after pass through the sound card, without Breakaway.

    The sound recorded in the same computer, before the output, don’t stoped, is clean.

    The sound recorded in the other computer, after output to sound card, without Breakaway, is clean too.

    I’m now in the third step, playing the sound with winamp and recording it in other computer, after pass through Breakaway and the sound card.

    Tomorrow, i’ll to tell what happened.

    Carlos

    #4208
    Anonymous
    Guest

    Hi again

    The third step, part 1:

    In this step, I played sound (a continuos tone) in WINAMP for 18:47 hours and recorded it in other computer, after pass through Breakaway and the sound card.

    The sound stoped three times:

    3.6sec after 6:10:57 Hours

    3.6sec after 12:22:23 Hours.

    3.5Sec after 18:33:47 Hours.

    I’m now in the third step, part 2, playing the same sound with WINAMP and recording it in other computer, after pass the sound card, without Breakaway.

    Tomorrow, i’ll report The third step, part 2.

    Carlos

    #4209
    Anonymous
    Guest

    Hi again

    The third step, part 2 (the last):

    In this step, I played sound (a continuos tone) in WINAMP for 16:32 hours and recorded it in other computer, after it pass through the sound card, without Breakaway.

    The sound recorded in the other computer, after output to sound card, without Breakaway, is clean, without stops.

    Thus, if OTSAV only output and WINAMP only output are good, I come to the conclusion that the stops after 6 hours of continuos sound are Breakaway related.

    I’m not a computer programmer neither a sound expert. I’m only love a good sound and hope that this Breakaway behaviour is fixed. This was my little effort to do this.

    Carlos

    #4210
    Leif
    Keymaster

    Hi cnbau!

    That you for your excellent data! Very good, and it’s starting to make sense now, at least a little bit.

    You mentioned 6 hours, 10 minutes and 57 seconds.

    Let’s do some math.

    6 hours is 360 minutes.. add the 10 minutes, that’s 370. Multiply by 60 for seconds, that’s 22200 seconds. Add in the 57, we’ve got 22257 seconds.

    Now, multiply 22257 seconds by 48000 samples per second, and again by 4 for 4 bytes per sample (16-bit stereo). The result is 4273344000. Divide that by 2^32 (maximum 32-bit integer range) – 4294967296 / 4273344000 = 1.005…

    Almost the same number. Obviously, this is a 32-bit value wrapping around somewhere in my code..

    OR…

    In the sound card driver.

    Once, in a completely different project, I’ve seen a Kernel Streaming sound card driver show this symptom. It was a Sound Blaster Audigy 2, I was using Kernel Streaming, and it would just stall after 3 hours. At the time, I was doing 192000hz 1-channel, which is exactly twice the amount of data, so it makes sense.

    This *could* be related.

    So, I will ask you to try one more thing:

    Try Breakaway in safe mode (either WaveOut or DirectSound).

    Does it still do it?

    ///Leif

    #4211
    Anonymous
    Guest

    Hi Leif!

    I’m very happy with the results.

    I’m playing the tests using an Acer Intel Core Duo 1.66 GHZ notebook with 2 GB Ram and 255 GB HD. The sound card is an USB Pioneer CDJ-400. The Breakaway settings was Default KS and safe mode, and medium buffer.

    Now, i’m playing the test using safe mode and Wave. I tried DS, but with this option, the Breakaway Pipeline don’t was available in the optionBox. Maybe I don’t have DirectSound installed in my notebook. I don’t know.

    The report will be here tomorrow.

    Carlos

    PS. SO= Windows XP SP3.

Viewing 15 posts - 1 through 15 (of 21 total)
  • You must be logged in to reply to this topic.