SAF
Loading...
Searching...
No Matches
spreader_internal.h File Reference

An arbitrary array panner (HRIRs, microphone array IRs, etc.) with coherent and incoherent spreading modes, as described in [1]. More...

#include "spreader.h"
#include "saf.h"
#include "saf_externals.h"

Go to the source code of this file.

Data Structures

struct  spreader_data
 Main structure for spreader. More...
 

Macros

#define SPREADER_FRAME_SIZE   ( 512 )
 Framesize, in time-domain samples.
 
#define MAX_SPREAD_FREQ   ( 16e3f )
 Maximum spread frequency, above which no spreading occurs.
 
#define HOP_SIZE   ( 128 )
 STFT hop size.
 
#define HYBRID_BANDS   ( HOP_SIZE + 5 )
 Number of frequency bands.
 
#define TIME_SLOTS   ( SPREADER_FRAME_SIZE / HOP_SIZE )
 Number of STFT timeslots.
 

Functions

void spreader_setCodecStatus (void *const hSpr, CODEC_STATUS newStatus)
 Sets codec status (see CODEC_STATUS enum)
 

Detailed Description

An arbitrary array panner (HRIRs, microphone array IRs, etc.) with coherent and incoherent spreading modes, as described in [1].

See also
[1] McCormack, L. Politis, A., and Pulkki, V., 2021, October. Rendering of source spread for arbitrary playback setups based on spatial covariance matching. In 2021 IEEE Workshop on Applications of Signal Processing to Audio and Acoustics (WASPAA). IEEE
Author
Leo McCormack
Date
07.04.2021
License
ISC

Definition in file spreader_internal.h.

Macro Definition Documentation

◆ HOP_SIZE

#define HOP_SIZE   ( 128 )

STFT hop size.

Definition at line 55 of file spreader_internal.h.

◆ HYBRID_BANDS

#define HYBRID_BANDS   ( HOP_SIZE + 5 )

Number of frequency bands.

Definition at line 56 of file spreader_internal.h.

◆ MAX_SPREAD_FREQ

#define MAX_SPREAD_FREQ   ( 16e3f )

Maximum spread frequency, above which no spreading occurs.

Definition at line 54 of file spreader_internal.h.

◆ SPREADER_FRAME_SIZE

#define SPREADER_FRAME_SIZE   ( 512 )

Framesize, in time-domain samples.

Definition at line 51 of file spreader_internal.h.

◆ TIME_SLOTS

#define TIME_SLOTS   ( SPREADER_FRAME_SIZE / HOP_SIZE )

Number of STFT timeslots.

Definition at line 57 of file spreader_internal.h.

Function Documentation

◆ spreader_setCodecStatus()

void spreader_setCodecStatus ( void *const hSpr,
CODEC_STATUS newStatus )

Sets codec status (see CODEC_STATUS enum)

Definition at line 34 of file spreader_internal.c.