-
Notifications
You must be signed in to change notification settings - Fork 20
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
gbsplay segfault on midi #11
Comments
Should be fixed by 711af96 |
Thanks for this !! And i'm not sure about this, but they may not have the correct length and i don't hear the battery channel (4). |
with the help of nadenislamarre we've made an improvement. then this command work: ~/dev/gbsplay$ ./gbsplay -o midi ~/Téléchargements//Smurfs.gbs But there still a problem with the channels, the velocity, and others things that i don't know the english music word to explain well. But, the music is exactly the good one with this command: Why so much differences ? Specially the channel one. |
I've never used the midi output plugin myself, but from the code it looks like it ignores channel 4, so that part is expected. |
Not using channel 4 makes kind of sense: In a MIDI drum track (normally on channel 10), every note stands for one drum sound (35 = bass drum 1, 39 = hand clap, 46 = open hi-hat, etc.). If somebody wanted to do some real cool programming, a conversion could propably be built, but I wouldn't even want to try… |
when i try to run this command
run ~/Téléchargements//Smurfs.gbs -2 -3 -4 -o midi
it segfaults with the followin trace
(I obtain this with help. I'm a GB sound fan, but not a good linux user)
#0 __GI__IO_fwrite (buf=0x7fffffffdbf7, size=1, count=1, fp=0x0) at iofwrite.c:41
#1 0x000055555555d36a in midi_write_event.constprop ()
#2 0x000055555555d73a in midi_io ()
#3 0x000055555555d9df in io_put ()
#4 0x000055555555e522 in gbhw_init ()
#5 0x000055555555ef5a in gbs_init ()
#6 0x000055555555ba4d in main ()
The text was updated successfully, but these errors were encountered: