How to set the octave of a chord ? #259
Answered
by
melanchall
JossPabloPC
asked this question in
Q&A
-
I want to to add some chords to a patter builder but i want them to be an octave lower. Apparently when you create a chord only the names of the notes are used, I cant find a way to do this in the documentation. |
Beta Was this translation helpful? Give feedback.
Answered by
melanchall
May 26, 2023
Replies: 1 comment 2 replies
-
Hi, You can add chords via var patternBuilder = new PatternBuilder()
// Add chord with two notes: A#3 and D4
.Chord(new []
{
Note.Get(NoteName.ASharp, 3),
Octave.Get(4).D
})
// Add chord with three notes: C#4 E4 G4
.SetOctave(Octave.Get(4))
.Chord(new Chord(
NoteName.CSharp,
NoteName.E,
NoteName.G)); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
JossPabloPC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
You can add chords via
PatternBuilder
in many different ways. Please see small example: