Making DTX data

 *?How to make DTX data by myself?

At present, using J.T.'s GDA Creator Professional Edition (GDAC2) is a good way to make DTX data.

I will describe a way how to make DTX data with GDAC2. (To tell the truth, you can use almost all the same way to make "GDA" data. But there are many small differnt points.)

One notice: many people mistake GDAC2 for "I input song WAV file, then GDAC2 output GDA files automatically". GDAC2 doesn't have such a super convinient feature. You need to arrange sound chips by yourself.

*? To make DTX data with GDAC2, you have to download many tools besides GDAC2). Here is a list about the tools you need.

**GDAC2 itself**
GDAC2 is a software to make DTX or GDA etc.To download GDAC2, go to Utility software (in English) page. There is hacked English version made by yyagi, and I have gotten permission to distribute here from the original author J.T.

*?**DTX lane script**
It is required to add DTX related features to GDAC2.It is included in "DTXViewer". (English version is included in
You can download from J.T.'s site, too. (GDAC2 author)
"*_en.gsc" means English version of the lane scripts. (And they are in Please copy them in the GDAC2 folder.

**DTXViewer (DTXV)**
GDAC2 uses it for the preview (testplay).It is included in the DTXCreator. Please download DTXCreator, and copy DTXV.exe and all DLL files to the GDAC2 folder.
You can download it from FROM's site.

**DirectX 9.0c**
You have to install it to work DTXViewer. You should install latest one via Web Installerafter installing .NET Framework 2.0.

**VisualBasic(VB) 6.0 runtime**
GDAC2 needs it to work.

If you have not installed it, you'll encounter the error "Component 'mscomctl.ocx' or one of its deoendencies not correctly registered: a file is missing or invalid." etc.

But I don't know the official way to get/install them. (sorry)

*?**WAV to XA** and *?**XaWrapper**
You should prepare them to make xa file.You can download them here. (WAV to XA is redistributed here without any permissions because author's sites had gone. XaWrapper is permitted to redistributed here by the original author, maruru.)

    • xa.exe(5775) (original files are archived by LZH. I re-archive them by ZIP)
    • XaWrapper(1354) (original one is for Japanese. I made English version and get permission from original author maruru to distribute here)

All preparations are finished, let's open GDAC2. After splash window opens, GDAC2 main window opens.

*? After you succeed in starting GDAC2, you'll see the (not DTX window but) G2D creating window.

To make (not GDA/G2D data but) DTX data, close the G2d creating window at first, and click [File] - [New] - [DTXMania Data(DTX)] (See right figure). It opens new DTX creating window and you're ready to make DTX data.

(Note1: If you don't see this option, DTX lane script is not installed correctly.)
(Note2: You can configure that "DTX creating window is opend at first"?.

I'll explain the sample flow to make DTX data below. You can also see GDAC2 operations guide by there:

  • Let me know the GDAC2 basic operations.?
  • Let me know the GDAC2 useful operations.?

1. *? **Prepare the BGM or drums sounds.**
In case you don't have drums sounds at all, check the other Q&A "Where can I get the drum chip sounds?"?. You can get minimum drums sounds there.
(If you feel poor for that chip sounds, you have to gabage other sounds file or record from your drums kit by yourself etc.)

At the preparing BGM, you should normalize? that BGM file to match the volume to other songs. To normalize the wav file, you can use general sound applications. (for example, SoundEngine Free has that feature.)

And there is very impotant notice. The sound files (BGM and chip sounds etc) should be in the same folder?. If you place some sound files in different folder, they may not play.
(It comes from GDAC2 limitation.)

2. *? **Convert wavs to ogg, xa or mp3 as necessary.**
The chip sounds and BGM sound is very large if you leave them raw (not compressed). In case the sound files are large, it is very hard to send your DTX data to others. So, usually the sound files are "compressed". However, the sound files and image files are not compressed well by the general compression way (zip etc). so you have to compress them by the special way. Concretely, the chip sound files should be compressed to ogg or xa, and the BGM file should be compressed to ogg, xa or mp3. (but these compression way decreases the sound quality a little.)

Here is a compress comparisons. I compressed raw wav file to zip, xa, mp3 and ogg. Thouth the general file archiver (with loseless compression) is not effective well for the sound file, xa becomes about 1/4, mp3 becomes about 1/10, and ogg becomes about 1/15-1/20.

*? To convert to ogg file, you can use oggdropXPd (for Win2k and above). Open oggdropXPd, and drag&drop the wav file to the oggdropXPd large icon to convert. It's very easy.
However, GDAC2 can't handle ogg files. (I recommend to use DTXCreator? to use ogg files.)

*? To convert to xa file, use WAV to XA?. But because it is CUI application, you should use "XaWrapper"? together.

Ref: How to make xa file??
Ref: How to play xa file easily?

*? To convert to mp3, SCMPX would work well.But remember, if you want to use mp3 on GDAC2, you must make mp3 file as "RIFF chunked mp3" (MP3 data with WAVE file header. The file extention is WAV.)

In this connection, FROM says you should use ogg for both chip sound and BGM sound (as the timing are same as wav, etc) , and mp3 should not be used any longer.

Moreover, FROM says the time to convert the wav files to ogg files is "the last stage after all DTX data file making is finished". That is he handle all sound file as raw wav file under making DTX data. Once you convert wav files to ogg files, it's very difficult to edit them.

3. *? **Manipulate score data using GDAC2.**
Though it's hard to set the beginning of a few measures, after that it's a little easier because you can copy&paste the measures you've already set. In case you want to put open hi-hat or ride cymbal, (CTRL)+(click) to put it.?

And put the BGM sound to the proper lane. In case you make DTX data, put BGM chip on the [BGM] lane. (For GDA, it is [01] lane.)

Before putting chips, remember to click "pencil" icon to change the mode from select mode to set mode.

Unfortunately, current GDAC2 has critical issue...."sudden death". So I strongly recommend to save data often. In case you encount sudden death, check the GDAC2 folder. If you are lucky, temp.tmp file exists. It is the temporarly file for viewer. So the file may become your last backup.

Ref: my experienced operations to be sudden death;

    • Use copy&paste in free text zone. (basically, I recomend to save before editing free text each time.)
    • Clicking [File]-(history)
    • Pasting unexpected object which (e.g. copy from free text (as a strings) and paste it to the score (as a chip)
    • etc...

Here is a degression; You should go next step (testply) after putting chips in a few measures and BGM chip. I believe it is efficient way.

4. *? **Testplay.**
[Play from the beginning], [Play from here] and [Stop] After putting chips in a few measures, let's play them for test. Click [Play from beginning] icon. Another preview window will open and testplay starts (in case DTXV.exe is there in the same folder of GDAC2.exe's.) Check your score sound is played correctly.

In case you can't click [Play] icons, check the Q&A "I can't test play on GDAC2 at all."?

Usually, in this step, the timing of BGM and chip are not synced.

5. *? **To sync the drum chips to the BGM, adjust the BGM start timing and initial BPM value. (Also edit the scores.)**

Please read "How to synchronize the BGM and the chips?" in detail. Here I explain the summary.

You can use some tools ... BPM Analyzer or TapTempo to mark the BPM estimation.

Besides, some songs is not have constant BPM. (e.g. live performance) in that case, you have to change BPM often.

To move the BGM chip finely, you can change the [Grid Div] on the menubar. And the next pulldown menu "Zoom" can help you, too.

*? You can specify the fraction value on BPM. But it is a little troublesome.

You can specify integer BPM value on BPM lane, and fraction value on BPx (Xpanded BPM) lane. You have to use Free text area to use BPx lane. See the figure below.

(In case you want to set the fractional BPM and the BPM would never change, you simply have to set fractional value on "BPM:" area on Edit Toolbar, and you don't have to use BPx lane.)

You can change the BPM to the fractinal value, by useing Free text area and BPx lane.

6. *? **Adjust the chip sound volume and panpot.**

You can adjust each chip's volume and panpot using GDAC2 Free text zone.

*?GDAC2 Free text zone.

In the Free text zone, for example, edit like

#PAN10 -20

to move the panpot to -20 (20 steps left from the center) for the chip [10]. I recommend you to set the hi-hat panpot a little to the left.

To play sound at the right side, set panpot like

#PAN10 40

A positive number means a littile to the right. For example, crash cymbals should be set so.

The panpot range is -100 - 100. -100=extreme left, 0=center, 100=extreme right.

The volume can be set like

#VOLUME10 50

It means the chip [10]'s volume is reduced to 50%. (half volume)

The volume range is 0 - 100. 0=no sound(mute), and 100=original volume. You can't specify the value over 100. The volume is very important to make DTX data cool. For example, about the continuation of hi-hat 8th notes (or ride cymbal), don't set same volume to all of them like
(the circle size means the volume).

The most easy way to make it better is, to arrange them like
(it means you prepare two hi-hat chips and set differnt volumes) In this case, the knack is "exaggeration of volume change". (100 to 50, 100 to 30 etc)

There are many advanced arranges like

As described above, you can use almost all DTX specifications even if GDAC2 doesn't support directly (by using Free text).
The check the detail of DTX file format specification, please see help file (Manual.chm). You can see the full description of DTX file format specifications.

*? Well, it is popular that your DTX data (syncs well on your PC) is not synced on other PC.
That "lag comes from the difference of HW/OS etc" could be controled to some extent by making DTX data carefully. The points are that;

  • **The chips' sampling rate should be 22.05kHz, 44.1kHz or 48kHz.**
    If you use other rates (e.g. 32kHz mp3, or 11kHz wav etc), it may slip the tempo or generate noize. (It depends on the sound card.)
  • **Make all of uniform status(Hz, ch, bits) of sounds.**
    To make sound files, you have to specify
    • sampling frequency (22kHz, 44.1kHz, 48kHz..)
    • number of channels (1=monaural, 2=stereo,..)
    • bits of data(8bit, 16bit,...)

These status should be same for all sounds you'll use in DTX data.
In DTXMania, the sound is played in DirectSound. If you use sound card which have poor HW mixier, it seems to become a bottleneck.
(Note: it is not the parameters for the compressed data like mp3/ogg (e.g. 128kbps etc), but the parameters for raw sound data.)

  • **The sound length should be shorter.**
    The length is longer, the number of sounds playing at the same time increase. If too-many-sounds are played simultaneously, lag occurs. My soundcard(Xwave6000) occurs delays only over 10 sounds playing :-(
    You can decrease this kind of lag by making wav lengthes shorter.
    It depends on the songs, but I believe it's enough to use 8th-4th note for almost all shongs.
  • **To tune up syncing should be done on DTXMania itself.**
    You may tune syncing on DTXViewer.
    However, that timings are a little different between DTXMania and DTXViewer.
    Of course, you should make syncing on DTXV while you are making DTX data. But, at the final step, you should re-sync on DTXMania.
  • **Set AdjustWaves=ON during making DTX data.**
    You should set the AdjustWaves ON in DTXMania CONFIGURATION. It reduces the lag which causes from the difference of HW/OS etc.
    BTW, DTXV.exe is configured as AdjustWaves=ON internally.

Ref: What's "normalize"??
Ref: How to play xa file easily?
Ref: "-EOF-" (J.T's site. You can download GDA Creator Professional Edition here.)
Ref: Cycle of 5th (You can download SoundEngine Free here)
Ref: download: WAV to XA? (original files are archived by LZH. I re-archive them by ZIP)
(this programs is redistributed here without any permissions because author's sites had disappeared.)
Ref: download: XaWrapper? (original one is for Japanese. I made English version and get permission from original author maruru to distribute here)
Ref: CH3's homepage (You can download SCMPX here.(WAVE/MP3 converter))

last update: October 4th, 2009

 *? **How to put open hihat, ride cymbal or left crash cymbal?**

To put open hi-hat or ride cymbal, [CTRL]+[click] to put these chip on the [HH] or [CY] lane. To put left crash cymbal, put the chip on the [LC] lane.

This figure shows how to be played on DTXMania. Check the small [02] chips become open-hihat, and small [05] becomes ride-cymbals.

Remember to click pencil icon first to go Set mode.

last update: February 10th, 2009

 *? **I can't test play on GDAC2 at all.**

No testplay icons are available. Testplay features are available.

In case DTX lane script or DTXV.exe is not found in the GDAC2 folder, testplay icons are grayed out, and you can't use testplay feature.

Check dtx_dtxv.gsc file and DTXV.exe file are in the same folder where GDAC2.exe is there.

And check you really editing DTX (not GDA). Click [Help] - [Current Script] to show Script Information, and check you are using [DTXMania lane script]. If not, click (File) - (New) - (DTXMania Data (DTX))? to start editing DTX data.

See also these Q&As below;

Ref: I'd like to testplay by GDAV/DTXV, but I can't hear either the chip sound or BGM sound. Or I can't hear some chips.?
Ref: I test plays on GDAC2, but I can't hear BGM sound.?

last update: February 10th, 2009

 *? **I'd like to testplay by GDAV/DTXV, but I can't hear either the chip sound or BGM sound. Or I can't hear some chips.**

You have to copy all sounds in the same folder. If you have some sound files in the differnt folder, the issue occurs. (In case you want to use sounds in differnt folders at any cost, you have to edit the #WAV definitions by notepad. Or you have to use DTXC in place of GDAC2. )

Ref: I can't test play on GDAC2 at all.?
Ref: I test plays on GDAC2, but I can't hear BGM sound.?

last update: February 10th, 2009

 *? **I test plays on GDAC2, but I can't hear BGM sound.**

In case you use GDAV as the viewer, GDAV doesn't play BGM with "Play from Here". (It's GDAV's specifications.)

In case you use DTXV as the viewer, You could hear BGM with "Play from Here". (If you want to use DTXV with editing GDA, you need additional lane script "SessionStream Data(GDA, G2D) w/ DTXV". It is included in DTXV archive.) See also these Q&As below;

Rer: I can't test play on GDAC2 at all.?
Ref: I'd like to testplay by GDAV/DTXV, but I can't hear either the chip sound or BGM sound. Or I can't hear some chips.?

last update: February 10th, 2009

 *? Where can I get the drum chip sounds?

You can use these sounds below;

Sound type OGG files XA files WAVE files Notice
Snares OGG(2637) (293,480 bytes)
PATCH(1706) (8,665 bytes)
XA(1860) (563,472 bytes)
PATCH(1265) (7,090 bytes)
WAVE(2856) (1,600,984 bytes)
Bass drums OGG(2102) (236,717 bytes) XA(1598) (514,432 bytes) WAVE(2481) (1,807,754 bytes)
Hi-hats / cymbals OGG(2085) (424,173 bytes)
PATCH(1458) (27,269 bytes)
XA(1567) (989,515 bytes)
PATCH(1238) (26,642 bytes)
WAVE(2428) (6,265,271 bytes)
Toms OGG(1968) (317,880 bytes) XA(1525) (772,333 bytes) WAVE(2283) (3,128,750 bytes)
Percussions OGG(1672) (654,380 bytes)
PATCH(1320) (61,072 bytes)
XA(1351) (1,416,670 bytes)
PATCH(1118) (58,058 bytes)
WAVE(1842) (6,281,078 bytes) Sorry, I give up to delete noise from some files...
Orchestras OGG(1492) (553,483 bytes)
PATCH(1240) (9,278 bytes)
XA(1226) (1,421,590 bytes)
PATCH(1039) (9,141 bytes)
WAVE(1691) (6,956,952 bytes) Orchestra hits, orchestra snares, timpanis etc.

All files are 44.1kHz, monaural.

Moreover, you should download "PATCH" files if there are. These sounds are added "silence" on the tail, not to become less than 0.15 seconds.(Current DTXMania seems that it can't playback sounds which are less than 0.15sec...)

All these files are free(ware) and you can redistribute them freely. (The source is license-free PCM files included in Z-MUSIC System ver.3.0 (in Japanese)

Ref: How to play xa file easily?

last update: September 30th, 2009

 *? How to convert GDA/G2D to DTX?

Not a few people seems to want to convert GDA/G2D to DTX (to add video, etc).

You can convert it easily, with GDAC2 and special lane script.

First of all, please copy the lane script "gda2dtx_en.gsc" to the GDAC2 folder. (The gsc file is in DTXV archive. Check to find it) You can download from J.T.'s site, too. (GDAC2 author)
"*_en.gsc" means English version of the lane scripts. (And they are in Please copy them in the GDAC2 folder in advance.

These are steps to convert.

1. Open the target GDA/G2D file with GDAC2.

2. Click [File] - [File Conversion Wizard] to start wizard.

3. Select "GDA to DTX converter" as the output format, then click [Next].

4. You don't have to configure any more. Click [Next] to finish conversion.

5. Converted DTX file is there. Click [File] - [Save As] to save DTX file.

However, some GDA/G2D file can't convert in this way. For example, you can't convert the GDA using DS/GS etc. (GDAC2/DTXMania doesn't support these objects)

And one more thing. Even if you can convert the GDA/G2D to DTX, you may need to edit "set.def" file? also. If set.def file doesn't contain converted DTX file entry, DTXMania doesn't list up it.

last update: October 4th, 2009

 *?How to make clip image for SELECT MUSIC screen?

First, prepare clip image for the SELECT MUSIC screen. You can use bmp, png and jpg format. The image size have to be equal or less than 204 x 269.
To standardize the preview image, I recommend to put white frame like the right figure.
(There is a trick if you make clip image with 194 x 259 or 195 x 260, the frame on the background image is shown and you don't have to put frame on your preview image.... But I recommend you put the frame to the preview image.)

Next, edit DTX file to use the clip image.
(Even if you simply copy the image to the filder, you can't use it as the preview image for DTXMania. It doesn't correspond with the DrumMIDI.)

Click [Free] tab on GDA Creator Professional Edition. And the edit here like

#PREIMAGE clip.jpg

#PREIMAGE means DTX instruction for preview image, and "clip.jpg" is a filename for the preview image.

As the result, preview image is shown.

Add #preimage instruction in the free text.

As the result, preview image is shown like this.

last update: February 10th, 2009

 *?How to add clip image(s) on playing screen?

  • Prepare 278 x 355 image(s). You can use jpg, png, bmp for clip image.
  • Register that image(s) to the BGA array list. Then put the chip to the BGA lane.
    Right figure shows sample that you register the clip.jpg to BGA array list [01] and put [01] chip on the BGA lane.... at the beginning if 001st measure.
    As the result, the clip.jpg is shown at that timing.
  • And you can also specify multiple BGAs by registering other image file to other BGA array list. So you can change BGA by the progress of the song. (This feature can't realize on GDA. DTX can do it.)
  • However this way can't put image from the beginning of playing. (At least image can't be shown until 000th measure comes.)
    You can avoid it by drawing clip image on the wallpaper, but the wallpaper is not shown in case DARK=ON (or FULL).
    In Release 063b060518 or above, you can resolve all problems by using #BMP? instructions in Free text area. By this way, you can show the clip image from the beginning of playing, even if DARK=ON.

Clip sample on the playing.

Ref: DTX file spec: #BGA**?, #BGAPAN**? and #BMP?.

last update: February 10th, 2009

 *?How to group several DTX files (with different levels) into the single title? How to make set.def file?

To make "set.def" file to group several song data into single title. (DTXMania calls that file "set file".)

For the grouped title, you can change the difficulty by hitting hi-hat twice? on DTXMania.

The way to make set.def file is ...

Open Notepad and edit it like the sample below, and save it to the folder where the songs data are. The filename must be set.def.


#L1FILE: brilliant_bas.dtx

#L2FILE: brilliant_adv.dtx

#L3FILE: brilliant_ext.dtx

#L4FILE: brilliant_exp.dtx

#L5FILE: brilliant_raw.dtx

#TITLE: is song title.
#L1LABEL: is label (shown as difficulty). Note that LABEL is not LEVEL.
#L1FILE: song data filename.

You can use #L1... #L5... (In other words, you can group 5 levels into single title.)

After making set.def. All levels are grouped to single title.

Ref: How to change the level??
Ref: set.def file specifications?

last update: February 10th, 2009

 *?How to change the title color?

You can add title color information in set.def file.

See the previous Q&A (How to group several DTX files (with different levels) into the single title? How to make set.def file?)? to understand the way to make set.def file.

To change the title color, please add the instrucion in the set.def file;


#FONTCOLOR: means the "Specifying title color", and #00FF00 is the color code. # (pound) and 6 figures hex numbers (RRGGBB) are required.


#L1FILE: keep_bas.dtx

#L2FILE: keep_adv.dtx

#L3FILE: keep_ext.dtx

#L4FILE: keep_exp.dtx


This set.def file (especially #FONTCOLORmeans...

To change title color like this.

Ref: How to group several DTX files (with different levels) into the single title? How to make set.def file??

last update: February 10th, 2009

 [[*|qa_create_e#setFillInZone}}How to make bursting chip in DTX/GDA?

Enclose [01]-[02] on FI lane to make fill-in zone.

Fill-in effects are bursting. For both DTX and GDA, you can make bursting chip by using "fill in (FI)" lane. While you are playing in fill-in zone, at least you have 1 combo, some light circles are bursting and audience cheers. (How neat it is!) Fill-in means short phrase at the changing point in song progress. Typical fill-in is, for example, short drums solo just before the main part of the song. To specify fill-in zone in DTX/GDA, there is [FI] lane.

On the FI lane, put [01] chip at the beginning of fill-in, and put [02] at the end of fill-in. DTXMania recognize the zone [01]-[02] for the fill-in zone. (Don't reverse the order. [01] comes first, and [02] last.)

In the fill-in zone, hitting effect becomes particle. And the the last ones becomes bursting.

BTW, in the future version of DTXMania, the fill-in effects may change. (at least, in the old versions, it was changed one after another)

last update: February 10th, 2009

 *?How to add movie to DTX?

1. **Prepare the AVI file first.**
Sorry I don't touch to "how to create avi file" here. I suppose you already have some movie file.

The width and hight of movie must be less than 278 x 355.
If more than it, only the left-top area is shown on the DTXMania.

The movie format must be AVI. (You can't use MPEG, WMV and SWF etc.) (I can teach you how to convert MPEG/WMV to AVI later.)?

You can choose codec type freely. (I enumelate some frequency-used codecs at the troubleshooting page.?)

Some codecs has a characteristic that the width and height must be a multiple of 8 (or 16). For example, MPEG4-related-codecs (MS-MPEG4V2, WMV9, DivX) must have a multiple of 16 for width and height.
The movie area for DTXMania is 278 x 355, and both it's width and height are not a multiple of 8 (or 16).
So if you encouter the error at encoding, Set the width and height to 272 x 352. It would meet the spec.

2. *? **Put the AVI chip to the DTX**
In case you use GDAC2, write in the Free text area like

#AVI01 movie.avi

It means the registration of AVI file to chip [01]. (Of cource the filename should match for your case)

Next, put [01] chip to the [AVI] lane. (It doesn't depend on any registrations in WAV array list.)

And move the chip to adjust timing.

To move AVI chip finely, you can change [Grid Div] to 32th or 64th.

And you can also change [Zoom] menu to move the chip easily.

Ref: I can't playback movie.?

last update: February 9th, 2009

 *?How to convert MPEG/WMV files to AVI file?

It's easy to use TMPGEnc.
(TMPGEnc has 2 series ... shareware and freeware. I use freeware version here.)

Here is a convert steps.

1. Open TMPGEnc, and drag&drop the file what you want to convert.

2. *? Next, click [Settings].

3. At the [Video] tab, change the [Size] to 272 x 352. You don't have to change other settings. (because you don't want to convert to MPEG.)
If the [Size] is grayed-out, you have to unlock settings.?

4. At the [Advanced] tab, set the [Positionning method] to "Full screen". Then click [OK] to finish settings.

5. Click [File]-[Output to file]-[AVI file].

6. Enter the AVI filename to be output. And check the video compression codec. Normally the default is "No compression ,....". Click [Settings] to change it to DivX or MS-MPEG4 V2 etc.? You don't have to use audio output for DTXMania.

7. Wait a minute until the conversion finish. Set the AVI chip to the AVI lane in DTX file,? to show the AVI.
(Here is the way for DTXC)?
At the step 4, you choose [Full screen], and as the result, the AVI is stretched to whole BGA area.

8. If you choose [Center (keep aspect ratio)] at the step 4, then...

9. The AVI is shown in center of BGA area, keeping width-height ratio. Please choose them properly.

*? Ref: Unlocking the settings

At the step 3, in case the [Size] is grayed-out, then...

Cancel the [MPEG Setting] and click [Load].

Enter [Extra] folder and select "unlock.mcf" file, then click [Open]. Now the settings are unlocked. Try again from step 2 (Setting).?

last update: February 8th, 2009