| |||
Views: 88,490,811 |
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search | 04-27-24 03:09 AM |
|
Guest: Register | Login |
0 users currently in ROM Hacking | 3 guests |
Main - ROM Hacking - Stumped by N-SPC command | New thread | New reply |
Kejardon |
| ||
Red Koopa Level: 28 Posts: 7/139 EXP: 129814 Next: 1524 Since: 02-21-07 Last post: 6088 days Last view: 5996 days |
F9 looks very suspiciously like it slides a note from it's current note to its third argument. The second argument looks like it tells how many tics to take to slide to the new note.
However, I am stumped on how you're supposed to use it. I tried putting a note before it and then F9, and it didn't do anything. I tried putting a C9 (wait) after it because it doesn't seem to take any time by itself. Still no audible effect from F9. So does anyone (*cough*blackhole89*cough*) know how to use this command? |
Keitaro |
| ||
Mole Level: 42 Posts: 95/351 EXP: 520967 Next: 395 Since: 02-19-07 From: Massachusetts Last post: 5966 days Last view: 5402 days |
F9 is a pitch slide, it takes 3 arguments: the amount to transpose by (or was it the note to transpose to? I never used this much myself), the speed (works similar to the argument of the same nature in command E3, vibrato), and the note being transposed from.
So basically, its a 3 byte argument. F9 tt ss nn hope that helps ;x (again, I rarely if ever use that command so I only know the jist of it, that sould help you play with it more though) |
Someguy |
| ||
Red Paragoomba Level: 19 Posts: 2/53 EXP: 30562 Next: 5215 Since: 02-22-07 Last post: 6072 days Last view: 4644 days |
If it doesn't help or you get stuck again, wouldn't looking at a SPC player's source code be useful perhaps? |
Keitaro |
| ||
Mole Level: 42 Posts: 98/351 EXP: 520967 Next: 395 Since: 02-19-07 From: Massachusetts Last post: 5966 days Last view: 5402 days |
Sorry for the double post, I was just playing with the command and I realized how horrible my own notes are yeah, the second argument seems to be the amount of tics it lasts for, the third argument is the note to slide to, and the FIRST argument works similar to the first argument of command 0xE3.
Wow. Yeah, there you go |
Kejardon |
| ||
Red Koopa Level: 28 Posts: 12/139 EXP: 129814 Next: 1524 Since: 02-21-07 Last post: 6088 days Last view: 5996 days |
I *am* looking at the N-SPC code, and I've got quite the headache to prove it.
Playing around with F9 and E3, I still can't get them to make any audible effect. Meh. I'll look at the main loop for sound effect code tomorrow and see if it makes sense now that I have a ton more variables recorded. I'll bug you again if I haven't worked it out then. Right now I need to get my homework due tomorrow done. |
Keitaro |
| ||
Mole Level: 42 Posts: 105/351 EXP: 520967 Next: 395 Since: 02-19-07 From: Massachusetts Last post: 5966 days Last view: 5402 days |
Yeah. Look feel free to hit me up on AIM too if you need help, asside from blackhole I might be one of the only people who really knows what they're talking about when it comes to N-SPC |
blackhole89 |
| ||
The Guardian Moloch whose eyes are a thousand blind windows! Level: 124 Posts: 55/4196 EXP: 21534103 Next: 302498 Since: 02-19-07 From: Ithaca, NY, US Last post: 472 days Last view: 84 days |
|
Kejardon |
| ||
Red Koopa Level: 28 Posts: 26/139 EXP: 129814 Next: 1524 Since: 02-21-07 Last post: 6088 days Last view: 5996 days |
Hahahaha... I just found my problem.
There's a difference between C8 an C9. On a side note, I have to complain about how C8 is handled by the SPC core. |
Keitaro |
| ||
Mole Level: 42 Posts: 135/351 EXP: 520967 Next: 395 Since: 02-19-07 From: Massachusetts Last post: 5966 days Last view: 5402 days |
Er....well yeah there's a difference ;x C9 is for a rest, C8 extends the note bye a certain value (I guess good for "dotted" notes or combining note lengths) |
Main - ROM Hacking - Stumped by N-SPC command | New thread | New reply |
© 2005-2023 Acmlm, blackhole89, Xkeeper et al. |
MySQL - queries: 72, rows: 100/101, time: 0.014 seconds. |