Mod Archive Forums Mod Archive Forums
Advanced search  

News:

Please note: Your main modarchive.org account will not work here, you must create a forum account to post on the forums.

Pages: [1]   Go Down

Author Topic: Newbie needs to create 4 channel MOD  (Read 14955 times)

0 Members and 1 Guest are viewing this topic.

toneunkee

  • New User
  • Offline Offline
  • Posts: 8
    • View Profile
Newbie needs to create 4 channel MOD
« on: August 04, 2008, 21:31:44 »

Hello everyone, I am a knowledgable Pro Tools audio guy but a total newbie to the MOD tracker world.  I need to get up to speed and create a great MOD tune for a friends cell phone game.  Is Milky Tracker a good place to start??  Can it import MIDI files?  What's the easiest program to use?

I also have a file size limit of 100k for the entire game!  Any suggestions?  This needs to sound incredible, but I know Milky Tracker does not support VST plugins.  How do I get great sounding instruments into such a tiny file????

I should also say that the music will be as follows:
Intro: 10 second intro
Win: 10 seconds or less
Lose: 10 seconds or less

I'm also curious how to make a MOD song loop continuously. (possibly for the menu screen)

« Last Edit: August 04, 2008, 21:39:46 by toneunkee »
Logged

m0d

  • Creator of Meow Meow Meow Kitty Song
  • Global Moderator
  • Top Poster
  • ****
  • Offline Offline
  • Posts: 1867
  • Original Site Admin/Designer/Coder
    • View Profile
    • Science & Art - Eindhoven.space - RedHeat Music & More
Re: Newbie needs to create 4 channel MOD
« Reply #1 on: August 05, 2008, 00:31:40 »

MilkyTracker is excellent but as with all tracker programmes, steep learning curve to go vertical for a horizontal sequencer user.

OpenModplug will import MIDI files, don't expect miracles though.

A MOD loops by default, usually. If you want to skip to a particular pattern within the module you have to use the pattern jump "effect command", which goes in the note effect control code column. It varies between trackers but for MOD files it's Dxx, I think. Where xx is the Hexadecimal number of the pattern to jump to.

I'm sure someone else will jump in with more info. :)
Logged
👨‍💻 Creator, Musician & HF Packet Radio Network Core
🎧 Discover great music via other member's special picks in the MFG
☕️ Get m0d a coffee via Ko-Fi.com
💬 IRC irc.rizon.net #modarchive
💬 Modarchive Discord

raina

  • Milkytracker Moderator
  • Great Poster
  • ***
  • Offline Offline
  • Posts: 719
    • View Profile
    • raina.kapsi.fi
Re: Newbie needs to create 4 channel MOD
« Reply #2 on: August 05, 2008, 01:38:38 »

MilkyTracker would work for you as it has pretty good ProTracker compatibility but that's really not the issue as the music isn't going to be played on Amiga but on cell phones. "Easiest" is subjective. A Windows GUI based tracker could be easier for some, but you get essentially the same effect by switching MilkyTracker into the MilkyTracker edit mode which makes the UI focus based and gives you modern standard clipboard shortcuts for example. It cannot import MIDI files though. Open ModPlug Tracker might help you with that. But that's all subsidiary because you are not going to produce a quality module file by converting a MIDI file. A ProTracker module is a seriously limited medium and making it sound good requires hard manual work.

The 100k is not a problem, but "incredible" is again subjective. You need to understand how a module file works. Even if MilkyTracker supported VSTi, it would only help if cell phones supported VSTi as well. You're not rendering a wave file and compressing that like with MP3. The .MOD player (in the cell phone) creates a similar environment for playing back the music as you use in a tracker when composing it. A module file stores note and effect data like a MIDI file but also contains the sound samples which act as instruments. When the module is played back, those samples are played and mixed in real-time according to what's written on the module patterns.

The durations you mention don't matter much because this isn't streaming audio. You can have a module and have it take up some kilobytes, but when you say, slow it down to quarter of the original speed, that only means changing song parameters and the file will take up equal amount of space as the original. With streamed audio the result would be quadruple.

How do I get great sounding instruments into such a tiny file????

