Login:
Menu:
Post: Author:
FamiTracker > General > Bug Reports & Feature Requests > Raw PCM...? Owner: FamiPunk221 New post
Page 2 of 2 Sort: Goto Page: << Previous [1] [2]
Posted: 2013-05-22 09:54 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 6393 days
Location: Canada
Status: Offline

#47874
FamiPunk221 wrote:
I think so.
SuperNSF Testout sounds like 33143.9 Hz so it must be.

You sound like you know what you're talking about so you must know what you're talking about.

Wait...

_______________________
Follow me on Twitter.
I record (some) NSFs on hardware. Feel free to request a hardware render.
Posted: 2013-05-22 13:19  (Last Edited: 2013-05-22 13:20) Reply | Quote
cak

Avatar

Member for: 5724 days
Location: oregon
Status: Offline

#47875
This is what I got out of supernsf documentation (correct if I'm wrong):

"Cycles For Update (CFU): 40
Cycles For Mixing (CFM): 39,72,99,126 (1-4 PCM channels)"

39375000 / 22 = cpu
cpu / total cycles = pcm sampling rate

_______________________
Famicom tunes
Posted: 2013-05-22 17:14  (Last Edited: 2013-05-22 22:25) Reply | Quote
rainwarrior

Avatar

Member for: 5561 days
Location: Canada
Status: Offline

#47883
Yes, the CPU runs at ~1.789MHz. (I think it's dividing a ~39MHz oscillator by 11- where did you read 22?)

I don't know what the SuperNSF documentation says, as I never used it. I measured Doggtales in a debugger, and it ran at ~112 cycles per write to $4011. I hadn't considered that it might be configurable. Here's two more measurements:

Heim This: ~167 = ~10kHz
Bananasp: ~167 = ~10kHz

Posted: 2013-05-22 22:02  (Last Edited: 2013-05-22 22:59) Reply | Quote
cak

Avatar

Member for: 5724 days
Location: oregon
Status: Offline

#47886
http://wiki.nesdev.com/w/index.php/CPU

((39375000 / 11) * 6) / 12

Yeah I think supernsf channels are hypothetically unlimited, but the sampling rate shrinks as you add more channels.

_______________________
Famicom tunes
Posted: 2013-05-23 00:09  (Last Edited: 2013-05-23 00:10) Reply | Quote
jsr
Administrator

Avatar

Member for: 7335 days
Location: Sweden
Status: Offline

#47887
FamiPunk221 wrote:
Is it possible to get the RAW PCM thing into FamiTracker? I only know 2 NES trackers with Raw PCM support.
I would apprechiate it if it would be possible to get in FamiTracker.
If not then its fine :>

The NES didn't have native support for PCM, so no it's not planned.

_______________________
Programmer and developer
Posted: 2013-05-23 00:10 Reply | Quote
FamiPunk221



Member for: 4940 days
Status: Offline

#47888
I just found out what SuperNSF got inside (Raw import Audacity), all samples seem saved in a store. But that doesnt make any sense....
How can be 4 channels mixed up into 1 with all Sample data, effects etc?!
Can somebody explain me this? Please?

Posted: 2013-05-23 17:03 Reply | Quote
rainwarrior

Avatar

Member for: 5561 days
Location: Canada
Status: Offline

#47899
Same as any other tracker. Mix PCM sounds together by adding their values.

Posted: 2013-05-23 17:54 Reply | Quote
Rushjet1
Moderator

Avatar

Member for: 6423 days
Location: Atlanta, GA
Status: Offline

#47901
jsr wrote:
The NES didn't have native support for PCM, so no it's not planned.


"Native support?" I mean it's used in a few games like Battletoads and Action 52 and the sesame street games, so it's able to do it at the time- just rare and generally inefficient.

Posted: 2013-05-23 21:10 Reply | Quote
jsr
Administrator

Avatar

Member for: 7335 days
Location: Sweden
Status: Offline

#47906
Rushjet1: Yeah I mean native as in actual hardware support (such as Amiga etc) in contrast to manual CPU timed playback (which was already possible on most 8-bit machines in different ways).

The problem is that adding PCM support is a major task and it's likely easier to make a new driver from scratch then to add it to the existing one, and then there's all the trouble maintaining it. Using NSF v2 (or any suitable iNES mapper) would make it easier, but then I don't think I could do anything that's unique compared to what's already present in the other trackers so I don't really see the point.

_______________________
Programmer and developer
Posted: 2013-05-24 00:01 Reply | Quote
FamiPunk221



Member for: 4940 days
Status: Offline

#47916
Okay, adding Raw PCM makes you rewrite the whole driver.
Thats not what I want :s

Page 2 of 2 Sort: Goto Page: << Previous [1] [2]