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.
- https://github.com/wex/sonar-rev
- https://github.com/TotalPanther317/steelseries-sonar-api
- https://github.com/Mark7888/steelseries-sonar-py
- https://github.com/SonarSource/sonar-plugin-api
- Volumen control
- Mute channels
- Change devices
Java 8 or above!
This repo is on jitpack.io
SteelSeriesAPI steel_series_api = new SteelSeriesAPI();
SonarAPI sonar_api = new SonarAPI(steel_series_api);
// Setting it to 20%
sonar_api.setVolume(Channel.CHAT,0.2);
sonar_api.setMute(Channel.CHAT,true);
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}"));
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