spectral/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, 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.


Function Documentation

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

split input into transient and steady states components

Parameters:
o tss object as returned by new_aubio_tss()
input input spectral frame
trans output transient components
stead output steady state components
Examples:
spectral/test-tss.c.

uint_t aubio_tss_set_alpha ( aubio_tss_t o,
smpl_t  alpha 
)

set parameter a, defaults to 3

Parameters:
o tss object as returned by new_aubio_tss()
alpha new value for alpha parameter

uint_t aubio_tss_set_beta ( aubio_tss_t o,
smpl_t  beta 
)

set parameter b, defaults to 3

Parameters:
o tss object as returned by new_aubio_tss()
beta new value for beta parameter

uint_t aubio_tss_set_threshold ( aubio_tss_t o,
smpl_t  thrs 
)

set transient / steady state separation threshold

Parameters:
o tss object as returned by new_aubio_tss()
thrs new threshold value

void del_aubio_tss ( aubio_tss_t o  ) 

delete tss object

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

aubio_tss_t* new_aubio_tss ( uint_t  buf_size,
uint_t  hop_size 
)

create tss object

Parameters:
buf_size buffer size
hop_size step size
Examples:
spectral/test-tss.c.


Generated on Mon Jan 16 21:51:31 2017 for aubio by  doxygen 1.5.6