mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-04 04:25:46 -04:00
The tags are shorthand for the license of each file and avoid copying the full license text into each one (and avoids having to manually update the dates in each one...).
14 lines
285 B
Python
Executable file
14 lines
285 B
Python
Executable file
#!/usr/bin/env python
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import genmidi
|
|
import sys
|
|
|
|
if len(sys.argv) != 2:
|
|
print >> sys.stderr, "Usage: %s <filename>" % sys.argv[0]
|
|
sys.exit(-1)
|
|
|
|
from config import INSTRUMENTS, PERCUSSION
|
|
|
|
genmidi.write(sys.argv[1], INSTRUMENTS + PERCUSSION)
|
|
|