This repository provides a solution for a known issue with the Razer Kraken Headset, where the headset may go to sleep and cut off audio due to inactivity. The project includes:
- A Rust application that continuously plays an unnoticeable sound file to keep the headset active.
- A Python-based tray application that installs and manages the Rust application as a Windows service.
- Keeps Razer Kraken Headset Active: The Rust executable plays a sound file repeatedly to prevent the headset from going to sleep.
- Windows Service Integration: The Rust application is installed as a Windows service to ensure it runs in the background.
- Tray Application Management: A Python tray application allows users to manage the Windows service easily, including starting and stopping the service.
- Python: Required for the tray application. Ensure you have Python installed on your system.
- Rust: Required to build the Rust application. Install Rust from rust-lang.org.
- Cargo: Rust's package manager and build tool, which is typically installed with Rust.
-
Clone the repository:
git clone https://github.com/KasperHolck/RazerSoundService.git cd your-repo-name
-
Navigate to the Rust application directory:
-
Build the Rust application:
cargo build --release
-
The compiled executable will be located in
target/release/
.
-
Install the required Python packages:
pip install -r requirements.txt
-
Press [CTRL] + [SHIFT] + B to build the tray application
-
A dist folder will be created with the tray executable inside. Don't run it yet.
-
From the rust release folder move the rust executable into dist/dependencies/server.dist/
-
Install NSSM and move the executable into dist/dependencies
-
Drag the dist folder onto the desktop
-
Run the dist/dependencies/tray.dist/RazerSoundServiceTray.exe
-
A folder will open, drag the whole dist folder into there
-
Run the ./dist/dependencies/tray.dist/RazerSoundServiceTray.exe again as administrator.
-
For ease of use create a shortcut to this executable and place to desktop.
- Once the tray application is running, you will see an icon in the system tray.
- Right-click the tray icon and mouse over "Service" and select "Install".