Skip to content

How to set tempo from MIDI file? #289

Answered by melanchall
TravisWoolston asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

How do I set the tempo to what the MIDI file's original tempo is?

I have no idea what you mean. Set where? If you use MidiFile.Read, a MidiFile already has "original" Tempo if you didn't change it manually.

Question 2:
How do I playback without an output device? I'm making a guitar hero type game(lets just call it that) and I don't need the piano. I saw that it's possible in the docs but didn't follow how.

Just don't pass a device to a method you use to get Playback. Please read docs carefully.

Thanks,
Max

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TravisWoolston
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Just question about the library
2 participants