aubio 0.4.9
Loading...
Searching...
No Matches
tss.h File Reference

Transient / Steady-state Separation (TSS) More...

Go to the source code of this file.

Typedefs

typedef struct _aubio_tss_t aubio_tss_t
 Transient / Steady-state Separation object.
 

Functions

aubio_tss_tnew_aubio_tss (uint_t buf_size, uint_t hop_size)
 create tss object
 
void del_aubio_tss (aubio_tss_t *o)
 delete tss object
 
void aubio_tss_do (aubio_tss_t *o, const cvec_t *input, cvec_t *trans, cvec_t *stead)
 split input into transient and steady states components
 
uint_t aubio_tss_set_threshold (aubio_tss_t *o, smpl_t thrs)
 set transient / steady state separation threshold
 
uint_t aubio_tss_set_alpha (aubio_tss_t *o, smpl_t alpha)
 set parameter a, defaults to 3
 
uint_t aubio_tss_set_beta (aubio_tss_t *o, smpl_t beta)
 set parameter b, defaults to 3
 

Detailed Description

Transient / Steady-state Separation (TSS)

This file implement a Transient / Steady-state Separation (TSS) as described in:

Christopher Duxbury, Mike E. Davies, and Mark B. Sandler. Separation of transient information in musical audio using multiresolution analysis techniques. In Proceedings of the Digital Audio Effects Conference, DAFx-01, pages 1–5, Limerick, Ireland, 2001.

Available at http://www.csis.ul.ie/dafx01/proceedings/papers/duxbury.pdf

Definition in file tss.h.

Typedef Documentation

◆ aubio_tss_t

typedef struct _aubio_tss_t aubio_tss_t

Transient / Steady-state Separation object.

Definition at line 47 of file tss.h.

Function Documentation

◆ aubio_tss_do()

void aubio_tss_do ( aubio_tss_t * o,
const cvec_t * input,
cvec_t * trans,
cvec_t * stead )

split input into transient and steady states components

Parameters
otss object as returned by new_aubio_tss()
inputinput spectral frame
transoutput transient components
steadoutput steady state components
Examples
spectral/test-tss.c.

◆ aubio_tss_set_alpha()

uint_t aubio_tss_set_alpha ( aubio_tss_t * o,
smpl_t alpha )

set parameter a, defaults to 3

Parameters
otss object as returned by new_aubio_tss()
alphanew value for alpha parameter
Examples
spectral/test-tss.c.

◆ aubio_tss_set_beta()

uint_t aubio_tss_set_beta ( aubio_tss_t * o,
smpl_t beta )

set parameter b, defaults to 3

Parameters
otss object as returned by new_aubio_tss()
betanew value for beta parameter
Examples
spectral/test-tss.c.

◆ aubio_tss_set_threshold()

uint_t aubio_tss_set_threshold ( aubio_tss_t * o,
smpl_t thrs )

set transient / steady state separation threshold

Parameters
otss object as returned by new_aubio_tss()
thrsnew threshold value
Examples
spectral/test-tss.c.

◆ del_aubio_tss()

void del_aubio_tss ( aubio_tss_t * o)

delete tss object

Parameters
otss object as returned by new_aubio_tss()
Examples
spectral/test-tss.c.

◆ new_aubio_tss()

aubio_tss_t * new_aubio_tss ( uint_t buf_size,
uint_t hop_size )

create tss object

Parameters
buf_sizebuffer size
hop_sizestep size
Examples
spectral/test-tss.c.