Comments (4)
time should always be unsigned.
long ticksToMs(long ticks, int mpqn, int resolution) {
return ((ticks * (mpqn & 0x00000000ffffffffL)) / resolution) / 1000;
}
from midi-unreal.
Still something wrong with the new formula.
ticksToMs(9432,454545,120) -> 35727
ticksToMs(9452,454545,120) -> 11
conversion may have fixed playback speed of midi.
ticksToMs
is not used anywhere in the plugin, only msToTicks
is used
from midi-unreal.
seemed i confused myself with the other. anyway I forced value to do a unsigned long long. Seems like the multiplication is causing a value overflow
from midi-unreal.
Works good.
from midi-unreal.
Related Issues (20)
- Mac/IOS Users Readme HOT 1
- Join in on the Development
- Speed of 1.0 plays MIDI file too fast HOT 1
- Android Build issue with ver2.51 - UE4 4.17.2 HOT 1
- Mac/IOS unavailable due to UE4 (4.21) engine compiler bug HOT 1
- Is it working together with the midi plugin from Epic HOT 1
- Midi component disappears on engine relauch
- Linux rebuild issue
- In C++ example code FBufferReader is not a istream HOT 2
- 4.23 Compatible?
- Compatibility with low-latency drivers (WASAPI / ASIO)? HOT 2
- License clarification HOT 1
- Midi files should have a right click->Reimport option
- Allow midi playback in reverse
- Make the event time (On Tick and Off Tick) available in Break MidiEvent
- Expose the current playback time of a midi processor (without having to wait for the next midi event)
- MIDI variables disappear after restart HOT 1
- Marketplace version is no longer available?
- Any timeline for updating this for UE 5? HOT 1
- Using midi to trigger events for non-real-time capture HOT 8
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 midi-unreal.