1.0.2 • Published 7 years ago

scribblescripts v1.0.2

Weekly downloads
7
License
ISC
Repository
github
Last release
7 years ago

##scribblescripts

Ronaldo Barbachano, 2017

Provided as is.

Disclaimer #I'm not a musician but I play one with javascript.

Helper functions to assist music composers with scribbletune. Please see example.js for usage. Basically simplifies clip creation and is based off the provided examples from the original repository.

Function nameparameterspurpose
scribblescripts.buildChordspattern, notes, sizzleCreates chord style midi clip
scribblescripts.buildMidiscribbleData, filenameCreates scribble midi from scribble file
scribblescripts.buildHighhataccentMap, pattern, sizzle, notesBasic clip with (usually one note)
scribblescripts.buildKickaccentMap, pattern, sizzle,notesLike buildHighhat but with 'shuffle' set to true
scribblescripts.buildMelodypatternVariates a (even sized pattern 'x-_x-' string) using string/array functions. Returns a four element array.

###What is buildMelody

I wrote it to simplify the process of creating variations to a songs loopable elements which can include bridges,baselines, chords etc. Returns the a string in ('x-x_xx' type format) which can be used as a pattern or accentmap.

[
	 <original pattern>,
	 <pattern reversed>,
	 <first half of pattern>,
	 <second half of pattern>
]
1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago