libpsynth 0.2.1
Namespaces | Classes | Typedefs | Functions | Variables
psynth::graph::core Namespace Reference

Namespaces

namespace  detail

Classes

class  async_output
 A node for outputing using a given device. More...
class  mixer
class  oscillator
 Oscillator node. More...
class  passive_output
 A node for outputing using a given output system passively - i.e. More...
class  patch
class  patch_in_port_base
class  patch_out_port_base
class  patch_in_port_impl
struct  patch_in_port
struct  patch_buffer_in_port
struct  patch_soft_buffer_in_port
class  patch_out_port_impl
struct  patch_out_port
struct  patch_buffer_out_port
struct  patch_soft_buffer_out_port

Typedefs

typedef mixer< audio_buffer > audio_mixer
typedef mixer< sample_buffer > sample_mixer
typedef oscillator
< synth::sine_generator,
audio_out_port > 
audio_sine_oscillator
typedef oscillator
< synth::square_generator,
audio_out_port > 
audio_square_oscillator
typedef oscillator
< synth::triangle_generator,
audio_out_port > 
audio_triangle_oscillator
typedef oscillator
< synth::sawtooth_generator,
audio_out_port > 
audio_sawtooth_oscillator
typedef oscillator
< synth::moogsaw_generator,
audio_out_port > 
audio_moogsaw_oscillator
typedef oscillator
< synth::exp_generator,
audio_out_port > 
audio_exp_oscillator
typedef oscillator
< synth::sine_generator,
sample_out_port > 
sample_sine_oscillator
typedef oscillator
< synth::square_generator,
sample_out_port > 
sample_square_oscillator
typedef oscillator
< synth::triangle_generator,
sample_out_port > 
sample_triangle_oscillator
typedef oscillator
< synth::sawtooth_generator,
sample_out_port > 
sample_sawtooth_oscillator
typedef oscillator
< synth::moogsaw_generator,
sample_out_port > 
sample_moogsaw_oscillator
typedef oscillator
< synth::exp_generator,
sample_out_port > 
sample_exp_oscillator
typedef std::shared_ptr
< patch_in_port_base > 
patch_in_port_base_ptr
typedef
boost::intrusive::list_member_hook
< boost::intrusive::tag
< patch_output_hook_tag > > 
patch_output_hook
typedef std::shared_ptr
< patch_out_port_base > 
patch_out_port_base_ptr
typedef patch_buffer_out_port
< audio_buffer > 
audio_patch_out_port
typedef patch_buffer_in_port
< audio_buffer > 
audio_patch_in_port
typedef
patch_soft_buffer_out_port
< audio_buffer > 
audio_patch_soft_out_port
typedef
patch_soft_buffer_in_port
< audio_buffer > 
audio_patch_soft_in_port
typedef patch_buffer_out_port
< sample_buffer > 
sample_patch_out_port
typedef patch_buffer_in_port
< sample_buffer > 
sample_patch_in_port
typedef
patch_soft_buffer_out_port
< sample_buffer > 
sample_patch_soft_out_port
typedef
patch_soft_buffer_in_port
< sample_buffer > 
sample_patch_soft_in_port

Functions

 PSYNTH_REGISTER_NODE_STATIC (async_output)
 PSYNTH_DEFINE_ERROR_WHAT (async_output_not_bound_error,"Output node not bound to device")
 PSYNTH_DECLARE_ERROR (error, async_output_not_bound_error)
 PSYNTH_DECLARE_SHARED_TYPE (async_output)
 PSYNTH_REGISTER_NODE_STATIC (audio_mixer)
 PSYNTH_REGISTER_NODE_STATIC (audio_sine_oscillator)
 PSYNTH_DECLARE_SHARED_TYPE (passive_output)
 PSYNTH_REGISTER_NODE_STATIC (patch)
 PSYNTH_DEFINE_ERROR (patch_child_error)
 PSYNTH_DECLARE_ERROR (error, patch_child_error)
 PSYNTH_DECLARE_SHARED_TYPE (patch)
 PSYNTH_REGISTER_NODE_STATIC (audio_patch_out_port)
 PSYNTH_REGISTER_NODE_STATIC (audio_patch_in_port)
 PSYNTH_REGISTER_NODE_STATIC (audio_patch_soft_out_port)
 PSYNTH_REGISTER_NODE_STATIC (audio_patch_soft_in_port)

Variables

constexpr float default_buffer_factor = 4.0f
constexpr float default_gain = 0.5f
constexpr int default_inputs = 3
constexpr float default_frequency = 440.0f
constexpr float default_amplitude = 0.5f
constexpr int default_modulator = 1

Typedef Documentation

typedef boost::intrusive::list_member_hook< boost::intrusive::tag<patch_output_hook_tag> > psynth::graph::core::patch_output_hook

Function Documentation

psynth::graph::core::PSYNTH_DECLARE_ERROR ( error  ,
async_output_not_bound_error   
)
psynth::graph::core::PSYNTH_DECLARE_ERROR ( error  ,
patch_child_error   
)
psynth::graph::core::PSYNTH_DECLARE_SHARED_TYPE ( async_output  )
psynth::graph::core::PSYNTH_DECLARE_SHARED_TYPE ( patch  )
psynth::graph::core::PSYNTH_DECLARE_SHARED_TYPE ( passive_output  )
psynth::graph::core::PSYNTH_DEFINE_ERROR ( patch_child_error  )
psynth::graph::core::PSYNTH_DEFINE_ERROR_WHAT ( async_output_not_bound_error  ,
"Output node not bound to device"   
)
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( async_output  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( patch  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( audio_patch_out_port  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( audio_sine_oscillator  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( audio_patch_soft_out_port  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( audio_patch_in_port  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( audio_mixer  )
psynth::graph::core::PSYNTH_REGISTER_NODE_STATIC ( audio_patch_soft_in_port  )

Variable Documentation

constexpr float psynth::graph::core::default_frequency = 440.0f
constexpr float psynth::graph::core::default_gain = 0.5f