summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-05-31 14:16:36 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-05-31 14:16:36 -0400
commite52fbe5a187e840756b2b83da781c88dab5bde83 (patch)
tree0e0f3b8e3c57e379586bc975bde5e30af14bd1f0
parent49295a20eed1518e17abe0ea75e7cc82a78d77ba (diff)
license
-rw-r--r--README.md4
-rw-r--r--main.c27
2 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
index db0691b..8189008 100644
--- a/README.md
+++ b/README.md
@@ -35,3 +35,7 @@ smidi [soundfont file]
```
The sustain pedal should work (at least it works for me), and controller #48 (button 1 on my keyboard) will start/stop recording to a wav file.
+
+### License
+
+sMIDI is in the public domain (licensed under the [unlicense](https://unlicense.org)). This means you can do whatever you want with it.
diff --git a/main.c b/main.c
index a724e84..3a6c495 100644
--- a/main.c
+++ b/main.c
@@ -1,3 +1,30 @@
+/*
+This is free and unencumbered software released into the public domain.
+
+Anyone is free to copy, modify, publish, use, compile, sell, or
+distribute this software, either in source code form or as a compiled
+binary, for any purpose, commercial or non-commercial, and by any
+means.
+
+In jurisdictions that recognize copyright laws, the author or authors
+of this software dedicate any and all copyright interest in the
+software to the public domain. We make this dedication for the benefit
+of the public at large and to the detriment of our heirs and
+successors. We intend this dedication to be an overt act of
+relinquishment in perpetuity of all present and future rights to this
+software under copyright law.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+For more information, please refer to <http://unlicense.org/>
+*/
+
#ifdef DEBUG
#undef DEBUG
#define DEBUG 1