Comments (8)
from midi-unreal.
Thanks, but that would be a simple multiplier, right? The problem I'm having is that each frame takes a variable and unknown length of time to actually render, so anything based on real-world time is going to go wrong.
Fine if there's no easy answer… I might just try a quick patch to see if GameState::ElapsedTime does what I need.
from midi-unreal.
Hmm never worked with rendering videos
from midi-unreal.
Yeah, no problem! It gets a bit confusing with all the different timers involved! I'll see what I can dig up.
from midi-unreal.
one way could be to store all the notes in a array in blueprint and enumerate through each item on each frame or time it takes to get to another note.
Trying to visualize the idea lol
from midi-unreal.
I've added a reference to UWorld to MidiProcessor, then used UWorld::TimeSeconds * 1000.0f as the "current time" getter, and now it worked perfectly for my purposes (I'm not actually outputting audio, just using midi to trigger events, although I'll take a look tomorrow at what the audio actually sounds like in game time.)
If you're interested, I'd be happy to expose this via a "use game time"/"use real time" toggle and write a cleaner patch than I currently have.
Thanks for your help!
from midi-unreal.
I am interested. It can be useful in certain situations
from midi-unreal.
Added Game Time
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
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.