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 > Easy Way to Calculate FDS FM? Owner: Bari10 New post
Page 1 of 1 Sort:  
Easy Way to Calculate FDS FM? Posted: 2014-07-08 00:58 Reply | Quote
Bari10

Avatar

Member for: 3958 days
Location: Texas
Status: Offline

#59180
I've always been interested in working with the FDS's FM capabilities, but I don't really know how to get the right J and I values, and I can't find anything online, on the wiki, or in any threads here. So, is there any way to easily get those values?

_______________________
Please, call me Scooblee.
My Stuff:
[url=https://soundcloud.com/scooblee]SC |[url=http://www.youtube.com/user/Scooblee1]YT |[url=http://steamcommunity.com/id/Scooblee/] Steam |
[url=http://scooblee.deviantart.com/] dA
[Edit: rounding errors] Posted: 2014-07-08 01:19  (Last Edited: 2014-07-08 04:55) Reply | Quote
Xyz_39808

Avatar

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

#59181
It's hex. Having effects JAB and ICD will give you a frequency of ABCD in hex. Find whatever source of [url=http://www.phy.mtu.edu/~suits/notefreqs.html]note names to hertz you want and then open up calc (scientific mode (why would you ever not be in scientific mode?))if you're bad at hex.

For example, middle C is 261.63hz which rounds to 262 decimal which is 107 hex. So use effects J01 and I07 to get that frequency rate. It should be noted that the highest value the FDS can do is J0F IFF, which is why I usually always explain it as J0x Ixx.

It's still up to you to find a good mod wave (the default sine usually is good) and find a good mod depth either by leaving it constant in the FDS instrument or by using Hxx, which has a highest value of H3F

Posted: 2014-07-08 01:56  (Last Edited: 2014-07-08 01:56) Reply | Quote
Im_a_Track_Man

Avatar

Member for: 4138 days
Location: Plantation, Florida
Status: Offline

#59186
Has the FM algorithm been replaced by rainwarrior's corrected one yet?

Posted: 2014-07-08 08:49  (Last Edited: 2014-07-08 08:50) Reply | Quote
za909

Avatar

Member for: 3963 days
Location: Hungary
Status: Offline

#59199
You should definitely wait until the FDS emulation is corrected. I've already experienced the hard way how unpredictable it is even for different emulators. My guitar instrument sounded like shit on anything but Famitracker.

_______________________
Rectangular sh*t ©
Posted: 2014-07-08 10:43 Reply | Quote
Im_a_Track_Man

Avatar

Member for: 4138 days
Location: Plantation, Florida
Status: Offline

#59201
I think Rainwarriors latest NSFplay build is theonly thing that emulates it almost 100% correctly

Posted: 2014-07-08 13:38 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#59204
Yeah I don't recommend using the FM part of FDS at the moment, the emulation is known to be wrong.

_______________________
Programmer and developer
Posted: 2014-07-08 15:04  (Last Edited: 2014-07-08 15:04) Reply | Quote
za909

Avatar

Member for: 3963 days
Location: Hungary
Status: Offline

#59206
Were there any FDS games that used the FM in music for more than just hardware vibrato? As far as I remember Metroid used it for its sound effects, at least that's something to help study its behavior.

_______________________
Rectangular sh*t ©
Posted: 2014-07-08 15:41 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#59209
Not that I know of.

_______________________
Programmer and developer
Posted: 2014-07-08 16:41  (Last Edited: 2014-07-09 19:36) Reply | Quote
Im_a_Track_Man

Avatar

Member for: 4138 days
Location: Plantation, Florida
Status: Offline

#59212
I think the golf games used the modulator, but only very little. I own Golf - US Course, but it only uses it [url=http://youtu.be/1s7H82yFNf8?t=14s]once on the title screen.

Posted: 2014-07-09 13:51  (Last Edited: 2014-07-09 13:57) Reply | Quote
Macromaniac

Avatar

Member for: 3079 days
Location: Paris
Status: Offline

#59252
The melody in Shin Onigashima uses the FM channel, for the most part to emulate a shakuhachi. Fun fact: the soundtrack is written by the one and only Koji Kondo.
[url=https://www.youtube.com/watch?v=K-nqx8TBTRo]Full soundtrack

Page 1 of 1 Sort: