36 using namespace Nsound;
49 first_beat_time_(time),
92 std::stringstream out;
94 out <<
"first_beat_time_: "
100 <<
"audio_stream_ length: "
101 <<
static_cast<float64>(audio_stream_->getLength())
102 / static_cast<float64>(audio_stream_->getSampleRate())
std::string printNode()
This method returns a string that represents the node.
boolean operator==(const MixerNode &) const
boolean operator<(const MixerNode &) const
This class holds the nodes for use with the Mixer class.
float64 first_beat_time_
The time the AudioStream first occurs in the list.
float64 bpm_
The number of beats per minute.
MixerNode(float64 first_beat_time, float64 bpm, const AudioStream &as)
Constructor.