Search found 476 matches

by bazz
Thu Jul 18, 2013 3:27 am
Forum: SNESdev
Topic: Question on FullSNES BRR Sample Creation Recommendations
Replies: 18
Views: 4338

Re: Question on FullSNES BRR Sample Creation Recommendations

But would the best approach be to simply downgrade the step to -7? Surely that's better than tossing the value the completely, I mean you need to use something right? Lots of questions entailing... Such as what to do if the higher value is a good match for the sample's original value, but not in acc...
by bazz
Thu Jul 18, 2013 3:17 am
Forum: SNESdev
Topic: Question on FullSNES BRR Sample Creation Recommendations
Replies: 18
Views: 4338

Re: Question on FullSNES BRR Sample Creation Recommendations

for reference: the SAR instruction sets or clears the most significant bit to correspond to the sign (most signif-icant bit) of the original value in the destination operand. In effect, the SAR instruction fills the empty bit position's shifted value with the sign of the unshifted value (see Figure ...
by bazz
Thu Jul 18, 2013 3:10 am
Forum: SNESdev
Topic: Question on FullSNES BRR Sample Creation Recommendations
Replies: 18
Views: 4338

Re: Question on FullSNES BRR Sample Creation Recommendations

For negative values the max would be (-8 SHL 12) SAR 1 = 0xC000 = -0x4000 (16-bit), which when clipped to 15-bit should still be -0x4000. This would not be safe to use according to the fullsnes document, since it falls below -0x3FFA. Does that mean, that even for filter 0, that a -8 nibble in a ran...
by bazz
Thu Jul 18, 2013 1:45 am
Forum: SNESdev
Topic: Question on FullSNES BRR Sample Creation Recommendations
Replies: 18
Views: 4338

Re: Question on FullSNES BRR Sample Creation Recommendations

ugh, I thought the data was converted from BRR to 16-bit data. now it's 15?? WTF. Even the official manual says 16-bits, but we all know it's probably crap. I'm so confused. My experience thus far is from converting a 16-bit PCM samples to BRR format successfully with no filter, (filter 0). That wor...
by bazz
Wed Jul 17, 2013 11:31 pm
Forum: SNESdev
Topic: Question on FullSNES BRR Sample Creation Recommendations
Replies: 18
Views: 4338

Question on FullSNES BRR Sample Creation Recommendations

http://nocash.emubase.de/fullsnes.htm#snesapudspbrrsamples Look on the note about creating BRR Samples: When creating BRR data, take care that "new" does never exceed -3FFAh..+3FF8h, otherwise a number of hardware glitches will occur: Um Ok, thanks FullSnes!! However... If new>+7FFFh then ...
by bazz
Wed Jul 17, 2013 11:23 pm
Forum: SNESdev
Topic: SPC700 Timer Register Write Question
Replies: 2
Views: 1200

Re: SPC700 Timer Register Write Question

thanks for the link :) It was some Official Nintendo Dev Manual I picked from RomHacking.net years ago, the nice pdf one (not the shitty looking one or whatever odd picture format that was). This one is pdf with TOC. Anyway, I think it's fine. Let me test it. Well that's the roughest test, but yep i...
by bazz
Wed Jul 17, 2013 10:07 pm
Forum: SNESdev
Topic: SPC700 Timer Register Write Question
Replies: 2
Views: 1200

SPC700 Timer Register Write Question

Hi, I'm reading up on SPC700 Timers, and well there's one part in the Dev Manual that confuses me. It says in section 5.2 the minimum write value is 00H and the max is 01H. How the ****? Now I'm pretty sure that you can write any value from 00-$FF into that register. Can anyone explain why the dev m...
by bazz
Wed Jul 17, 2013 7:30 pm
Forum: SNESdev
Topic: Trying to Understand BRR
Replies: 8
Views: 2321

Re: Trying to Understand BRR

Well. It turns out that even my first attempt which brought me here actually 'works' the only issue was that I was using a ungetc() function it sucks balls to say the least. so I got rid of that :'( But if it wasn't for this, I wouldn't have learned about sum of deviation. I dunno what that is, I ma...
by bazz
Wed Jul 17, 2013 4:14 am
Forum: SNESdev
Topic: Trying to Understand BRR
Replies: 8
Views: 2321

Re: Trying to Understand BRR

I think I'm going to try encoding at different ranges, and decode, get absolute deviation for all points, get an average deviation. After doing this for all levels, compare for smallest average deviation and select that range, use it's precalculated values for the BRR packet.
by bazz
Tue Jul 16, 2013 11:56 pm
Forum: General Stuff
Topic: What do you guys do for work?
Replies: 70
Views: 25456

What do you guys do for work?

Just wondering
by bazz
Tue Jul 16, 2013 11:55 pm
Forum: SNESdev
Topic: Trying to Understand BRR
Replies: 8
Views: 2321

Re: Trying to Understand BRR

I would really love to find a thorough explanation behind the picking and choosing of range and step values. When you look at my code you might understand my logic in how I chose. (Apparently I have no knowledge in this area DSP, but I did look at some pages of the signature DSP articles that Tepple...
by bazz
Tue Jul 16, 2013 11:45 pm
Forum: SNESdev
Topic: Trying to Understand BRR
Replies: 8
Views: 2321

Trying to Understand BRR

Hi guys, in order to thoroughly understand BRR, I am coding my own BRR encoder. I am starting simple, by just using a filter of 0 for all packets. I started with this Veldt article: http://emureview.ztnet.com/developerscorner/SoundCPU/spc.htm If you scroll down to the section "SPC-700 SAMPLES&q...
by bazz
Tue Jul 16, 2013 1:47 am
Forum: Web Issues
Topic: NesDev was down a day or 2 Ago..
Replies: 1
Views: 9551

NesDev was down a day or 2 Ago..

What happened?

I really like this board, and its absence, != :beer:
by bazz
Tue Jul 16, 2013 1:45 am
Forum: SNESdev
Topic: SNES Tracker
Replies: 7
Views: 3285

SNES Tracker

I am planning on making a video game for SNES, and one of the things it needs is Music. I once started getting intimate with SPC700 around the time eKid (Mukunda) was doing a lot of work with it, and we were friends at some point. He managed to help me get started. It has been years since, and I'm b...
by bazz
Wed Jul 10, 2013 8:02 pm
Forum: SNESdev
Topic: SNES->Cart Voltage Observation
Replies: 24
Views: 6030

Re: SNES->Cart Voltage Observation

It means that you need to supply the chip with 3.3v power, and it will output 3v signals. But it's safe to apply 5v signals to it's inputs. Most 3v chips aren't safe to apply 5v signals to the inputs, but since this one is, you're good. The only other concern is will your 5v chips you're interfacin...