Impulse Tracker to AGI Sound: Difference between revisions
No edit summary |
|||
| Line 34: | Line 34: | ||
<div class="Quote"> | <div class="Quote"> | ||
{{Quote|Attrib = <ref>https://sciprogramming.com/community/index.php?topic=9284.msg76239#msg76239</ref> | {{Quote|Attrib = {{AdamSkawińskiQ}}<ref>https://sciprogramming.com/community/index.php?topic=9284.msg76239#msg76239</ref> | ||
}} | }} | ||
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. | 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. | ||
</div> | |||
| |||
<div class="Quote"> | |||
{{Quote|Attrib = {{AdamSkawińskiQ}}<ref>https://sciprogramming.com/community/index.php?topic=9284.msg76243#msg76243</ref> | |||
}} | |||
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. | |||
</div> | </div> | ||
Revision as of 03:14, 23 May 2025
| 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.
gg
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
Requirements
Version History
Development Status
Adam Skawiński added support for 4-channel output (2025).[3]
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.[4]
- 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