Points of Required Attention™
Friendly reminder: Please don't respond to spammers! Their posts inevitably get memory-holed when staff get around to, leaving behind an inexplicable tableau of you shouting at nothing and (if they otherwise would have been alone in a thread) dangling posts and wrong postcounts.
Views: 46,068,643
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 11-20-17 04:04 PM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests | 1 bot

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: 27

Posts: 7/139
EXP: 102675
Next: 13484

Since: 02-21-07

Last post: 3738 days
Last view: 3646 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: 40

Posts: 95/351
EXP: 412079
Next: 29230

Since: 02-19-07
From: Massachusetts

Last post: 3616 days
Last view: 3053 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: 17

Posts: 2/53
EXP: 24172
Next: 571

Since: 02-22-07

Last post: 3723 days
Last view: 2295 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: 40

Posts: 98/351
EXP: 412079
Next: 29230

Since: 02-19-07
From: Massachusetts

Last post: 3616 days
Last view: 3053 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: 27

Posts: 12/139
EXP: 102675
Next: 13484

Since: 02-21-07

Last post: 3738 days
Last view: 3646 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: 40

Posts: 105/351
EXP: 412079
Next: 29230

Since: 02-19-07
From: Massachusetts

Last post: 3616 days
Last view: 3053 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: 116

Posts: 55/4176
EXP: 16912167
Next: 411926

Since: 02-19-07
From: Ithaca, NY, US

Last post: 75 days
Last view: 43 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: 27

Posts: 26/139
EXP: 102675
Next: 13484

Since: 02-21-07

Last post: 3738 days
Last view: 3646 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: 40

Posts: 135/351
EXP: 412079
Next: 29230

Since: 02-19-07
From: Massachusetts

Last post: 3616 days
Last view: 3053 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+3δ (2016-01-08)
© 2005-2016 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.085 seconds. (340KB of memory used)
MySQL - queries: 71, rows: 101/0, time: 0.057 seconds.