Author Topic: Playing around with some SPC code in ROMs is fun!  (Read 34669 times)

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #90 on: December 06, 2007, 07:29:35 pm »
I accidentally put in the wrong SPC instead of my old Girl Who Stole the Stars import. Oh well...
I gathered up all the FF6 imports of mine I could find, including some from when I just pasted songs right over the existing SPCs without even changing the instruments, before the Compendium's era of SPC importing began.

Here's my interpretation of Kids run through the city corner.  What do you think?

http://www.youtube.com/watch?v=m-bNtj1tfxo

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #91 on: December 07, 2007, 03:00:44 am »
D: I really want the Prelude to be in my CT hack, I can use it for my file select, since i'm not using singing moutain.... maybe you can make a patch for me JCT? *puppy dog eye look*

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #92 on: December 07, 2007, 05:02:09 am »
D: I really want the Prelude to be in my CT hack, I can use it for my file select, since i'm not using singing moutain.... maybe you can make a patch for me JCT? *puppy dog eye look*

No, problem.  I'll do it tomorrow.

================================

After two different attempts a year apart I still can't get this damn thing to work correctly.  I do not feel like rewriting/recomposing the sequence.  The problem lies at the end of the first channel.  If you still want the patch to fix it yourself I'll make it. 

Here's the problem, The sound engineer recoded the samples at too high of a frequency rate for all of CT's samples, which renders the very high octave range rubbish (starts from the bottom range when too high)...as you hear in these spcs.  If it wasn't for this fact the Prelude would sound awsome in CT. 

[attachment deleted by admin]
« Last Edit: December 07, 2007, 04:04:52 pm by JCE3000GT »

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #93 on: December 07, 2007, 08:07:54 pm »
D: I really want the Prelude to be in my CT hack, I can use it for my file select, since i'm not using singing moutain.... maybe you can make a patch for me JCT? *puppy dog eye look*

No, problem.  I'll do it tomorrow.



================================

After two different attempts a year apart I still can't get this damn thing to work correctly.  I do not feel like rewriting/recomposing the sequence.  The problem lies at the end of the first channel.  If you still want the patch to fix it yourself I'll make it. 

Here's the problem, The sound engineer recoded the samples at too high of a frequency rate for all of CT's samples, which renders the very high octave range rubbish (starts from the bottom range when too high)...as you hear in these spcs.  If it wasn't for this fact the Prelude would sound awsome in CT. 

Maybe i can get Vehek to do it, he seems to have it playing right.

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1763
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #94 on: December 07, 2007, 08:11:16 pm »
I think I chose a different instrument to substitute for a harp. I guess it just happens to be closer to the pitch of FF6's harp.
But I don't really know. I'm not good at distinguishing pitches like that.
« Last Edit: December 07, 2007, 08:14:54 pm by Vehek »

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #95 on: December 07, 2007, 08:55:39 pm »
Think you can replace Singing mountain with it? :)

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #96 on: December 07, 2007, 09:03:54 pm »
I think I chose a different instrument to substitute for a harp. I guess it just happens to be closer to the pitch of FF6's harp.
But I don't really know. I'm not good at distinguishing pitches like that.

I tried four different instruments, with none of them solving the problem without lowering the octave by 1 and thus making it sound like crap.  I'm curious as to what insrument you chose?

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #97 on: December 08, 2007, 04:54:34 pm »
Here's a List of instruments that will work with the Prelude

Bongo
Tabla
Bodhran
Trombone
Church Organ
Electric Bass
Bass
Millennial Fair Strings <--- your best bet!
Accordion
Electric Guitar
Shaker
Music Box
Closed Hi-hat
Bell
Deep Bass
Organ

Church Organ, Organ, Electric Bass, Bass Deep bass are good, While I find the Millennial Fair Strings to be the best bet.

While I got the do do do do do do part sounding right, the rest of the song isn't playing right.
« Last Edit: December 08, 2007, 04:56:59 pm by Shinrin »

Shinrin

  • Chrono Trigger Threads of Time
  • Squaretable Knight (+400)
  • *
  • Posts: 487
  • Chrono Trigger Fan # 100
    • View Profile
    • Shinrin Cole
