[SCM] petri-foo/master: Added specimen2petri-foo files.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Mon Apr 28 13:42:51 UTC 2014


The following commit has been merged in the master branch:
commit d156a74a19617ab1f20f6d5932d2e7bc590be016
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Mon Apr 28 15:02:35 2014 +0200

    Added specimen2petri-foo files.

diff --git a/debian/specimen2petri-foo/License b/debian/specimen2petri-foo/License
new file mode 100644
index 0000000..8afe397
--- /dev/null
+++ b/debian/specimen2petri-foo/License
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Thomas Mayer <thomas at residuum.org>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+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 OR COPYRIGHT HOLDERS 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.
diff --git a/debian/specimen2petri-foo/Readme b/debian/specimen2petri-foo/Readme
new file mode 100644
index 0000000..17b663b
--- /dev/null
+++ b/debian/specimen2petri-foo/Readme
@@ -0,0 +1,17 @@
+XSL stylesheets for converting sample banks from specimen[0] format to
+the format used by its fork and designated successor petri-foo[1].
+
+There are two different versions for different locale settings, depending
+on whether your locale settings uses comma or dot as decimal separator:
+
+s2p_comma.xsl
+s2p_dot.xsl
+
+You will need a tool to transform the specimen XML to the new format,
+e. g. xsltproc[2] works for this:
+
+$ xsltproc s2p_dot.xsl specimen_file > converted_file
+
+[0] http://zhevny.com/specimen/
+[1] http://sourceforge.net/projects/petri-foo/
+[2] http://xmlsoft.org/XSLT/xsltproc2.html
diff --git a/debian/specimen2petri-foo/s2p_comma.xsl b/debian/specimen2petri-foo/s2p_comma.xsl
new file mode 100644
index 0000000..3497edd
--- /dev/null
+++ b/debian/specimen2petri-foo/s2p_comma.xsl
@@ -0,0 +1,476 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<xsl:output method="xml" encoding="utf-8" indent="yes"/>
+	<xsl:template match="child::beef">
+		<Petri-Foo-Dish save-type="basic">
+			<Master level="0,700000" samplerate="44100"/>
+			<xsl:for-each select="patch">
+				<xsl:element name="Patch">
+					<xsl:attribute name="name">
+						<xsl:value-of select="name"/>
+					</xsl:attribute>
+					<xsl:element name="Sample">
+						<xsl:attribute name="mode">
+							<xsl:choose>
+								<xsl:when test="floor(play_mode div 32) > 0">pingpong</xsl:when>
+								<xsl:when test="floor(play_mode div 16) > 0">loop</xsl:when>
+								<xsl:when test="floor(play_mode div 8) > 0">trim</xsl:when>
+								<xsl:when test="floor(play_mode div 4) > 0">singleshot</xsl:when>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="reverse">
+							<xsl:choose>
+								<xsl:when test="play_mode mod 2 = 1">false</xsl:when>
+								<xsl:otherwise>true</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="to_end">false</xsl:attribute>
+						<xsl:attribute name="file"><xsl:value-of select="file"/></xsl:attribute>
+						<xsl:element name="Play">
+							<xsl:attribute name="start"><xsl:value-of select="sample_start"/></xsl:attribute>
+							<xsl:attribute name="stop"><xsl:value-of select="sample_stop"/></xsl:attribute>
+							<xsl:attribute name="fade_samples">100</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Loop">
+							<xsl:attribute name="start"><xsl:value-of select="loop_start"/></xsl:attribute>
+							<xsl:attribute name="stop"><xsl:value-of select="loop_stop"/></xsl:attribute>
+							<xsl:attribute name="xfade_samples">0</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Note">
+							<xsl:attribute name="root"><xsl:value-of select="note"/></xsl:attribute>
+							<xsl:attribute name="lower"><xsl:value-of select="lower_note"/></xsl:attribute>
+							<xsl:attribute name="upper"><xsl:value-of select="upper_note"/></xsl:attribute>
+							<xsl:attribute name="velocity_lower">0</xsl:attribute>
+							<xsl:attribute name="velocity_upper">127</xsl:attribute>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="Amplitude">
+						<xsl:attribute name="level"><xsl:value-of select="volume"/></xsl:attribute>
+						<xsl:attribute name="velocity_sensing"><xsl:value-of select="volume_vel_amt"/></xsl:attribute>
+						<xsl:attribute name="key_tracking">0,000000</xsl:attribute>
+						<Mod1 source="CC 7 - Channel Volume" amount="1,000000"/>
+						<xsl:element name="Mod2">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="volume_lfo_on = 'yes'">VLFO1</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="volume_lfo_amt"/></xsl:attribute>
+						</xsl:element>
+						<xsl:choose>
+							<xsl:when test="volume_env_on = 'yes'">
+								<Env source="EG1"/>
+							</xsl:when>
+							<xsl:otherwise>
+								<Env source="OFF"/>
+							</xsl:otherwise>
+						</xsl:choose>
+					</xsl:element>
+					<xsl:element name="Pan">
+						<xsl:attribute name="level"><xsl:value-of select="pan"/></xsl:attribute>
+						<xsl:attribute name="velocity_sensing"><xsl:value-of select="panning_vel_amt"/></xsl:attribute>
+						<xsl:attribute name="key_tracking">0,000000</xsl:attribute>
+						<Mod1 source="CC 10 - Pan" amount="1,000000"/>
+						<xsl:element name="Mod2">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="panning_env_on = 'yes'">EG2</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="panning_env_amt"/></xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Mod3">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="panning_lfo_on = 'yes'">VLFO2</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="panning_lfo_amt"/></xsl:attribute>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="Pitch">
+						<xsl:attribute name="level"><xsl:value-of select="pitch"/></xsl:attribute>
+						<xsl:attribute name="tuning_range"><xsl:value-of select="pitch_steps"/></xsl:attribute>
+						<xsl:attribute name="velocity_sensing"><xsl:value-of select="pitch_vel_amt"/></xsl:attribute>
+						<xsl:attribute name="key_tracking">0,000000</xsl:attribute>
+						<Mod1 source="Pitch Wheel" amount="1,000000"/>
+						<xsl:element name="Mod2">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="pitch_env_on = 'yes'">EG5</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="pitch_env_amt"/></xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Mod3">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="pitch_lfo_on = 'yes'">VLFO5</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="pitch_lfo_amt"/></xsl:attribute>
+						</xsl:element>
+					</xsl:element>
+					<Lowpass>
+						<xsl:element name="Cutoff">
+							<xsl:attribute name="value"><xsl:value-of select="cutoff"/></xsl:attribute>
+							<xsl:attribute name="velocity_sensing"><xsl:value-of select="cutoff_vel_amt"/></xsl:attribute>
+							<xsl:attribute name="key_tracking">0,000000</xsl:attribute>
+							<Mod1 source="CC 74 - Brightness" amount="1,000000"/>
+							<xsl:element name="Mod2">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="cutoff_env_on = 'yes'">EG3</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="cutoff_env_amt"/></xsl:attribute>
+							</xsl:element>
+							<xsl:element name="Mod3">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="cutoff_lfo_on = 'yes'">VLFO3</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="cutoff_lfo_amt"/></xsl:attribute>
+							</xsl:element>
+						</xsl:element>
+						<xsl:element name="Resonance">
+							<xsl:attribute name="value"><xsl:value-of select="resonance"/></xsl:attribute>
+							<xsl:attribute name="velocity_sensing"><xsl:value-of select="resonance_vel_amt"/></xsl:attribute>
+							<xsl:attribute name="key_tracking">0,000000</xsl:attribute>
+							<Mod1 source="CC 71 - Timbre" amount="0,975000"/>
+							<xsl:element name="Mod2">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="resonance_env_on = 'yes'">EG4</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="resonance_env_amt"/></xsl:attribute>
+							</xsl:element>
+							<xsl:element name="Mod3">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="resonance_lfo_on = 'yes'">VLFO4</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="resonance_lfo_amt"/></xsl:attribute>
+							</xsl:element>
+						</xsl:element>
+					</Lowpass>
+					<xsl:element name="Voice">
+						<xsl:attribute name="cut"><xsl:value-of select="cut"/></xsl:attribute>
+						<xsl:attribute name="cut_by"><xsl:value-of select="cut_by"/></xsl:attribute>
+						<xsl:attribute name="monophonic">
+							<xsl:choose>
+								<xsl:when test="monophonic = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Portamento">
+							<xsl:attribute name="active">
+								<xsl:choose>
+									<xsl:when test="portamento = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod source="CC 65 - Portamento On/Off" threshold="0,500000"/>
+						</xsl:element>
+						<xsl:element name="Portamento_time">
+							<xsl:attribute name="value"><xsl:value-of select="portamento_time"/>
+							</xsl:attribute>
+							<Mod source="CC 5 - Portamento Time" amount="1,000000"/>
+						</xsl:element>
+						<xsl:element name="Legato">
+							<xsl:attribute name="active">
+								<xsl:choose>
+									<xsl:when test="legato = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod source="CC 68 - Legato On/Off" threshold="0,500000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="EG1">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="volume_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="volume_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="volume_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="volume_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="volume_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="volume_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="volume_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="volume_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG2">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="panning_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="panning_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="panning_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="panning_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="panning_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="panning_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="panning_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="panning_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG3">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="cutoff_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="cutoff_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="cutoff_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="cutoff_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="cutoff_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="cutoff_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="cutoff_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="cutoff_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG4">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="resonance_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="resonance_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="resonance_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="resonance_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="resonance_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="resonance_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="resonance_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="resonance_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG5">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="pitch_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="pitch_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="pitch_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="pitch_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="pitch_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="pitch_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="pitch_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="pitch_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="VLFO1">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="volume_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="volume_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="volume_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="volume_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="volume_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="volume_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="CC 1 - Mod Wheel" amount="1,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO2">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="panning_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="panning_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="panning_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="panning_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="panning_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="panning_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO3">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="cutoff_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="cutoff_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="cutoff_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="cutoff_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="cutoff_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="cutoff_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO4">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="resonance_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="resonance_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="resonance_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="resonance_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="resonance_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="resonance_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO5">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="pitch_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="pitch_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="pitch_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="pitch_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="pitch_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="pitch_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</xsl:element>
+					</xsl:element>
+					<GLFO1 active="false">
+						<Frequency hrtz="1,000000" beats="1,000000" sync="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Amplitude>
+					</GLFO1>
+					<GLFO2 active="false">
+						<Frequency hrtz="1,000000" beats="1,000000" sync="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Amplitude>
+					</GLFO2>
+					<GLFO3 active="false">
+						<Frequency hrtz="1,000000" beats="1,000000" sync="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Amplitude>
+					</GLFO3>
+					<GLFO4 active="false">
+						<Frequency hrtz="1,000000" beats="1,000000" sync="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Amplitude>
+					</GLFO4>
+					<GLFO5 active="false">
+						<Frequency hrtz="1,000000" beats="1,000000" sync="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0,000000"/>
+							<Mod2 source="OFF" amount="0,000000"/>
+						</Amplitude>
+					</GLFO5>
+				</xsl:element>
+			</xsl:for-each>
+		</Petri-Foo-Dish>
+	</xsl:template>
+</xsl:stylesheet>
diff --git a/debian/specimen2petri-foo/s2p_dot.xsl b/debian/specimen2petri-foo/s2p_dot.xsl
new file mode 100644
index 0000000..3c113c3
--- /dev/null
+++ b/debian/specimen2petri-foo/s2p_dot.xsl
@@ -0,0 +1,476 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<xsl:output method="xml" encoding="utf-8" indent="yes"/>
+	<xsl:template match="child::beef">
+		<Petri-Foo-Dish save-type="basic">
+			<Master level="0.700000" samplerate="44100"/>
+			<xsl:for-each select="patch">
+				<xsl:element name="Patch">
+					<xsl:attribute name="name">
+						<xsl:value-of select="name"/>
+					</xsl:attribute>
+					<xsl:element name="Sample">
+						<xsl:attribute name="mode">
+							<xsl:choose>
+								<xsl:when test="floor(play_mode div 32) > 0">pingpong</xsl:when>
+								<xsl:when test="floor(play_mode div 16) > 0">loop</xsl:when>
+								<xsl:when test="floor(play_mode div 8) > 0">trim</xsl:when>
+								<xsl:when test="floor(play_mode div 4) > 0">singleshot</xsl:when>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="reverse">
+							<xsl:choose>
+								<xsl:when test="play_mode mod 2 = 1">false</xsl:when>
+								<xsl:otherwise>true</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="to_end">false</xsl:attribute>
+						<xsl:attribute name="file"><xsl:value-of select="file"/></xsl:attribute>
+						<xsl:element name="Play">
+							<xsl:attribute name="start"><xsl:value-of select="sample_start"/></xsl:attribute>
+							<xsl:attribute name="stop"><xsl:value-of select="sample_stop"/></xsl:attribute>
+							<xsl:attribute name="fade_samples">100</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Loop">
+							<xsl:attribute name="start"><xsl:value-of select="loop_start"/></xsl:attribute>
+							<xsl:attribute name="stop"><xsl:value-of select="loop_stop"/></xsl:attribute>
+							<xsl:attribute name="xfade_samples">0</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Note">
+							<xsl:attribute name="root"><xsl:value-of select="note"/></xsl:attribute>
+							<xsl:attribute name="lower"><xsl:value-of select="lower_note"/></xsl:attribute>
+							<xsl:attribute name="upper"><xsl:value-of select="upper_note"/></xsl:attribute>
+							<xsl:attribute name="velocity_lower">0</xsl:attribute>
+							<xsl:attribute name="velocity_upper">127</xsl:attribute>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="Amplitude">
+						<xsl:attribute name="level"><xsl:value-of select="volume"/></xsl:attribute>
+						<xsl:attribute name="velocity_sensing"><xsl:value-of select="volume_vel_amt"/></xsl:attribute>
+						<xsl:attribute name="key_tracking">0.000000</xsl:attribute>
+						<Mod1 source="CC 7 - Channel Volume" amount="1.000000"/>
+						<xsl:element name="Mod2">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="volume_lfo_on = 'yes'">VLFO1</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="volume_lfo_amt"/></xsl:attribute>
+						</xsl:element>
+						<xsl:choose>
+							<xsl:when test="volume_env_on = 'yes'">
+								<Env source="EG1"/>
+							</xsl:when>
+							<xsl:otherwise>
+								<Env source="OFF"/>
+							</xsl:otherwise>
+						</xsl:choose>
+					</xsl:element>
+					<xsl:element name="Pan">
+						<xsl:attribute name="level"><xsl:value-of select="pan"/></xsl:attribute>
+						<xsl:attribute name="velocity_sensing"><xsl:value-of select="panning_vel_amt"/></xsl:attribute>
+						<xsl:attribute name="key_tracking">0.000000</xsl:attribute>
+						<Mod1 source="CC 10 - Pan" amount="1.000000"/>
+						<xsl:element name="Mod2">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="panning_env_on = 'yes'">EG2</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="panning_env_amt"/></xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Mod3">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="panning_lfo_on = 'yes'">VLFO2</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="panning_lfo_amt"/></xsl:attribute>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="Pitch">
+						<xsl:attribute name="level"><xsl:value-of select="pitch"/></xsl:attribute>
+						<xsl:attribute name="tuning_range"><xsl:value-of select="pitch_steps"/></xsl:attribute>
+						<xsl:attribute name="velocity_sensing"><xsl:value-of select="pitch_vel_amt"/></xsl:attribute>
+						<xsl:attribute name="key_tracking">0.000000</xsl:attribute>
+						<Mod1 source="Pitch Wheel" amount="1.000000"/>
+						<xsl:element name="Mod2">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="pitch_env_on = 'yes'">EG5</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="pitch_env_amt"/></xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Mod3">
+							<xsl:attribute name="source">
+								<xsl:choose>
+									<xsl:when test="pitch_lfo_on = 'yes'">VLFO5</xsl:when>
+									<xsl:otherwise>OFF</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<xsl:attribute name="amount"><xsl:value-of select="pitch_lfo_amt"/></xsl:attribute>
+						</xsl:element>
+					</xsl:element>
+					<Lowpass>
+						<xsl:element name="Cutoff">
+							<xsl:attribute name="value"><xsl:value-of select="cutoff"/></xsl:attribute>
+							<xsl:attribute name="velocity_sensing"><xsl:value-of select="cutoff_vel_amt"/></xsl:attribute>
+							<xsl:attribute name="key_tracking">0.000000</xsl:attribute>
+							<Mod1 source="CC 74 - Brightness" amount="1.000000"/>
+							<xsl:element name="Mod2">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="cutoff_env_on = 'yes'">EG3</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="cutoff_env_amt"/></xsl:attribute>
+							</xsl:element>
+							<xsl:element name="Mod3">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="cutoff_lfo_on = 'yes'">VLFO3</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="cutoff_lfo_amt"/></xsl:attribute>
+							</xsl:element>
+						</xsl:element>
+						<xsl:element name="Resonance">
+							<xsl:attribute name="value"><xsl:value-of select="resonance"/></xsl:attribute>
+							<xsl:attribute name="velocity_sensing"><xsl:value-of select="resonance_vel_amt"/></xsl:attribute>
+							<xsl:attribute name="key_tracking">0.000000</xsl:attribute>
+							<Mod1 source="CC 71 - Timbre" amount="0.975000"/>
+							<xsl:element name="Mod2">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="resonance_env_on = 'yes'">EG4</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="resonance_env_amt"/></xsl:attribute>
+							</xsl:element>
+							<xsl:element name="Mod3">
+								<xsl:attribute name="source">
+									<xsl:choose>
+										<xsl:when test="resonance_lfo_on = 'yes'">VLFO4</xsl:when>
+										<xsl:otherwise>OFF</xsl:otherwise>
+									</xsl:choose>
+								</xsl:attribute>
+								<xsl:attribute name="amount"><xsl:value-of select="resonance_lfo_amt"/></xsl:attribute>
+							</xsl:element>
+						</xsl:element>
+					</Lowpass>
+					<xsl:element name="Voice">
+						<xsl:attribute name="cut"><xsl:value-of select="cut"/></xsl:attribute>
+						<xsl:attribute name="cut_by"><xsl:value-of select="cut_by"/></xsl:attribute>
+						<xsl:attribute name="monophonic">
+							<xsl:choose>
+								<xsl:when test="monophonic = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Portamento">
+							<xsl:attribute name="active">
+								<xsl:choose>
+									<xsl:when test="portamento = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod source="CC 65 - Portamento On/Off" threshold="0.500000"/>
+						</xsl:element>
+						<xsl:element name="Portamento_time">
+							<xsl:attribute name="value"><xsl:value-of select="portamento_time"/>
+							</xsl:attribute>
+							<Mod source="CC 5 - Portamento Time" amount="1.000000"/>
+						</xsl:element>
+						<xsl:element name="Legato">
+							<xsl:attribute name="active">
+								<xsl:choose>
+									<xsl:when test="legato = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod source="CC 68 - Legato On/Off" threshold="0.500000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="EG1">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="volume_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="volume_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="volume_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="volume_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="volume_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="volume_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="volume_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="volume_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG2">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="panning_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="panning_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="panning_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="panning_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="panning_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="panning_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="panning_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="panning_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG3">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="cutoff_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="cutoff_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="cutoff_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="cutoff_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="cutoff_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="cutoff_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="cutoff_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="cutoff_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG4">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="resonance_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="resonance_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="resonance_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="resonance_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="resonance_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="resonance_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="resonance_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="resonance_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="EG5">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="pitch_env_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:attribute name="delay"><xsl:value-of select="pitch_delay" /></xsl:attribute>
+						<xsl:attribute name="attack"><xsl:value-of select="pitch_a" /></xsl:attribute>
+						<xsl:attribute name="hold"><xsl:value-of select="pitch_hold" /></xsl:attribute>
+						<xsl:attribute name="decay"><xsl:value-of select="pitch_d" /></xsl:attribute>
+						<xsl:attribute name="sustain"><xsl:value-of select="pitch_s" /></xsl:attribute>
+						<xsl:attribute name="release"><xsl:value-of select="pitch_r" /></xsl:attribute>
+						<xsl:attribute name="key_tracking"><xsl:value-of select="pitch_amt" /></xsl:attribute>
+					</xsl:element>
+					<xsl:element name="VLFO1">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="volume_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="volume_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="volume_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="volume_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="volume_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="volume_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="CC 1 - Mod Wheel" amount="1.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO2">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="panning_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="panning_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="panning_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="panning_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="panning_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="panning_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO3">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="cutoff_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="cutoff_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="cutoff_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="cutoff_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="cutoff_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="cutoff_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO4">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="resonance_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="resonance_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="resonance_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="resonance_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="resonance_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="resonance_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</xsl:element>
+					</xsl:element>
+					<xsl:element name="VLFO5">
+						<xsl:attribute name="active">
+							<xsl:choose>
+								<xsl:when test="pitch_lfo_on = 'yes'">true</xsl:when>
+								<xsl:otherwise>false</xsl:otherwise>
+							</xsl:choose>
+						</xsl:attribute>
+						<xsl:element name="Frequency">
+							<xsl:attribute name="hrtz"><xsl:value-of select="pitch_lfo_freq"/></xsl:attribute>
+							<xsl:attribute name="beats"><xsl:value-of select="pitch_lfo_beats"/></xsl:attribute>
+							<xsl:attribute name="sync">
+								<xsl:choose>
+									<xsl:when test="pitch_lfo_sync = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+						</xsl:element>
+						<xsl:element name="Amplitude">
+							<xsl:attribute name="shape"><xsl:value-of select="pitch_lfo_shape"/></xsl:attribute>
+							<xsl:attribute name="positive">
+								<xsl:choose>
+									<xsl:when test="pitch_lfo_positive = 'yes'">true</xsl:when>
+									<xsl:otherwise>false</xsl:otherwise>
+								</xsl:choose>
+							</xsl:attribute>
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</xsl:element>
+					</xsl:element>
+					<GLFO1 active="false">
+						<Frequency hrtz="1.000000" beats="1.000000" sync="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Amplitude>
+					</GLFO1>
+					<GLFO2 active="false">
+						<Frequency hrtz="1.000000" beats="1.000000" sync="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Amplitude>
+					</GLFO2>
+					<GLFO3 active="false">
+						<Frequency hrtz="1.000000" beats="1.000000" sync="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Amplitude>
+					</GLFO3>
+					<GLFO4 active="false">
+						<Frequency hrtz="1.000000" beats="1.000000" sync="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Amplitude>
+					</GLFO4>
+					<GLFO5 active="false">
+						<Frequency hrtz="1.000000" beats="1.000000" sync="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Frequency>
+						<Amplitude shape="Sine" positive="false">
+							<Mod1 source="OFF" amount="0.000000"/>
+							<Mod2 source="OFF" amount="0.000000"/>
+						</Amplitude>
+					</GLFO5>
+				</xsl:element>
+			</xsl:for-each>
+		</Petri-Foo-Dish>
+	</xsl:template>
+</xsl:stylesheet>

-- 
petri-foo packaging



More information about the pkg-multimedia-commits mailing list