Skip to content

Instantly share code, notes, and snippets.

@pmachapman
pmachapman / reboot.asm
Created April 2, 2017 01:54
Simple "reboot" assembly routine. Compile with: debug < reboot.asm
N REBOOT.COM
A 100
MOV AX, 40
MOV DS, AX
MOV AX, 1234
MOV [72], AX
JMP FFFF:0
R CX
10
@psibre
psibre / forcedAlignmentLogic.gradle
Last active August 7, 2017 21:39
Dockerized Kaldi-based Montreal Forced Alignment logic for MaryTTS voicebuilding
apply plugin: ForcedAlignPlugin
class ForcedAlignPlugin implements Plugin<Project> {
void apply(Project project) {
project.task('prepareForcedAlignment', type: PrepareForcedAlignment) {
dependsOn project.generateAllophones, project.wav
maryXmlDir = project.file(project.generateAllophones.destDir)
wavDir = project.file(project.wav.destDir)
forcedAlignmentDir = project.file("$project.buildDir/forcedAlignment")
}