Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
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
Posted on 02-23-07 12:25 AM Link | Quote | ID: 4928


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
Posted on 02-23-07 01:50 AM Link | Quote | ID: 5077


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
Posted on 02-23-07 02:05 AM Link | Quote | ID: 5100


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
Posted on 02-23-07 02:05 AM Link | Quote | ID: 5102


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
Posted on 02-23-07 05:55 AM Link | Quote | ID: 5394


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
Posted on 02-23-07 06:27 AM Link | Quote | ID: 5418


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
Posted on 02-23-07 02:57 PM Link | Quote | ID: 5752


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: Keep in mind F9 has to be executed right after an (audible) note was played, or you will hear none of it either.
Also, while I didn't try it out myself (yet), looking at its usage would suggest that the command itself "allocates" no actual time in the N-SPC and the timespace after it - i.e. the one it is supposed to affect - is instead being filled up with the "hold key" (C8) note.
Ex.:
40 AA // length 40 key AA
F9 78 78 BB // slide to BB; first parameters are not widely known to me and copied out of the track I was looking at 1:1
40 C8 // length 40 hold key
The total audible sound in that case would have the length 80.

I need to implement some sorts of a nicer display for that command in SST. xD

____________________



Kejardon
Posted on 03-03-07 10:43 AM Link | Quote | ID: 9893


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
Posted on 03-03-07 11:21 PM Link | Quote | ID: 10152


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

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.020 seconds. (339KB of memory used)
MySQL - queries: 72, rows: 100/101, time: 0.014 seconds.