// -*- c++ -*- #pragma once #ifndef __BEEPS_RUBY_FILTER_H__ #define __BEEPS_RUBY_FILTER_H__ #include #include #include RUCY_DECLARE_WRAPPER_VALUE_FROM_TO(Beeps::TimeStretch) RUCY_DECLARE_WRAPPER_VALUE_FROM_TO(Beeps::PitchShift) namespace Beeps { Rucy::Class gain_class (); // class Beeps::Gain Rucy::Class adsr_class (); // class Beeps::ADSR Rucy::Class time_stretch_class (); // class Beeps::TimeStretch Rucy::Class pitch_shift_class (); // class Beeps::PitchShift Rucy::Class analyser_class (); // class Beeps::Analyser }// Beeps namespace Rucy { template <> inline Class get_ruby_class () { return Beeps::gain_class(); } template <> inline Class get_ruby_class () { return Beeps::adsr_class(); } template <> inline Class get_ruby_class () { return Beeps::time_stretch_class(); } template <> inline Class get_ruby_class () { return Beeps::pitch_shift_class(); } template <> inline Class get_ruby_class () { return Beeps::analyser_class(); } }// Rucy #endif//EOH