Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Add percussion to fluidR3
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed Jul 1, 2018
1 parent 58d8d2f commit d279608
Show file tree
Hide file tree
Showing 7 changed files with 2,756 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Soundfont.instrument(new AudioContext(), 'acoustic_grand_piano').then(function (

It is a much simpler and lightweight replacement for [MIDI.js](https://github.com/mudcube/MIDI.js) soundfont loader (MIDI.js is much bigger, capable of play midi files, for example, but it weights an order of magnitude more).

## Features
## Features

- Load soundfont files in MIDI.js format or json format.
- Unlimited poliphony (and stop all sounds with a single function call)
Expand Down Expand Up @@ -97,7 +97,7 @@ Soundfont.instrument(ac, 'clavinet').then(function (clavinet) {
})
```

## API
## API

__< 0.9.x users__: The API in the 0.9.x releases has been changed and some features are going to be removed (like oscillators). While 0.9.0 adds warnings to the deprecated API, the 1.0.0 will remove the support.

Expand Down
2 changes: 1 addition & 1 deletion dist/soundfont-player.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
'use strict'

var load = require('audio-loader')
Expand Down
2 changes: 1 addition & 1 deletion dist/soundfont-player.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/assets/fluidR3.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"pad_8_sweep",
"pan_flute",
"percussive_organ",
"percussion",
"piccolo",
"pizzicato_strings",
"recorder",
Expand Down
1 change: 1 addition & 0 deletions instruments.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"pad_8_sweep",
"pan_flute",
"percussive_organ",
"percussion",
"piccolo",
"pizzicato_strings",
"recorder",
Expand Down
1 change: 1 addition & 0 deletions names/fluidR3.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"pad_8_sweep",
"pan_flute",
"percussive_organ",
"percussion",
"piccolo",
"pizzicato_strings",
"recorder",
Expand Down
Loading

0 comments on commit d279608

Please sign in to comment.