Skip to content

Commit

Permalink
m21j 0.12.17
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Apr 29, 2022
1 parent e2e781d commit a578831
Show file tree
Hide file tree
Showing 35 changed files with 912 additions and 1,026 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "music21j",
"version": "0.12.16",
"version": "0.12.17",
"description": "A toolkit for computer-aided musicology, Javascript version",
"main": "releases/music21.debug.js",
"typings": "releases/main.d.ts",
Expand Down
1,820 changes: 835 additions & 985 deletions releases/music21.debug.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion releases/music21.debug.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion releases/musicxml/xmlToM21.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions releases/src/common.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,19 @@ export declare function isFloat(num: any): boolean;
* Uses a shared memory buffer to give the conversion.
*/
export declare function opFrac(num: any): any;
/**
* Converts a string to a single element using template.
*
* Similar to $('<tag attributes="xyz"><b>more</b></tag>')[0]
*
* For security reasons <template> will not parse script
* tags.
*
* This is tagged as returning HTMLElement for convenience
* but can also be used to return SVGElement.
*
* Recommended in:
* https://stackoverflow.com/questions/494143/
*/
export declare function to_el(input_string: string): HTMLElement;
//# sourceMappingURL=common.d.ts.map
2 changes: 1 addition & 1 deletion releases/src/common.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions releases/src/keyboard.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export declare class Keyboard {
*
* @returns {SVGElement} new svgDOM
*/
redrawSVG(): SVGElement;
redrawSVG(): SVGSVGElement;
/**
* Appends a keyboard to the where parameter
*/
Expand All @@ -146,7 +146,7 @@ export declare class Keyboard {
/**
* Draws the SVG associated with this Keyboard
*/
createSVG(): SVGElement;
createSVG(): SVGSVGElement;
/**
* Puts a circle on middle c.
*/
Expand All @@ -165,7 +165,7 @@ export declare class Keyboard {
* Do not call this directly, just use createSVG after changing the
* scrollable property on the keyboard to True.
*/
wrapScrollable(svgDOM: SVGElement): JQuery;
wrapScrollable(svgDOM: SVGSVGElement): HTMLElement;
/**
* Puts a hideable keyboard inside a Div with the proper controls.
*
Expand All @@ -175,7 +175,7 @@ export declare class Keyboard {
* @param {Node} where
* @param {SVGElement} keyboardSVG
*/
appendHideableKeyboard(where: any, keyboardSVG: any): JQuery<HTMLElement>;
appendHideableKeyboard(where: any, keyboardSVG: SVGSVGElement | HTMLElement): HTMLElement;
}
/**
* triggerToggleShow -- event for keyboard is shown or hidden.
Expand Down
2 changes: 1 addition & 1 deletion releases/src/keyboard.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion releases/src/meter.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions releases/src/miditools.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/// <reference types="jquery" />
import * as MIDI from 'midicube';
import '../css/midiPlayer.css';
import * as chord from './chord';
import * as instrument from './instrument';
import * as note from './note';
import * as tempo from './tempo';
import type * as tempo from './tempo';
export interface CallbackInterface {
raw: (t: any, a: any, b: any, c: any) => Event;
general: Function | Function[];
Expand Down Expand Up @@ -149,10 +148,10 @@ export declare class MidiPlayer {
* playback speed scaling (1=default)
*/
speed: number;
$playDiv: JQuery;
playDiv: HTMLElement;
state: string;
constructor();
addPlayer(where: JQuery | HTMLElement): JQuery;
addPlayer(where: HTMLElement): HTMLElement;
stopButton(): void;
playPng(): string;
pausePng(): string;
Expand Down
Loading

0 comments on commit a578831

Please sign in to comment.