3DTune-In / 3dti_AudioToolkit

3D Tune-In Toolkit is a custom open-source C++ library developed within the EU-funded project 3D Tune-In. The Toolkit provides a high level of realism and immersiveness within binaural 3D audio simulations, while allowing for the emulation of hearing aid devices and of different typologies of hearing loss.
GNU General Public License v3.0
217 stars 44 forks source link

3DTI software does not work after Windows installation #12

Open dgutierrezATC opened 3 years ago

dgutierrezATC commented 3 years ago

I have installed the software on Windows 10 without any error, but when I try to run it a terminal window appears and disappear after one second.

The content of the terminal is:

[verbose] App built date: Oct 20 2020 | time: 15:17:54

[verbose] List of devices availables:

ID: 0 Name: Realtek ASIO

[verbose] Device selected : ID: 0 Name: Realtek ASIO.

[verbose] HL Setup Simulator postponed until activation [verbose] nearDistanceILD Near Field Effect simulation file NearFieldCompensation_ILD_44100.3dti-ild has been loaded successfully. [verbose] nearDistanceILD Spatialization simulation file HRTF_ILD_44100.3dti-ild has been loaded successfully

Any idea about what is the problem or what am I doing wrong?

dgonzalezt commented 3 years ago

Hello @dgutierrezATC I understand that your problem is with running the Binaural Test Application. Installing it on Windows 10 is probably the most widespread use case and has never been a problem, did you finally get it to work? If not, we would need to be able to reproduce the error. To try to reproduce the error I would ask you to answer the following questions: Does your W10 user have admin permissions? can you tell us the content of the data folder inside the application installation folder? does any other message appear in the console? do you have visual studio installed on the computer? If necessary, we could generate a version of the application with the function of generating log files activated, so that we can obtain more data on the problem. In any case, we would not have it ready before next week.

dgutierrezATC commented 3 years ago

Hi @dgonzalezt ! Sorry for not giving too many details. You are right, it was when I tried to run Binaural Test Application. I tried to run it on my laptop, and it was working. So probably it's a local problem with my desktop computer.

-Does your W10 user have admin permissions? Yes, it does! But when I did the installation, I didn't do it as an admin. I could try it. -Can you tell us the content of the data folder inside the application installation folder? It contains 5 folders (AudioSamples, BRIR, HRTF, ILD, Recorded), a set of icons, and the InitialConfig.xml file. -Does any other message appear in the console? The message I was able to copy was this:

`[verbose] App built date: Oct 20 2020 | time: 15:17:54

[verbose] List of devices availables:

ID: 0 Name: Realtek ASIO

[verbose] Device selected : ID: 0 Name: Realtek ASIO.

[verbose] HL Setup Simulator postponed until activation [verbose] nearDistanceILD Near Field Effect simulation file NearFieldCompensation_ILD_44100.3dti-ild has been loaded successfully. [verbose] nearDistanceILD Spatialization simulation file HRTF_ILD_44100.3dti-ild has been loaded successfully`

-Do you have visual studio installed on the computer? Yes! Visual Studio Community 2017 and Visual Studio Code.

It would be nice to have the software running on my desk computer. So if that version with the log function can solve the problem, I would appreciate it. And don't worry about the time to get it ready since it's working on my laptop, so I can keep working :)

Many thanks for the support!

mariacuevas commented 3 years ago

Hi @dgutierrezATC!

Thank you for the details. We have managed to replicate the problem. There is an issue with the Binaural Test Application when Windows only offers the Realtek ASIO device. We will work on a new version to solve it, but it will take some time. In the meanwhile, to make the App work, you can install ASIO4ALL (https://www.asio4all.org/) on your computer, this will allow our App to manage the audio device correctly. The message in the console will be:

ID: 0 Name: ASIO4ALL v2 ID: 1 Name: Realtek ASIO [verbose] Device selected : ID: 0 Name: ASIO4ALL v2.

Let me know if it works for you. We will let you know as soon as we have the new version of the application.

Best regards, María.

dgutierrezATC commented 3 years ago

Hi @mariacuevas !

Many thanks! Now it works perfectly 😃 The message I got in the console was the same as yours: List of devices available: ID: 0 Name: ASIO4ALL v2 ID: 1 Name: Realtek ASIO [verbose] Device selected : ID: 0 Name: ASIO4ALL v2.

I have tried to change the audio device by clicking on the "play" icon:

imagen

And from the devices list, I wanted to enable Moon Boots Stereo (Bluetooth heatphone):

imagen

However, nothing happened in ASIO4ALL app, and I got this message in the console:

RtApiAsio: driver reset requested!!!

It's not a problem due to I'm using the one that is working, but it is just to check the output audio before sending it to our sensor.

Many thanks again! 😄 Best, Dani.