Monday, August 9, 2010

[rant title="Cheating Chiptunes"]

Cheating Chiptunes
OR
How To Make Chiptunes Without Learning A Tracker

So many people ask "How do I make 8-bit music?". Well, chiptunes are nothing more than extremely simple synthesizers. You can effectively fake a chiptune sound in a digital audio workstation (DAW) such as Fruity Loops or Reason. First you must learn where the sound comes from, how to make that sound as close to the original as possible, and then how to write music that sounds like chiptunes.

1) Making Waves

Chiptunes are created by a video game system's internal sound processor, which for the most part is just a very simple single waveform synthesizer.

The first thing we want to do, is have only one oscillator playing. Most synthesizers use two or more oscillators mixed together to create a sound. Isolate one oscillator by turning the volume down on the other oscillators, or turning the mix to all the way up on one oscillator and 0 on all others.

Notice how all the waves except the square wave are turned down.

Notice how the Mix slider is pushed all the way to the oscillator at the top.

Notice how the volume on the first two oscillators is turned all the way down.

Once you have one oscillator isolated, you need to remove all effects from the oscillator. Usually this involves shutting off the effects channel of the synth. Delay, reverb, arpeggiator, distortion, detuning, modulation, etc. all must be shut off or have their bus reduced to 0. Keep in mind that the low frequency oscillator (LFO) is usually not in the synth's master effects channel. This needs to be reduced to 0 or shut off as well. Also, master effects like resonance and cutoff need to be reduced and boosted, respectively.

Some synths have a master switch for the effects.
The first picture shows the effects on, the second is the effects off.

Some synths have each effect switch on or off independently.
Notice how in the first picture the effect knobs are turned all the way down.

Usually, each oscillator will have it's own LFO.
Make sure the LFO's speed is reduced to zero.


The cutoff filter should be at maximum, and the resonance should be at zero.

As you can hear if you start tapping your keys, we're getting close to the sound of a chiptune. Next we need to change the ADSR envelope of the wave. The attack(A) should be set to 0, delay(D) is full, sustain(S) is full, and release(R) is 0.


Notice how each of these envelopes has
the attack and release at zero, and the delay and sustain at full.

Basically what we have done is torn the synth down to it's most primitive form, a single waveform. The key now, is making it sound as close to the original as we can.

2) Keeping It Real

Now that we have shed the synth of all it's modern trappings, we need to make sure it is the same sound we get out of a chiptune. For this tutorial, we will be imitating the Nintendo Entertainment System sound chip, the 2A03. The NES was capable of producing three different waveforms: square (more accurately, a pulse), triangle, and noise.

The square wave is actually called a pulse wave because it is not always square. The 2A03 could produce three different variations (pulse width modulations) of the square wave: 25%, 50%, and 75%.

Most synths can do this through the LFO's pulse width modulation (PWM) knob. Notice the difference in sound as you move the PWM knob. A pulse wave at 50% is a perfect square wave. As the pulse width changes, the difference in width between the highest and lowest part of the wave changes.

This synth has the PWM knob built right into the wave selector.
This PWM is set to 75%.

This PMW knob is at 50%.

The triangle wave is pretty simple and easy to understand. Its a wave that looks like a triangle.

The trickiest part is the noise wave. This is one of the hardest parts to reproduce because no two synths create noise the same way. Noise is a pseudorandom function of the synthesizer's processor and the way the 2A03 creates noise is not the same way your synth may create noise. Add to that the fact that most synths do not map white noise to a pitch, which the 2A03 does. Some synths may have an option for this, but more likely than not, reproducing the noise channel is very synth-specific and arduous process.

At this point, you may need to look up the exact specs of the system you are trying to imitate. For the 2A03, there are some very important things to keep in mind:

-The 2A03 can only play two pulse waves, one triangle wave, and one noise channel simultaneously.

-Square wave can be played with 25%, 50%, and 75% pulse widths.

-The 2A03 cannot do any effects like reverb or delay (see the next section on how to fake these effects)

-The 2A03 can do very deep pitch bends, so make sure your synth has it's bender set very high.

-Make sure your portamento/glide is turned off. The 2A03 cannot do this (though skillful pitch bending can fake this).

-There's obviously much more to consider, such as the fastest and slowest tempo the chip can do, the highest and lowest pitches the chip can play...you get idea. The more specific you get, the better it will sound. With all these specific limitations and such, how will I make awesome tunes?

