Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
tuning.hpp File Reference
#include <pulp/timeline/assets.hpp>
#include <compare>
#include <cstdint>
#include <optional>

Go to the source code of this file.

Classes

struct  pulp::timeline::TuningReference
 Durable statement of the tuning a project or one instrument plays in. More...

Namespaces

namespace  pulp
namespace  pulp::timeline

Enumerations

enum class  pulp::timeline::TuningSystem : std::uint8_t { pulp::timeline::TuningSystem::EqualTemperament , pulp::timeline::TuningSystem::MtsEsp , pulp::timeline::TuningSystem::Scala }
 How a document states the mapping from note number to pitch. More...

Functions

constexpr bool pulp::timeline::valid_tuning_reference (const TuningReference &tuning) noexcept
 Returns whether a tuning reference is internally consistent.

Variables

constexpr std::uint32_t pulp::timeline::kDefaultReferencePitchMillihertz = 440'000
 Reference pitch for A4 that a document states when it states nothing else.
constexpr std::uint32_t pulp::timeline::kMinReferencePitchMillihertz = 20'000
 Lowest reference pitch a document may state, in millihertz.
constexpr std::uint32_t pulp::timeline::kMaxReferencePitchMillihertz = 20'000'000
 Highest reference pitch a document may state, in millihertz.