-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bytestream as Note Frequency in Hex format #19
Comments
There is, in a way; the -b option will create a binary file of the Playtune bytestream, which contains just the sequence of MIDI note numbers (not frequencies) and timing information. If by "hex format" you mean an ASCII file that uses the characters 0-9 and A-F, there are all sorts of ways to create that from the binary file. From Windows PowerShell, for example, you can say "format-hex filename.bin". I don't know what "decoration" you would want, in terms of spaces, line breaks, etc. If you really want the note frequencies instead of note numbers (which isn't very space efficient because it would take more than one byte per note), you would have to write a program to create that from the .bin file. It wouldn't be too hard. |
@LenShustek im kinda running out of time for our assembly project :/ there is this one java program ive used as reference to create such note frequencies in hex format from a .midi file, but it fails to properly play in the accompanying .asm Sent from my HUAWEI GR5 2017 using FastHub |
You’re going to have to explain what you mean by “hex format” |
Like the one here https://github.com/leonardo-ono/Assembly8086MarioMusicOnPCSpeakerTest/blob/master/mario.asm at line 147 |
|
Hi, im wondering if it's possible to produce output as note frequency that is all in hex format?
The text was updated successfully, but these errors were encountered: