Phantasy Star Online 2's Dynamic Music System "SYMPATHY"

At CEDEC 2012, Sega Research And Development Team (including PSO2 sound director Hideaki Kobayashi) discussed the concepts behind how PSO2's music is procedurally generated.

This process is done through an in-house program they call "SYMPATHY." It allows them to dynamically change the music back and forth depending on the situation.

Now this kind of article discusses the concepts behind the music which can make it somewhat hard to understand. So if you are not a music major, you'll have to brush up on certain music terms.

Basically, each sound file is known as a "clip." A clip is approximately the length of 1 bar of music. When you place many of these clips together, they become a "phrase". When you connect these phrases together they become a musical movement (Here we go!). We can refer to these movements as sections of a song. When you connect these movements together they become "Parts".

(Though they didn't specify, a "part" could be the entire song itself, possibly the entire non-battle portion makes up one part of the song, and the entire battle portion makes up another part of the song. Parts however do not play the same way when looped as will be explained further on. )

In the slide above, if you check out the right side of the pic, each large box is a subsection of the box below. So several clips make up a phrase, a line of phrases make up a movement, a line of movements make up a "part."

 

Clips are the length of 1 bar of music plus reverberation. Basically each clip will fade into the other clip. PSO2 can have several thousands of these clips and the Sympathy system can arrange it all.

There are various clips that contain different components of the song. A clip can consist of the "rhythm section", the "melody" and "sound effects" etc.

 

Phantasy Star also has transition music where the song switches from one mode to another. If you follow the red arrow, the non-battle music heads from one phrase to the transition music then exiting out to the battle music.

PSO2's music system has even evolved from its previous counterparts. For example, in PSO1, after the battle portion of the music ends, and you immediately encounter a different enemy, the non-battle music would play for a while.

In PSO2, there's another musical piece known as the "Sudden Battle Music" that can be inserted mid-way.

To illustrate this, at the top of the slide the battle music is playing, after the battle is over, it starts to play the transition music when suddenly, another enemy appears. It will then quickly play the "Sudden battle Music" to transition into the battle music.

There's three main points to SYMPATHY's music system. For one, its intent is to prevent the player from losing interest. Since they will play similar quests multiple times, they may lose interest when the same BGM is played over and over. The SYMPATHY music system allows them to play a different BGM every time. We can illustrate this in the next slide.

They can:

  • Shuffle the different sections of music,
  • Skip different sections of the music.
  • Skip different phrases of the music.

They can even choose clips at random, and also prevent the same clips in succession from being chosen when a part of the song is looped. (It could play one set of clips, then loop, play another set of clips, etc..)

 

This slide shows an example of Sega's Symphony Music Editor.  The boxes are clips, the red boxes are clips currently chosen to be played. When a part of the song is looped, the clips get shuffled.  The red frame is the sound effects,  the yellow and green frames are rhythm portions.

The second point of Sympathy is for the player to experience the climax of the BGM. (But not in that way you're probably thinking… ) Basically the BGM changes depending on the situation. This is calculated through three parameters, "Hero," "Pinch," and "Climax."

 

According to this slide, a number of things can affect these parameters. For example, the  Hero score is affected by things like PSE BURST, the number of people in your party and other parties, the mid boss enemy strength, and boost enemy strength.

The enemy strength, character's HP, and party member HP influences the Pinch score.

The number of nearby enemies, how long until you reach the goal, and emergency trials factors into the Climax score.

This lovely debug window shows the three scores which are updated in real-time to affect the BGM.

When you surpass a particular level in each parameter, that parameter's music gains priority. For example, when your hero levels are high enough, you'll hear clips that only play during that mode. Same goes for Pinch, you'll hear music specifically for that situation.

Another way to illustrate it, normally you'll hear the rhythm and melody clips playing, when you acquire hero mode, the melody track is dropped and instead plays the hero clips. If you are in pinch mode, all tracks are dropped and only the pinch clip plays.

 

The Boss music is dynamic too. For example, you'll hear the normal boss music when you encounter the boss, but if you happen to take down one of its legs, another set of clips will play.

The third concept was a little bit hard to understand but the gist was that even though the music is played at random, everything should sound like one musical composition. Meaning each section should still sound like it's from the same song, and these sections should connect and reference each other.

Even in pop music, as the song moves forward, the previous theme is referenced. Sympathy does this automatically.  The phrase used at the beginning of a section is referenced in the next section.

As we go from battle to non battle music, in essence it should sound like one musical composition as the music changes. While this change is occurring, it references the first phrase in the battle music and the last phrase in the non-battle music.

[info and pics via 4gamer]

Odds and Ends

  • Sakai will update twice this week.
  • Since they asked nicely, you can hear me in episode 8 of the EXP FULL podcast. Check it out!
  • September: Three New Classes and Five New Weapon Categories
  • Planned for October: Level Cap 50 and _ _ B  _ LASS. Yes they're coming, just have to wait a bit longer.
  • Sending out a nice round of thank you emails this week! Heading back to school next month! :S

Leave a Reply

Your email address will not be published. Required fields are marked *