diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-04-15 18:52:45 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-04-15 18:52:45 +0000 |
commit | 47a10173ea203de2036dd00791fe5c24fb673135 (patch) | |
tree | 6cb2e59a1e099adb30ec4f394097e33974c54ac4 /attic/muse2-oom/muse2/oomfiles | |
parent | 8edb9ca0e8e056faa0b488c947e7447a8148f880 (diff) |
removing unnecessary duplication
Diffstat (limited to 'attic/muse2-oom/muse2/oomfiles')
-rwxr-xr-x | attic/muse2-oom/muse2/oomfiles/rgd2muse.sh | 9 | ||||
-rw-r--r-- | attic/muse2-oom/muse2/oomfiles/rgd2muse.xsl | 33 |
2 files changed, 0 insertions, 42 deletions
diff --git a/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh b/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh deleted file mode 100755 index 651cd529..00000000 --- a/attic/muse2-oom/muse2/oomfiles/rgd2muse.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -#test $# != 1 && echo "Usage: $0 <rgd-file>" && exit 1 -mkdir -p MUSE_MAPS -for f in *.rgd -do - gunzip -c $f | xsltproc $(dirname $0)/rgd2muse.xsl - > "MUSE_MAPS/$(basename $f .rgd).idf" -done - diff --git a/attic/muse2-oom/muse2/oomfiles/rgd2muse.xsl b/attic/muse2-oom/muse2/oomfiles/rgd2muse.xsl deleted file mode 100644 index 6502435b..00000000 --- a/attic/muse2-oom/muse2/oomfiles/rgd2muse.xsl +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" ?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> - -<xsl:output method="xml" indent="yes"/> - -<xsl:template match="/"> -<muse version="1.0"> - <xsl:apply-templates/> -</muse> -</xsl:template> - -<xsl:template match="device"> - <MidiInstrument name="{@name}"> - <xsl:apply-templates/> - <Controller name="Modulation" l="1" /> - <Controller name="reverb" l="3" /> - <Controller name="MainVolume" l="7" /> - <Controller name="Pan" l="10" /> - <Controller name="Expression" l="11" /> - <Controller name="Program" type="Program" init="0x0" /> - </MidiInstrument> -</xsl:template> - -<xsl:template match="bank"> - <PatchGroup name="{@name}" > - <xsl:apply-templates/> - </PatchGroup> -</xsl:template> - -<xsl:template match="program"> - <Patch name="{@name}" hbank="{../@msb}" lbank="{../@lsb}" prog="{./@id}" /> -</xsl:template> -</xsl:stylesheet> |