Let's put this in proportions: The ProTracker module format is roughly 20 years old. The bit-depth for samples is 8. Sampling resolution doesn't matter as the idea of the format is to play back samples at different rates to create music. (By default you can't compress the samples either, however it's possible for your programmer to pull it off because the sound decompression needs to exist in the cell phone.)

So by today's standards, there's no way to do this. If you're willing to lower your standards though, you can fit a lot in 100k. One way out of this is going chiptune, using instruments that sample for example one cycle of a basic waveform like square, sine, triangle or saw. Very basic, but it gives you, space-efficiently, instruments that sound like old computers and game consoles, which is what all the hip kids are into. ;) Combine that with some snappy percussion samples and whatever and you might very well have a stylish retro-induced music piece in your hands, ready for submission.

Here's the real space saving tip:
If you need to have three pieces of music like in your example and you are going to use pretty much the same instruments for all of them, don't make three separate modules because that leaves you with three 33k limitations to work with. Instead, make one module that has all the three parts separated as subsongs. That way you won't be wasting space on the same samples several times and you can have more and/or better quality ones in the single module file. This is done with loop commands.

Code: [Select]
Intro: starts at the beginning of the module, a.k.a. Order 00
.
. The song progresses
.
. And reaches its end on say, Order 04.
On the Pattern at Order 04, you insert the command B00 which sends the playback back to Order 00. Voilà, you have a looping intro music sequence.

After that you continue by writing the Win song starting from Order 05. If you don't want this tune to be repeated but only played once, you can trap the playback on an empty, silent pattern.

Code: [Select]
Win: starts on Order 05
.
. and it's a short one in this example and it finishes on Order 07 already.
. A silent pattern follows the music on Order 08.

On the pattern at Order 08 you can set a loop to itself, B08, which prevents the playback from playing the Win music again, or any of the other parts until a game state triggers playback on another Order.

All of this subsong stuff should be discussed with the programmer because it's not going to work automatically. The programmer has to become involved with the music replay enough to be able to jump song positions based on the happenings in the game. It may not sound that attractive but the advantage (especially when working with tight size limits) is too great to ignore without consideration. (I know, I've once successfully convinced a producer of this exact thing.)

toneunkee

  • New User
  • Offline Offline
  • Posts: 8
    • View Profile
Re: Newbie needs to create 4 channel MOD
« Reply #3 on: August 05, 2008, 02:25:03 »

wow, thanks!  It feels like I am diving into the deep end with this.  I am still a bit confused.
A module file stores note and effect data like a MIDI file but also contains the sound samples which act as instruments. When the module is played back, those samples are played and mixed in real-time according to what's written on the module patterns.
Where do I find these instrument samples? Are they built into Milky Tracker or do I need to go download them somewhere?  The chiptune route sounds fun too!   
Logged

barryvan

  • I can't decide if you're adorable or creepy.
  • Newbie
  • Offline Offline
  • Posts: 130
    • View Profile
    • barryvan
Re: Newbie needs to create 4 channel MOD
« Reply #4 on: August 05, 2008, 12:15:47 »

You'll need to find your samples somewhere. One way is to "rip" them from other tracks (but this can be contentious). Another way is to sample them yourself, from, say, your various VST plugs. Then you can trim them down, lower the bitrate (if necessary - ideally, you'd want to stick with 16bit if at all possible), and load 'em up in OpenMPT or MilkyTracker.

For trackers, I'd recommend using OpenMPT (it's what I use). Although you won't use it, it has full VST support and so on, and, as has been mentioned, it can *kinda* import MIDI files. :) If you do decide to go with OpenMPT, make sure that you check out the Modplug Forums; the MilkyTracker forums, as you no doubt know, are right here.

The absolute best way to learn how to make mods is to download some and start fiddling with them, and you're in the right place to do that. A good one for you to look at would be Aryx (20.3KB, and in S3M, not MOD, format), and many others that other people here will be able to suggest.
Logged
www.barryvan.com.au - design & music

the barryvan compo - Bimonthly inspiration-based compo

barryvan  @ Last.fm
Pages: [1]   Go Up