3) Mastering The Technique

So if the 2A03 can only play two square waves at once, how do they do chords and stuff? With only one noise channel, how do you get all those percussion and undertones? Chiptune artists have been wrestling with these limitations for decades, and the techniques to overcome these challenges can make a simple four track song sound like a symphony.

The biggest step to learning to write chiptunes is to understand how the human brain interprets stimuli. Your brain fills in the holes that your eyes, ears, nose, and skin can't. Your eyes each have a blind spot, but you never know it because your brain fills in the missing data for you. Try to read this sentence:

I LVOE BACK TO TEH FUTRUE! ITS MY FVRAOITE MVOIE!

Now even though that sentence looks like complete garbage, you know exactly what it says, because your brain rearranges the letters for you. Your brain does this with sound as well. Chiptunes effectively fool the listener into hearing things that aren't really there.

CHORDS
There are a few ways to fake chords. One way is to use very fast arpeggios in a single channel. If it's fast enough, your brain will just mash the notes together and it will sound like a chord.

Another way is to use both channels to play two different notes in the same rhythm, but then make one of the channels play the melody, with the other channel still playing the notes from before. Since you still hear part of the chord, your brain fills in the other part and makes it sound fuller than the actual sound.

ECHO AND REVERB
There are two methods of faking reverb and both are effective in their own way. The first is to have one channel play a melody, and then have a second channel play the same melody just a tad later. Bonus points if you pan them apart a bit to create space. The advantage to this method is that melodies that have no rest between notes can have reverb, but it takes two precious channels to do.

The top picture is the first "main" channel. The bottom picture is the "echo" channel.

The other is to have one channel play a melody, but after the note ends, put a softer note right behind it to make it sound like its reverberating off some far off object. This leaves the other channel free for another part, but only works when there is enough space before the next note to place the reverb note.
The yellow notes are the melody, the light blue notes are the reverb notes.

PUNCHY SOUNDS
If you want a melody line to have a slightly punchier, percussive sound to it, take the melody and scoot the entire thing forward just a tiny bit, then place a very short note an octave above on each note. This works on the noise channel for percussion as well.

STUDY THE PROS
Listen to chiptunes, isolate individual channels if you can, and see exactly how the pros get the sounds that they do. Chiptunes are an extremely difficult but very rewarding artform. And as always, practice makes perfect!

[/rant]

Friday, July 30, 2010

[rant title="Get out of my head! FFFFFUUUUUUUU!"]

Every other review I've read about the movie Inception has heralded it as a mind-blowing, twisting, confusing, complex thriller. But obviously these reviewers have no idea what the movie is trying to do or simply can't watch anything that requires more than two brain cells and a housefly's attention span.

To call Inception confusing is an outright insult to the film and to it's creator, Christopher Nolan. The whole beauty of Inception is that it's never confusing, but quite the opposite. Nolan has created a universe so unlike our own, that taking it all in at once would be positively mind-numbing. But such is the brilliance of his newest creation.

I'll waste nothing of the plot, the characters, or the supposed twists. Inception is a basic, run-of-the-mill thriller in strictly skeleton form. The most simplified premise I can give without ruining the movie is this: "Extraction" is a method of stealing information from someone while they are dreaming. But after a job goes wrong, a band of dream thieves must do the opposite- "Inception" -planting an idea instead of stealing it.

Now in that basic premise is a tremendous catch: how do you make something as simple and docile as sleeping and dreaming into a high-action thriller? Nolan does so in epic style, by crafting a whole plethora of worlds that these dreamers delve into every time they close their eyes. It's the complexity of the universe Nolan has created, not the complexity of the plot, that makes the film so exceptional. And the brilliance of the film, is the way in which it is explained.

There is so much that needs explained in this very familiar, yet wholly foreign setting the movie takes us into. The film explains almost every detail to the audience, but without being boring exposition or long, drawn-out dialogue. Indeed, by the end of the movie, the audience's own imagination will be flowing with ideas of the possibilities of this universe that has been created. In this sense, Inception lands a place rare in any form of storytelling. Not only does this film present an imaginative and endlessly thrilling setting, but also inspires the imaginations of its viewers. And the whole experience is effortless. You learn more and more about the world of the film without even realizing it.

