svcore  1.9
NoteData Struct Reference

#include <NoteData.h>

List of all members.

Public Member Functions

 NoteData (int _start, int _dur, int _mp, int _vel)
float getFrequency () const

Public Attributes

int start
int duration
int midiPitch
float frequency
bool isMidiPitchQuantized
int velocity

Detailed Description

Definition at line 22 of file NoteData.h.


Constructor & Destructor Documentation

NoteData::NoteData ( int  _start,
int  _dur,
int  _mp,
int  _vel 
) [inline]

Definition at line 24 of file NoteData.h.


Member Function Documentation

float NoteData::getFrequency ( ) const [inline]

Definition at line 35 of file NoteData.h.

References frequency, Pitch::getFrequencyForPitch(), isMidiPitchQuantized, and midiPitch.


Member Data Documentation

Definition at line 26 of file NoteData.h.

Definition at line 29 of file NoteData.h.

Definition at line 33 of file NoteData.h.


The documentation for this struct was generated from the following file: