Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Jun 7, 2023
1 parent 3063d5a commit d7dac20
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# JZZ-midi-STY
coming soon...
Yamaha-PSR styles

[![npm](https://img.shields.io/npm/v/jzz-midi-sty.svg)](https://www.npmjs.com/package/jzz-midi-sty)
[![npm](https://img.shields.io/npm/dt/jzz-midi-sty.svg)](https://www.npmjs.com/package/jzz-midi-sty)
Expand Down Expand Up @@ -95,6 +95,23 @@ fs.writeFileSync('intro-a.mid', smf.dump(), 'binary');
fs.writeFileSync('otsc1.mid', sty.export('OTSc1').dump(), 'binary');
```

##### Cleaning up

```js
// remove the OTSc section: it is not required
// unless you use it on a Yamaha keyboard (see the docs...)
delete sty.otsc;
// remove the FNRc section: it is not used for playback
// and in most cases contains garbage (see the docs...)
delete sty.fnrc;
```

##### Writing file

```js
fs.writeFileSync('new-style.sty', sty.dump(), 'binary');
```

## Some useful Style links
* http://wierzba.homepage.t-online.de/stylefiles_v101.pdf
* http://www.jososoft.dk/yamaha/articles/keyboard_and_style.pdf
2 changes: 1 addition & 1 deletion javascript/JZZ.midi.STY.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/* istanbul ignore next */
if (JZZ.MIDI.STY) return;

var _ver = '0.0.7';
var _ver = '0.0.8';

function STY(smf) {
var self = this;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jzz-midi-sty",
"version": "0.0.7",
"version": "0.0.8",
"description": "coming soon",
"main": "javascript/JZZ.midi.STY.js",
"scripts": {
Expand Down

0 comments on commit d7dac20

Please sign in to comment.