smplr 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -194,7 +194,7 @@ A Soundfont player. By default it loads audio from Benjamin Gleitzman's package
194
194
  [pre-rendered sound fonts](https://github.com/gleitz/midi-js-soundfonts).
195
195
 
196
196
  ```js
197
- import { Soundfont, getSoundfontNames } from "smplr";
197
+ import { Soundfont, getSoundfontNames, getSoundfontKits } from "smplr";
198
198
 
199
199
  const marimba = new Soundfont(new AudioContext(), { instrument: "marimba" });
200
200
  marimba.start({ note: "C4" });
@@ -204,14 +204,14 @@ It's intended to be a modern replacement of [soundfont-player](https://github.co
204
204
 
205
205
  #### Soundfont instruments and kits
206
206
 
207
- Use `getSoundfontNames` to get all available instrument names.
207
+ Use `getSoundfontNames` to get all available instrument names and `getSoundfontKits` to get kit names.
208
208
 
209
- Two kits are available: `MusyngKit` or `FluidR3_GM`. The first is used by default: it sounds better but it weights more.
209
+ There are two kits available: `MusyngKite` or `FluidR3_GM`. The first one is used by default: it sounds better but samples weights more.
210
210
 
211
211
  ```js
212
212
  const marimba = new Soundfont(context, {
213
213
  instrument: "clavinet",
214
- kit: "FluidR3_GM", // "MusyngKit" is used by default if not specified
214
+ kit: "FluidR3_GM", // "MusyngKite" is used by default if not specified
215
215
  });
216
216
  ```
217
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smplr",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "homepage": "https://github.com/danigb/smplr#readme",
5
5
  "description": "A Sampled collection of instruments",
6
6
  "main": "dist/index.js",