Skip to content

Commit 54ea21c

Browse files
committed
Initial GLua release.
1 parent 61be30f commit 54ea21c

File tree

4 files changed

+264
-259
lines changed

4 files changed

+264
-259
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.suo
2+
.vs/

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Copyright (c) 2016 FMS_Cat
2+
Copyright (c) 2017 garrysmodlua
23

34
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
45

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# midiParser for Lua
1+
# MIDI Parser for Garry's Mod Lua
22

33
**It is not perfect!!** Use it for just experiment.
4-
5-
Works with Lua 5.0, also 5.3 (because it must be running on Stepmania...)
4+
This is a GLua fork of [Lua_midiParser](https://github.com/FMS-Cat/Lua_midiParser).
65

76
## Usage
87

9-
```
10-
midiParser = require( "midi-parser" )
11-
-- or assert( loadfile( './midi-parser.lua' ) )()
8+
```lua
9+
-- Will attempt to parse "garrysmod/data/abcdef.mid" file
10+
-- myMidi = midiParser( "abcdef.mid" )
1211

13-
midi = midiParser( "path/to/midi.mid" )
12+
-- Will attempt to parse "garrysmod/lua/test.mid" file
13+
-- myMidi = midiParser( "test.mid", "LUA" )
1414
```
1515

1616
## Return sample

0 commit comments

Comments
 (0)