The true accomplishment of Inception, is the ability to take a completely foreign idea, and make it feel as natural and relatable as any part of reality. Much like the protagonists in the film attempt to do. In fact you could say that Christopher Nolan has done what the characters in his film claim is impossible. Christopher Nolan has performed an "Inception" on us all.

[/rant]

Tuesday, May 18, 2010

[rant title="Sabaton does it again!"]

I have gotten my hands on the new Sabaton album "Coat of Arms" and it seems Sabaton has outdone themselves again. "Coat of Arms" is a triumph of heavy metal excellence. The variety and depth that this band seems to be able to reach with each new release is astounding. To anyone who doubts Sabaton as the kings of power metal, give "Coat of Arms" a listen and those doubts will fly away like dry leaves in a hurricane.

The album opens with the titular powerhouse single "Coat of Arms". The epic nature and demanding presence of the music yet to come is communicated immediately in this track. Not to mention a killer chorus that will be stuck in your head for days. This is Sabaton doing what they do best.

The next track, "Midway" is short but sweet. A crunchy, gritty guitar riff starts off a fast-paced heroic recounting of the Battle of Midway. The shortness of it makes it feel a little cut-off, but overall it is undeniably fun.

"Uprising" tells the tale of the Warsaw Uprising. Bearing striking resemblance to "The Price of a Mile" from their last album, it is nevertheless a powerful track, though probably the least original of the entire album.

Recalling the Siege of Bastogne, "Screaming Eagles" blazes with the power of the American 101st Airborne of the same name. Uncompromising pace and excellent hooks make it a perfect follow-up to "Uprising".

The synth lines in "The Final Solution" are downright eerie and the song recalls a tone similar to "Brothers In Arms" by Dire Straits thanks to some snazzy synth work and a few bluesy guitar licks.

Sabaton throws in some Celtic inspired composition with "Aces In Exile", a very upbeat number with quite a bit of arrangement variety, about pilots of the Battle of Britain.

"Saboteurs" starts off with a very different guitar lick that is very reminiscent of the recent work of Muse. Excellent diversion for the band and a great telling of the Norwegian sabotage of Vermork.

"Wehrmacht" has a strangely evil and downtrodden feel to it which fits perfectly considering the song's description of the terrible effects Nazism had on the common German.

Notorious sniper Simo Häyhä is immortalized in "White Death", which features classic British new wave metal stylings with a Sabaton twist. You could almost believe this is a cover of an Iron Maiden song.

The album comes to a familiar end with an homage to the genre. "Metal Ripper", in classic Sabaton style, is a grand thank you to great metal acts of the past.

All in all, "Coat of Arms" serves up one delight after another. With bluesy rock, Celtic bounce, alt-rock licks, 80's new wave, and pure metal fanfare, "Coat of Arms" delivers a variety and depth greater than anything Sabaton has brought before. I find it to be their best album yet. Count on these Swedes to be melting faces and banging heads with their tunage!

[/rant]

Tuesday, May 4, 2010

[rant title="We don't call them motion picture games for a reason."]

Whoever first said "video games should be more like movies" should be shot. Twice. Right between the eyes.

First of all, NO. There was a time when I agreed with this statement. When I was young and stupid. There are some valid points to the statement of "video games should be like movies". Video games should try to reach a certain level or visual and auditory artistic quality like movies. Video games should try to diversify their subject matter beyond shooting aliens and stealing cars. Video games should have interesting characters and well thought out stories. BUT, I refuse to use the statement "video games should be like movies" because it seems too many people take this quite literally as "video games should not allow the player any real control over what is happening".

Let's take three of gaming's recent "blockbusters": Heavy Rain, Assassin's Creed and Uncharted. These games are heralded as excellent games, with great storytelling and movie quality artistry. But what makes them games? Heavy Rain, Assassin's Creed and Uncharted fall into what I call the Laziness Gap. In the LG sit games that present all the flair and bombast of AAA titles with shovelware gameplay that enables any schmuck to experience a powerful and adventurous story. This sounds like an excellent concept, a perfect way to expand gaming's audience while still providing the high quality work that is expected. But there is a fundamental flaw with this plan. The actual "game" aspect is being diminished.

I wanted to like Heavy Rain so bad. I have always enjoyed Quantic Dream's unconventional game ideas, but their execution in actual game play was always fairly weak. I kept reading about Heavy Rain's revolutionary control scheme that supposedly worked great, and for the most part it does. It is a huge improvement over their previous titles which used color matching games and other crappy, almost childish devices to control the action. But the one thing that games have always allowed us is creativity and entertainment. This is where Heavy Rain falls dangerously short.

