aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorneauoire <[email protected]>2019-11-22 14:38:24 -0500
committerneauoire <[email protected]>2019-11-22 14:38:24 -0500
commitfe1803bc4e6ea476a0ad55cb3c539c7cc3053fcd (patch)
treeef35a205dcd5478f0410b283730103cfdf0da03b
parent1c1fcd28c565461debc39eeabd4a917476ff8361 (diff)
downloadOrca-fe1803bc4e6ea476a0ad55cb3c539c7cc3053fcd.tar.gz
Orca-fe1803bc4e6ea476a0ad55cb3c539c7cc3053fcd.zip
Fixed issue with midi length
-rw-r--r--README.md4
-rw-r--r--desktop/sources/scripts/client.js2
-rw-r--r--desktop/sources/scripts/core/library.js4
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 46a6597..57ec57b 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,13 @@ This application **is not a synthesizer, but a flexible livecoding environment**
If you need <strong>help</strong>, visit the <a href="https://talk.lurk.org/channel/orca" target="_blank" rel="noreferrer" class="external ">chatroom</a> or the <a href="https://llllllll.co/t/orca-live-coding-tool/17689" target="_blank" rel="noreferrer" class="external ">forum</a>.
-- Download [builds](https://hundredrabbits.itch.io/orca) for **OSX, Windows and Linux**.
+- [Download builds](https://hundredrabbits.itch.io/orca), available for **Linux, Windows and OSX**.
- Use directly [in your browser](https://hundredrabbits.github.io/Orca/), **requires webMidi**.
- Use on a [raspberry pi](https://github.com/hundredrabbits/orca-c#raspberry-pi).
## Install & Run
-If you are looking for a lightweight version of Orca for embedded computers, see [Orca-c](https://github.com/hundredrabbits/Orca-c/). If you wish to build it yourself, follow these steps:
+If you wish to use Orca inside of [Electron](https://electronjs.org/), follow these steps:
```
git clone https://github.com/hundredrabbits/Orca.git
diff --git a/desktop/sources/scripts/client.js b/desktop/sources/scripts/client.js
index b9cccba..2ee01c1 100644
--- a/desktop/sources/scripts/client.js
+++ b/desktop/sources/scripts/client.js
@@ -472,7 +472,7 @@ function Client () {
}
})
- window.onresize = (event) => {
+ window.onresize = (e) => {
this.resize()
}
diff --git a/desktop/sources/scripts/core/library.js b/desktop/sources/scripts/core/library.js
index e4906bb..7e91a0a 100644
--- a/desktop/sources/scripts/core/library.js
+++ b/desktop/sources/scripts/core/library.js
@@ -546,7 +546,7 @@ library[':'] = function OperatorMidi (orca, x, y, passive) {
this.ports.octave = { x: 2, y: 0, clamp: { min: 0, max: 8 } }
this.ports.note = { x: 3, y: 0 }
this.ports.velocity = { x: 4, y: 0, default: 'f', clamp: { min: 0, max: 16 } }
- this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 16 } }
+ this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 32 } }
this.operation = function (force = false) {
if (!this.hasNeighbor('*') && force === false) { return }
@@ -641,7 +641,7 @@ library['%'] = function OperatorMono (orca, x, y, passive) {
this.ports.octave = { x: 2, y: 0, clamp: { min: 0, max: 8 } }
this.ports.note = { x: 3, y: 0 }
this.ports.velocity = { x: 4, y: 0, default: 'f', clamp: { min: 0, max: 16 } }
- this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 16 } }
+ this.ports.length = { x: 5, y: 0, default: '1', clamp: { min: 0, max: 32 } }
this.operation = function (force = false) {
if (!this.hasNeighbor('*') && force === false) { return }