wavelength 1.0.0
Loading...
Searching...
No Matches
banksampledesc.h
Go to the documentation of this file.
1#pragma once
2
3#include "synth_s/sample.h"
5
12class BankSampleDesc : public SampleDesc {
13public:
20 void Dump() const;
21
28 void Init();
29
37 Sample *GetSample() const;
38
40};
A sample descriptor loaded into a bank, linked to the sample it plays.
Definition banksampledesc.h:12
Sample * GetSample() const
Report the sample the descriptor plays.
void Dump() const
Print the descriptor and its sample to the console.
Sample * mSample
Definition banksampledesc.h:39
void Init()
Reset the descriptor and clear its sample.
SampleDesc()
Construct a descriptor with the defaults Init() sets.
One waveform of a bank, as the bank file records it.
Definition sample.h:10