hoadecode
hoadecode(
@azimuth 0.78 2.35
@elevation 0 0
@binaural 1
@dimension '3D'
@blocksamps 64
@angleunit 0
) -> llll
Generates an audio process operation for decoding higher-order ambisonic buffers for a set of loudspeakers or for binaural listening
Arguments
@azimuth
[int/float/llll]: azimuth or X coordinate, for each loudspeaker. (default:0.78 2.35
).@elevation
[int/float/llll]: elevation or y coordinate. (default:0 0
).@binaural
[int/float/llll]: binaural mode. (default:1
).0
: off1
: on
@dimension
[symbol]: dimensionality of ambisonics (default:'3D'
).'2D'
: 2-dimensional.'3D'
: 3-dimensional.
@blocksamps
[int]: decoding block size in samples. (default:64
).@angleunit
[int]: unit for angles. (default:0
).0
: radians1
: degrees2
: turns
Output
higher-order ambisonics decoding operation [llll]
Usage
hoadecode
is meant to be used with the process
function:
$buffer = importaudio('singing.wav'); ## input buffer
$op = hoadecode(); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.inspect('after hoadecode process')