Re: Playing around with some SPC code in ROMs is fun!
« Reply #98 on: December 09, 2007, 12:25:27 am »
Finally! I got the SPC to work right, and sound nice too. Here it is Shinrin's rendition of the FF6 Prelude.

[attachment deleted by admin]

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #99 on: December 20, 2007, 03:25:46 am »
Romancing SaGa 2 is providing to be a bitch to import to the newer SPC cores in either FF6 or CT.  I'm a firm believer that RS2 is the begining of this particular SPC core that was used for several other Squaresoft games. 

Romancing SaGa 2 -> Final Fantasy 6 -> Chrono Trigger -> Romancing SaGa 3 -> Dynami Tracer -> Radical Dreamers -> Treasure Conflix

And that it only uses a basic command set.  However, it is a mystery to me as to why the songs are so quiet when I import them into other games.  My only guess is that the BRR samples are actually recorded louder than normal.

The channel loop info is rather odd as well...as you can see by the attached SPC--and once more is that I didn't touch the tempo.  The RS2 version just seems to be set faster.  Setting all the tempo modifyers in the imported song to where they need to be slightly messes up the sequence and I don't know why.  And I don't have the patience to rewrite that and the loop info. 

I'm including the original RS2 version for referrence.



[attachment deleted by admin]

Vehek

  • Errare Explorer (+1500)
  • *
  • Posts: 1763
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #100 on: December 21, 2007, 09:36:30 pm »
Does this sound any closer? I think F7 is RS2's SPC Goto command.

[attachment deleted by admin]

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #101 on: December 21, 2007, 09:58:11 pm »
Nice work, the loop was fixed.  However, the first channel is off because there is an unrecognized command. 

A breakdown of the default RS2 Battle SPC sequence (the begining of it)

Quote
9E09 - length
8157FB60815755584059145A445BE85C475D635F - channel offset data
815755584059145A445BE85C475D635F - channel offset data
F092 - tempo
C680 - pan
C91810 - vibrato
C9F26E - vibrato (a second time?)
F45700D4 - no clue, F457 might be seperate from 00D4
========= channel 1 starts =========
B6 - rest
B6 - rest
B6 - rest
B6 - rest
DC20 - use sample 1 from the sample index list
C47D - instrument/channel volume
D607 - instrument/channel octave

The part is bold is what's causing the first channel to be off when importing this sequence from RS2 into another game.  You CAN simply replace the bold bytes with some misc data (like the echo command) to get the song to play correctly--BUT--when looped it screws everything up.  I've tried to figure out what this command does in RS2 so I can simply use the correct RS3/CT/FF6 version of it so the song will play flawlessly like I have with my other imports.  I've not have any luck.  Here's the same song in RS3...which I gave up on.  Its incomplete.

========================================

Offtopic, I would like to officially request that an Admin add .spc to the list of acceptable attachments to upload.

[attachment deleted by admin]
« Last Edit: December 21, 2007, 10:00:02 pm by JCE3000GT »

justin3009

  • Fan Project Leader
  • God of War (+3000)
  • *
  • Posts: 3297
    • View Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #102 on: December 21, 2007, 11:20:32 pm »
Aww..Damn shame too.  That song sounded amazing in CT wise ><

ZeaLitY

  • Entity
  • End of Timer (+10000)
  • *
  • Posts: 10797
  • Spring Breeze Dancin'
    • View Profile
    • My Compendium Staff Profile
Re: Playing around with some SPC code in ROMs is fun!
« Reply #103 on: December 22, 2007, 12:14:38 am »
Whoa, I had no idea. SPC attaching is now enabled.

JCE3000GT

  • Guardian (+100)
  • *
  • Posts: 114
    • View Profile
    • BlitzKrieg Innovations
Re: Playing around with some SPC code in ROMs is fun!
« Reply #104 on: December 22, 2007, 12:45:13 am »
Whoa, I had no idea. SPC attaching is now enabled.

Awsome, now because of that I bring you this little nugget.

[attachment deleted by admin]