Helpful ReplyFlushOnStop - Anybody know what this Aud.ini setting does ??

Author
SonicExplorer
Max Output Level: -75 dBFS
  • Total Posts : 775
  • Joined: 2004/02/26 16:44:40
  • Status: offline
2018/03/31 09:04:58 (permalink)

FlushOnStop - Anybody know what this Aud.ini setting does ??

In my S5 aud.ini file and there's a "FlushOnStop=On" setting.  Anyone know what that does?   I'm still having random Sonar lock ups, often shortly after stopping playback, so I was wondering if this setting might be something to experiment with??
 
So far I found the following after searching:
"It is related to the "Play Effect Tails After Stopping" option. This tells SONAR to keep processing pending data until the output buffers are empty."  
 
Thanks,
 
      Sonic
#1
pwalpwal
Max Output Level: -43 dBFS
  • Total Posts : 3249
  • Joined: 2015/01/17 03:52:50
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/03/31 09:51:18 (permalink)
play effect tails after stopping http://forum.cakewalk.com/FindPost/3637515

just a sec

#2
Wookiee
Rrrrugh arah-ah-woof?
  • Total Posts : 13306
  • Joined: 2007/01/16 06:19:43
  • Location: Akahaocwora - Village Yoh Kay
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/03/31 09:52:02 (permalink) ☄ Helpfulby pwalpwal 2018/03/31 10:04:35
That AUD.INI setting does not seem appear in SONAR Platinum looking at the S-Plat AUD.INI it seems to have been replaced with AlwaysStreamAudioThroughFx.  At a guess it probably has something to do with clearing the AUDIO buffers.

The option "Play Effect Tails After Stopping" is no longer in S-Plats preferences it has been replaced by Always Stream Audio Through Fx

Life is not about waiting for the storm to pass, it's about learning to dance in the rain.
Karma has a way of finding its own way home.
Primary, i7 8700K 16Gigs Ram, 3x500gb SSD's 2TB Backup HHD Saffire Pro 40. Win 10 64Bit
Secondary  i7 4790K, 32GB Ram, 500Gb SSD OS/Prog's, 1TB Audio, 1TB Samples HHD AudioBox USB, Win 10 64Bit
CbB, Adam's A7x's - Event 20/20's, Arturia V6, Korg Digital Legacy, Softube Modular, Arturia Keylab-88, USB-MidiSport 8x8 
#3
pwalpwal
Max Output Level: -43 dBFS
  • Total Posts : 3249
  • Joined: 2015/01/17 03:52:50
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/03/31 10:04:50 (permalink)
Wookiee
That AUD.INI setting does not seem appear in SONAR Platinum looking at the S-Plat AUD.INI it seems to have been replaced with AlwaysStreamAudioThroughFx.  At a guess it probably has something to do with clearing the AUDIO buffers.

The option "Play Effect Tails After Stopping" is no longer in S-Plats preferences it has been replaced by Always Stream Audio Through Fx




can confirm

just a sec

#4
bitflipper
01100010 01101001 01110100 01100110 01101100 01101
  • Total Posts : 26036
  • Joined: 2006/09/17 11:23:23
  • Location: Everett, WA USA
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/03/31 15:33:23 (permalink)
The purpose of that option is to avoid an annoying effect where you start playback and hear the reverb or echo tails from the previous playback. That happens when there is still residual audio in the buffer after stopping. "Play effect tails on stop" tells SONAR to let the remaining audio continue to play after stopping until the buffer is empty. This can also avoid unexpectedly chopping off the reverb tail when you export your song.
 
AlwaysStreamAudioThroughFx superseded FlushOnStop with X3. Why, I don't know. Maybe it's just a more accurate description of what's happening. In either case, you do want to leave it enabled.


All else is in doubt, so this is the truth I cling to. 

My Stuff
#5
robert_e_bone
Moderator
  • Total Posts : 8968
  • Joined: 2007/12/26 22:09:28
  • Location: Palatine, IL
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/03/31 16:42:48 (permalink)
I am quite curious as to why your system is occasionally locking up.  I cannot even dimly recall when the last time Sonar locked up or crashed on me, and if there were some easily stumbled into recipe for that happening, I would think we would see a whole bunch of other similar reports.
 
That makes me think that whatever IS sometimes locking up your Sonar, is something local to your situation.
 
The things that come to mind for that would include:
 
