1.1.21 • Published 3 years ago

werckmeister-components v1.1.21

Weekly downloads
38
License
GPL-3.0-or-later
Repository
github
Last release
3 years ago

werckmeister-component

A web component which allows you to embed werckmeister snippets on your website.

How to use

  • include the javascript file
<script src="https://unpkg.com/werckmeister-components@~1.0.0/werckmeister-components.js"></script>
  • embed your snippet
<werckmeister-snippet>
<![CDATA[
device: MyDevice  midi _usePort=0;
instrumentDef:lead    _onDevice=MyDevice  _ch=0 _pc=0;

-- a melody track
[
instrument: lead;
{
    c d e f | g a b c
}
]
]]>
</werckmeister-snippet> 

Demo

https://jsfiddle.net/o8tq4ghp/

Options

wm-type

can be either default or single. single means that the input is treated as one singe voice line such as c d e f g. In defaultmode the input has to be a valid werckmeister source.

https://jsfiddle.net/6dmoun41/

wm-tempo

Set the tempo of an snippet.

wm-style

Inline css rules to set up the apperance of the snippet. https://jsfiddle.net/aw702vcg/

wm-css-url

Set an url of an css file, to override the default css of the snippet. https://jsfiddle.net/y53647x8/

1.1.21

3 years ago

1.1.0-dev.5

3 years ago

1.1.0-dev.4

3 years ago

1.1.0-dev.3

3 years ago

1.1.0-dev.2

3 years ago

1.1.0-dev.1

3 years ago

1.1.20

3 years ago

1.1.19

3 years ago

1.1.18

3 years ago

1.1.17

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.13

3 years ago

1.1.9

3 years ago

1.1.12

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.8

3 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago