|
Public Types |
| enum | { WaveformDisplay,
WaveformDBDisplay,
SpectrumDisplay,
PitchDisplay
} |
Public Methods |
| virtual | ~WaveTrack () |
| virtual int | GetKind () const |
| double | GetRate () const |
| void | SetRate (double newRate) |
| virtual double | GetOffset () const |
| virtual void | SetOffset (double t) |
| virtual double | GetStartTime () |
| virtual double | GetEndTime () |
| sampleFormat | GetSampleFormat () |
| bool | ConvertToSampleFormat (sampleFormat format) |
| void | SetDisplay (int display) |
| int | GetDisplay () |
| virtual bool | Cut (double t0, double t1, Track **dest) |
| virtual bool | Copy (double t0, double t1, Track **dest) |
| virtual bool | Clear (double t0, double t1) |
| virtual bool | Paste (double t, const Track *src) |
| virtual bool | Silence (double t0, double t1) |
| virtual bool | InsertSilence (double t, double len) |
| bool | GetWaveDisplay (float *min, float *max, float *rms, sampleCount *where, int numPixels, double t0, double pixelsPerSecond) |
| bool | GetSpectrogram (float *buffer, sampleCount *where, int numPixels, int height, double t0, double pixelsPerSecond, bool autocorrelation) |
| bool | GetMinMax (float *min, float *max, double t0, double t1) |
| bool | Get (samplePtr buffer, sampleFormat format, longSampleCount start, sampleCount len) |
| bool | Set (samplePtr buffer, sampleFormat format, longSampleCount start, sampleCount len) |
| bool | Append (samplePtr buffer, sampleFormat format, sampleCount len, unsigned int stride=1) |
| bool | AppendAlias (wxString fName, sampleCount start, sampleCount len, int channel) |
| sampleCount | GetBestBlockSize (longSampleCount t) |
| sampleCount | GetMaxBlockSize () const |
| sampleCount | GetIdealBlockSize () const |
| virtual bool | HandleXMLTag (const char *tag, const char **attrs) |
| virtual XMLTagHandler * | HandleXMLChild (const char *tag) |
| virtual void | WriteXML (int depth, FILE *fp) |
| bool | Lock () |
| bool | Unlock () |
| Envelope * | GetEnvelope () |
| longSampleCount | TimeToLongSamples (double t0) |
| Sequence * | GetSequence () |
Public Attributes |
| enum WaveTrack:: { ... } | WaveTrackDisplay |
Protected Methods |
| bool | TimeToSamples (double t0, sampleCount *s0) |
| void | TimeToSamplesClip (double t0, sampleCount *s0) |
| bool | Flush () |
Protected Attributes |
| Sequence * | mSequence |
| double | mRate |
| Envelope * | mEnvelope |
| samplePtr | mAppendBuffer |
| int | mAppendBufferLen |
| WaveCache * | mWaveCache |
| SpecCache * | mSpecCache |
| int | mDisplay |
Private Methods |
| | WaveTrack (DirManager *projDirManager, sampleFormat format=floatSample) |
| | WaveTrack (WaveTrack &orig) |
| void | Init (const WaveTrack &orig) |
| virtual Track * | Duplicate () |
Friends |
| class | TrackFactory |
| class | AudioIO |