libpsynth 0.2.1
Classes | Functions
psynth::synth Namespace Reference

Classes

class  envelope
 Basic envelope interface. More...
struct  envelope_point
class  envelope_values
class  multi_point_envelope
struct  sine_generator
struct  square_generator
struct  triangle_generator
struct  sawtooth_generator
struct  moogsaw_generator
struct  exp_generator
class  oscillator
class  scaler
 Scaler implementation using the RubberBand library. More...
class  simple_envelope
 Simplistic evenlope implementation with only two points. More...
class  wave_table

Functions

template<class Range >
std::size_t find_hill (const Range &data, std::size_t start)
template<class R1 , class R2 , class R3 >
void mix (const R1 &src1, const R2 &src2, const R3 &dst)
template<class R1 , class R2 , class R3 , typename Sample >
void mix (const R1 &src1, const R2 &src2, Sample ampl, const R3 &dst)
template<class R1 , class R2 , class R3 , typename Sample >
void blend (const R1 &src1, const R2 &src2, Sample stable, const R3 &dst)

Function Documentation

template<class R1 , class R2 , class R3 , typename Sample >
void psynth::synth::blend ( const R1 &  src1,
const R2 &  src2,
Sample  stable,
const R3 &  dst 
)
template<class Range >
std::size_t psynth::synth::find_hill ( const Range &  data,
std::size_t  start 
)
Todo:
Fix and probably remove.
template<class R1 , class R2 , class R3 , typename Sample >
void psynth::synth::mix ( const R1 &  src1,
const R2 &  src2,
Sample  ampl,
const R3 &  dst 
)
template<class R1 , class R2 , class R3 >
void psynth::synth::mix ( const R1 &  src1,
const R2 &  src2,
const R3 &  dst 
)