The beginning of the game is horrendously slow. You control the main character as he gets out of bed, dons clothes, and prepares for the day with his wife and children. I understand what they're trying to convey, but this is where the "video games as movies" bit really intrudes into the wrong territory. In a movie, yes these scenes do a lot to establish character, tone, and setting. But in a video game, they're just boring, and stupid. As a cutscene (in essence a movie within a video game) it would have been perfect, but to actually play through all of this is just lame. Of course I may have felt differently about the whole situation if I had been given freedom to explore the house, and tend to different tasks at my own pace, but again the game gives no chance for that. Unlike a game like Fallout 3 or Dragon Age: Origins, Heavy Rain has almost nothing to explore beyond the few pre-set events in the game. I was so caged-in by the whole experience.

At one point the character's wife asks him to get some plates out of the cabinet. Just to see her reaction, I decided to ignore her and watch some TV. But there was no cue to turn on the TV when I walked near it. OK so TV's are actually a lot of work for game developers to make so maybe I shouldn't be so selfish. So I decided to try and grab a magazine off the table, no such luck. There was a desk in the corner with things stacked on it, maybe I could learn a little bit more about this guy and his family and read some of the stuff. Nope. Everywhere I went there were only two choices, get the damn dishes or play with the kids. In a game that's trying to present a realistic and cinematic tone, it seems pretty backwards to only allow the player to engage in one of two incredibly stupid activities. In the bedroom a few minutes earlier, I had the option to take a shower, pick out clothes, even brush my teeth, but in the living room I only had two choices. The game delivers freedom but only when it wants you to have that freedom, so it's not really freedom at all. For all the hype and praise surrounding Heavy Rain for it's great story telling and "every action has a consequence" gimmick, it's pulling the same stunts that RPG's did back on the SNES.

Now Uncharted violates this same principle, but in a another way. Uncharted automatically assumes that you, the player, are retarded, that you can make no sound decision on your own. Whereas Heavy Rain gives the players very narrow choices, Uncharted gives none whatsoever. The opening to Uncharted 2 is straight out of an Indiana Jones reboot. Nathan Drake dangles from a wrecked train hanging tediously off of a frozen cliff. At this point you take control of Nathan and must climb back to safety through the train cars. So I decided that the door above me looked like a good place to start. If I could grab the door handle and somehow climb or swing inside of the first car, the next move would be easy. With a single button devoted to all actions, I pressed it, and nothing happened. OK, so I can't get to the door. I guess I can climb along the railing until I can reach a window. Nope. A few shimmies towards the edge of the car and Nathan stops. Then I realize the game wants me to pull myself onto the railing and then stand on it, and then Nathan automatically dives for one of the seats in the car. So now I'm inside the first car, there are rows and rows of seats, I try to jump to another seat. Nathan doesn't budge. I try another. No luck. This continues for a while all the way up the train.

The problem here is that all my choices are made for me. There was no interactivity to the entire scene other than shimmying Nathan a little left or right and hitting a button. I wasn't even a clever puzzle or something, just dumb trial and error. It's like a point and click adventure, with full 3-D models and live orchestral soundtrack. The scene was supposed invoke fear and urgency, but I felt neither, since I knew the game would always lead down a safe path. Is this what people expect games to be? Stupid hoops to jump through so that we can see another train blow up or another enemy die? It's boring, it instills no emotion and degrades the medium.

Assassin's Creed has plenty of freedom and that in itself is a huge plus to the game. Unlike my other examples, AC allows you to go wherever, do whatever, and kill whoever. Awesome. Just one small problem. I don't feel like I'm actually in that moment. AC has the actions for the character mapped out among the four face buttons and two triggers. Each button is responsible for a different part of the character's body movement. This sounds great, since you have complete control of the character at all times, but that is rarely the case. When free-running around the city, the only button you need to use is the Feet button. And there's not even any timing involved, just hold it down, and any obstacle you come in contact with, the character will automatically leap over, or climb onto, or whatever. When passing through crowds of people, you can hold down the Empty Hand button to kindly move people out of your way, or when running, to violently push them out of the way.