1) Possible failing when using a 3rd party 32-bit plugin in a 64-bit Sonar environment.  To use a 32-bit plugin in a 64-bit Sonar, the plugin must be used with bridging software - Sonar includes a free piece of software called BitBridge to provide that functionality, HOWEVER, not all 32-bit plugins are stable when running bridged with BitBridge.  There is a commercially available program called JBridge, that also provides bridging for 32-bit plugins, and for SOME 32-bit plugins that fail under BitBridge, they end up being able to work using JBridge, HOWEVER, some 32-bit plugins STILL fail no matter which bridging software is used.  Many, if not most, folks have made a deliberate decision to completely move away from using 32-bit plugins in 64-bit Sonar.  Most of the decent plugins also come in a 64-bit flavor - as a free download if one already has the 32-bit version.  I do still use a small number of 32-bit plugins, but I have those split off into their own folder with only that 32-bit folder added to the 64-bit Sonar plugin search path.  Those plugins were thoroughly tested by me, to make sure they were working, before I added them  to be able to be used in my 64-bit Sonar projects.
 
2) Possible failure with some 3rd-party 64-bit plugin.  There HAVE been some 64-bit plugins that don't always play nice in Sonar.  Try to see if any plugin shows up in any Windows Event Viewer messages at the time of failure, and see if you can spot any consistent presence of any particular plugins across multiple failing projects.
 
3) Make sure Windows and your plugins are all at current maintenance levels.
 
There are undoubtedly additional things others can think of suggesting you look at, but I DO think with some digging, and possible assistance from forum folks, that you might be able to get your environment stabilized.
 
Bob Bone

Wisdom is a giant accumulation of "DOH!"
 
Sonar: Platinum (x64), X3 (x64) 
Audio Interfaces: AudioBox 1818VSL, Steinberg UR-22
Computers: 1) i7-2600 k, 32 GB RAM, Windows 8.1 Pro x64 & 2) AMD A-10 7850 32 GB RAM Windows 10 Pro x64
Soft Synths: NI Komplete 8 Ultimate, Arturia V Collection, many others
MIDI Controllers: M-Audio Axiom Pro 61, Keystation 88es
Settings: 24-Bit, Sample Rate 48k, ASIO Buffer Size 128, Total Round Trip Latency 9.7 ms  
#6
SonicExplorer
Max Output Level: -75 dBFS
  • Total Posts : 775
  • Joined: 2004/02/26 16:44:40
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/03/31 18:38:19 (permalink)
Thanks, you guys are great.  The system is XP Pro 32 bit and I have been using the same plugs for many, many years on the prior W2K DAW, as well as the same inteface (RME Fireface with WDM drivers - which i prefer). The prior DAW was pretty much flawless actually but ran out of horsepower.  This new DAW is a dual core Intel and ACPI (in other words I can not program where the interrupts go).  Plenty or RAM. I am using a firewire TI chipset as recommended. Separate hard drive for Audio. Doing all the things I learned over the years to insure the system is stable.  The new box runs awesome up until Sonar locks up randomly, which makes working very unsettling as I lose everything I've worked on between saves.  Once locked up I am able to close Sonar (Windows will say "Sonar not responding, end now?" and then it will close down). 
 
I can find no common denominator to reproduce it yet, I've tried every trick I can think of so far.  Messed with changing buffer sizes and latency and video settings and background priority and single-processor mode and 64-bit mix engine disabling and re-profiling, deleting picture cache, and pretty much all the basic stuff.  Ran memory and disk tests, ran DPCLat, etc.  I'm completely stumped and so bummed after months of building this box, and it working so well, but for this one major Sonar lockup problem.  It seems mostly likely to happen some time shortly after stopping playback, most often in a session where some recording has transpired, but it's difficult to say for certain if those are common denominators.
 
I could try a different video card and switch from a PCIe to PCI firewire card, BUT that is going to require punching out slots in the backplate of the DAW along with introducing a very high risk of getting Windows and/or Sonar all botched up internally - so those are last resorts to consider in my opinion.  ASIO is something else I want to avoid for a variety of reasons, so let's leave that off the table for now. Keep in mind I'm using the same exact software, plugs, interface, etc within the system that I was previously using on W2K and no issues with anything.  
 
Any help greatly appreciated, I am about out of ideas what else to try at this point or how to troubleshoot further.
  
    Sonic
post edited by SonicExplorer - 2018/03/31 20:02:43
#7
SonicExplorer
Max Output Level: -75 dBFS
  • Total Posts : 775
  • Joined: 2004/02/26 16:44:40
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/04/01 00:53:04 (permalink)
BTW, lock up never happens during playing or recording, ever.  Usually after stopping the transport, or more typically when hitting rewind while the transport is currently playing (instead of hitting stop first).  Often the lockup is not immediately apparent because many times i don't realize until I click on something and then Sonar locks up - but it wasn't what I clicked on that caused it, rather Sonar had already locked up when the transport last stopped - but isn't apparent until you later click on something and Sonar no longer responds.   Many times the green PLAY button on the toolbar is still lit, as if Sonar was unable to complete the STOP sequence and got locked up.
 
