Garry's Mod

Garry's Mod

DerModMaster's MIDI-Script
47 Comments
catnip 5 Sep, 2024 @ 11:09am 
does this work on mac
A can of Great Northern 2 Dec, 2022 @ 5:06am 
Is this client-side or server-side?
Smores 29 Sep, 2022 @ 12:46am 
Getting a bit of an error. Typing the commands in chat tell me the command is unknown in console. They don't show up in console either.
honeycrisp 2 Jan, 2022 @ 7:42pm 
I can't get the commands to appear in the console?
Redshirt 18 Feb, 2021 @ 10:24pm 
I'm genuinely surprised that this actually works, considering it's from 2015
{EĢN} Jx8870 [cmc] 9 Feb, 2021 @ 12:43am 
An addition to my previous comment: On further testing, the extended playable piano addon is not required for this mod to function just the original playable piano addon. You can find that addon linked on the extended playable pianos page if you're having trouble finding it.
{EĢN} Jx8870 [cmc] 9 Feb, 2021 @ 12:26am 
For people in the future, this addon requires the original playable piano addon to be installed aswell. This will fix the single key spam and errors. As a word of warning though, having both the playable piano and extended playable pianos addons installed at once breaks leaving for the original playable piano. You cant press the tab key to leave the original playable pianos, the extended and synth pianos work just fine though.
pannenkoeketje 11 May, 2020 @ 7:02am 
guys this can lag a bit sometimes but has the ability to work on any server https://github.com/Bonkeyzz/Midi2KBOut
Point_brake 4 May, 2020 @ 6:28pm 
can you make a yt video on what to do
Han 21 Apr, 2020 @ 10:36am 
It used to work but i think the latest GMOD updates broke it, now it spams the first key with errors, so it's unplayable.
Dr. Cat 23 Mar, 2020 @ 12:09pm 
when running single or multiplayer, the key i press gets spammed until i leave the piano and the console is filled with this error

[DerModMaster's MIDI ] lua/autorun/midiinit.lua:202: Calling net.Start with unpooled message name! [ https://wiki.facepunch.com/gmod/Calling_net.Start_with_unpooled_message_name ]
1. Start - [C]:-1
2. v - lua/autorun/midiinit.lua:202
3. unknown - lua/includes/modules/hook.lua:84
4. v - [C]:-1
5. unknown - lua/includes/modules/hook.lua:84

i think it might be acting up because my keyboard has velocity sensitivity?
i've enabled debug mode but it doesn't show anything different in the console
Tim die ESL Robbe  [author] 20 Mar, 2020 @ 4:37pm 
hey @Ariojmikk: Read description of the repository and look for releases. You will find this link: https://github.com/FPtje/gmcl_midi/releases
Arlojmikk 17 Mar, 2020 @ 6:08pm 
hey theres no gmcl_midi_win32.dll in the download on github
Tim die ESL Robbe  [author] 1 Nov, 2019 @ 4:42pm 
@SPACER: Yes
tier 19 Oct, 2019 @ 5:19am 
Do you need this in a server so the other players can play?
tequileros97 10 Aug, 2019 @ 11:11pm 
Is there an english version?
RyanTheTechMan 17 Nov, 2018 @ 12:05pm 
WOW! Still Works for Me!!! Thanks so Much!!!:steamhappy:
Phoenix Rising 31 Jul, 2018 @ 10:14pm 
Upon further research, I have fixed the Virtual Controller, however still am experiencing problems with the Physical Keyboard
Phoenix Rising 31 Jul, 2018 @ 9:37pm 
I installed everything correctly and the first time playing, it worked wonderfully

Unfortunately, every time after that nothing works. I've reinstalled both the mod and the gmcl, I've messed around with my MIDI-USB, I've even set up a virtual midi player with LoopBe1 to try and just outright play the midi files, to no avail.

Everything is installed correctly, and the program has no problem identifying and supposedly connecting to the devices used, but I can no longer functionally use either. Please help.
[OF]Cuddles Bonfie Basher Shy 15 May, 2018 @ 11:34am 
It's not working. Ive typed everything and nothing pops up. I tried using commands and it tells me unkown command.
Tim die ESL Robbe  [author] 14 May, 2018 @ 4:16pm 
@TheDizcordumFirst Oh yes you're right! Thanks haha ^^ :steamhappy:
TheDizcordumFirst 6 May, 2018 @ 10:47am 
@DerModMaster: The programm is - Aria Maestosa
Tim die ESL Robbe  [author] 5 May, 2018 @ 4:31pm 
@Gigi: Yes but you can also use a midi simulation software... I know there is a program out where you can play midi files and simulate a midi interface but I don't know the name of it.
Tim die ESL Robbe  [author] 5 May, 2018 @ 4:30pm 
@TheDizcordumFirst: Yes, server need the addon too :)
TheDizcordumFirst 27 Apr, 2018 @ 10:33am 
Doesnt work in multiplayer. on Servers without this addon
sobolu ⛟⛟ 9 Apr, 2018 @ 12:12pm 
Do i need a Midi Controller?
Tim die ESL Robbe  [author] 23 Dec, 2017 @ 3:36am 
@Mr Jiggles - yes you have to add this addon in the workshop collection of the server
Mr Jiggles 1 Nov, 2017 @ 5:25pm 
does a server need this to work in multiplayer?
Kot Bübchen 30 Sep, 2017 @ 6:28am 
ALSO was maht es da @DD0N
Kot Bübchen 30 Sep, 2017 @ 6:27am 
@DerModMaster Ja ich weiss nicht was dein sein soll
Tim die ESL Robbe  [author] 14 Aug, 2017 @ 4:46pm 
@SvenyTheFox & @(T.E.V)ItsLiam21: Does something appear in your console?
Make sure you downloaded the gmcl-module dll and placed it into the right folder like it's said in the description of this addon. :)
If you did not this step, the console command "midiinfo" doesn't appear because the script only initalizes if it can find the gmcl_midi_win32.dll or the gmcl_midi_linux.dll in .../steamapps/common/GarrysMod/garrysmod/lua/bin/gmcl_midi_*.dll .
If there isn't a bin folder, you have to create one :)

