#include <timestretch.h>
Inherits PluginAClient.

Public Member Functions | |
| TimeStretch (PluginServer *server) | |
| ~TimeStretch () | |
| VFrame * | new_picon () |
| char * | plugin_title () |
| int | is_realtime () |
| int | get_parameters () |
| void | read_data (KeyFrame *keyframe) |
| void | save_data (KeyFrame *keyframe) |
| int | process_buffer (int64_t size, double *buffer, int64_t start_position, int sample_rate) |
| int | show_gui () |
| void | raise_window () |
| int | set_string () |
| int | load_configuration () |
| int | load_defaults () |
| int | save_defaults () |
| void | update_gui () |
Data Fields | |
| PitchEngine * | pitch |
| Resample * | resample |
| double * | temp |
| int | temp_allocated |
| double * | input |
| int | input_allocated |
| TimeStretchEngine * | stretch |
| BC_Hash * | defaults |
| TimeStretchConfig | config |
| TimeStretchThread * | thread |
Definition at line 93 of file timestretch.h.
| TimeStretch::TimeStretch | ( | PluginServer * | server | ) |
Definition at line 292 of file timestretch.C.
References input, input_allocated, load_defaults(), pitch, PLUGIN_CONSTRUCTOR_MACRO, resample, stretch, and temp.

| TimeStretch::~TimeStretch | ( | ) |
Definition at line 306 of file timestretch.C.
References input, pitch, PLUGIN_DESTRUCTOR_MACRO, resample, stretch, and temp.
| VFrame* TimeStretch::new_picon | ( | ) | [virtual] |
Reimplemented from PluginClient.
| char * TimeStretch::plugin_title | ( | ) | [virtual] |
| int TimeStretch::is_realtime | ( | ) | [virtual] |
| int TimeStretch::get_parameters | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 433 of file timestretch.C.
References BC_DisplayInfo::get_abs_cursor_x(), BC_DisplayInfo::get_abs_cursor_y(), and window.

| void TimeStretch::read_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 321 of file timestretch.C.
References config, KeyFrame::data, XMLTag::get_property(), input, FileXML::read_tag(), TimeStretchConfig::scale, FileXML::set_shared_string(), FileXML::tag, and XMLTag::title_is().

| void TimeStretch::save_data | ( | KeyFrame * | keyframe | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 341 of file timestretch.C.
References FileXML::append_newline(), FileXML::append_tag(), config, KeyFrame::data, output, TimeStretchConfig::scale, XMLTag::set_property(), FileXML::set_shared_string(), XMLTag::set_title(), FileXML::tag, and FileXML::terminate_string().

| int TimeStretch::process_buffer | ( | int64_t | size, | |
| double * | buffer, | |||
| int64_t | start_position, | |||
| int | sample_rate | |||
| ) | [virtual] |
Reimplemented from PluginAClient.
Definition at line 445 of file timestretch.C.
References PluginClient::get_direction(), CrossfadeFFT::initialize(), load_configuration(), OVERSAMPLE, pitch, CrossfadeFFT::process_buffer_oversample(), resample, CrossfadeFFT::set_oversample(), and WINDOW_SIZE.

| int TimeStretch::show_gui | ( | ) | [virtual] |
Reimplemented from PluginClient.
| void TimeStretch::raise_window | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int TimeStretch::set_string | ( | ) | [virtual] |
Reimplemented from PluginClient.
| int TimeStretch::load_configuration | ( | ) |
Referenced by process_buffer().
| int TimeStretch::load_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 358 of file timestretch.C.
References BCASTDIR, BCTEXTLEN, config, defaults, BC_Hash::get(), BC_Hash::load(), and TimeStretchConfig::scale.
Referenced by TimeStretch().

| int TimeStretch::save_defaults | ( | ) | [virtual] |
Reimplemented from PluginClient.
Definition at line 372 of file timestretch.C.
References config, defaults, BC_Hash::save(), TimeStretchConfig::scale, and BC_Hash::update().

| void TimeStretch::update_gui | ( | ) | [virtual] |
Definition at line 126 of file timestretch.h.
Referenced by process_buffer(), TimeStretch(), and ~TimeStretch().
Definition at line 127 of file timestretch.h.
Referenced by process_buffer(), PitchEngine::read_samples(), TimeStretch(), and ~TimeStretch().
| double* TimeStretch::temp |
Definition at line 129 of file timestretch.h.
| double* TimeStretch::input |
Definition at line 130 of file timestretch.h.
Referenced by read_data(), TimeStretch(), and ~TimeStretch().
Definition at line 136 of file timestretch.h.
Referenced by TimeStretchScale::handle_event(), load_defaults(), read_data(), PitchEngine::read_samples(), save_data(), save_defaults(), PitchEngine::signal_process_oversample(), and TimeStretchWindow::update().
| TimeStretchThread* TimeStretch::thread |
Definition at line 137 of file timestretch.h.
1.5.5