Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsewavetool.cc File Reference
#include "bsewavetool.hh"
#include "bwtwave.hh"
#include "../topbuildid.hh"
#include <bse/bsemain.hh>
#include <bse/bseloader.hh>
#include <bse/gslvorbis-enc.hh>
#include <bse/gsldatahandle-vorbis.hh>
#include <bse/bseresamplerimpl.hh>
#include <rapicorn-test.hh>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <vector>
#include <map>
#include <algorithm>
Include dependency graph for bsewavetool.cc:

Namespaces

 BseWaveTool
 

Macros

#define PRG_NAME
 
#define IROUND(dbl)
 

Functions

template<class... Args>
void app_error (const char *format, const Args &...args)
 
int BseWaveTool::main (int argc, char *argv[])
 
BseWaveTool::Store Command BseWaveTool::cmd_store ("store")
 
 Store (const char *command_name)
 
bool exec (Wave *wave)
 
void blurb (bool bshort)
 
BseWaveTool::Create Command BseWaveTool::cmd_create ("create")
 
 Create (const char *command_name)
 
guint parse_args (guint argc, char **argv)
 
Wave * create ()
 
BseWaveTool::Oggenc Command BseWaveTool::cmd_oggenc ("oggenc")
 
 Oggenc (const char *command_name)
 
bool is_ogg_vorbis_dhandle (GslDataHandle *dhandle)
 
BseWaveTool::AddChunk Command BseWaveTool::cmd_add_chunk ("add-chunk")
 
OptChunk & create_opt_chunk ()
 
OptChunk & top_empty_opt_chunk ()
 
 AddChunk (const char *command_name, LoadType ltype=AUTO)
 
void blurb_auto ()
 
void blurb_raw ()
 
GslDataHandle * load_file_auto (const OptChunk &opt, Bse::Error &error)
 
GslDataHandle * load_file_raw (const OptChunk &opt, guint n_channels, gfloat osc_freq, Bse::Error &error)
 
BseWaveTool::AddChunk Command BseWaveTool::cmd_add_raw_chunk ("add-raw-chunk", AddChunk::RAW)
 
BseWaveTool::DelChunkCmd Command BseWaveTool::cmd ("del-chunk")
 
 DelChunkCmd (const char *command_name)
 
BseWaveTool::XInfoCmd Command BseWaveTool::cmd_xinfo ("xinfo")
 
 XInfoCmd (const char *command_name)
 
BseWaveTool::InfoCmd Command BseWaveTool::cmd_info ("info")
 
 InfoCmd (const char *command_name)
 
string dhandle_storage_format (GslDataHandle *dhandle)
 
int64 dhandle_n_frames (GslDataHandle *dhandle)
 
void script_output_escaped (const char *s)
 
void script_output_xstr (char **xinfos, const char *what)
 
void script_output_xnum (char **xinfos, const char *what)
 
BseWaveTool::ClipCmd Command BseWaveTool::cmd_clip ("clip")
 
 ClipCmd (const char *command_name)
 
BseWaveTool::NormalizeCmd Command BseWaveTool::cmd_normalize ("normalize")
 
 NormalizeCmd (const char *command_name)
 
BseWaveTool::LoopCmd Command BseWaveTool::cmd_loop ("loop")
 
 LoopCmd (const char *command_name)
 
BseWaveTool::Highpass FirCommand BseWaveTool::cmd_highpass ("highpass")
 
GslDataHandle * create_fir_handle (GslDataHandle *dhandle)
 
 Highpass (const char *command_name)
 
BseWaveTool::Lowpass FirCommand BseWaveTool::cmd_lowpass ("lowpass")
 
 Lowpass (const char *command_name)
 
BseWaveTool::Upsample2 Command BseWaveTool::cmd_upsample2 ("upsample2")
 
 Upsample2 (const char *command_name)
 
BseWaveTool::Downsample2 Command BseWaveTool::cmd_downsample2 ("downsample2")
 
 Downsample2 (const char *command_name)
 
BseWaveTool::Export Command BseWaveTool::cmd_export ("export")
 
 Export (const char *command_name)
 
void substitute (string &pattern, char ch, const string &subst)
 
BseWaveTool::ListChunks Command BseWaveTool::cmd_list_chunks ("list-chunks")
 
 ListChunks (const char *command_name)
 

Variables

list< string > BseWaveTool::unlink_file_list
 
bool force_creation
 
string wave_name
 
string channel_str
 
float quality
 
list< OptChunk > opt_chunks
 
bool load_raw
 
Enum LoadType
 
vector< gfloat > m_freq_list
 
bool m_all_chunks
 
vector< char * > args
 
typedef Enum
 
vector< Stringm_fields
 
bool m_location_wave
 
gfloat threshold
 
guint head_samples
 
guint tail_samples
 
guint fade_samples
 
guint pad_samples
 
guint tail_silence
 
bool all_chunks
 
vector< gfloat > freq_list
 
bool use_volume_xinfo
 
BseWaveTool::FirCommand BseWaveTool::cmd_loop
 
string export_filename