@Banditoz (never): Make sure you have the newest version of the C++ Redistribution
Tim die ESL Robbe  [author] 9 Aug, 2017 @ 2:42pm 
@< S T Λ N D B Y > :steamsalty::steamsalty:
Kuro 13 May, 2017 @ 10:27pm 
The script doesn't seem to work, as none of the commands are recognized. I've downloaded the DLL and copied it to a few folders in my GM setup. I'm not sure what I did wrong?
ItsLiam21 13 May, 2017 @ 7:09am 
Unknown command: MidiInfo
i even typed it in chat but i still get that.
would rate 0/10 for not working.
maia 29 Apr, 2017 @ 6:27am 
Unknown command: MidiInfo
please help
Banditoz 17 Feb, 2017 @ 6:35pm 
Gives me this error when I try running it

[DerModMaster's MIDI ] lua/autorun/midiinit.lua:44: Couldn't load module library!
1. require - [C]:-1
2. unknown - lua/autorun/midiinit.lua:44

Sabata 9 Oct, 2016 @ 11:58am 
Can make you crash sometimes.
Tim die ESL Robbe  [author] 2 Aug, 2016 @ 7:09am 
@Kyden: I'm sorry for you... clear your downloadcache.

@Le Horse.: If my harddrive is repaired i can tell you... otherwise you can extract this addon and look out for the names and try. Good luck!
Tim die ESL Robbe  [author] 2 Aug, 2016 @ 7:06am 
@[KT] Ko-Chan: Just load this addon into your Server Addon Collection and in your Client. It should be activated automatically!

ATM i can't tell you the lua names, cause my harddrive with my script is broken...
but actually im on it and try to repair and safe my files....

Otherwise you can extract this script 2 look for the name of the script.

¡Gracias!
I hate mornings 12 Jul, 2016 @ 11:12am 
name script script.lua..... or something this
I hate mornings 12 Jul, 2016 @ 11:11am 
HOW TO USE THIS SCRIPT ON MULTIPLAYER, plz say name this script :steamsalty:
regulus #freehim 18 May, 2016 @ 7:48am 
how to open on server with: sv_allowcslua 1? in console.(like i mean: lua_openscript_cl MIDI.lua or so)
Kyden 25 Apr, 2016 @ 7:24pm 
When i mean download i mean like download download i can dowload addons thats fine. i have over 100
Kyden 24 Apr, 2016 @ 7:20pm 
cant download anything
Tim die ESL Robbe  [author] 13 Feb, 2016 @ 4:39am 
Yeah, be careful ;) Sometimes it's like a Webcam. If one Program use the Webcam, anathor program doesn't have acces to it.

Best regards :steammocking:
Gaerisson 12 Feb, 2016 @ 12:33pm 
I've found why this error happend : Mixcraft was using the midi controller
Gaerisson 12 Feb, 2016 @ 11:02am 
Hello I've got this error :/ (I have the gmcl_midi_win32.dll)

[ERROR] lua/autorun/midiinit.lua:59: MidiInWinMM::openPort: error creating Windows MM MIDI input port.
1. Open - [C]:-1
2. Func - lua/autorun/midiinit.lua:59
3. DoClick - lua/derma/derma_utils.lua:146
4. unknown - lua/vgui/dlabel.lua:218

It's happend after I select the midi input and nothing happend when I press the keys