<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.megadrum.info/wiki/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages</id>
		<title>MegaDrumWiki - New pages [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.megadrum.info/wiki/index.php?feed=atom&amp;namespace=0&amp;title=Special%3ANewPages"/>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Special:NewPages"/>
		<updated>2026-05-01T01:20:41Z</updated>
		<subtitle>From MegaDrumWiki</subtitle>
		<generator>MediaWiki 1.25.2</generator>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Sampling</id>
		<title>Sampling</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Sampling"/>
				<updated>2014-11-24T04:16:28Z</updated>
		
		<summary type="html">&lt;p&gt;Airflamesred: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The purpose of the sampling block is to transform analog&lt;br /&gt;
inputs into an event stream with the following characteristics:&lt;br /&gt;
&lt;br /&gt;
*accurately represents the strength of each hit&lt;br /&gt;
&lt;br /&gt;
*does not produce false trigger events&lt;br /&gt;
&lt;br /&gt;
*emits the event as soon as possible after it occurs&lt;br /&gt;
MD has four parameters that allow you to control this&lt;br /&gt;
process:&lt;br /&gt;
&lt;br /&gt;
*Gain&lt;br /&gt;
&lt;br /&gt;
*Threshold&lt;br /&gt;
&lt;br /&gt;
*High Level&lt;br /&gt;
&lt;br /&gt;
*MinScan&lt;br /&gt;
&lt;br /&gt;
To explain how these work, let’s consider a simple piezo input.  Consider the following (very simplified) output from a sensor that has been struck four times:&lt;br /&gt;
&lt;br /&gt;
[[File:Hits_1.svg|center|frame|Multiple Hits]]&lt;br /&gt;
&lt;br /&gt;
MD uses digital sampling to start the process; this is actually just like sampling an audio signal to turn it into a digital wave.&lt;br /&gt;
==Gain==&lt;br /&gt;
The first sampling parameter is Gain.  Gain can be thought of as a volume knob.  Just as a volume knob makes the music louder or quitter, the gain setting will make the signal from the piezo stronger or weaker.&lt;br /&gt;
&lt;br /&gt;
Why would you do this?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When MD samples it expects the voltage of the signal to be in a specific voltage range.  If the signal is too weak it will be difficult to detect that something of significance has happened, and if it is too strong, MD will be unable to distinguish between softer and harder hits.&lt;br /&gt;
&lt;br /&gt;
If your piezo is ‘hot’, this means that it is more sensitive and that the electrical signal is already strong and needs a lower gain setting to avoid clipping the input.  If your piezo is cool, this means that it is less sensitive and that a higher gain setting will be appropriate.&lt;br /&gt;
&lt;br /&gt;
Gain helps you match what your piezo produces to what MD wants to consume.&lt;br /&gt;
&lt;br /&gt;
Gain is the only parameter that affects the analog signal.  The other three are working with the output of the A/D converter.&lt;br /&gt;
&lt;br /&gt;
After sampling, the block has a digital representation of the analog signal with values in the range from 0-1023.&lt;br /&gt;
&lt;br /&gt;
==Threshold==&lt;br /&gt;
Any real world analog system has some degree of noise present.  This noise is sampled along with legitimate strike signals.  For a piezo input, threshold is the level, below which, the signal is considered noise.  When the signal rises above the threshold, the sampling block will generate an event.&lt;br /&gt;
&lt;br /&gt;
Consider the following:&lt;br /&gt;
&lt;br /&gt;
[[File:Sampling_hits.svg|frame||center|Threshold]]&lt;br /&gt;
&lt;br /&gt;
With the lower line for threshold, it should be clear that the sampling block is going to generate a large number of events for activity that isn’t actually there. The sampled noise looks like very quiet strikes. A threshold that is too low can demonstrate the following symptoms:&lt;br /&gt;
&lt;br /&gt;
* Repeated notes when nothing is actually happening on an input&lt;br /&gt;
* Random notes when nothing is actually happening on an input&amp;lt;ref&amp;gt;Not to be confused with notes that are caused by vibrations between pads that are mechanically connected (we’ll discuss configuring those tools later in the filtering section)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course, the threshold can also be set too high. This will cause MD miss softer notes. Consider the second strike: with the ‘too high’ threshold value, MD will not detect it as a hit.&lt;br /&gt;
&lt;br /&gt;
This is a crucial performance parameter and it may take a bit of experimentation to find a value that works best. Please note that the threshold will be different for different pieces of gear in your set.&lt;br /&gt;
&lt;br /&gt;
==High Level==&lt;br /&gt;
The sampling block does not pass the actual sampled level (0-1023) with the strike events. That would make setting the parameters in the other blocks unnecessarily difficult. Instead it normalizes the sampled level to a 0-255 scale, where 0 is the Threshold and 255 is the pad being struck as hard as possible.&lt;br /&gt;
&lt;br /&gt;
High Level is simply the sampling level that corresponds to strength 255 for the event. Any sample levels higher than this will be transmitted as 255. Levels lower than this will be scaled on a straight line to the threshold level.&lt;br /&gt;
&lt;br /&gt;
Tips for setting HighLevel:&lt;br /&gt;
* The auto-High level setting will allow the input block to automatically adjust the high level to the strength of the strongest hit it has seen. Briefly turning this on and then hitting the pad as hard as you can, a number of times, will produce a very good first estimate for HighLevel&lt;br /&gt;
* Reducing the HighLevel allows a sort of brick wall limiting function. If your sensor occasionally emits a very strong signal, it is OK to reduce the MaxLevel so that these are squashed into the top end of the musically useful strengths.&lt;br /&gt;
*Reducing HighLevel too far will reduce the smoothness of your velocity response.&lt;br /&gt;
*Raising HighLevel high above the actual levels generated by the sample will also degrade the velocity response, generally limiting the final MIDI notes to lower velocity values, no matter how hard the pad is struck.&lt;br /&gt;
&lt;br /&gt;
==Min Scan==&lt;br /&gt;
MinScan controls how long after the input signal crosses the threshold MD will continue to sample the input. Consider:&lt;br /&gt;
&lt;br /&gt;
[[File:Min_scan_time.svg|frame|center|Min Scan Time]]&lt;br /&gt;
&lt;br /&gt;
Remember, that once the input signal crosses the threshold, the sampling block is going to generate an event. The next question is what strength should that event have?&lt;br /&gt;
&lt;br /&gt;
If MinScan is too short, then MD will stop looking while the input is still rising. This will result in a trigger that does not accurately record its potential dynamic range.&lt;br /&gt;
&lt;br /&gt;
However, MinScan represents a delay (latency) between the physical strike and a note being generated. Setting MinScan too long will result in longer latency.&lt;br /&gt;
Typically, rubber cymbals and pads are able to use a setting of 20 (2 msec) while mesh heads may require 30-50 (3-5msec). The bigger the pad, the longer MinScan will need to be to properly detect signal level.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Input_Types</id>
		<title>Input Types</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Input_Types"/>
				<updated>2014-11-24T04:14:00Z</updated>
		
		<summary type="html">&lt;p&gt;Airflamesred: /* Piezo Sensor */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Piezo Sensor ==&lt;br /&gt;
A piezo is an electronic component that (among other remarkable properties) will generate a voltage when struck. The voltage is proportional to the energy (velocity) in the strike. If there is a positional sensing board attached to your MegaDrum this will also measure the distance, from the piezo, that the drum head is struck. &lt;br /&gt;
Piezos are used when we need to know how hard something is being hit.&lt;br /&gt;
&lt;br /&gt;
== Switch ==&lt;br /&gt;
Typically a film switch, this doesn’t convey information about how hard something was struck, but it can convey information about ''where'' it was struck.&lt;br /&gt;
&lt;br /&gt;
== Potentiometer ==&lt;br /&gt;
A ‘volume knob’.  This is used to indicate continuous positions (i.e. 10%, 40%, 100%, etc.). This is used for the Hi Hat controller.&lt;br /&gt;
&lt;br /&gt;
== Hall Effect Sensor ==&lt;br /&gt;
This is a sensor that works with a magnet to provide continuous positions.  It is similar in effect to a potentiometer.&lt;br /&gt;
&lt;br /&gt;
[[Theory of Operation]]&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Theory_of_Operation</id>
		<title>Theory of Operation</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Theory_of_Operation"/>
				<updated>2014-11-24T03:56:47Z</updated>
		
		<summary type="html">&lt;p&gt;Airflamesred: /* Note Selection and Velocity Scaling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Connecting a Yamaha or Roland drum brain to the corresponding pads is usually pretty simple. However, if you want to use a Roland pad with your Yamaha brain you may end up having to do some tweaking if you can even get it to work at all. &lt;br /&gt;
&lt;br /&gt;
MegaDrum is agnostic with regards to the pad vendor and even supports a wide variety of DIY triggers. In order to do this, it needs to expose many more configuration options than the vendor specific units do. Unfortunately, having this large number of parameters available can make it difficult to understand just what parameter you should adjust when something is not behaving correctly.  It can be hard to see the forest for the trees.&lt;br /&gt;
&lt;br /&gt;
'''The purpose of this document is to explain the forest and where each tree fits.'''&lt;br /&gt;
&lt;br /&gt;
(I have pictures that I will add when the wiki allows me to)&lt;br /&gt;
&lt;br /&gt;
== Block Diagram ==&lt;br /&gt;
Consider the following (very simplified) block diagram:&lt;br /&gt;
[[File:Simple_block_diagram.svg|frame|Simple Block Diagram|none|800x800px]]&lt;br /&gt;
&lt;br /&gt;
=== Sampling ===&lt;br /&gt;
The inputs from your pads are presenting some sort of analog signal.   The purpose of sampling is to convert this signal into discrete events that can be dealt with more simply.&lt;br /&gt;
&lt;br /&gt;
=== Filtering ===&lt;br /&gt;
Filtering is used to remove unwanted events from the event stream.  A good example of this would be if a strike on one drum pad caused a faint strike to register on another pad that was connected to the same rack.  MD allows a filter to be created that can reduce or eliminate this problem.&lt;br /&gt;
&lt;br /&gt;
=== Note Selection and Velocity Scaling ===&lt;br /&gt;
This is the final step before transmitting a note.  Based upon the input, a MIDI note and MIDI channel are selected and, based upon how hard the input was hit, a velocity is selected.  MD provides some very nice tools for transforming input strike strength into a note velocity. &lt;br /&gt;
&lt;br /&gt;
[[Input Types]]&lt;br /&gt;
&lt;br /&gt;
[[Sampling]]&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/MegaDrum_Manager</id>
		<title>MegaDrum Manager</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/MegaDrum_Manager"/>
				<updated>2014-11-22T22:07:03Z</updated>
		
		<summary type="html">&lt;p&gt;Airflamesred: Created page with &amp;quot;The display on the MegaDrum is rather small and awkward to work with so a PC interface is available. With Megadrum Manager running you can access all the features of MegaDrum,...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The display on the MegaDrum is rather small and awkward to work with so a PC interface is available. With Megadrum Manager running you can access all the features of MegaDrum, from you PC, far quicker an easier.&lt;/div&gt;</summary>
		<author><name>Airflamesred</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/MegaDrum_Configuration</id>
		<title>MegaDrum Configuration</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/MegaDrum_Configuration"/>
				<updated>2014-11-20T03:09:59Z</updated>
		
		<summary type="html">&lt;p&gt;BiggerNoise: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Updating MegaDrum firmware]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Theory of Operation]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[MegaDrum Manager]]&amp;lt;br&amp;gt;&lt;br /&gt;
[[Megadrum Commander]]&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/VSTi_Configuration_Guides</id>
		<title>VSTi Configuration Guides</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/VSTi_Configuration_Guides"/>
				<updated>2014-11-20T03:08:37Z</updated>
		
		<summary type="html">&lt;p&gt;BiggerNoise: Created page with &amp;quot;SuperiorDrummer2&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[SuperiorDrummer2]]&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Hardware</id>
		<title>Hardware</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Hardware"/>
				<updated>2014-11-20T03:08:11Z</updated>
		
		<summary type="html">&lt;p&gt;BiggerNoise: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Just some links at the moment&lt;br /&gt;
&lt;br /&gt;
[[Ordering ATmega]]&amp;lt;br/&amp;gt;&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Contributor_Guidelines</id>
		<title>Contributor Guidelines</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Contributor_Guidelines"/>
				<updated>2014-11-20T02:23:02Z</updated>
		
		<summary type="html">&lt;p&gt;BiggerNoise: /* Signing Up */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
== Signing Up==&lt;br /&gt;
If you are willing to contribute to {{SITENAME}}, please ask Biggernoise for an account on the [http://www.megadrum.info/forums/ forums] by means of a personal message.  Please include your e-mail address so that I can set your account up properly.&lt;br /&gt;
&lt;br /&gt;
There are guidelines in the [[Help:Contents|help section]] that should be read and understood prior to writing new or editing existing articles. It contains basic markup information and general guidelines.&lt;br /&gt;
&lt;br /&gt;
== Developing Content ==&lt;br /&gt;
I think that we can develop content fairly organically by creating, finding, or clarifying wiki pages that answer broadly applicable questions.  Many important topics have been already discussed on the forums, importing those topics should largely be a matter of editing, curation, and formatting.&lt;/div&gt;</summary>
		<author><name>BiggerNoise</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Table.css</id>
		<title>Table.css</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Table.css"/>
				<updated>2010-09-14T07:45:48Z</updated>
		
		<summary type="html">&lt;p&gt;Firelord: Created page with 'table.wikitable {     margin: 1em 1em 1em 0;     background: #f9f9f9;     border: 1px #aaa solid;     border-collapse: collapse; }  .wikitable th, .wikitable td {     border: 1px…'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;table.wikitable&lt;br /&gt;
{&lt;br /&gt;
    margin: 1em 1em 1em 0;&lt;br /&gt;
    background: #f9f9f9;&lt;br /&gt;
    border: 1px #aaa solid;&lt;br /&gt;
    border-collapse: collapse;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.wikitable th,&lt;br /&gt;
.wikitable td&lt;br /&gt;
{&lt;br /&gt;
    border: 1px #aaa solid;&lt;br /&gt;
    padding: 0.2em;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.wikitable th&lt;br /&gt;
{&lt;br /&gt;
    background: #f2f2f2;&lt;br /&gt;
    text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.wikitable caption&lt;br /&gt;
{&lt;br /&gt;
    font-weight: bold;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Firelord</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/SuperiorDrummer2</id>
		<title>SuperiorDrummer2</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/SuperiorDrummer2"/>
				<updated>2010-08-12T11:46:53Z</updated>
		
		<summary type="html">&lt;p&gt;Firelord: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__ {{#css:Table.css}}&lt;br /&gt;
==Setting up MegaDrum and Superior Drummer 2==&lt;br /&gt;
'''Scope:'''&lt;br /&gt;
* Quick setup for Superior Drummer 2 (SD2)&lt;br /&gt;
* MIDI mapping for MegaDrum (MD)&lt;br /&gt;
* Not covering how to make MD settings OR advanced features of SD2.&lt;br /&gt;
&lt;br /&gt;
'''Prerequisites:'''&lt;br /&gt;
* Low latency audio setup in Windows ([[Wikipedia:Audio_Stream_Input/Output|ASIO]])&lt;br /&gt;
* Tuning of MegaDrum to suit your kit - ([http://www.megadrum.info/content/megadrum-configuration MD configuration])&lt;br /&gt;
* MegaDrum connected to the PC via traditional MIDI interface or MIDI over USB interface&lt;br /&gt;
* Installation of Superior Drummer 2.2.1 and ToonTrack Solo 1.2.2 software&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* ToonTrack Solo is a 'host' program for the Superior Drummer 2 'VST' instrument. The VST could also be loaded into any other VST host programs such as Digital Audio Workstation (DAW) software like ProTools etc. In this description, references to SD2 may really mean the ToonTrack Solo host program or the VST.&lt;br /&gt;
* Setup described below is for a MegaDrum with a variable hi-hat pedal. You can of course also do simple switch based open or closed, but really you should consider to go fully variable because otherwise you are not taking advantage of one of the main reasons to use Superior Drummer 2, which is the so called 'transmutation' of the high hat sounds which makes a big difference to the realism.&lt;br /&gt;
* There is some overlap of functionality between MD &amp;amp; SD2 in the MIDI domain, with things like velocity curves etc. Just be aware of potential confusion by making settings in both places.&lt;br /&gt;
&lt;br /&gt;
==Steps to setup SD2==&lt;br /&gt;
* Start 'ToonTrack Solo' program, Select Drummer to use 'Superior Drummer 2' (in other words start a new project).&lt;br /&gt;
* Note in the interface the difference between the host (ToonTrack solo) and the VST (Superior Drummer 2). ToonTrack Solo has the more conventional windows forms interface, whereas Superior has all the custom graphical widgets which kind of makes it a rich but confusing interface.&lt;br /&gt;
* Options-&amp;gt;Audio-&amp;gt;Audio Device, Choose device type 'ASIO' output driver 'ASIO4ALL v2', OK&lt;br /&gt;
* Options-&amp;gt;Audio-&amp;gt;Latency Settings, Choose the lowest possible setting without the audio breaking up. More info here: [[Configuring ASIO drivers]]&lt;br /&gt;
* By left clicking on the images of the drums or cymbals you should now hear sound&lt;br /&gt;
* Options-&amp;gt;Controller, make sure to tick both 'e-drums' and 'cc offset'&lt;br /&gt;
* Options-&amp;gt;MIDI Devices, Select your MegaDrum (may appear simply as 'USB Audio Device')&lt;br /&gt;
* Save the ToonTrack Solo project  (file-&amp;gt;save as  *.tts file) next time you start, you can just double click the *.tts file to open up with all your settings for ToonTrack Solo as well as all the Superior Drummer presets that you might have made. It is also possible to independently save the presets of SD2 or subsets of them as *.S20 files and this is probably good idea as a separate backup if you rely on any specific fine tunings in SD2 but it is not necessary.&lt;br /&gt;
* You might be able now to quickly verify operation by using the Kick Drum since this mapping is probably already correct (Note number 36)&lt;br /&gt;
&lt;br /&gt;
==MIDI Map to set in your MegaDrum==&lt;br /&gt;
You can get SD2 to learn the notes which your your MD is already set at but this is more a feature for other drum modules with fixed MIDI maps. Better I feel to set the MD to the defaults of SD2, it is much faster to setup this way.&lt;br /&gt;
&lt;br /&gt;
The full default MIDI map for SD2 can be found in a pdf via somewhat hidden menu in SD2 (took me a while to find it anyway)&lt;br /&gt;
&lt;br /&gt;
? -&amp;gt; Ny avatar -&amp;gt; MIDI Layout, this opens the pdf file 'Avatar1Keys.pdf' or you can open the pdf file directly now you know the name.&lt;br /&gt;
&lt;br /&gt;
Anyway never mind about that as I will spell out the mappings that you might want to set in the MegaDrum here:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''MD Name'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''MD Setting'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''SD2 Default'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''SD2 Name'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Articulation'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Optional custom tuning'''&lt;br /&gt;
| align=&amp;quot;center&amp;quot; style=&amp;quot;background:#f0f0f0;&amp;quot;|'''Notes'''&lt;br /&gt;
|-&lt;br /&gt;
| HiHat Pedal||CC Value||CC04||Hats||hatsCtrl||Pedal correction||HiHat Pedal-&amp;gt;Type: F.Contr  (so it sends cc messages) cc04 is the default&lt;br /&gt;
|-&lt;br /&gt;
| HiHat Pedal||Bow*||19||Hats||TipTrig||||* represents 4 separate settings for SO, HO, SCL, CL (or 2 separate settings in firmware &amp;lt; 20100613)&lt;br /&gt;
|-&lt;br /&gt;
| HiHat Pedal||Edge*||18||Hats||Trig||||&lt;br /&gt;
|-&lt;br /&gt;
| HiHat Pedal||Bell*||20||Hats||BellTrig||||&lt;br /&gt;
|-&lt;br /&gt;
| HiHat Pedal||Chick||21||Hats||Pedal||||&lt;br /&gt;
|-&lt;br /&gt;
| HiHat Pedal||Splsh||23||Hats||FootSplash||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch01: Kick||Note||36||Kick||Kick||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch02: HiHatB||Note||19||Hats||TipTrig||||Normally these represent the \&amp;quot;full open\&amp;quot; notes.. But for our purpose should be identical to the other 2 or 4 note settings for the same zone&lt;br /&gt;
|-&lt;br /&gt;
| Ch03: HiHatE||Note||18||Hats||Trig||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch03: HiHatE||BNote||20||Hats||BellTrig||||(3rd zone)&lt;br /&gt;
|-&lt;br /&gt;
| Ch04: SnareH||Note||38||Snare||Center||||&lt;br /&gt;
|-&lt;br /&gt;
| ||||CC16||Snare||SnareCtrl||||cc16 is the default for MD but you need to enable the positional sensing feature (firmware &amp;gt;= 20100516 only)&lt;br /&gt;
|-&lt;br /&gt;
| Ch05: SnareR||Note||40||Snare||RimShot||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch06: RideB||Note||51||Ride4||Ride||Aftertouch||&lt;br /&gt;
|-&lt;br /&gt;
| Ch07: RideE||Note||59||Ride4||Punch||Aftertouch||&lt;br /&gt;
|-&lt;br /&gt;
| Ch07: RideE||BNote||53||Ride4||Bell||||(3rd zone)&lt;br /&gt;
|-&lt;br /&gt;
| Ch08: CrashB||Note||49||Cymbal2||Crashed||Aftertouch||CrashA&lt;br /&gt;
|-&lt;br /&gt;
| Ch09: CrashE||||n/a||n/a||n/a||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch10: Tom1H||Note||48||RackTom1||Center||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch11: Tom1R||Note||82||RackTom1||RimShot||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch12: Tom2H||Note||47||RackTom2||Center||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch13: Tom2R||Note||80||RackTom2||RimShot||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch14: Tom3H||Note||45||RackTom3||Center||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch15: Tom3R||Note||78||RackTom3||RimShot||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch16: Tom4H||Note||43||FloorTom1||Center||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch17: Tom4R||Note||75||FloorTom1||RimShot||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch18: Aux1H||Note||41||FloorTom2||Center||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch19: Aux1R||Note||73||FloorTom2||RimShot||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch20: Aux2H||Note||57||Cymbal5||Crashed||Aftertouch||CrashB&lt;br /&gt;
|-&lt;br /&gt;
| Ch21: Aux2R||||n/a||n/a||n/a||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch22: Aux3H||||||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch23: Aux3R||||||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch24: Aux4H||||||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch25: Aux4R||||||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch26: Aux5H||||||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch27: Aux5R||||||||||||&lt;br /&gt;
|-&lt;br /&gt;
| Ch28: Aux6H||Note||55||Cymbal3||Crashed||||Splash&lt;br /&gt;
|-&lt;br /&gt;
| Ch29: Aux6R||Note||52||Cymbal1||Crashed||||China - position not loaded by default&lt;br /&gt;
|-&lt;br /&gt;
| Ch30: Aux7H||Note||56||Cowbell||Cowbell||||position not loaded by default&lt;br /&gt;
|-&lt;br /&gt;
| Ch31: Aux7R||||||||||||&lt;br /&gt;
|- &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Make those settings for MIDI note number in MD either directly with the [http://www.megadrum.info/content/megadrum-configuration MegaDrum's LCD] or via [[MCT|MegaDrum Config Tool (MCT) software]] &lt;br /&gt;
&lt;br /&gt;
All done - everything should work.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
* Only enable and map the inputs for which you actually have triggers attached too, else due to the high impedance inputs on MegaDrum, the unconnected but enabled inputs could easily cause triggering of sounds you don't want.&lt;br /&gt;
* Your Hi-Hat setup is such that you want it to always output the same notes for edge, bow &amp;amp; bell, regardless of the openness of the pedal (SD2 takes care of that part). This will mean setting the same note number in a few spots (firmware versions 20100613 and above have 5 levels below this only 3 levels).&lt;br /&gt;
&lt;br /&gt;
==Some more detailed adjustments in SD2==&lt;br /&gt;
Note: some more (or less) detail on the following can be found via menu ?-&amp;gt;Operation Manual in SD (&amp;quot;Superior_Drummer_Operation_Manual.pdf&amp;quot; file)&lt;br /&gt;
&lt;br /&gt;
===Cymbal Chokes===&lt;br /&gt;
MD automatically sends MIDI aftertouch messages when a cymbal is choked (provided your cymbals have the feature). This does not require a separate MIDI note number &lt;br /&gt;
&lt;br /&gt;
assignment. If you want to make use of this in SD2, you need to enable the feature as follows:&lt;br /&gt;
&lt;br /&gt;
[[File:SD2-Aftertouch+.png]]&lt;br /&gt;
&lt;br /&gt;
# Select the cymbal (right click on the graphic or select it from the drop down)&lt;br /&gt;
# Select the articulation. For most cymbals you will just do it on the 'crash' articulation. With the ride cymbals you may want to do this process for both 'ride' articulation and also for 'punch' articulation&lt;br /&gt;
# Turn on the 'edit articulation only' filter&lt;br /&gt;
# Enable the envelope&lt;br /&gt;
# Move the switch to the 'Aftertouch' position&lt;br /&gt;
# Drag the 'release' parameter or click and set the time directly. You can also change the 'hold' parameter &lt;br /&gt;
&lt;br /&gt;
===High-Hat Pedal Correction===&lt;br /&gt;
As noted earlier the overlap in settings between MD / SD2.. you may consider not to touch the pedal correction in SD2 but try choosing a different curve in MD (or use a custom curve)&lt;br /&gt;
&lt;br /&gt;
To get the proper sounds using the SD2 defaults, the end result should be:&lt;br /&gt;
&lt;br /&gt;
* Closed (pedal down).. cc04 value &amp;gt;120&lt;br /&gt;
* Tight closed (pedal down with heel up) cc04 value = 127 (max) possibly also 126 counts as tight, not sure&lt;br /&gt;
&lt;br /&gt;
the easiest way to see these numbers is with [[MCT]]&lt;br /&gt;
&lt;br /&gt;
To do the tuning in SD2 refer to SD2 Operation Manual section 7.3&lt;br /&gt;
&lt;br /&gt;
(todo)&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
&lt;br /&gt;
Some SD2 settings that may be of interest.. ('Settings' menu in SD2)&lt;br /&gt;
&lt;br /&gt;
* 'MIDI keys as numbers'&lt;/div&gt;</summary>
		<author><name>Dm9876</name></author>	</entry>

	<entry>
		<id>https://www.megadrum.info/wiki/index.php/Updating_MegaDrum_firmware</id>
		<title>Updating MegaDrum firmware</title>
		<link rel="alternate" type="text/html" href="https://www.megadrum.info/wiki/index.php/Updating_MegaDrum_firmware"/>
				<updated>2010-08-02T13:49:28Z</updated>
		
		<summary type="html">&lt;p&gt;Firelord: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Note|This tutorial describes the updating procedure for the new encrypted firmware (issued since June 2010). If you are looking for a tutorial on updating the old, unencrypted firmware, check out the [[Updating MegaDrum firmware (legacy)]] article. Also you might want to read the [[programming USB firmware]] tutorial.}}&lt;br /&gt;
Keeping your MegaDrum firmware up-to-date is an important task because it ensures maximum stability and performance. MegaDrum firmware is regularly updated: new features (such as support for specific e-drum pads) are constantly added. So if something does not work for you it might be fixed in a new firmware version, based on [http://www.megadrum.info/forums/ your feedback].&lt;br /&gt;
&lt;br /&gt;
This tutorial describes the updating procedure in detail.&lt;br /&gt;
&lt;br /&gt;
== Prerequisites for updating ==&lt;br /&gt;
* MegaDrum must be pre-programmed with the protected bootloader&lt;br /&gt;
* You must have a working board with fully functional MegaDrum controls&lt;br /&gt;
* Updating may be done via USB or MIDI I/O&lt;br /&gt;
&lt;br /&gt;
If you choose to update via USB for the very first time, connect MegaDrum to the PC and let it install the necessary drivers first (e.g. on Windows XP).&lt;br /&gt;
&lt;br /&gt;
The [http://www.megadrum.info/forums/viewtopic.php?f=3&amp;amp;t=1075 latest firmware version] is available for download from the forums.&lt;br /&gt;
&lt;br /&gt;
== Firmware file naming convention ==&lt;br /&gt;
You should update with the right firmware for your MegaDrum version. All firmware files in the archive have the following naming scheme:&lt;br /&gt;
&lt;br /&gt;
* megadrum''ppp''_''hh''_''yyyymmdd''.bin — '''22''' inputs versions&lt;br /&gt;
* megadrum''ppp''_''hh''_'''32'''_''yyyymmdd''.bin — '''32''' inputs versions&lt;br /&gt;
* megadrum''ppp''_''hh''_'''48'''_''yyyymmdd''.bin — '''48''' inputs versions&lt;br /&gt;
* megadrum''ppp''_''hh''_'''56'''_''yyyymmdd''.bin — '''56''' inputs versions&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
''ppp'' — AVR microcontroller type&lt;br /&gt;
:32 — for Atmega32&lt;br /&gt;
:324 — for Atmega324(p)&lt;br /&gt;
:644 — for Atmega644&lt;br /&gt;
''hh'' — crystal clock in MHz&lt;br /&gt;
:Atmega32 versions with a clock above 16MHz are overclocked, Atmega324(p)/644 versions with a clock above 20MHz are overclocked&lt;br /&gt;
''yyyymmdd'' — date (version) of the firmware.&lt;br /&gt;
&lt;br /&gt;
== Update software ==&lt;br /&gt;
You will need to use a special PC application to update your MegaDrum firmware. Currently there are three options available. Choose the one that works for you.&lt;br /&gt;
&lt;br /&gt;
=== mdfwupdate ===&lt;br /&gt;
{{video|&lt;br /&gt;
url =http://www.youtube.com/watch?v=Y8M3KIRuPWQ|&lt;br /&gt;
desc=Updating MegaDrum with mdfwupdate (with a GUI)}}&lt;br /&gt;
&lt;br /&gt;
==== General information ====&lt;br /&gt;
* Platform support: Windows, Mac&lt;br /&gt;
* Tested in: Windows XP&lt;br /&gt;
* Type: Command-line utility. A GUI for selecting the firmware file is also available [http://www.megadrum.info/forums/viewtopic.php?p=14818#p14818 here].&lt;br /&gt;
* Source code: [http://www.megadrum.info/forums/viewtopic.php?p=15208#p15208 available] ''(C++)&lt;br /&gt;
''&lt;br /&gt;
==== Updating procedure ====&lt;br /&gt;
1. [http://www.megadrum.info/forums/viewtopic.php?p=14779#p14779 Download mdfwupdate] from the forum (note: if you have the GUI you do not need to download the command-line utility separately!), a test version is also [http://www.megadrum.info/forums/viewtopic.php?p=15283#p15283 available for the Mac]&lt;br /&gt;
&lt;br /&gt;
2. Download the [http://www.megadrum.info/forums/viewtopic.php?f=3&amp;amp;t=1075 firmware archive]&lt;br /&gt;
&lt;br /&gt;
3. Power MegaDrum up while holding the key LEFT pressed. While keeping the key LEFT pressed the MIDI LED will be blinking indicating that it is entering the bootloader mode. When you release the key LEFT the LCD will show:&lt;br /&gt;
{{LCD|&lt;br /&gt;
color=white|&lt;br /&gt;
bgcolor=blue|&lt;br /&gt;
line1=FwSUpdater 16MHz|&lt;br /&gt;
line2=DOWN-ok.UP-clock|&lt;br /&gt;
caption=MegaDrum secure bootloader menu&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
4. In MegaDrum select correct frequency for your ATmega crystal by pressing the key UP. Each time you press UP it will cycle one step through 16MHz→20MHz→24MHz→12MHz. If you use a 16MHz crystal for ATmega, you don't need to press UP since 16MHz is a default start up frequency for the bootloader&lt;br /&gt;
&lt;br /&gt;
5. In MegaDrum press the key DOWN. The LED will light up and MegaDrum display will show (e.g. for 16MHz):&lt;br /&gt;
{{LCD|&lt;br /&gt;
color=white|&lt;br /&gt;
bgcolor=blue|&lt;br /&gt;
line1=FwSUpdater 16MHz|&lt;br /&gt;
line2=StartUpdateOnPC{{nbsp|1}}|&lt;br /&gt;
caption=MegaDrum secure bootloader in update mode&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
6. Run the utility from the command line, e.g.:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mdfwupdate.exe megadrum644_20_32_20100601.bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7. First it will prompt you to choose which MIDI output port to use. Type a number corresponding to the MegaDrum MIDI port and press Enter. It will now prompt you to choose which MIDI input port to use. Type a number corresponding to the MegaDrum MIDI port and press Enter. It will start updating the firmware and after a couple of minutes it will finish. While doing the update it will show progress on the command line and on the LCD. On the LCD it will look like this:&lt;br /&gt;
{{LCD|&lt;br /&gt;
color=white|&lt;br /&gt;
bgcolor=blue|&lt;br /&gt;
line1=88886&amp;gt;ater 16MHz|&lt;br /&gt;
line2=StartUpdateOnPC{{nbsp|1}}|&lt;br /&gt;
caption=MegaDrum secure bootloader during the update&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
8. When update has finished, the utility will show&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Transferring.. 100% done.&lt;br /&gt;
MegaDrum updated successfully.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
MegaDrum will then reboot and start with new firmware and you will see the copyright screen:&lt;br /&gt;
{{LCD|&lt;br /&gt;
color=white|&lt;br /&gt;
bgcolor=blue|&lt;br /&gt;
caption=Copyright screen&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Note that you might not see it due to poor contrast setting. Tweak the contrast from the menu by pressing the LEFT key once and then pressing UP/DOWN until you clearly see the text on your LCD.&lt;br /&gt;
&lt;br /&gt;
=== MDUpdate ===&lt;br /&gt;
{{video|&lt;br /&gt;
url =http://www.youtube.com/watch?v=-N5YrSE4nxo|&lt;br /&gt;
desc=Updating MegaDrum with MDUpdate test under Windows XP}}&lt;br /&gt;
[[File:MDUpdate.png‎|250px|thumb|MDUpdate screenshot]]&lt;br /&gt;
&lt;br /&gt;
==== General information ====&lt;br /&gt;
* Platform support: Windows, Linux (under [[wikipedia:Wine_(software)|Wine]])&lt;br /&gt;
* Tested in: Windows XP, OpenSUSE 11.2&lt;br /&gt;
* Type: GUI&lt;br /&gt;
* Source code: [http://www.megadrum.info/forums/viewtopic.php?p=15285#p15285 available] ''(C++, [http://wxdsgn.sourceforge.net/ wxDev-C++] and [http://www.codeblocks.org/ Code::Blocks] projects)''&lt;br /&gt;
&lt;br /&gt;
==== Updating procedure ====&lt;br /&gt;
The procedure is basically the same as for [[#mdfwupdate|mdfupdate]]. The obvious difference is that everything is done by means of a GUI. Here's a quick rundown:&lt;br /&gt;
&lt;br /&gt;
1. Download [http://www.megadrum.info/forums/viewtopic.php?p=15245#p15245 MDUpdate]&lt;br /&gt;
&lt;br /&gt;
2. Download the [http://www.megadrum.info/forums/viewtopic.php?f=3&amp;amp;t=1075 firmware files]&lt;br /&gt;
&lt;br /&gt;
3. Start MegaDrum in bootloader mode, select the correct frequency, switch to live update mode&lt;br /&gt;
&lt;br /&gt;
4. Run MDUpdate, select the correct firmware, MIDI I/O ports and press '''Run MegaDrum Update'''&lt;br /&gt;
&lt;br /&gt;
5. Wait for the firmware update to finish.&lt;br /&gt;
&lt;br /&gt;
=== Megadrum Config Tool ===&lt;br /&gt;
{{Main|Megadrum Config Tool}}&lt;br /&gt;
{{video|&lt;br /&gt;
url =http://www.youtube.com/watch?v=5hjP4Kut5lQ|&lt;br /&gt;
desc=Updating MegaDrum with MCT v1.84}}&lt;br /&gt;
&lt;br /&gt;
==== General Information ====&lt;br /&gt;
* Platform support: Windows, Linux, Mac&amp;lt;ref&amp;gt;See [http://www.megadrum.info/forums/viewtopic.php?p=15211#p15211 this forum post] about using MCT on Mac&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Tested in: Windows XP&lt;br /&gt;
* Type: GUI&lt;br /&gt;
* Source code: [http://code.google.com/p/megadrumconfigtool/ available] ''(Java, [http://netbeans.org/ NetBeans] project)''&lt;br /&gt;
&lt;br /&gt;
==== Firmware updating procedure ====&lt;br /&gt;
{{Note|[[MCT]] supports encrypted firmware updates since version 1.84.}}&lt;br /&gt;
&lt;br /&gt;
The basics of the updating procedure are given in the [[#mdfwupdate|mdfwupdate]] section of this tutorial.&lt;br /&gt;
&lt;br /&gt;
1. Download [http://www.megadrum.info/configtool/ Megadrum Config Tool v 1.84] via the installer.&lt;br /&gt;
&lt;br /&gt;
2. Download the [http://www.megadrum.info/forums/viewtopic.php?f=3&amp;amp;t=1075 firmware files]&lt;br /&gt;
&lt;br /&gt;
3. Start MegaDrum in either normal mode or bootloader mode&lt;br /&gt;
&lt;br /&gt;
4. Start MCT, and set up the options:&lt;br /&gt;
* MCU type and clock frequency&lt;br /&gt;
* Bootloader type to v5&lt;br /&gt;
* Correct MIDI I/O ports which correspond to MegaDrum&lt;br /&gt;
&lt;br /&gt;
5. In MCT menu go to &amp;lt;code&amp;gt;Firmware → UPDATE FIRMWARE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
6. Now close MCT and power off your MegaDrum&lt;br /&gt;
&lt;br /&gt;
7. Start MegaDrum with the LEFT key pressed (in bootloader mode), select the correct crystal frequency&lt;br /&gt;
&lt;br /&gt;
8. Open MCT, select the correct firmware file&lt;br /&gt;
&lt;br /&gt;
9. Press LEFT on MegaDrum to send a confirmation message to MCT, the &amp;lt;code&amp;gt;Proceed&amp;lt;/code&amp;gt; button should be enabled&lt;br /&gt;
&lt;br /&gt;
10. Press DOWN on MegaDrum to enter live update mode&lt;br /&gt;
&lt;br /&gt;
11. Press &amp;lt;code&amp;gt;Proceed&amp;lt;/code&amp;gt; button in MCT&lt;br /&gt;
&lt;br /&gt;
12. Wait for the update to finish, once it is finished restart MCT&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
{{Main|Troubleshooting firmware updates}}&lt;br /&gt;
If you cannot update your MegaDrum firmware, there could be several reasons:&lt;br /&gt;
* You are trying to update via an unsecure bootloader&lt;br /&gt;
* You are using wrong update software (e.g. MIDI-OX) with the protected bootloader&lt;br /&gt;
* Your board has defects&lt;br /&gt;
* MegaDrum controls are not functional&lt;br /&gt;
* MIDI/USB communication fails for some reason&lt;br /&gt;
* You have found a bug in the updating software. Please [http://www.megadrum.info/forums/ report it]!&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.megadrum.info/forums/viewtopic.php?f=3&amp;amp;t=1252 Updating firmware with protected bootloader] forum discussion&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Tutorials]]&lt;/div&gt;</summary>
		<author><name>Firelord</name></author>	</entry>

	</feed>