SFML community forums

General => SFML projects => Topic started by: eXpl0it3r on November 18, 2015, 01:17:54 am

Title: Surround Test
Post by: eXpl0it3r on November 18, 2015, 01:17:54 am
The other day I got a new 5.1 surround system and whenever I want to test whether everything is setup right, I'm missing a nice tool to test all the speakers. Today I decided to write something. Introducing...

Surround Test

(https://i.imgur.com/oakY3fI.png)

This is just the first iteration which allows you to pick the number of channels your system has (are there any systems with more than 8 channels?) and you can select a channel to play a sound from. Some channel counts are not supported and you'll just get an error message on the console.


Download

Windows (https://my-gate.net/pub/SurroundTest.7z) [1.59 MiB]


Technical Bits

Unfortunately, there's no way with SFML to get the number of supported channels, nor is there a way to play a sound on one specific channel. This left me with the only option to give the channel count setting to the user and generating a sound buffer which plays the sound on only the selected channel.


Future

In addition to this simple surround test, I want to add another test, where one sound source is flying around the listener who is in the center. That way you can see how well the 3D effect is.
And the final goal is to have everything visualize a bit.
Ah yeah and GitHub code release will come one day as well. ;)
Title: Re: Surround Test
Post by: zsbzsb on November 18, 2015, 04:44:48 pm
Well this explains why you opened 2 bug tracker reports on the SFGUI repo  ;)
Title: Surround Test
Post by: eXpl0it3r on November 18, 2015, 05:58:17 pm
Hehe, yeah I ran into a few issues along the way. ;)
Title: Re: Surround Test
Post by: SeriousITGuy on November 19, 2015, 11:22:18 am
Nice, will test this with my new 5.1 headset ;)
Title: Re: Surround Test
Post by: Hapax on November 19, 2015, 08:43:58 pm
This looks useful although I don't currently have surround sound set up so I can't test it  ;D

I want to add another test, where one sound source is flying around the listener who is in the center. That way you can see how well the 3D effect is.
And the final goal is to have everything visualize a bit.
I did this (https://github.com/Hapaxia/OrbitingSound). Maybe it will be of some use.
I realised that I couldn't fully test it myself  :-[

Also:
are there any systems with more than 8 channels?
Yes. Mine has 20 outputs  8)