aubio  0.4.0
 All Data Structures Files Functions Variables Typedefs Macros
Typedefs | Functions
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 More...
 
void del_aubio_tss (aubio_tss_t *o)
 delete tss object More...
 
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 More...
 
uint_t aubio_tss_set_threshold (aubio_tss_t *o, smpl_t thrs)
 set transient / steady state separation threshold More...
 
uint_t aubio_tss_set_alpha (aubio_tss_t *o, smpl_t alpha)
 set parameter a, defaults to 3 More...
 
uint_t aubio_tss_set_beta (aubio_tss_t *o, smpl_t beta)
 set parameter b, defaults to 3 More...
 

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
otss object as returned by new_aubio_tss()
inputinput spectral frame
transoutput transient components
steadoutput 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
otss object as returned by new_aubio_tss()
alphanew value for alpha parameter
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
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
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.
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.