hrtf | Related Transfer Function audio signal processor | Audio Utils library

 by   mrDIMAS Rust Version: Current License: MIT

kandi X-RAY | hrtf Summary

kandi X-RAY | hrtf Summary

hrtf is a Rust library typically used in Audio, Audio Utils, Deep Learning applications. hrtf has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

HRTF stands for Head-Related Transfer Function and can work only with spatial sounds. For each of such sound source after it was processed by HRTF you can definitely tell from which location sound came from. In other words HRTF improves perception of sound to the level of real life.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              hrtf has a low active ecosystem.
              It has 33 star(s) with 1 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              hrtf has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of hrtf is current.

            kandi-Quality Quality

              hrtf has 0 bugs and 0 code smells.

            kandi-Security Security

              hrtf has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              hrtf code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              hrtf is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              hrtf releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hrtf
            Get all kandi verified functions for this library.

            hrtf Key Features

            No Key Features are available at this moment for hrtf.

            hrtf Examples and Code Snippets

            No Code Snippets are available at this moment for hrtf.

            Community Discussions

            QUESTION

            WebAudio panner not working properly with WebRTC audio stream
            Asked 2021-Feb-22 at 06:13

            I have an issue where my audio panner isn't properly panning with the given values.

            Currently, if I set positionX.value to 1000, the audio plays as it was in the middle and not panned at all to the right channel.

            Now if I set positionX.value to 0.5 or 0.9 or 1, the audio plays on the right channel, (even though not entirely, as I can still hear a bit on the left, more than usual).

            I don't understand why it only works from -1 to 1, any number higher than that the audio goes back to the center. Any idea why? And I'm sure it should work with higher numbers because I have tested it before in a different situation and nothing says it shouldn't on the documentation.

            ...

            ANSWER

            Answered 2021-Feb-21 at 13:46

            You need to set where ths listner is! Where it is determines the panning of your source node.

            By default the listners position is (0,0,0) which is why you can here it when you set the source nodes with low values.

            You can set where the listner is with:

            Source https://stackoverflow.com/questions/66188559

            QUESTION

            Audio in audio and video HTML5 elements are muted while using WebAudio API
            Asked 2020-Dec-08 at 05:30

            I'm trying to get audio from video to work with Web Audio API. But audio in video is muted. HTML5 audio is working when I am testing this code locally (on jsfiddle it is not working when Web Audio API is on) but locally and on jsfiddle video has no audio (it is muted and user can not change that). No errors shows in the console. I've added function to apply to Autoplay Policy Changes: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#webaudio. Here is my code:

            ...

            ANSWER

            Answered 2020-Dec-08 at 03:38

            You'll need to pause the audio until a user explicitly interacts (e.g. clicks) the page. This is a modern requirement to prevent audio from autoplaying without explicit invocation from users.

            Source https://stackoverflow.com/questions/65115065

            QUESTION

            Error while trying to run HRTF example from PyAL (File descriptor in bad state) on Raspberry Pi
            Asked 2020-Jun-21 at 06:48

            I am trying to experiment with HRTF audio spatialization using PyAL library on the Raspberry Pi https://github.com/NicklasTegner/PyAL/tree/master/examples/HRTF

            PyAL depends on OpenAL. I have installed necessary dependencies using sudo apt-get install to ensure the library works: libopenal-dev libopenal1 libopenal-data libmysofa-dev libmysofa0 libmysofa-utils qt5-default alsa-utils alsa-oss alsaplayer-jack g++ gstreamer1.0-python3-plugin-loader gstreamer1.0-alsa

            Additionally, I installed pyglet using: sudo pip3 install pyglet

            All examples (3D audio, playback, efx, audiplayer, player) work except the HRTF example. When I try to run the HRTF example, I get the following error: AL lib: (EE) ALCplaybackAlsa_reset: snd_pcm_hw_params(self->pcmHandle, hp) failed: File descriptor in bad state

            I know for a fact that this is being caused by PulseAudio not being present in the system (https://unix.stackexchange.com/questions/467193/error-while-running-the-gstreamer-example-on-development-kit-file-descriptor). So I installed pulseaudio and its corresponding tools (e.g. pavucontrol using sudo apt-get install pulseaudio.

            After installing pulseaudio and rebooting, when I run that example, the example executes without error. However, I do not hear any audio output in the headphones. In fact, audio output from the entire system stops. I made sure the audio output is headphones from sudo raspi-config and alsamixer does show pulseaudio as a audio driver (when it is installed).

            I am getting conflicting information from the Internet. The above link suggests using pulseaudio to mitigate the error (which is correct), whereas this link: https://www.youtube.com/watch?v=stvc7ehCWUU and https://raspberrypi.stackexchange.com/questions/1621/no-sound-output-in-vlc say to remove pulseaudio (which is also correct in the sense it brings my audio back but I can't run the HRTF example).

            Any suggestions?

            ...

            ANSWER

            Answered 2020-Jun-21 at 06:48

            This is very odd, but I solved the problem by connecting a cheap external USB audio card (https://www.amazon.com/gp/product/B00IRVQ0F8/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1). Apparently, ALSA keeps control of 3.5mm jack and doesn't surrender control to Pulseaudio of that jack. Simplest solution is to use an external audio card.

            Source https://stackoverflow.com/questions/62495133

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install hrtf

            You can download it from GitHub.
            Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/mrDIMAS/hrtf.git

          • CLI

            gh repo clone mrDIMAS/hrtf

          • sshUrl

            git@github.com:mrDIMAS/hrtf.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Audio Utils Libraries

            howler.js

            by goldfire

            fingerprintjs

            by fingerprintjs

            Tone.js

            by Tonejs

            AudioKit

            by AudioKit

            sonic-pi

            by sonic-pi-net

            Try Top Libraries by mrDIMAS

            rg3d

            by mrDIMASRust

            rusty-shooter

            by mrDIMASRust

            StationIapetus

            by mrDIMASRust

            rusty-editor

            by mrDIMASRust

            DmitrysEngine

            by mrDIMASC