Skip to content

Instantly share code, notes, and snippets.

View jangler's full-sized avatar

Casey Mulcahy jangler

View GitHub Profile
#!/usr/bin/env python
"""
it2fss.py, version 0.2
----------------------
Python 3 only.
This script converts single-channel Impulse Tracker module into a FSS text file
for use with fsound.exe. No effects commands are supported. Needless to say,
@jangler
jangler / itsynth.py
Created February 21, 2014 05:07
IT module-based custom synth renderer
#!/usr/bin/env python
"""
Program that renders a WAV file by converting IT pattern data into a
playback routine for an imaginary sound chip.
"""
import operator
import wave
@jangler
jangler / tag.py
Last active August 13, 2020 16:55
CLI python2 / mutagen audio tag editor
#!/usr/bin/env python2
from argparse import ArgumentParser
from sys import stderr
import mutagen
def get_args():
parser = ArgumentParser(description='view and edit audio tags')
parser.add_argument('-t', '--title', type=str, help='set title')
@jangler
jangler / ascii.c
Created August 9, 2012 21:44
idiotically simple ncurses ascii art program
// Controls:
// - Arrow keys - move cursor
// - Esc - toggle reprint of last character on movement
// - ^C - exit program, printing the screen to standard output
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <ncurses.h>