Articles
AGI Sound Tutorial v1.0
by
Nick Sonneveld
Last Updated 4th March, 2002
Page: 1
2
3
4
[ 5 ]
6
7
8
9
10
11
12
13
5. Merging

There is a tool available called "mergesnd" by a Magnus Kristiansen. It
is an interactive tool that allows you to combine channels from different
sounds and combine them into one sound file. The name of the tools is
a bit deceiving however. You could more accurately call it an AGI sound
rearranger. If you have a conversion process that only produces one channel
sounds, you could use this tool to produce multi-channel music. If
you have a sound but you want to rearrange the order of the channels (the
PC interpreter only plays one channel, you might want to pick the right channel
that is played), then mergesnd can also help you. If you have a sound
and you want to remove channels, this tool is also handy.
The problems with this tool is that it does not support the noise channel
and it doesn't not support sending filenames through the command line. The
AGI scripting tools are more useful here because you can convert the sounds
you want to edit into scripts, rearrange them and then convert back to an
agi sound file.
"mergesnd"'s operation is quite simple however. You start the program
and it will ask you how many files you wish to read in. For each file
that you read in, it will ask you how many channels you wish to extract and
the channel number it will be in the new sound object. In the end it
will ask for the new filename and then finish. The numbers that it prints
("8/1935/1937/1939/") just indicate the positions of each channel in the
new file.
Page: 1
2
3
4
[ 5 ]
6
7
8
9
10
11
12
13