Giter Club home page Giter Club logo

Comments (8)

Woyten avatar Woyten commented on July 19, 2024 1

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.

Woyten avatar Woyten commented on July 19, 2024

@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.

tank-trax avatar tank-trax commented on July 19, 2024

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.

tank-trax avatar tank-trax commented on July 19, 2024

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

image

if you want I can close this, unless you want to adapt to this MIDI controller's messages

from tune.

Woyten avatar Woyten commented on July 19, 2024

@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.

tank-trax avatar tank-trax commented on July 19, 2024

@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.

tank-trax avatar tank-trax commented on July 19, 2024

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.

Woyten avatar Woyten commented on July 19, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.