Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::format::NoteName Struct Reference

One named note. More...

#include <note_name.hpp>

Public Attributes

std::string name
std::int16_t port = -1
std::int16_t channel = -1
std::int16_t key = 0

Detailed Description

One named note.

port, channel, and key follow the wildcard convention the note-name host APIs use: -1 matches every port / channel / key, so a single entry can name a key across all channels. key is a MIDI note number, 0..127.

Member Data Documentation

◆ channel

std::int16_t pulp::format::NoteName::channel = -1

◆ key

std::int16_t pulp::format::NoteName::key = 0

◆ name

std::string pulp::format::NoteName::name

◆ port

std::int16_t pulp::format::NoteName::port = -1

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/format/include/pulp/format/note_name.hpp