Giter Club home page Giter Club logo

aarae's Introduction

AARAE - Audio and Acoustical Response Analysis Environment for MATLAB

AARAE is not a stand-alone program, but runs within MATLAB. It requires the
following toolboxes:
* Audio System Toolbox (from AARAE Release 9, 2017)
* DSP System Toolbox
* Signal Processing Toolbox
* Statistics and Machine Learning Toolbox
Other toolboxes are also used by some parts of AARAE, including:
* Curve Fitting Toolbox


(Type ver into MATLAB's command line to find out what toolboxes you have
installed.)

In order to start AARAE, please make the AARAE folder your 'Current folder'
in the MATLAB path. You should find all the AARAE subfolders:

    - Analysers
    - Audio (should have REQUIRED_AUDIO within it)
    - Calculators
    - Documents
    - Framework
    - Generators
    - Log (AARAE will automatically create this folder when it runs)
    - Processors
    - Projects
    - Templates
    - Toolboxes & General Utilities
    - Utilities
    - Workflows

These folders do not need to be added to the MATLAB path in order for the
GUI interface to launch. We advise you not to add them to the MATLAB path 
to reduce the risk of function name conflicts. Instead, simply make the AARAE 
folder MATLAB’s current directory.

You should also find the aarae.m and aarae.fig files the AARAE
directory, along with the Licence for AARAE and this README.txt file. 
When you run AARAE, the file Settings.mat will be created.

Once you've made the AARAE folder your current folder in the MATLAB path,
in order to launch AARAE, please type in MATLAB's Command Window:

>> aarae

This command will launch the user interface for AARAE.

We hope you find this project useful and we would highly appreciate your
valuable feedback.

Reference:
Cabrera, D., Jimenez, D., & Martens, W. L. (2014, November).
Audio and Acoustical Response Analysis Environment (AARAE):
a tool to support education and research in acoustics.
In Proceedings of Internoise. Melbourne, Australia.

aarae's People

Contributors

bebop888 avatar densilcabrera avatar jononet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aarae's Issues

todo: clean up audio_recorder for Windows

Allow selection of both ASIO and non-ASIO output devices rather than forcing selection of ASIO drivers.
Noticed an issue on dell laptops with Realtek ASIO drivers.

Calibration and outer and middle ear filter Fluctuation.m

Hey, I am currently trying to use the function Fluctuation.m. After I calibrated the method to a fluctuation strength of 1 vacil for the 1 kHz sinusoid with a modulation frequency of 4 Hz and a sound pressure level of 60 dB (Cal = 0.0343, line 421) I tested this function with some signals.

When I use an ordinary sinusoid with a frequency of 1 kHz (60 dB SPL), a calibration value cal=94, a sampling rate of 44100, signaltype 0 (unmodulated) and soundfield 0 (free). The resulting fluctuation strength should really low (at about 0), but it is 0.4245.

The first thing I am curious is the calibration: I kept the value calconstant (line 32) on its value 0 and used a cal value of 94 as an input so the command window shows correctly:

rms level of the entire wave 60 dB

But when I observe now the variable audio which is multiplied with the factor 10.^(cal/20) it results in really high values for the time signal audio.

Then I looked through the code in debugging mode and saw the lines 333-338 which made me curious what is going to happen there:

333 dataIn = fft((N_b(:,currentFrame) .* window),N); % apply window to current frame
334 filteredOuter = filtfilt(b_outer,1,filtfilt(b_middle,1,dataIn)); % apply outer and middle ear filters
335 filteredOuterSpect = real(ifft(filteredOuter));
336 filteredOuterNyq = filteredOuterSpect(1:N/2+1);
337 filteredOuterNyq(2:end-1) = 2*filteredOuterNyq(2:end-1);
338 dataOut = filteredOuterNyq';

The input signal is fourier-transformed by an fft. Why is the filter applied to the resulting spectrum in line 334? In line 335 the resulting spectrum is transformed back into time-domain, but the operations in line 336 and 337 are obviously on a spectrum (take the single-sided spectrum). When I look now on the filtered output dataOut, the resulting spectrum doesnt look like a sinusoid anymore.

Is this an error in a code or am I maybe using the script in a wrong way? It would be greatful if you could provide me some help about this script.

Best regards

Florian Doleschal

Department of Experimental Audiology
Otto von Guericke University Magdeburg

audiodata

use consistent 'audiodata' throughout aarae framework code, replacing all instances of 'signaldata'. Most importantly, we need to save structures with consistent field names to make post-processing code easier to write.

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.