Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 1.43 KB

README.md

File metadata and controls

55 lines (44 loc) · 1.43 KB

Steelseries Sonar API

This is an unofficial api in Java for the Sonar app.

Disclaimer:
I am not a professional and there may be bugs and stuff.
This project would not be possible without the work of other who reversed engineered the api calls.

Repo's that reversed engineered the api:

Features

  • Volumen control
  • Mute channels
  • Change devices

Usage

Java 8 or above!
This repo is on jitpack.io

Api setup:

SteelSeriesAPI steel_series_api = new SteelSeriesAPI();
SonarAPI sonar_api = new SonarAPI(steel_series_api);

Volumen control:

// Setting it to 20%
sonar_api.setVolume(Channel.CHAT,0.2);
sonar_api.setMute(Channel.CHAT,true);

Change device:

System.out.println("Output devices:");
sonar_api.getOutputDevices().forEach((key, value) -> {
    System.out.println(key + " " + value.getFriendlyName());
});

sonar_api.setOutput(Channel.CHAT,sonar_api.getOutputDevices().get("{0.0.0.00000000}.{b86360bb-c1f9-47ed-be6d-ccc4f8598c85}"));

Future plans:

I may be adding some more features if there is demand or i have the time for it.

  • Streamer mode
  • Microphone device change
  • Audio channel filters