Namespace: clef

clef

music21j -- Javascript reimplementation of Core music21p features.
music21/clef -- Clef objects

Copyright (c) 2013-19, Michael Scott Cuthbert and cuthbertLab
Based on music21 (=music21p), Copyright (c) 2006–19, Michael Scott Cuthbert and cuthbertLab

Clef module, see music21.clef for namespace
Clef related objects and properties

Source:

Requires

  • module:music21/base
  • module:music21/pitch

Classes

AltoClef
Bass8vbClef
BassClef
Clef
MezzoSopranoClef
PercussionClef
SopranoClef
TenorClef
Treble8vaClef
Treble8vbClef
TrebleClef

Methods

<static> bestClef(st, options) → {music21.clef.Clef}

Looks at the pitches in a Stream and returns the best clef
of Treble and Bass

Parameters:
Name Type Argument Description
st music21.stream.Stream
options Object <optional>
Properties
Name Type Argument Default Description
recurse boolean <optional>
true
Source:
Returns:
Type
music21.clef.Clef
Music21j, Copyright © 2013-2021 Michael Scott Asato Cuthbert.
Documentation generated by JSDoc 3.6.3 on Wed Jul 31st 2019 using the DocStrap template.