Logo Search packages:      
Sourcecode: jaaa version File versions  Download package

Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes

Spectwin Class Reference

Collaboration diagram for Spectwin:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void handle_mesg (ITC_mesg *)
void handle_term (void)
void handle_trig (void)
bool running (void) const
 Spectwin (X_window *parent, X_resman *xres, ITC_ctrl *audio)

Private Types

enum  {
  IP1, IP2, IP3, IP4,
  BANDW, VIDAV, PEAKH, FREEZ,
  MCLR, MPEAK, MNSE, FMIN,
  FMAX, FCENT, FSPAN, AMAX,
  ASPAN, BTUP, BTDN, OP1,
  OP2, OP3, OP4, NSACT,
  SIACT, NSLEV, SILEV, SFREQ,
  NBUTT
}
enum  {
  FFT_MIN = 256, FFT_MAX = 1024 * 256, BUF_LEN = 2 * FFT_MAX, INP_MAX = BUF_LEN - FFT_MAX / 2,
  INP_LEN = 4096
}

Private Member Functions

void alloc_fft (Spectdata *)
void bpress (XButtonEvent *)
void brelse (XButtonEvent *)
void calc_noise (float *f, float *p)
void calc_peak (float *f, float *p, float r)
void calc_spect (Spectdata *)
float calcfreq (int x)
void clr_mark (void)
float conv0 (fftwf_complex *)
float conv1 (fftwf_complex *)
void expose (XExposeEvent *)
virtual void handle_callb (int, X_window *, _XEvent *)
virtual void handle_event (XEvent *xe)
void message (XClientMessageEvent *)
void mod_param (bool inc)
void motion (XPointerMovedEvent *)
void plot_annot (Spectdata *)
void plot_ascale (void)
void plot_clear (void)
void plot_fscale (void)
void plot_grid (void)
void plot_spect (Spectdata *)
void print_note (char *s, float f)
void redraw (void)
void resize (XConfigureEvent *)
void send_genp (void)
void set_a1 (float)
void set_a_ns (float)
void set_a_si (float)
void set_ar (float)
void set_bw (float)
void set_f0 (float)
void set_f1 (float)
void set_f_si (float)
void set_fc (float)
void set_fs (float)
void set_fsamp (float fsamp, bool symm)
void set_input (int i)
void set_mark (float f, bool nse)
void set_output (int i)
void set_param (int i)
void show_param (void)
void update (void)

Private Attributes

float _a0
float _a1
float _a_ns
float _a_pu
float _a_si
float _amax
float _amin
ITC_ctrl * _audio
float _bmax
float _bmin
X_button * _butt [NBUTT]
float _bw
float _da
float _df
int _drag
Atom _exitatom
float _f0
float _f1
float _f_si
float _fc
const char * _fform
float * _fftbuf
int _fftlen
fftwf_plan _fftplan
float _fm
float _fmax
float _fmin
float _fsamp
float _funit
int _g_bits
int _grx [40]
int _gry [20]
int _input
float * _ipbuf
int _ipcnt
int _ipmod
int _ngx
int _ngy
int _p_ind
float _p_val
GC _plotgct
Pixmap _plotmap
X_window * _plotwin
float * _power
float _ptot
int _running
Spectdata_spect
fftwf_complex * _trbuf
X_textip * _txt1
int _xd
int _xs
int _yd
int _ys

Static Private Attributes

static const char * _formats [9]
static const char * _notes [12]

Detailed Description

Definition at line 80 of file spectwin.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index