All Projects → sofacoustics → API_MO

sofacoustics / API_MO

Licence: EUPL-1.2 license
SOFA Toolbox (API for Matlab, Octave)

Programming Languages

matlab
3953 projects
TeX
3793 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to API MO

Octsympy
A Symbolic Package for Octave using SymPy
Stars: ✭ 92 (+27.78%)
Mutual labels:  octave
octave-docker
Dockerfile to build an Octave container
Stars: ✭ 11 (-84.72%)
Mutual labels:  octave
lubeck
High level linear algebra library for Dlang
Stars: ✭ 57 (-20.83%)
Mutual labels:  octave
Jidt
JIDT: Java Information Dynamics Toolkit for studying information-theoretic measures of computation in complex systems
Stars: ✭ 145 (+101.39%)
Mutual labels:  octave
ASALI
Do you work with chemical reactors? Are you curious about them? ASALI is the open-source code that you are looking for. Chemical reactor models, transport/thermodynamic properties of gases, equilibrium calculations. ASALI couples all these features with an user friendly graphical interface. Modeling catalytic reactors has never been so easy.
Stars: ✭ 38 (-47.22%)
Mutual labels:  octave
TDoA
Time difference of arrival (TDoA) multi-lateration
Stars: ✭ 48 (-33.33%)
Mutual labels:  octave
Pandoc Plot
Render and include figures in Pandoc documents using your plotting toolkit of choice
Stars: ✭ 75 (+4.17%)
Mutual labels:  octave
gifti
MATLAB/Octave GIfTI Library
Stars: ✭ 16 (-77.78%)
Mutual labels:  octave
go-redis
GNU Octave Redis client (for Matlab too)
Stars: ✭ 23 (-68.06%)
Mutual labels:  octave
octave
GNU Octave Mirror (https://hg.savannah.gnu.org/hgweb/octave)
Stars: ✭ 18 (-75%)
Mutual labels:  octave
Matlab Octave
This repository contains algorithms written in MATLAB/Octave. Developing algorithms in the MATLAB environment empowers you to explore and refine ideas, and enables you test and verify your algorithm.
Stars: ✭ 180 (+150%)
Mutual labels:  octave
inpoly
A fast 'point(s)-in-polygon' test for MATLAB.
Stars: ✭ 17 (-76.39%)
Mutual labels:  octave
matio-cpp
A C++ wrapper of the matio library, with memory ownership handling, to read and write .mat files.
Stars: ✭ 24 (-66.67%)
Mutual labels:  octave
Gpstuff
GPstuff - Gaussian process models for Bayesian analysis
Stars: ✭ 106 (+47.22%)
Mutual labels:  octave
ResInsight
3D viewer and post processing of reservoir models
Stars: ✭ 122 (+69.44%)
Mutual labels:  octave
Notebooks
📓 A growing collection of Jupyter Notebooks written in Python, OCaml and Julia for science examples, algorithms, visualizations etc
Stars: ✭ 84 (+16.67%)
Mutual labels:  octave
pysofaconventions
python SOFA implementation
Stars: ✭ 30 (-58.33%)
Mutual labels:  sofa
mesh2d
MESH2D is a MATLAB-based Delaunay mesh generator for two-dimensional geometries.
Stars: ✭ 81 (+12.5%)
Mutual labels:  octave
matlab-rinex-reader
Fixed old Kai Borre Matlab code to run in Octave and hence be callable by Python to work with RINEX data
Stars: ✭ 13 (-81.94%)
Mutual labels:  octave
getfem
Mirror of GetFEM repository
Stars: ✭ 23 (-68.06%)
Mutual labels:  octave

SOFA - Spatially Oriented Format for Acoustics

SOFA is a file format for reading, saving, and describing spatially oriented data of acoustic systems.

Examples of data we consider are head-related transfer functions (HRTFs), binaural room impulse responses (BRIRs), multichannel measurements such as done with microphone arrays, or directionality data of loudspeakers.

The format specification is the major focus of SOFA, but we also aim in providing toolboxes for reading and writing the data in SOFA. For more information on the format specifications and available data, see http://www.sofaconventions.org/.

This project implements a reference toolbox for SOFA: The SOFA Toolbox.

SOFA Toolbox 2.x implements SOFA versions 2.x. The SOFA Toolbox has been previously known as the SOFA API_MO, which supported SOFA versions up to 1.x.

Downloads

Current releases of SOFA Toolbox can be found on its old home.

Note:

  • The currently latest release is known as the SOFA API M/O version 1.1.3.
  • The SOFA Toolbox 2.0 has never been released.
  • The SOFA Toolbox 2.1 is currently under preparation. It will support SOFA 2.1 as known as AES69-2022.

Usage

Matlab/Octave

In order to use SOFA with Matlab or Octave add its SOFAtoolbox folder to your search paths. After that you can play around with your acoustic measurements as shown by the following example which uses a HRTF measurement.

%% put your information here:
hrtf = SOFAload('path/to_your/HRTF.sofa');
soundInput = audioread('path/to_your/fancy_audio_file.wav');

%% demo script
% Start SOFA
SOFAstart;
% Display some information about the impulse response
SOFAinfo(hrtf);
% Plot a figure with the measurement setup
SOFAplotGeometry(hrtf);
% Have a look at the size of the data
disp(['size [MxRxN]: ' num2str(size(hrtf.Data.IR))])
% Calculate the source position from a listener point of view
apparentSourceVector = SOFAcalculateAPV(hrtf);
% Listen to the HRTF with azimuth of -90°
apparentSourceVector(91, 1)
SOFAplotGeometry(hrtf, 91);
soundOutput = [conv(squeeze(hrtf.Data.IR(91, 1, :)), soundInput) ...
               conv(squeeze(hrtf.Data.IR(91, 2, :)), soundInput)];
sound(soundOutput, hrtf.Data.SamplingRate);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].