Skip to content

Note(NotePitch,byte,byte)

Chanan edited this page Aug 18, 2020 · 1 revision

Note(NotePitch,byte,byte) Constructor

Namespace: CW.Soloist.CompositionService.MusicTheory
Assembly: CW.Soloist.CompositionService.dll

Summary

Constructs a new note instance based on a given pitch,
and a duration which is composed with the quotient of the numerator divided by the denominator.

Source Code

public Note(NotePitch pitch, byte numerator, byte denominator)
    : this(pitch, new Duration(numerator, denominator)) { }

Parameters

Name Type Description
pitch NotePitch MIDI absolute pitch value.
numerator byte Duration's numerator.
denominator byte Duration's denominator.
  • Home
  • Getting Started
  • Design
    • Business Logical Layer (CW.Soloist.CompositionService)
    • Data Access Layer
    • Presentation Layer
Clone this wiki locally