|
Anklang-0.3.0.dev551+gad1415e2 anklang-0.3.0.dev551+gad1415e2
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Transport information for AudioSignal processing. More...
#include "transport.hh"
Public Member Functions | |
| bool | running () const |
| void | running (bool r) |
| void | tempo (double newbpm, uint8 newnumerator, uint8 newdenominator) |
| void | tempo (const TickSignature &ticksignature) |
| void | set_tick (int64 newtick) |
| void | set_beat (TickSignature::Beat b) |
| void | advance (uint nsamples) |
| void | update_current () |
| AudioTransport (SpeakerArrangement speakerarrangement, uint samplerate) | |
| int64 | sample_to_tick (int64 sample) const |
| int64 | sample_from_tick (int64 tick) const |
Public Attributes | |
| const uint | samplerate |
| Sample rate (mixing frequency) in Hz used for rendering. | |
| const uint | nyquist |
Half the samplerate. | |
| const double | isamplerate |
Precalculated 1.0 / samplerate. | |
| const double | inyquist |
Precalculated 1.0 / nyquist. | |
| const SpeakerArrangement | speaker_arrangement |
| Audio output configuration. | |
| TickSignature | tick_sig |
| int64 | current_frame |
| Number of sample frames processed since playback start. | |
| int64 | current_tick |
| int32 | current_bar |
| Bar of current_tick position. | |
| int8 | current_beat |
| Beat within bar of current_tick position. | |
| double | current_semiquaver |
| The sixteenth with fraction within beat. | |
| float | current_bpm |
| Running tempo in beats per minute. | |
| int32 | current_minutes |
| Minute of current_tick position. | |
| double | current_seconds |
| Seconds of current_tick position. | |
| int64 | current_bar_tick |
| int64 | next_bar_tick |
Static Public Attributes | |
| static constexpr int64 | ppqn |
Transport information for AudioSignal processing.
Definition at line 113 of file transport.hh.
|
explicit |
Definition at line 229 of file transport.cc.
| void Ase::AudioTransport::advance | ( | uint | nsamples | ) |
Definition at line 277 of file transport.cc.
| bool Ase::AudioTransport::running | ( | ) | const |
Definition at line 134 of file transport.hh.
| void Ase::AudioTransport::running | ( | bool | r | ) |
Definition at line 240 of file transport.cc.
Definition at line 144 of file transport.hh.
Definition at line 143 of file transport.hh.
| void Ase::AudioTransport::set_beat | ( | TickSignature::Beat | b | ) |
Definition at line 246 of file transport.cc.
| void Ase::AudioTransport::set_tick | ( | int64 | newtick | ) |
Definition at line 254 of file transport.cc.
| void Ase::AudioTransport::tempo | ( | const TickSignature & | ticksignature | ) |
Definition at line 271 of file transport.cc.
Definition at line 262 of file transport.cc.
| void Ase::AudioTransport::update_current | ( | ) |
Definition at line 289 of file transport.cc.
| int32 Ase::AudioTransport::current_bar |
Bar of current_tick position.
Definition at line 126 of file transport.hh.
Referenced by Ase::ProjectImpl::telemetry().
| int64 Ase::AudioTransport::current_bar_tick |
Definition at line 132 of file transport.hh.
| int8 Ase::AudioTransport::current_beat |
Beat within bar of current_tick position.
Definition at line 127 of file transport.hh.
Referenced by Ase::ProjectImpl::telemetry().
| float Ase::AudioTransport::current_bpm |
Running tempo in beats per minute.
Definition at line 129 of file transport.hh.
Referenced by Ase::MidiLib::MidiProducerImpl::render(), and Ase::ProjectImpl::telemetry().
| int64 Ase::AudioTransport::current_frame |
Number of sample frames processed since playback start.
Definition at line 122 of file transport.hh.
| int32 Ase::AudioTransport::current_minutes |
Minute of current_tick position.
Definition at line 130 of file transport.hh.
Referenced by Ase::ProjectImpl::telemetry().
| double Ase::AudioTransport::current_seconds |
Seconds of current_tick position.
Definition at line 131 of file transport.hh.
Referenced by Ase::ProjectImpl::telemetry().
| double Ase::AudioTransport::current_semiquaver |
The sixteenth with fraction within beat.
Definition at line 128 of file transport.hh.
Referenced by Ase::ProjectImpl::telemetry().
| int64 Ase::AudioTransport::current_tick |
Definition at line 123 of file transport.hh.
| const double Ase::AudioTransport::inyquist |
Precalculated 1.0 / nyquist.
Definition at line 118 of file transport.hh.
| const double Ase::AudioTransport::isamplerate |
Precalculated 1.0 / samplerate.
Definition at line 117 of file transport.hh.
| int64 Ase::AudioTransport::next_bar_tick |
Definition at line 133 of file transport.hh.
| const uint Ase::AudioTransport::nyquist |
Half the samplerate.
Definition at line 116 of file transport.hh.
|
staticconstexpr |
Definition at line 114 of file transport.hh.
| const uint Ase::AudioTransport::samplerate |
Sample rate (mixing frequency) in Hz used for rendering.
Definition at line 115 of file transport.hh.
| const SpeakerArrangement Ase::AudioTransport::speaker_arrangement |
Audio output configuration.
Definition at line 119 of file transport.hh.
| TickSignature Ase::AudioTransport::tick_sig |
Definition at line 121 of file transport.hh.