|
| juce::Range< int64_t > | tracktion::toSamples (TimeRange, double sampleRate) |
| | Converts a TimeRange to a range of samples.
|
| |
| TimeRange | tracktion::timeRangeFromSamples (juce::Range< int64_t > sampleRange, double sampleRate) |
| | Creates a TimeRange from a range of samples.
|
| |
| template<typename SourceRangeType > |
| TimeRange | tracktion::timeRangeFromSeconds (SourceRangeType) |
| | Creates a TimeRange from a range of seconds.
|
| |
| template<typename PositionType > |
| bool | tracktion::operator== (const RangeType< PositionType > &, const RangeType< PositionType > &) |
| | Compares two ranges to check if they are equal.
|
| |
| template<typename PositionType > |
| bool | tracktion::operator!= (const RangeType< PositionType > &, const RangeType< PositionType > &) |
| | Compares two ranges to check if they are not equal.
|
| |
| template<typename PositionType > |
| RangeType< PositionType > | tracktion::operator+ (const RangeType< PositionType > &, typename RangeType< PositionType >::Duration) |
| | Adds a duration to a range, moving it forwards.
|
| |
| template<typename PositionType > |
| RangeType< PositionType > | tracktion::operator- (const RangeType< PositionType > &, typename RangeType< PositionType >::Duration) |
| | Subtracts a duration to a range, moving it backwards.
|
| |
| template<typename PositionType > |
| RangeType< PositionType > | tracktion::withEndExtended (RangeType< PositionType > &, typename RangeType< PositionType >::Duration) |
| | Adds an amount to the end of the range and returns a new range.
|
| |
|
template<typename PositionType > |
| PositionType | tracktion::fromUnderlyingType (double) |
| |
| template<> |
| TimePosition | tracktion::fromUnderlyingType< TimePosition > (double t) |
| |
| template<> |
| TimeDuration | tracktion::fromUnderlyingType< TimeDuration > (double t) |
| |
| double | tracktion::toUnderlyingType (TimePosition t) |
| |
| double | tracktion::toUnderlyingType (TimeDuration t) |
| |
| template<> |
| BeatPosition | tracktion::fromUnderlyingType< BeatPosition > (double t) |
| |
| template<> |
| BeatDuration | tracktion::fromUnderlyingType< BeatDuration > (double t) |
| |
| double | tracktion::toUnderlyingType (BeatPosition t) |
| |
| double | tracktion::toUnderlyingType (BeatDuration t) |
| |
| TimeRange | tracktion::timeRangeFromSamples (juce::Range< int64_t > r, double sampleRate) |
| | Creates a TimeRange from a range of samples.
|
| |
| template<typename SourceRangeType > |
| TimeRange | tracktion::timeRangeFromSeconds (SourceRangeType r) |
| | Creates a TimeRange from a range of seconds.
|
| |
| juce::Range< int64_t > | tracktion::toSamples (TimeRange r, double sampleRate) |
| | Converts a TimeRange to a range of samples.
|
| |
| template<typename PositionType > |
| bool | tracktion::operator== (const RangeType< PositionType > &r1, const RangeType< PositionType > &r2) |
| | Compares two ranges to check if they are equal.
|
| |
| template<typename PositionType > |
| bool | tracktion::operator!= (const RangeType< PositionType > &r1, const RangeType< PositionType > &r2) |
| | Compares two ranges to check if they are not equal.
|
| |
| template<typename PositionType > |
| RangeType< PositionType > | tracktion::operator+ (const RangeType< PositionType > &r, typename RangeType< PositionType >::Duration d) |
| | Adds a duration to a range, moving it forwards.
|
| |
| template<typename PositionType > |
| RangeType< PositionType > | tracktion::operator- (const RangeType< PositionType > &r, typename RangeType< PositionType >::Duration d) |
| | Subtracts a duration to a range, moving it backwards.
|
| |
| template<typename PositionType > |
| RangeType< PositionType > | tracktion::withEndExtended (RangeType< PositionType > &r, typename RangeType< PositionType >::Duration d) |
| | Adds an amount to the end of the range and returns a new range.
|
| |
| template<typename RangeType , std::enable_if_t< std::is_same_v< TimeRange, RangeType >||std::is_same_v< BeatRange, RangeType >, bool > = true> |
| std::string | tracktion::to_string (RangeType range) |
| |
| std::ostream & | tracktion::operator<< (std::ostream &os, const TimeRange &r) |
| |
| std::ostream & | tracktion::operator<< (std::ostream &os, const BeatRange &r) |
| |