Comments (11)
Hi Again...
I just "SOLVED" it by listening 5 times in the same update function for the notes...
I think is not the best solution but, it goes acceptable for me.
thanks.
from midijack.
Did you close Unity Editor before running the build? Unity Editor should be closed before running the standalone build because MIDI devices are exclusively retained by a single application on some systems.
from midijack.
Hi,
Yes I've closed the editor sure...
Thanks
from midijack.
Thanks for confirming.
Although I've never experienced such a situation, it could happen when the frame rate is quite low. You can use delegates to avoid this kind of message-loss issue. See the example for further details.
https://github.com/keijiro/MidiJack/blob/master/Assets/Example%20Delegate/DelegateTester.cs
from midijack.
Yes, I've beeing re-testing it right now, and it occurs again.
Thank you very much for the answer!
Well, I'm not famirliarized with delegates, I'll look for some tut or explaination to learn how to use it, so, have you some suggestion?
Cheers.
Albert
from midijack.
https://unity3d.com/learn/tutorials/topics/scripting/delegates
from midijack.
Hi Keijiro,
Finally I've learned how to use your delegate's functions from your example.
It's all going on
Thank you a lot for your work on MidiJack, is a useful, simple, and complete tool
I'm closing the thread,
Cheers.
Albert.
from midijack.
The original problem hasn't been solved yet. Please keep this ticket opened.
from midijack.
Hi Keijiro,
This script sometimes misses MIDI input and can not be controlled reliably in the update function.
Although using delegate will work good.
Is there a technique to reliably receive MIDI signals with GetKeyDown Function?
Best regards,
from midijack.
For me the GetKeyDown function also misses a lot of notes and i am a total beginner in C# idk how to use delegate =,o its all too complicated =p
from midijack.
I'm also finding that down notes are occasionally skipped. Seems they aren't registered during DequeueIncomingData. Could you share how this data stream works? Might higher frame rates help?
from midijack.
Related Issues (20)
- Is it possible to get a timestamp? HOT 1
- Note up triggers twice HOT 3
- Update plugin code to use lib RtMidi HOT 3
- IAC Driver compatibility HOT 1
- Keyboard Midi Controller HOT 2
- Inifinite midi device detected which freezes the editor HOT 2
- Does it work with Hololens 1 ? HOT 8
- Endless loop?When handles_to_close is not empty
- NoteOn delegate triggers on actual Note Off HOT 2
- When loading a scene that uses MidiMaster.GetKeyDown(), the scene will no longer act appropriately. HOT 1
- When in edit mode no input is detected, once stopped midi device is no longer accessible by any application. HOT 2
- Hololens2(ARM) usage HOT 1
- macOS - MidiJackPlugin.bundle - "cannot be opened because the developer cannot be verified" error
- Midijack undetected with AKAI MPK Midi Controller? HOT 3
- Unity not recognizing Midi Messages properly on MacOS Catalina with Alesis Nitro Mesh Kit HOT 4
- Upgrade to Unity 2020 HOT 5
- Detected MIDI devices: device unknown HOT 3
- Any way to throttle/debounce MIDI Messages? HOT 1
- Almost Stopped in U2020.3 HOT 3
- Apple Silicon Support ?
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 midijack.