Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > FamiTracker Talk > q. about extremely high frequencies Owner: kfaraday New post
Page 1 of 1 Sort:  
q. about extremely high frequencies Posted: 2014-05-06 14:18 Reply | Quote
kfaraday

Avatar

Member for: 3690 days
Status: Offline

#56977
i notice that there are frequencies higher than D (~note B-7) in the pulse and triangle. frequency 1 on triangle is unsupported in famitracker and seemingly most emulators but exports to a pitch in nsfplay. is this intentional? i'm kind of interested in using it if so

pitches higher than 8 also seem to not play on pulse in famitracker or nsfplay. is this also by design? i'm interested in how these channels treat extremely high pitch differently

_______________________
[url=http://bitpuritans.eu]http://bitpuritans.eu ~ [url=http://soundcloud.com/kayfaraday]http://soundcloud.com/kayfaraday
Posted: 2014-05-06 18:50 Reply | Quote
za909

Avatar

Member for: 3963 days
Location: Hungary
Status: Offline

#56982
As far as I'm concerned the pulse channels are automatically silenced if they are given a period of less than 8. The triangle however just keeps going (and there's no way to reset its phase without the unused test pin) A couple games "silence" the triangle by writing a low period value to it (Megaman 1&2, Silver Surfer, etc.) but this causes a noticable pop.

_______________________
Rectangular sh*t ©
Posted: 2014-05-06 20:58 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#56987
Yeah the pulse channels are muted when using a pitch less than 8.

The triangle channel is never muted, but periods at that range results in inaudible waves anyway so in famitracker it's muted to save CPU usage. Some emulators might not do that.

_______________________
Programmer and developer
Posted: 2014-05-06 22:55  (Last Edited: 2014-05-06 22:56) Reply | Quote
VinylScratch

Avatar

Member for: 3554 days
Location: Nebraska
Status: Offline

#56993
[quote=za909]A couple games "silence" the triangle by writing a low period value to it (Megaman 1&2, Silver Surfer, etc.) but this causes a noticable pop.[/quote]One thing I noticed when listening to some Follin soundtracks through FCEUX's visual NSF player is that when a song ends a little square wave appears but I can't hear anything. I found that lowering the volume of the triangle channel causes this to disappear and reappear when I bring the volume back up. However, not all games have this little square wave present at the end of the song. Could this low period silence be the reason?

_______________________
[url=https://soundcloud.com/dj-dimeback]Soundcloud | [url=http://www.youtube.com/user/ITGpwnage]Youtube
Posted: 2014-05-08 00:08 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#57031
The pulse channels are muted by the hardware at period values less than 8, so they can't produce super-high frequencies, but the MMC5 and VRC6 pulses are exempt from this limitation if you want to try.

The triangle is not limited in this way, but since high frequency sound is generally not easy to simulate without aliasing, most emulators prefer to silence the triangle once the frequency is above audible. (On NSFPlay this is an option.)

On a real NES, you can't hear the ultrasonic frequencies of the high triangle (it is filtered away correctly by the analog circuitry and/or the physical mechanism of your ears) but you can make audible pops by halting and unhalting the triangle in this state (as you halt it on random parts of the waveform, essentially).

Posted: 2014-05-22 15:22  (Last Edited: 2014-05-22 15:22) Reply | Quote
za909

Avatar

Member for: 3963 days
Location: Hungary
Status: Offline

#57596
Oh actually... it would be a cool feature in NSFPlay to have an option to mute the triangle at period $7FF, since the Recca/Kickmaster/Zombie Nation, etc. sound engine "silences" the triangle with the highest possible period, which is honestly the worst way, introducing the quiet screech from the steps of the wave.

_______________________
Rectangular sh*t ©
Posted: 2014-05-23 20:46 Reply | Quote
Xyz_39808

Avatar

Member for: 4180 days
Location: South Texas
Status: Offline

#57624
Noooooo! My pedal A-0!

Posted: 2014-05-24 15:42  (Last Edited: 2014-05-24 15:45) Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#57634
I'm not really a fan of changing the emulation to suit faulty programming, especially in a case like this where this was how the released game really sounded. Why not hack those NSFs to properly mute the triangle instead?

Page 1 of 1 Sort: