Skip to content

Commit 2adbb7a

Browse files
committed
v0.17.14
1 parent 503b0de commit 2adbb7a

File tree

9 files changed

+172
-89
lines changed

9 files changed

+172
-89
lines changed

releases/music21.debug.js

Lines changed: 145 additions & 83 deletions
Large diffs are not rendered by default.

releases/music21.debug.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

releases/src/main.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ import * as interval from './interval';
5454
import * as key from './key';
5555
import * as keyboard from './keyboard';
5656
import * as layout from './layout';
57+
import * as metadata from './metadata';
5758
import * as meter from './meter';
5859
import * as miditools from './miditools';
5960
import * as musicxml from './musicxml';
@@ -75,6 +76,6 @@ import * as vfShow from './vfShow';
7576
import * as voiceLeading from './voiceLeading';
7677
import * as webmidi from './webmidi';
7778
import { debug } from './debug';
78-
export { MIDI, Vex, exceptions21, base, prebase, common, debug, articulations, audioRecording, audioSearch, bar, beam, chord, chordTables, clef, converter, defaults, derivation, duration, dynamics, editorial, expressions, figuredBass, fromPython, harmony, instrument, interval, key, keyboard, layout, meter, miditools, musicxml, note, parseLoader, pitch, renderOptions, roman, scale, sites, stream, style, svgs, tempo, tie, tinyNotation, vfShims, vfShow, voiceLeading, webmidi, };
79-
export declare const VERSION = "0.17.12";
79+
export declare const VERSION = "0.17.14";
80+
export { MIDI, Vex, exceptions21, base, prebase, common, debug, articulations, audioRecording, audioSearch, bar, beam, chord, chordTables, clef, converter, defaults, derivation, duration, dynamics, editorial, expressions, figuredBass, fromPython, harmony, instrument, interval, key, keyboard, layout, metadata, meter, miditools, musicxml, note, parseLoader, pitch, renderOptions, roman, scale, sites, stream, style, svgs, tempo, tie, tinyNotation, vfShims, vfShow, voiceLeading, webmidi, };
8081
//# sourceMappingURL=main.d.ts.map

releases/src/main.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

releases/src/metadata.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/**
2+
* music21j -- Javascript reimplementation of Core music21p features.
3+
* music21/metadata -- Very basic metadata object
4+
*
5+
* Copyright (c) 2013-25, Michael Scott Asato Cuthbert, BSD License
6+
* Based on music21 (=music21p), Copyright (c) 2006-25, Michael Scott Asato Cuthbert
7+
*/
8+
import { Music21Object } from './base';
9+
export declare class Metadata extends Music21Object {
10+
title: string | undefined;
11+
composer: string | undefined;
12+
constructor(vars?: any);
13+
static get className(): string;
14+
}
15+
export default Metadata;
16+
//# sourceMappingURL=metadata.d.ts.map

releases/src/metadata.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

releases/src/pitch.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export declare class Accidental extends prebase.ProtoM21Object {
6767
* @type {string}
6868
* @readonly
6969
*/
70-
get vexflowModifier(): "n" | "#" | "##" | "###" | "b" | "bb" | "bbb";
70+
get vexflowModifier(): "#" | "##" | "###" | "n" | "bb" | "b" | "bbb";
7171
/**
7272
* Returns the modifier in unicode or
7373
* for double and triple accidentals, as a hex escape

releases/src/stream.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as base from './base';
44
import * as clef from './clef';
55
import { Duration } from './duration';
66
import * as instrument from './instrument';
7+
import * as metadata from './metadata';
78
import * as meter from './meter';
89
import * as note from './note';
910
import * as pitch from './pitch';
@@ -167,6 +168,8 @@ export declare class Stream<ElementType extends base.Music21Object = base.Music2
167168
* @private
168169
*/
169170
_firstElementContext(attr: string): base.Music21Object;
171+
get metadata(): metadata.Metadata;
172+
set metadata(newMetadata: metadata.Metadata);
170173
get clef(): clef.Clef;
171174
set clef(newClef: clef.Clef);
172175
get keySignature(): KeySignature;

0 commit comments

Comments
 (0)