sequencer
Namespaces | Enumerations | Functions
note.hpp File Reference
#include <sequencer/assert.hpp>
#include <cassert>
#include <cstdint>
#include <limits>
Include dependency graph for note.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sequencer::midi
 

Enumerations

enum  sequencer::midi::note_t : std::uint8_t { sequencer::midi::note_t::no_note = std::numeric_limits< std::uint8_t >::max() }
 

Functions

constexpr note_t sequencer::midi::no_note () noexcept
 
constexpr std::uint8_t sequencer::midi::to_uint8_t (note_t note) noexcept
 
constexpr note_t sequencer::midi::operator+ (note_t note, std::int16_t offset)
 
constexpr std::int16_t sequencer::midi::get_note_distance (note_t lhs, note_t rhs) noexcept