|
resonance 1.0.1
|
Visitor that finds the lowest and highest note of a sequence. More...
#include <riffrangefinder.h>


Public Member Functions | |
| RiffRangeFinder (MultiMuse *pMuse, int *pLow, int *pHigh) | |
| Visit every message of a sequence and report the note range. | |
| virtual void | DispatchPriv (Message *pMsg) |
| Widen the range to the note of a NoteMsg. | |
| Public Member Functions inherited from MsgSink | |
| void * | operator new (size_t nSize) |
| Allocate a sink from the tagged heap under the tag "MsgSink". | |
| void | operator delete (void *pBlock) |
| Release a sink to the tagged heap. | |
| virtual | ~MsgSink () |
| virtual void | Dispatch (Message *pMsg) |
| Accept a message. | |
Visitor that finds the lowest and highest note of a sequence.
Its RTTI descriptor is at 0x008ef058. It has MsgSink as its only base at offset 0. The object is 0xc bytes. PitchPicker::OnMsg() builds one on its stack.
The destructor at 0x001c4200 is implicitly declared. It restores MsgSink's table and, for the deleting variant, releases the object under MsgSink's tag.
|
inline |
Visit every message of a sequence and report the note range.
Inline. PitchPicker::OnMsg() expands it, and the image also retains an out-of-line copy. The range starts at 127 for the low end and zero for the high end, which a sequence without a NoteMsg reports unchanged.
| pMuse | The sequence. |
| pLow | Receives the lowest note number. |
| pHigh | Receives the highest note number. |
|
virtual |