No sound generation from SONAR 8 when it's not the "focused" windows application

Author
alexworden
Max Output Level: -89 dBFS
  • Total Posts : 88
  • Joined: 2004/08/18 17:37:46
  • Status: offline
2008/11/25 20:54:15 (permalink)

No sound generation from SONAR 8 when it's not the "focused" windows application

Hi,

Please can anyone help with this problem:

I've been playing around with bome's Mouse Keyboard (http://www.bome.com/midi/keyboard) and LoopBe1 (http://www.nerds.de/en/loopbe1.html) in order to enable MIDI input into SONAR from the qwerty computer keyboard. This is incredibly handy when I'm travelling with my laptop and need to tap in some ideas. That seems to work ok some of the time but here's my question...

Sometimes (and I can't quite figure out when / why), the midi input makes no sound when I'm pressing notes on the "Mouse Keyboard" application. Obviously, I have to switch main focus to the "Mouse Keyboard" application to trigger the notes either with the mouse or keys. Only when I switch windows focus back to SONAR do I suddenly get all those notes played at once! It's as if all the MIDI input is being queued up while SONAR is not the active application.

I find that if I have some other audio in my application and I'm playing it, I can switch to the Mouse Keyboard app and it will play in real-time. It seems that *sometimes* after I stop playing in SONAR, I can switch to the Mouse Keyboard app and the notes *will* play in real time.

I've tried switching off the global option to stop playing at end of project but I'm not sure that was what was causing the issue. It didn't have an immediate effect.

Does anyone know what SONAR is doing w.r.t. muting the sounds and if there's an option to just tell it to always play the sounds. I suspect this same problem will occur if using a regular midi device and SONAR is not the currently focused application.

Thanks!

Alex
#1

15 Replies Related Threads

    PCMS
    Max Output Level: -89 dBFS
    • Total Posts : 84
    • Joined: 2007/12/12 16:41:30
    • Status: offline
    RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2008/11/25 21:17:11 (permalink)
    Hmm not sure but is share drivers with other applications turned on from the Audio options dialog? Also, I would suggest having a file with a single track (1 instrument) use your qwerty app and figure outexactly what step is causing the communication to break. We can probably help more if it gets narrowed down.

    Good luck!
    #2
    Fog
    Max Output Level: 0 dBFS
    • Total Posts : 12302
    • Joined: 2008/02/27 21:53:35
    • Location: UK
    • Status: offline
    RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2008/11/25 21:19:45 (permalink)
    Alex, in audio you have "shared in background" on?

    if it works normally when it's in focus, that might be it.

    posting more info would help though, what mode the card / model etc.
    #3
    bitflipper
    01100010 01101001 01110100 01100110 01101100 01101
    • Total Posts : 26036
    • Joined: 2006/09/17 11:23:23
    • Location: Everett, WA USA
    • Status: offline
    RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2008/11/25 23:18:42 (permalink)
    Try turning off the "share audio drivers with other programs" option (I forget the exact phrasing). What this does is turn off the audio engine whenever SONAR loses focus.


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

    My Stuff
    #4
    alexworden
    Max Output Level: -89 dBFS
    • Total Posts : 88
    • Joined: 2004/08/18 17:37:46
    • Status: offline
    RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2008/11/25 23:42:52 (permalink)
    Hi,

    I'm not sure what you mean by "In Audio" and "Shared in background". I have "Share Drivers With Other Programs" unchecked. I don't believe this makes any difference as the Mouse Keyboard is only pushing midi messages to LoopBe1 - which is inputting to SONAR.

    FYI, I'm running SONAR 8.0.1 (32bit) on Vista Home Premium 64 on a shiny new Sony Viao VGN-FW270J. I was running via ASIO4ALL to the internal Realtek HD Audio card. When that plays it works well. I've been seeing other odd behavior from SONAR but that's another story I think... (see below **). Anyway, I just tried an experiment that I'd like to confirm is a bug so please *do* try this at home and report back... :)

    Close all projects.
    Configure the audio to good old reliable but slow (MME 32 bit) drivers
    Perhaps you can confirm that you can hear an existing project with this ok.
    Open a new blank project.
    Open synth rack and create an instrument track for TTS-1 (default options)
    When the TTS-1 property page appears, try the audition button at the bottom of a channel strip (the button with the note on it).
    At this point, I hear nothing. I see no midi signal.
    OK... so I see the Run/Stop Audio engine indicator is off - if I turn it on and try again, I do hear the audition.
    But try this... press W to rewind to the beginning of your project or hit the |< rewind button on the transport....
    now when I click audition, I see the midi signal but there's no audio.
    Sometimes I don't even get to see the midi signal in TTS-1

    There's definitely something screwy going on... I just tried the same experiment with ASIO4ALL drivers and it's even less predictable. I can't get any sound or response from the audition button at all now... When I click on the Stop Audio Engine button it's clear that SONAR is really thinking hard about something. It takes about 10 seconds to respond. If I click play, again, SONAR thinks for about 10 seconds then does nothing (as the project is empty), but the audition button still does not work. Now, if I open the Options->Audio dialog, and click on each tab but don't change ANYTHING, then click OK. Then try play, suddenly my TTS-1 audition button works. CRAZY! I can't imagine what kind of spaghetti code lies beneath this interface!


    ** w.r.t. to SONAR behaving badly, occasionally I start a project playing, I get no sound or see an audio meter activity, and SONAR refuses to stop playing. SONAR wont even close down! At which point, I have to kill the process (and this also happens without ASIO4ALL using my EDIROL M-16DX mixer)

    SONAR 8 is a mess!

    I'm about to try installing the 8.0.2 update - I'll let you know what happens next...
    #5
    alexworden
    Max Output Level: -89 dBFS
    • Total Posts : 88
    • Joined: 2004/08/18 17:37:46
    • Status: offline
    RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2008/11/26 01:53:25 (permalink)
    8.0.2 update didn't help.

    I think the problem with SONAR playing and not ever stopping is some interaction between it and ASIO4ALL. You can have ASIO4ALL working perfectly, close SONAR, reopen SONAR and reopen the same project, and SONAR will exhibit this problem. It will play but make not generate any audio. Strangely enough, if you open the Audio options dialog, click on each tab, don't change anything, then click ok, your project will play OK.

    If you tell SONAR to stop at the end of the project, at least you get a chance to wait for it to stop when it has this problem. Otherwise, it will just keep playing forever it seems and there is nothing you can do to stop it. You have to kill the process.

    I wonder what SONAR is not doing to initialize ASIO until that dialog is opened and closed?

    #6
    alexworden
    Max Output Level: -89 dBFS
    • Total Posts : 88
    • Joined: 2004/08/18 17:37:46
    • Status: offline
    RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2008/11/26 16:52:33 (permalink)
    Bump...

    Has anyone tried creating a project as I described above yet? I'm very curious to know if this is a general SONAR 8 bug.

    Thanks,

    Alex
    #7
    rogeriodec
    Max Output Level: -75 dBFS
    • Total Posts : 753
    • Joined: 2004/04/09 13:55:04
    • Location: Brazil
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/02 19:29:31 (permalink)
    bitflipper
    Try turning off the "share audio drivers with other programs" option (I forget the exact phrasing). What this does is turn off the audio engine whenever SONAR loses focus.

    I was having the same problem with X3e. Turning off "Share Audio" solved the problem. Although in my opinion this should be just the opposite ...

    rogeriodec.com.br


    * Cakewalk By Bandlabs (always lastest versions), Window 10 x64
    * Focusrite Scarlett Solo Audio Interface
    * Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
    * 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
    * Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
    * 3 LCD Monitors
    * Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
    #8
    Splat
    Max Output Level: 0 dBFS
    • Total Posts : 8672
    • Joined: 2010/12/29 15:28:29
    • Location: Mars.
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 19:00:34 (permalink)
    rogeriodec
    I was having the same problem with X3e. Turning off "Share Audio" solved the problem. Although in my opinion this should be just the opposite ...



    You are running ASIO4All?
    post edited by CakeAlexS - 2014/10/03 19:23:02

    Sell by date at 9000 posts. Do not feed.
    @48/24 & 128 buffers latency is 367 with offset of 38.

    Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
    #9
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 19:09:34 (permalink)
    It is not an ASIO4ALL issue, the driver sharing option causes SONAR to go silent when it loses focus. The complaint which resurrected the thread is a perception that the switch is backwards. The driver sharing function works as documented.
    #10
    mettelus
    Max Output Level: -22 dBFS
    • Total Posts : 5321
    • Joined: 2005/08/05 03:19:25
    • Location: Maryland, USA
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 19:14:39 (permalink)
    Rather than ASIO4ALL, I would suggest uninstalling ASIO4ALL and running SONAR in WDM driver mode. For friends with laptops without an external audio interface, WDM has often been the solution to issues with SONAR. ASIO4ALL is actually using WDM mode anyway, but I have seen enough flaky behavior with it that I no longer trust it.

    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
    Splat
    Max Output Level: 0 dBFS
    • Total Posts : 8672
    • Joined: 2010/12/29 15:28:29
    • Location: Mars.
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 19:17:36 (permalink)
    scook
    It is not an ASIO4ALL issue, the driver sharing option causes SONAR to go silent when it loses focus. The complaint which resurrected the thread is a perception that the switch is backwards. The driver sharing function works as documented.




    Yup exactly wake me up today sorry, my brain was inverted as well...
    post edited by CakeAlexS - 2014/10/03 19:23:38

    Sell by date at 9000 posts. Do not feed.
    @48/24 & 128 buffers latency is 367 with offset of 38.

    Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
    #12
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 19:20:41 (permalink)
    old thread alert.
    revived with post #8
    #13
    rogeriodec
    Max Output Level: -75 dBFS
    • Total Posts : 753
    • Joined: 2004/04/09 13:55:04
    • Location: Brazil
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 21:35:55 (permalink)
    scook
    old thread alert.
    revived with post #8


    Hello Scoot. Is there any problem in reviving a post that has not been solved?

    rogeriodec.com.br


    * Cakewalk By Bandlabs (always lastest versions), Window 10 x64
    * Focusrite Scarlett Solo Audio Interface
    * Intel i7-4790K CPU @ 4.00 GHz / ASROCK EXTREME 4 Z97 Mobo
    * 2 SSD Samsung Evo 250 Gb (RAID-0) + 1 Western Digital 2 Tb + 1 Seagate 1 Tb
    * Onboard video / 16 Gb RAM HyperX Fury 1600 Mhz
    * 3 LCD Monitors
    * Axiom 61 MIDI Controller, Tapco S5 Active Studio Monitors
    #14
    Splat
    Max Output Level: 0 dBFS
    • Total Posts : 8672
    • Joined: 2010/12/29 15:28:29
    • Location: Mars.
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 21:43:51 (permalink)
    It's not a good idea to bump/piggyback on the thread that is 6 years old. It can cause a lot of confusion and unnecessary posts. We have all seen countless examples of it.
     
    Regardless Scook's post was only designed to be informative, and it certainly helped me out. So please don't be surprised if people warn other people that an old thread has been bumped, many of us attempt to indicate it when we spot it and it's a good public service methinks.
     
    Thanks..
    post edited by CakeAlexS - 2014/10/03 21:53:26

    Sell by date at 9000 posts. Do not feed.
    @48/24 & 128 buffers latency is 367 with offset of 38.

    Sonar Platinum(64 bit),Win 8.1(64 bit),Saffire Pro 40(Firewire),Mix Control = 3.4,Firewire=VIA,Dell Studio XPS 8100(Intel Core i7 CPU 2.93 Ghz/16 Gb),4 x Seagate ST31500341AS (mirrored),GeForce GTX 460,Yamaha DGX-505 keyboard,Roland A-300PRO,Roland SPD-30 V2,FD-8,Triggera Krigg,Shure SM7B,Yamaha HS5.Maschine Studio+Komplete 9 Ultimate+Kontrol Z1.Addictive Keys,Izotope Nectar elements,Overloud Bundle,Geist.Acronis True Image 2014.
    #15
    scook
    Forum Host
    • Total Posts : 24146
    • Joined: 2005/07/27 13:43:57
    • Location: TX
    • Status: offline
    Re: RE: No sound generation from SONAR 8 when it's not the "focused" windows application 2014/10/03 21:48:00 (permalink)
    Generally it is not a good idea to revive extremely old threads even when the problem appears to be similar. It is a better idea to create a new thread, if necessary add a link to the old thread. In this case, there appears to be confusion over what a feature does. The "share drivers" feature is documented here http://www.cakewalk.com/Documentation?product=SONAR%20X3&language=3&help=Dialogs2.053.html
     
    Share Drivers With Other Programs.  This option allows other software to access device drivers. When this option is checked, other software can access device drivers when SONAR is not the focus of Windows.
     
    In other words when "share drivers" is enabled SONAR will not exclusive use of the driver. When SONAR loses focus it will give up the driver.
     
    The warning was intended to make everyone aware posts prior to #8 were old and not to bother responding to them directly.
    post edited by scook - 2014/10/03 22:00:52
    #16
    Jump to:
    © 2025 APG vNext Commercial Version 5.1