Sonic
post edited by SonicExplorer - 2018/04/01 04:47:32
#8
bitflipper
01100010 01101001 01110100 01100110 01101100 01101
  • Total Posts : 26036
  • Joined: 2006/09/17 11:23:23
  • Location: Everett, WA USA
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/04/01 14:26:04 (permalink)
Hangs are usually caused by hardware or hardware drivers. Which is not to say that buggy software can't also do it, but if you're not using any new plugins you can probably eliminate that possibility.
 
I know this doesn't answer your mystery, but perhaps it's a clue.


All else is in doubt, so this is the truth I cling to. 

My Stuff
#9
Rbh
Max Output Level: -52 dBFS
  • Total Posts : 2349
  • Joined: 2007/09/05 22:33:44
  • Location: Indiana
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/04/01 15:12:42 (permalink)
I had a similar issue with an older XP install. It would lock up randomly when using a pretty Ram intensive VST instrument. It would not crash.... but lock up for maybe up to 30 seconds. Something about the way the memory was allocated could be a problem. Maybe check to see if  your disk cache the same as your w2K install?

I7 930 2.8 Asus PDX58D
12 Gig
Appollo
CbB, Sonar Pro, Reaper, Samplitude, MixBuss
 Win7 Pro

http://www.soundclick.com/bands/default.cfm?bandID=902832
#10
mettelus
Max Output Level: -22 dBFS
  • Total Posts : 5321
  • Joined: 2005/08/05 03:19:25
  • Location: Maryland, USA
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/04/01 16:58:18 (permalink)
When RAM limits are involved, a hang (that recovers) is typically Windows using the hard drive as RAM. I am not sure if that applies to the OP since it seems more like a driver hiccup.

ASUS ROG Maximus X Hero (Wi-Fi AC), i7-8700k, 16GB RAM, GTX-1070Ti, Win 10 Pro, Saffire PRO 24 DSP, A-300 PRO, plus numerous gadgets and gizmos that make or manipulate sound in some way.
#11
SonicExplorer
Max Output Level: -75 dBFS
  • Total Posts : 775
  • Joined: 2004/02/26 16:44:40
  • Status: offline
Re: FlushOnStop - Anybody know what this Aud.ini setting does ?? 2018/04/01 18:24:14 (permalink)
I'm going to let the machine sit next time for an hour and see if it ever recovers.  Haven't tried that yet.
 
What about Windows DEP?  Should I turn that on for all processes and see if maybe it catches something?  Kind of nervous about enabling that, never messed with it before, no idea what side effects it may introduce.
 
Also, what about the "Arm For Recording" feature in Sonar (or whatever it is called)?  I don't see anywhere in S5 it can be configured, but I was thinking maybe when a track starts or stops playing a lockup could be related to that feature creating/deleting the file that is associated with the feature (allowing the enabling of recording while already playing)   Probably didn't describe that too well, but hopefully you guys know what i'm referring to.  Sonar creates, then cleans up, a file in the audio directory every time a start/stop sequence occurs.  I suppose if the creation or deletion of that file went wrong during a start/stop operation, it could cause Sonar to hang.
 
My gut is telling me this is either a sound or video card issue WRT the motherboard (collision) or SP3 is at fault (should have stayed at SP2 where the file dates and RTL's pre-date Sonar).  Could well be that Microsoft made changes to RTL's that aren't playing right with drivers or Sonar or Plugs that pre-dated SP3.  Wouldn't you know I erased the SP2 uninstall so I can't even reverse it now.  Ugh.    It maybe could be an audio hard drive problem I suppose as well, maybe the drive is not responding to an I/O request.    I wish there was some way to troubleshoot the system once Sonar hangs, to figure out WHERE it is hung, even in a general sense that would make a huge difference in figuring out what area to narrow the sleuthing.
 
 
*** UPDATE ***
 
PROBLEM IDENTIFIED:
 
The issue is related to multi-processor (core) operation.  There is a component (I believe Directixer) that is not playing well on a multi-processor machine.  When I force Sonar to run in single-processor mode, no problems.
post edited by SonicExplorer - 2018/05/01 05:14:05
#12
Jump to:
© 2024 APG vNext Commercial Version 5.1