musicxml 1.1.2

MusicXML parsing, manipulation, and export library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::datatypes::Midi128;
use alloc::string::String;
use musicxml_internal::*;
use musicxml_macros::*;

/// For unpitched instruments, the [MidiUnpitched] element specifies a MIDI 1.0 note number ranging from 1 to 128.
///
/// It is usually used with MIDI banks for percussion. Note that MIDI 1.0 note numbers are generally specified from 0 to 127
/// rather than the 1 to 128 numbering used in this element.
#[derive(Debug, PartialEq, Eq, ElementDeserialize, ElementSerialize)]
#[rename("midi-unpitched")]
pub struct MidiUnpitched {
  /// Element-specific attributes
  pub attributes: (),
  /// Element-specific content
  pub content: Midi128,
}