Razer Leviathan auto power off [fix]

Discussion in 'Audio' started by MichaelMacGyver, Apr 4, 2015.

Thread Status:
Not open for further replies.
  1. TechKno

    TechKno New Member

    Nope, you can easily write a batch script to play when your computer starts up.

    It'll look something like this:

    @Echo off
    start "" "C:\Program Files (x86)\NirCMD\nircmd.exe" loop 99999 1140000 beep 24000 100
    @Echo on
    You'll need to change the filepath to where the exe is located, this is just where I placed mine. Then you need to save that file as a .bat and save it to:

    C:\Users\[INSERT USERNAME HERE]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    This should then work as expected.
    Note: This has only been tested on my Windows 10 OS so it may be slightly different Operating Systems
     
    Last edited: Jul 2, 2016
  2. abrthel

    abrthel New Member

    I purchased this speaker/sub set yesterday and so far I really like it except for the auto turn off feature. A little bit of searching and I found this thread along with a project by Svenja Dovnic at https://github.com/sdovnic/razer-leviathan

    All her script does is add a task to the Windows Task Scheduler which reruns the sounds file every 29 minutes. I've modified her project a bit to use English translations and to incorporate a beep for 100ms at 24kHz every 25 minutes instead of playing a sound file.

    It's a set it and forget it solution which I think solves the problem quite elegantly but definite kudos is due to TechKno for figuring out a 24kHz sound at 100ms will work to keep the speakers on.

    My modifications can be found at: https://github.com/abrthel/razer-leviathan
     
  3. TechKno

    TechKno New Member

    This code isn't working on my Windows 10 machine. When I ru the powershell script in the ISE, there's no output or confirmation that it's been installed correctly and the balloon doesn't appear like the script says it should. When I run Get-ScheduledTask the "Razer-Leviathan" Task isn't in there.

    (I do have the allow remote code execution enabled by the way)
     
  4. abrthel

    abrthel New Member

    I've just updated the repo and set the trigger timer to 18 minutes, I was getting inconsistent results that I wasn't getting in original testing. 18 minutes has seemed to sort out the issue for now but longer testing is needed to be sure.

    As for your issue, did you run the script as an administrator? If you have powershell setup then in an administrator powershell prompt you should be able to just run the following after changing the working directory to the project folder.
    Code:
    .\installer.ps1
    If you're still having issues then set powershells execution policy to unrestricted then run the installer.
    Code:
    Set-ExecutionPolicy Unrestricted
    For anyone else following along to reverse my the change to the ExecutionPolicy setting you can run:
    Code:
    Set-ExecutionPolicy RemoteSigned
    The install.cmd script can be run as well to bypass the permissions issues in powershell if users are having some issues. All it does is setup the powershell environment and run the installer.ps1 script like I show above. It also requires an administrator prompt.

    In case it helps I'm running
    Windows 10 Pro 64bit
    Version: 1511
    OS Build: 10586.494

    but the script should work for Windows 7 all the way to 10.
     
  5. finalvote

    finalvote New Member

    Hello
    I used ur script but my Leviathan still turned itself off.
    I went to Task Scheduler and the "Razer-Leviathan" Task is right there so maybe the time span between two beeps are too long?
    Also I got a pet mouse and from Wikipedia its hearing range is from 900Hz to 79kHz.
    I am not sure if he can hear the 24kHz beep which sure I dont want him to.
    Thanks for your help.
     
    Last edited: Aug 2, 2016
  6. abrthel

    abrthel New Member

    Hey,

    I've realized that I forgot to update github after making final tweaks. My interval time is currently set to 15 minutes (and I've just pushed the change to my repo). You can just manually adjust the task in the task scheduler and it should work.

    Keep in mind that you'll need to be connected via the aux line. The script doesn't work with optic connections. I'm also not convinced that these speakers can output a sound at 24kHz so your mouse shouldn't hear it anyways but if the speakers actually can output the sound then your mouse would only hear the beep for 100ms (0.1 seconds) every 15mins. I don't think that will bother it too much. My cats don't seem to notice.

    Unfortunately the little hack isn't perfect, for instance if you mute the speakers sound device then the razor bar will turn off. If you happen to switch your default sound device to say your headphones then the razor bar will turn off.

    Hope that helps.
     
    finalvote likes this.
  7. finalvote

    finalvote New Member

    Thanks I think the problem is that I was using optical.
    But I also found out that I can hear the 24kHz beep every 15 minutes, weird.
     
    Last edited: Aug 3, 2016
  8. abrthel

    abrthel New Member

    Interesting.. I've never noticed the beep, but I've also never sped the time up between beeps. Well that blows my theory out of the water and makes me question why the beep doesn't work with the optical connection. I just assumed that the sound processor in the speakers just removed that frequency of sound since it couldn't output it anyways and therefore didn't count it towards resetting the timer.

    Is it working for you now?
     
  9. finalvote

    finalvote New Member

    Yes it is thanks. I am just a bit annoyed by that "noise"(static sound) lol.
     
    Last edited: Aug 4, 2016
  10. abrthel

    abrthel New Member

  11. Cowprince

    Cowprince Member

    Looking at the Leviathan, but I keep coming across this "feature". I'm assuming I know the answer, but the question is he audio itself doesn't wake the speaker up, for all intents and purposes it's just a keep alive once the speaker is powered on, correct?

    I'd be ecstatic to see this updated to where it would go into a sleep mode of some sort, but wake on sound.
     
  12. BadMan123_no_id

    BadMan123_no_id New Member

    Why should I be forced to download software from a third party to fix a problem. Why did I pay $169.00 for a product that dose not work correctly. Sounds more like designed by some fool in a suit. whom in their right mind would think this is okay? Fix this RAZOR or I will bring the headset back to BestBuy. Hope the gaming mice do not work the same way.
    BTW: Thanks for the suggestion for a work around.

    Hello,


    Thank you for contacting Razer Support. My name is James and I will be assisting you with your case.


    Unfortunately, the headset comes with a built in power saving mode which will automatically turn itself off when left idle. You can try playing some background music and set it to a low volume and it should not turn off on its own.


    Should you have any further questions, please do not hesitate to let me know and I will do my best to assist you.




    Sincerely,

    James

    Razer Customer Support
     
    Last edited by a moderator: Sep 18, 2016
  13. mmocarski

    mmocarski Active Member

    I am looking into this again, I've had this system for a while now, still like it a lot - except for the power save "feature." I can't believe that the official response from customer support was actually "play some low level music." Can we possibly get some sort of update from Razer on if / when they plan on releasing a firmware update for this? What people have mentioned here does solve the problem, but it is a hack by definition since we are exploiting the audio signal behavior to artificially keep the sound bar on.

    I believe the fix could be as simple as a firmware update, but I acknowledge that I don't write firmware and can't say for certain. An official response could go a long way to help out existing owners (and potential owners) of this product. If I have to hack it, I will, but that's only because I'm long outside of the return window - because I was optimistic a firmware update would have been released by now.
     
  14. I successfully implemented this solution. It worked for a couple of weeks, then the speaker started turning off again. Has anyone else had this happen? What's the fix?

     
  15. Yes, it is ridiculous to pay for a product like this and expensive at it is and have to rely on third party software for a fix.

    Anyways, I tried...

    1 - Snaptimer - unfortunately didn't have the option to start minimized which for some could be nothing but for me, it's kinda of annoying although it did the job while using the Leviathan Aux. Didn't work with SPDIF/ Optical.

    2 - Cool Timer - Didn't have the option to Auto Start the Countdown Timer as Snaptimer has although it starts minimized. Guess we can't have everything in one program :)

    3 - Nircmd - It work with Aux but didn't Optical.

    4 - Winstep Nexus Dock. I use this dock software for a long time and suddenly I remembered that his built in clock has a feature to either announce the time or play a chime sound every 1, 15, 30, or 60 mins. And you can even replace the chime sound by any other sound you want which I did (replaced by one of the previous silent waves that others post it in here). My version of Winstep is the Ultimate which is the paid version but I believe the free version has this option as well. I think other docks software such as ObjectDock probably have the same type of clock so it's just a matter of research.

    For the Winstep all you need to do is right-click on the clock in your dock, chose Clock Settings and under Time Announcements pick the options:

    How often: "Every 15 minutes"
    Type of Announcement: "Chimes"

    Now go to the Winstep Program Preferences and in the Sounds TaB, Events highlight Clock Chime and change the sound for any sound you want.

    And guess what? It's working for three days now even with SPDIF/ Optical cable which in my opinion is much better than the Aux since you can take the advantage of the Dolby option.

    Regardless, it's a shame that with so many complaints all over the Internet about this stupidity, Razer didn't come up with a simple firmware update solution.
     
  16. finally it will stop reseting
     
  17. As I said in my previous post this isn't the best solution since you still need to use a third party software but at least solved my problem. I know also that not everyone likes to use docks as I do, but as I said, it solved my problem even with the option of using an Optical cable instead of Aux.
     
  18. B43rli3

    B43rli3 New Member

    Thank m8 this is what I wan´t for this nice soundbar.

    No there is nothing from Razer, but i think its because the Leviathan doesn´t work with the Synapse program.
     
    Last edited by a moderator: Mar 27, 2017
  19. vampyren

    vampyren New Member

    This is just sad, after a year still no fix for this. How hard can it be to add a option for something this simple. I'm getting more annoyed but this every day. I love the soundbar but this is just crazy. The person making this decision should be fired. How can Razor think people want their speakers to shut down every 20min. Seriously i keep turning the damn thing several times when i use my PC. I dont listen to music all the time but now and then i play youtube, game, or even play music and often the speakers are off. I use my pc allot and i want the speakers to be on as long as i dont turn them off. How hard can it be.
     
    Flameshot likes this.
  20. Yeah, pretty fucking retarded having to turn it on every 20 mins. What's the thought behind this?
     
    vampyren likes this.
Thread Status:
Not open for further replies.
Sign In with Razer ID >


Don't have a Razer ID yet?
Get Razer ID >