GithubHelp home page GithubHelp logo

timschneeb / geq2imp Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 6.71 MB

Create impulse responses from CSV frequency responses

License: GNU General Public License v3.0

QMake 0.07% C 93.02% Makefile 0.11% Java 2.60% Batchfile 0.01% C++ 3.24% C# 0.95% Shell 0.01%
audio dsp impulse-response graphiceq

geq2imp's Introduction


geq2imp

Convert GraphicEQ *.csv to impulse responses

GitHub release (latest by date) License Build

UsageInstallationCreditsLicense

Usage

This console app supports frequency response *.csv files generated by JamesDSP's or EqualizerAPO's GraphicEQ widget. To generate one with JamesDSP, navigate to the GraphicEQ tab, click on the right arrow on the bottom right and choose 'Export'.

General usage:

> geq2imp --help
Usage: geq2imp [options]
Converts GraphicEQ CSV files to impulse responses.
CSV files (tab-separated) can be exported using JDSP4Linux or EqualizerAPO.

Options:
  -h, --help                      Displays help on commandline options.
  --help-all                      Displays help including Qt specific options.
  -v, --version                   Displays version information.
  -s, --srate <srate>             Set target sampling rate (default: 48000Hz)
  -o, --output <output-file>      Output impulse response file (default:
                                  output.wav)
  -l, --left <left-input-file>    CSV file for left channel
  -r, --right <right-input-file>  CSV file for right channel
  -m, --mono <input-file>         CSV file for both channels

Create an IR with different frequency responses for the left and right side:

> geq2imp --left testL.csv --right testR.csv --output response.wav --srate 48000
16384 samples written to 'response.wav'

Installation

Install dependencies

If your distro is not included here, you need to research which packages to install by yourself.

Debian/Ubuntu-based distros

sudo apt install build-essential qtbase5-dev

Fedora

sudo dnf install make gcc gcc-c++ qt5-qtbase-devel

Arch Linux

sudo pacman -S base-devel qt5-base

Build application

Clone git repository

git clone https://github.com/ThePBone/geq2imp

Prepare build environment

cd geq2imp
mkdir build
cd build

Compile application

qmake ../geq2imp.pro
make -j4

Execute compiled binary

./src/geq2imp

If you want to want the binary to be accessible from everywhere, for all users, run this line:

sudo cp ./src/geq2imp /usr/local/bin/

Credits

License

This project is licensed under GPLv3.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 
THE USE OR OTHER DEALINGS IN THE SOFTWARE.

geq2imp's People

Contributors

timschneeb avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

geq2imp's Issues

Outside of the specified bands, the frequency response should be flat?

Here is my test report.

Although this is the first time that I try to compile application,
I got no trouble at all. Document is well done.
Then, I get an error when executes it.
It cannot find the .csv in the current folder.
The problem is solved by giving filename with path.
I am new to Linux.
I am not sure if this is a bug or my poor knowledge of commend line convention.
But the output filename without path is OK.

The .wav works with convolution.
The music sounds great, and the vocal appears in the center as expected. :)

Out of curiosity, I decide to make a measurement.
Unfortunately, I had some troubles to install REW on Linux.
The following is running with Equalizer APO in Windows 7.

https://i.imgur.com/f0I15f8.png

The green line is Graphic EQ. The CSVs are exported from here.
The blue line is convolution with impulse response.
Above 100 Hz, two lines are almost identical.
Between 50 Hz and 100 Hz, we can see some small differences.
Below 50 H, green line keeps flat as blue line goes down.
This is explained in the document of Equalizer APO.

https://sourceforge.net/p/equalizerapo/wiki/Configuration%20reference/#graphiceq-since-version-10

Adds a graphic equalizer with the specified number of bands and corresponding gain values. The gain values are interpolated linearly in the logarithmic frequency spectrum (so that the lines appear linear in a logarithmic view) between the specified bands. Outside of the specified bands, the frequency response is flat.

It's up to you whether to follow Equalizer APO standard.
Maybe this also affects the small differences between 50 and 100Hz.
I don't have golden ears. Current version is good enough for me.
You remove the stone that keeps me from moving to Linux.
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.