There is no skill involved with these buttons, so what is the point of having them at all? If the game is just going to execute these animations automatically with the button held down, then why wouldn't someone use that button? I'm sure there are examples of when you wouldn't use the button, but they are far and few between. Some say the simplified controls allow the player to focus less on gameplay mechanics and more on game strategy, but honestly it's just cheapening the experience. If it's so easy to run away, then why is there any strategy needed?

Maybe we need to come to an understanding here, developers. Not all of us like our games to be stupid. If you feel a section or mechanic of a game is going to be too hard or too difficult for some average schmuck to handle, then make some kind of easy mode for them. A prime example is the original Devil May Cry, which actually simplified the control scheme for players who found the aiming and firing of the guns too difficult. I am sick of games using dumbed down level designs, one-way bullshit corridors for an entire game, and cheesy one-button control schemes that make game boring or too easy for those of us who actually know how to play them. Stop catering to the retarded all the time. Tons of great games feature easy modes that allow inexperienced players a chance to get in on the action without killing the difficulty curve for the rest of us.

Overall, "video games should be like movies" doesn't stand up in practice. Too often we get games that are little more than interactive DVDs. Games should never be like films, because games are supposed to exhibit a degree of freedom and control that movie can never do. Stop stifling the medium with stupid ideals of other media. Let's make our own ideals of what video games should be.

[/rant]

[rant title="This Is The New $#@!"]

Yeah, so as if having a news page on the front of the website wasn't enough, I now have this blog too. This will be my BS blog, where I can bitch, fawn, and completely give my opinion to the .2% of people who actually care and 98.5% who don't (I figure about 1.3% are undecided).

Speaking of new shit, the movies lately seem to have none. Not that I'm complaining, but what the hell is with all the comic book movies? In the past decade we've seen 2 Batmans, 2 Hulks, 3 Spider-Mans, Sin City, 300, Watchmen, 3 X-Mens (4 if you count Wolverine as an X-Men movie), 2 Hellboys, Hellblazer (though renamed Constantine), 2 Iron Mans, Ghost Rider...and those are just off the top of my head! Now there are theories all over about the how and why. "Hollywood just needs something safe to showcase their new-fangled CGI and 3-D effects on!" "Comic books are finally returning into mainstream media and being artistically recognized!" "Everyone has no creativity and art is dead!"

You know what? I don't really give a shit why. I like most of them because for the most part, they don't suck as bad as most movies intended for the same 13-30 year-old male demographic. But it is troubling to see so much praise and money dumped into something we already know is awesome. I was really excited this year during the Academy Awards, because some really awesome movies got some really good attention (except Avatar, don't get me started on that piece of shit). There was one movie that was just at the wrong place at the wrong time.

District 9.

District 9 was easily the best movie of 2009. You want interesting and unique story? Check. Killer and tasteful CGI use and special effects? Done. Intelligent and ferocious action sequences? Oh hell yeah. Unique overall presentation and quality. Yes yes yes. D-9 was nominated for 4 Oscars and despite winning none of them, I am happy. Neill Blomkamp's debut is a stunning one, and the exposure just from making 4 Oscar lists (including Best Picture!) will certainly ensure that he brings us another great work. It was just the wrong place at the wrong time.

District 9 was nominated for Best Picture, Best Cinematography, Best Visual Effects, and Best Adapted Screenplay. Right away I knew Best Adapted Screenplay was lost to Precious and even though I have not seen it, I'm sure it would have won even if it sucked (people are suckers for underdog stories). Best Visual Effects, also an obvious loss to Avatar. Anytime James Cameron makes a movie, you can be sure the Academy is tonguing his asshole for that award. Ever since the Terminator movies he just tries to outdo himself in CGI and special effects. I think D-9 had very tasteful use of CGI, exhibiting a certain restraint that we rarely see in films today, especially sci-fi. But they certainly didn't compare to Cameron's epic dull-fest Avatar. I was optimistic about Best Cinematography. D-9 used Neill Blomkamp's now-signature camera technique of switching the action between many different camera types to give the film a more documentary feel. I enjoyed it, it felt fresh and interesting without giving me vertigo like Cloverfield or looking amateur-ish like Blair Witch. But alas it was not meant to be. Lastly, Best Picture, I had my hopes locked away in a fridge (right next to my heart). But as soon as I saw The Hurt Locker on the list I knew it was over. The Academy would take the über predictable route and vote for the Iraq War movie. And I was right.

So overall, a bit disappointing, but I still believe Neill Blomkamp got some great exposure from it, I hope to see something new from him soon.

[/rant]