Comments (8)
Haha! The magic of software: 1 problem arises and 2 people are getting smarter.
Anyway, I will address this problem at some point in the future. Printing warnings for doubled NoteOn events would be a first step. Adding some NoteOn { velocity: 0, .. } == NoteOff { .. }
option would be a second one.
BTW: It seems to be a more common case than I thought: https://forum.bome.com/t/midi-keyboard-sends-note-on-of-velocity-0-instead-of-note-off-how-to-trigger-only-once/2500. But WHY???
from tune.
@tank-trax Thanks for reporting the issue. I am unable to reproduce the problem. Can you execute ./microwave run --log --midi-in "QuNexus MIDI 1"
to verify that your synth sends Note-Off events?
from tune.
that looks to be it
[DEBUG] MIDI message received:
ChannelMessage {
channel: 0,
message_type: NoteOn {
key: 59,
velocity: 1,
},
}
[DEBUG] MIDI message received:
ChannelMessage {
channel: 0,
message_type: NoteOn {
key: 59,
velocity: 0,
},
}
from tune.
I tested using midimon and it looks to be the Midi Controller at issue...
after playing C D E F G , there is Note On with a key and pressure value and rather than a Note Off gives a Note On with 0 pressure
if you want I can close this, unless you want to adapt to this MIDI controller's messages
from tune.
@tank-trax Thanks for investigating the problem! Can you tell whether sending NoteOn with velocity 0 instead of NoteOff is a common thing?
from tune.
@Woyten uncertain if t is common... it is the behaviour of the QuNexus... am going to see if the Editor can make it send Note Off instructions rather than Note On 0
all other soft synths I've tried to date are able to stop playing notes when any of the keys are released, so my hunch is that it is not uncommon
perhaps a command that says something like if Note On 0 = Note Off
from tune.
closing this... there was an issue with the device, updated firmware and it applied the Toggle Off function... now there's a Note Off upon release
thanks!!! and apologies but cool thing is your app helped me discover a bug in my hardware
from tune.
@tank-trax I just happened to buy a MIDI controller which sends NoteOn
instead of NoteOff
s.t. I finally decided to handle this special case in the newest tune-cli
and microwaves
releases. It's a stupid workaround with disadvantages: Now, when I press a key very very slowly, tune-cli
and microwave
think it's NoteOff
...
from tune.
Related Issues (20)
- Apply live retuning in microwave HOT 3
- Add rotary effect control over MIDI HOT 1
- Audio-in HOT 1
- Add modular effects chain HOT 1
- Add live interactions with waveforms HOT 1
- Add ANSI Keyboard support HOT 4
- Pre-render sin function to array
- Use f32 instead of f64 in modular synth chain HOT 2
- tune scale documentation HOT 9
- Library vision (tracking issue)
- Named waveform buffers
- Split LfSource into a spec and state object HOT 1
- Add benchmarks HOT 1
- Remove DC offset / Implement DC filter
- Microwave requires Vulkan-compatible graphics HOT 7
- StreamConfigNotSupported error on Windows HOT 2
- Error on build HOT 2
- Add adaptive tuning
- ItemOutOfRange error generated on import. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tune.