Skip to content

Commit

Permalink
Build v4
Browse files Browse the repository at this point in the history
  • Loading branch information
walmik committed Apr 30, 2021
1 parent 1f29de1 commit bb11e00
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 28 deletions.
2 changes: 1 addition & 1 deletion browser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/scribbletune.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/scribbletune.js.map

Large diffs are not rendered by default.

27 changes: 4 additions & 23 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,10 @@
// Generated by dts-bundle v0.7.3
// Dependencies for this module:
// ../harmonics

export { scale, scale as mode, scales, scales as modes, chord, chords, clip, getChordDegrees, getChordsByProgression, progression, arp, midi, };
import { scales, chords, scale, chord } from 'harmonics';

export const scaleMaps: NVP<string>;
/**
* Get a list of scales available in Scribbletune.
* @return {Array} [example output: ['major', 'minor', 'harmonic minor']]
*/
export const scales: () => string[];
export const chordMaps: NVP<number[]>;
/**
* Get a list of chords available in Scribbletune.
* @return {Array} [example output: ['maj', 'min', 'dim']]
*/
export const chords: () => string[];
/**
* Generate a scale using static scale maps
* @param name Name of the scale e.g. C4 major
*/
export const scale: (name: string) => string[];
/**
* Generate a chord based on static chord maps
* @param name
*/
export const chord: (name: string) => string[];
export { scale, scale as mode, scales, scales as modes, chord, chords, clip, getChordDegrees, getChordsByProgression, progression, arp, midi, };

export const clip: (params: ClipParams) => NoteObject[];

Expand Down
2 changes: 1 addition & 1 deletion index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion max.js

Large diffs are not rendered by default.

0 comments on commit bb11e00

Please sign in to comment.