• Module: gmcl_midi
    44 replies, posted
[QUOTE=code_gs;47812803]Wow, I can't believe I've never seen this before. Does this have pedal support?[/QUOTE] Probably, yeah. It just reads the midi and calls the hook.
[QUOTE=FPtje;47814385]Probably, yeah. It just reads the midi and calls the hook.[/QUOTE] I should try to make an in-game composer with this, something like Finale.
I've actually managed to play MIDI files using a digital midi panio (and it's output) using: [url]http://www.nerds.de/en/loopbe1.html[/url]
[QUOTE=0bama;47860406]I've actually managed to play MIDI files using a digital midi panio (and it's output) using: [url]http://www.nerds.de/en/loopbe1.html[/url][/QUOTE] Well can you tell me how to do that? I would love to use it.
I see the notes going out and everything.. my friends can hear it but i can't... :c
Hey man, what about Mac version? Will it ever come out? :D
I tried compiling for Linux, failed horribly. I don't really even have an OSX device at my disposal.
[QUOTE=Nahuel;47879968]I see the notes going out and everything.. my friends can hear it but i can't... :c[/QUOTE] Yea. I can confirm that.
[QUOTE=baldursgate3;47893708]Yea. I can confirm that.[/QUOTE] This module doesn't make any sound on its own. What are you on about?
[QUOTE=Nahuel;47879968]I see the notes going out and everything.. my friends can hear it but i can't... :c[/QUOTE] // instrument:OnRegisteredKeyPlayed(MIDIKeys[note].Sound) uncomment that and you can hear it ( no you genius, not in my post, in the code from FPtje you're using ) [QUOTE=baldursgate3;47893708]Yea. I can confirm that.[/QUOTE] same thing goes for you. I mean, even if you guys don't code you could've noticed that you know..
That's impressive addon here. One question - is there a way to cut out the percussion as it doesn't fit in gmt playable piano?
[QUOTE=Titanic4;48010287]That's impressive addon here. One question - is there a way to cut out the percussion as it doesn't fit in gmt playable piano?[/QUOTE] Yes, filter out the channels you need.
[QUOTE=Leystryku;47988441]// instrument:OnRegisteredKeyPlayed(MIDIKeys[note].Sound) uncomment that and you can hear it ( no you genius, not in my post, in the code from FPtje you're using ) same thing goes for you. I mean, even if you guys don't code you could've noticed that you know..[/QUOTE] I did notice it minutes after.. xD
Hello :) How can i include the lua script for playable pianos? I tried to save it in the autorun folder but if i press a button, nothing happened. I cant see any notes. The hookscript which was given as a example script works. For the given playable piano script, there are no errors in the console. Thank you and sorry for my bad english :) EDIT: [CODE]MIDI EVENT 67 49 nil Event code: 64 Event channel: 3 Event name: nil parameters 49 nil A midi event happened at 144, which is -98.861754801915 seconds ago! MIDI EVENT 67 0 nil Event code: 64 Event channel: 3 Event name: nil parameters 0 nil A midi event happened at 144, which is -98.861691936752 seconds ago! MIDI EVENT 72 36 nil Event code: 64 Event channel: 8 Event name: nil parameters 36 nil A midi event happened at 144, which is -98.861626933318 seconds ago! MIDI EVENT 72 0 nil Event code: 64 Event channel: 8 Event name: nil parameters 0 nil [/CODE] Why are some parameters "nil"? EDIT: When i search the velocity of my values i see in the example that there it is in the parameters line on the second column and in my case on the first if we imagine, that was a chart. So here is my theory: [IMG]http://i.imgur.com/OiDJ1FH.png[/IMG] LAST EDIT: I deleted the .dll and placed it again in the folder after a day.. now it works... im confused but it works
This is amazing! I had a question regarding this; On a multiplayer game I open: I'm running ascript file of the variation of the code example in the 1st page (with lua_openscript_cl), and it detects my midi controller and prints all the data. Perfect. On the other hands, I call another script file from server to add nextbots and control them (with lua_openscript). I'm using GM:StartCommand hook to control each of them independently. The thing I'm trying to solve is; how is it possible for this startcommand hook to read the midi data in realtime? If I can solve this, then I will be able to finish my project in no time. I'm sorry, probably it has a really easy answer, but I'm a newbie and really ignorant about lua scripting. In this past month I tried my best to learn whatever I can, but sometimes I just get stuck with these easy things.
Sorry, you need to Log In to post a reply to this thread.