Minor functions and fixes for hrtf and binaural#75
Closed
pfriedrich-hub wants to merge 158 commits intoDrMarc:masterfrom
Closed
Minor functions and fixes for hrtf and binaural#75pfriedrich-hub wants to merge 158 commits intoDrMarc:masterfrom
pfriedrich-hub wants to merge 158 commits intoDrMarc:masterfrom
Conversation
…n if provided sofa file did not include FIR data
HRTF class is now able to read sofa files in the 'SimpleFreeFieldHRTF' convention, extract and store transfer functions as list of slab.Filter objects, which can be applied to a sound by HRTF.apply()
filter.py Filter.apply() does no longer require samplerate for fourier filters hrtf.py HRTF.apply() should now apply DTFs correctly
Filter.tf() now handles complex filter arrays
… slab Filter bank
… filters in Filter.tf()
edit sources in write_sofa
edit get datatype in init
edit get datatype in sofa_get_DTF()
…TF object from slab filterbank or numpy array
pull latest changes
…m for the left and right ear is returned adjust interaural_level_spectrum() accordingly
…0° and 90° to 180°)
write_sofa now writes to correct versions
…lse would lead to sources in the back only
…implement closest match search
…ations of +/- 90° (e.g. cartesian x=-1e-07)
pull latest changes from head repository
add kemars interaural level spectrum (slab/data/~/projects/slab/slab/data/mit_kemar_ils.pkl)
Owner
|
coordinate systems need to be checked again before merging! |
Contributor
Author
|
I will look into it. Could you specify the error?
…On Wed, Jul 9, 2025 at 10:37 AM Marc ***@***.***> wrote:
*DrMarc* left a comment (DrMarc/slab#75)
<#75 (comment)>
coordinate systems need to be checked again before merging!
—
Reply to this email directly, view it on GitHub
<#75 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMTKQ2DLJY3XOVCVYAXLWSD3HTIGHAVCNFSM6AAAAAB3VZKVPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANJRG4YDENBRHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
hrtf.py:
binaural.py: