Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement source directivity and polar pattern (#28)
* Add our custom helper scripts. Co-Authored-By: fuerbringer <[email protected]> * Create air absorption script. Co-Authored-By: fuerbringer <[email protected]> * Create script for generation IR file with air absorption. Not yet working Co-Authored-By: fuerbringer <[email protected]> * Continue on the bandpass route. Doesn't work too well right now Co-Authored-By: fuerbringer <[email protected]> * Fixing a small mistake Co-Authored-By: fuerbringer <[email protected]> * Successfully implemented air absorption through splitting frequency ranges into different bands. Co-Authored-By: fuerbringer <[email protected]> * Change default filter order settings. Co-Authored-By: fuerbringer <[email protected]> * Expanded scripts for more versatile utilization (importing into other scripts, terminal arguments) Co-Authored-By: fuerbringer <[email protected]> * Implement STFT air absorption Co-Authored-By: fuerbringer <[email protected]> * Not working yet. Co-Authored-By: fuerbringer <[email protected]> * Not working yet Co-Authored-By: fuerbringer <[email protected]> * Implemented strategy pattern for filters. Co-Authored-By: fuerbringer <[email protected]> * Slight improvements, everything works Co-Authored-By: fuerbringer <[email protected]> * Calculate difference * Finalize work on air absorption Co-Authored-By: fuerbringer <[email protected]> * Adjust standard parameters to ease repeated testing Co-Authored-By: fuerbringer <[email protected]> * Update gitignore. Co-Authored-By: fuerbringer <[email protected]> * Attempt to multithread bandpass filter. * Improve bandpass performance drastically. Co-Authored-By: fuerbringer <[email protected]> Co-Authored-By: TheBlueFireFox <[email protected]> * Further optimizations Co-Authored-By: fuerbsev <[email protected]> * Make preparations. Not working yet. Co-Authored-By: fuerbringer <[email protected]> * Small cleanup, add possibility for forwards and backwards filtering Co-Authored-By: fuerbringer <[email protected]> * Conducted experiments with linear filters Ready to implement into code Co-Authored-By: fuerbringer <[email protected]> * Implement linear filter using strategy pattern. * Cleaned up code, improved project structure * Further small improvements and cleanup * Implement characteristic filtering via STFT. Add SM57 and iPhone X frequency responce model. Co-Authored-By: fuerbringer <[email protected]> * Change file name, small cleanup Co-Authored-By: fuerbringer <[email protected]> * Change file name Co-Authored-By: fuerbringer <[email protected]> * Implement source characteristic. We brought greatness upon the world. Co-Authored-By: fuerbringer <[email protected]> * Finished frequency dependent sender and receiver characteristics. Next up: Refactoring and consolidating generate_IR script to simplify the application of filters/frequency responses. Co-Authored-By: fuerbringer <[email protected]> * Improve spectrogram. Further discussion needed. Co-Authored-By: fuerbringer <[email protected]> * Add colorbar for dB Legend to spectro. * Consolidate generate_IR script. Implement linear filter. Big cleanup. Co-Authored-By: fuerbringer <[email protected]> * Implement speaker directivity. Just hardcoded values yet, yet to analyze results and expand parameters. Co-Authored-By: fuerbringer <[email protected]> * Did the heckin' removerino ;) Co-Authored-By: fuerbringer <[email protected]> * Fix db colorbar scale and add db cap. * Fixing logical errors in source directivity. Co-Authored-By: fuerbringer <[email protected]> * Improved spectrogram, working perfectly now Co-Authored-By: fuerbringer <[email protected]> * Make font size bigger, relabel Hz to KHz Co-Authored-By: fuerbringer <[email protected]> * Squashed a bug in source directivity. Co-Authored-By: fuerbringer <[email protected]> * Added parameters, updated python binding Minor refactoring Co-Authored-By: fuerbringer <[email protected]> * Create automated directivity test script. Co-Authored-By: fuerbringer <[email protected]> * Fixed comments. Co-Authored-By: fuerbringer <[email protected]> * Create polar pattern plot script. Co-Authored-By: fuerbringer <[email protected]> * Small code cleanup Co-Authored-By: fuerbringer <[email protected]> * Set mic/speaker interpolation to interp1d Co-Authored-By: fuerbringer <[email protected]> * Corrected errors in polar plot Co-Authored-By: fuerbringer <[email protected]> * New polar pattern using plotly library Co-Authored-By: fuerbringer <[email protected]> * Consolidated everythign around directivity testing and plotting in one script. Co-Authored-By: fuerbringer <[email protected]> * Delete old polar plot scripts. Co-Authored-By: fuerbringer <[email protected]> * Add material list Co-Authored-By: fuerbringer <[email protected]> * Work in progress Co-Authored-By: fuerbringer <[email protected]> * Make frequency dependant wall absorption coefficents work Co-Authored-By: fuerbringer <[email protected]> * Consolidate frequency dependent absoption coefficient except multiple receiver channels Co-Authored-By: fuerbringer <[email protected]> * Make multiple receivers work. Co-Authored-By: fuerbringer <[email protected]> * Consolidate further, frequency dependent wall materials broken at the moment Co-Authored-By: fuerbringer <[email protected]> * Finish implementation, everything works Co-Authored-By: fuerbringer <[email protected]> * Corrected a wrong value in concrete_coarse and small formatting Co-Authored-By: fuerbringer <[email protected]> * Change interpolation Instead of extrapolating values, keep first/last value in interp1d * Expand comment Co-Authored-By: fuerbringer <[email protected]> * Concentrated band division on actual frequency response of materials Co-Authored-By: fuerbringer <[email protected]> * Implement logarithmic distribution of bands. Co-Authored-By: fuerbringer <[email protected]> * Fixed verbose printouts. Co-Authored-By: fuerbringer <[email protected]> * Change materials to accomodate a more reputable source. Co-Authored-By: fuerbringer <[email protected]> * Update README.md Add spkr_pattern and orV_src. * Create README.md Not yet done! * Made a sketch for LR filtering. Still having the low frequency band anomaly Co-Authored-By: fuerbringer <[email protected]> * Improve bandpassing by adding high and low pass on frequency boundaries Co-Authored-By: fuerbsev <[email protected]> * Improve bandpassing in air absorption With low- and highpass filters Co-Authored-By: fuerbringer <[email protected]> * Cleanup Co-Authored-By: fuerbringer <[email protected]> * Implement HRTF. Not tested yet. Co-Authored-By: fuerbringer <[email protected]> * Made HRTF work. Co-Authored-By: fuerbringer <[email protected]> * Add 3D plot for visualizing hrtf Co-Authored-By: fuerbringer <[email protected]> * Fixed an error concering rotation of head Co-Authored-By: fuerbringer <[email protected]> * Fix some issues with hrft, verify results Expand spectrogram method Expand adaptive gain to support stereo Various small improvements and bug fixes Co-Authored-By: fuerbringer <[email protected]> * Corrected ear offset Co-Authored-By: fuerbringer <[email protected]> * Update README.md * Update README.md * Update README.md * Cleanup Co-Authored-By: fuerbringer <[email protected]> * Fixed Azimuth Co-Authored-By: fuerbringer <[email protected]> * Fix elevation, not done yet Fixed bug in azimuth Co-Authored-By: fuerbringer <[email protected]> * Write HRTF calculation tests to verify results. Elevation still needs some work. Co-Authored-By: fuerbringer <[email protected]> * Begin refactoring Co-Authored-By: fuerbringer <[email protected]> * Massive refactoring. Consolidated all scripts and improved UX massively. All functionality is now in gpuRIR module. Co-Authored-By: fuerbringer <[email protected]> * Changed butterworth filters to sos. Co-Authored-By: fuerbringer <[email protected]> * Make butterworth helper class implement sos in freq_dep_abs_coeff Co-Authored-By: fuerbringer <[email protected]> * Fix elevation, complete test cases Co-Authored-By: fuerbringer <[email protected]> * Write tests for binaural receiver Fix pinna offset errors Co-Authored-By: fuerbringer <[email protected]> * Comments and cleanup Co-Authored-By: fuerbringer <[email protected]> * Refactoring polar_plot.py Extending room parameters with beta Co-Authored-By: fuerbringer <[email protected]> * Update readme Co-Authored-By: fuerbringer <[email protected]> * Additions to documentation / comments Co-Authored-By: fuerbringer <[email protected]> * More comments, renamed variables for consistency Co-Authored-By: fuerbringer <[email protected]> * Fixed bug with spectrogram generation Further refactoring Co-Authored-By: fuerbringer <[email protected]> * Fixed bug with spectrogram generation Further refactoring More comments Co-Authored-By: fuerbringer <[email protected]> * Added further comments Co-Authored-By: fuerbringer <[email protected]> * Added bandpass/hi-low-pass switch Co-Authored-By: fuerbringer <[email protected]> * Update readme. * Small corrections * Reverted stereo_filters.py to standard settings. * Prepare source directivity for upstream pull request. Co-Authored-By: fuerbringer <[email protected]> * Remove gpuRIR.extensions imports not yet in this branch. Co-Authored-By: fuerbringer <[email protected]> Co-authored-by: fuerbringer <[email protected]> Co-authored-by: corrooli <[email protected]> Co-authored-by: TheBlueFireFox <[email protected]> Co-authored-by: fuerbsev <[email protected]>
- Loading branch information