Impulse Tracker to AGI Sound
| Latest Version: | 0.01 | ||
|---|---|---|---|
| Release Date: | 2000 | ||
| Company: | Template:N/A | ||
| Development Status: | {{{DevStatus}}} | ||
| Publication Status: | Published | ||
| Developer(s): | Nat Budin | ||
| Interface: | CLI | ||
| Language: | Perl C C++ | ||
| Open Source: | Open | ||
| Source Availability: | Yes (the script is the source) | ||
| License: | None | ||
| Type: | Template:FanAGISoundConverter | ||
| Relevant Engine: | AGI2 | ||
| Platform: | Windows, Linux | ||
| Localization: | English | ||
| Website: | N/A | ||
A.K.A.
- IT2AGI
Description
Nat Budin's Impulse Tracker to AGI Sound Perl script converts ImpulseTracker files to the AGI Sound format. You will need ImpulseTracker to create the music and the Perl runtime to run this Perl script.
Adam Skawiński's updated script adds support for Impulse Tracker's 4th channel (noise channel):
Adam Skawiński[1] wrote:While MIDI-to-AGI tools may be the weapon of choice for many of you, I'm an old school tracker musician, so the IT2AGI script I found on the SierraHelp pages was a godsend when I found myself tinkering with an AGI song. But, the tool lacked 4-channel output, and at times kept outputting nonsense when using multiple channels. Knowing some Perl, I went and fixed it.
Adam Skawiński[2] wrote:On the fourth channel, every even/odd octave defines noise/pattern, and every 4th note pitch defines frequency. C1=C3=C5=E1=E3=G#1=G#3. Play C1 C#1 D1 D#1 C2 C#2 D2 D#2 for a full range of sounds. Just to clarify: there are no "drums" in IT, it's not MIDI, in trackers you define instruments as you see fit. But for this script, instruments don't matter. First three channels of the IT files are voices, the fourth channel is noises.
Features
Impulse Tracker to AGI Sound v0.02 adds support for 4-channel output by Adam Skawiński.
Before running IT2AGI, make sure you have Perl 5 or above installed on your computer. Unix users probably already have it. Windows users can get a free Win32 implementation at:
To use this program, just type "perl it2agi xxxxxxx.it" where xxxxxxx.it is the name of the Impulse Tracker 2.14 file you want to convert. IT2AGI will automatically spit out a file called xxxxxxx.ags (where xxxxxxx is the same name as your IT file), which is in AGI Sound format. You can import it into your AGI game using AGI Studio 1.3 or higher.
To make an Impulse Tracker file, you'll need Impulse Tracker 2.14 or higher. To download it, go to this web site:
Alternatively, you can use another compatible tracker. My personal favorite is ModPlug Tracker. To download that, go to the web site:
Many thanks go to Lance Ewing. Not only did he write the AGI Sound specification, enabling me to write this program, I also stole a formula off his ROL2SND program. So, thanks Lance!
If you have any problems running this program (and you will, I'm sure), please contact me. You can email me at:
natbudin@newmail.net
Also, if any of you Perl programmers out there spot a bug that you think you can fix, email me the bugfix. You will get my undying gratitude and proper credit in the next version.
Thanks for using IT2AGI!
Requirements
Version History
Development Status
Adam Skawiński added support for 4-channel output (2025).
Usage
To convert music, type this from the command line:
perl it2agi <name>.itWhere <name> is the same name as your IT file. The script will produce a file called "<name>.ags".
Options
Download
Download from here:
File:Impulse Tracker to AGI Sound (IT2AGI01).zip v0.01 (ZIP file) [3.08 KB] (includes source)
File:Impulse Tracker to AGI Sound (IT2AGI02).zip v0.02 (Adam Skawiński) (ZIP file) [4.30 KB] (includes source)
Known issues
- IT2AGI uses only the first three channels of an Impulse Tracker file. These are mapped to the three voices of the PCjr sound chip.[3]
- IT2AGI doesn't (yet) support changing tempo or speed in the middle of the song. Don't try this, as it will be cruelly ignored.
- Volumes aren't supported either, yet. They will be in the next version. For now, everything is played full blast.
- Finally, AGI is very limited in what it can do. If AGI doesn't support something, IT2AGI most likely doesn't either.
Credits
- Nat Budin
- Adam Skawiński (Update)
Acknowledgements
Many thanks go to Lance Ewing. Not only did he write the AGI Sound specification, enabling me to write this program, I also stole a formula off his ROL2SND program. So, thanks Lance!
References
Also See