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 > Frames per second??? Owner: Sondi New post
Page 1 of 1 Sort:  
Frames per second??? Posted: 2015-03-14 00:53 Reply | Quote
Sondi



Member for: 2656 days
Status: Offline

#66867
I want to create music, but before I start I want to know one thing; how many frames are in a second in Famitracker when the speed is set to 6?

This is just a quick question, and i'd like the help. I've been planning to create music covers by ear, and I can't start without a brisk idea on the seconds per number. Is 08 a second here?

Posted: 2015-03-14 02:30  (Last Edited: 2015-03-14 02:49) Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

#66871
It doesn't ...quite work that way.

- The NES audio engine updates at a TV refresh rate; this is 60HZ on NTSC (equivalant to 900BPM). Regardless of your actual song tempo, this is the maximum resolution of the audio engine.

- Tempo is the # of rows (of pattern data) played per 15 seconds. If your song uses four rows per beat (the default setting) and the default Speed (6) then Tempo corresponds directly to overall BPM. This value maxes at 255, btw.

- Speed is a Tempo multiplier (or divisor, actually); the default setting of 6 means "1.0x tempo". Speed 12 means half tempo, Speed 3 means double tempo, and so on. (Speed 8 is 0.75x tempo, btw.) If you need a tempo faster than 255BPM then you'll need a Speed setting < 6.

- A useful coincidence with the default settings is at Tempo 150, there are exactly 6 engine cycles per each row played. This corresponds directly with the Speed setting; if you keep your Tempo at the default setting of 150 (or 125 for PAL) then you can use the song Speed to directly control the # of engine cycles per each row of pattern data (an advanced method of controlling song tempo).

When you're done, look at the bottom of the status bar for a BPM value (calculated from all the above settings). This tells you the perceived tempo of your song at those settings.

Finally, there's one last value: The Row 1 highlight on the toolbar. This is just a UI setting, but the BPM shown in the statusbar is calculated taking this into account too. So if you're working with an unusual time signature or need higher note resolution than 16th notes, adjust this value to match the desired # of rows per beat. (For example: If you need a lot of 32nd notes, set the Row 1 highlight to 8, then maybe set your song speed to 3 to compensate.)

For me, the best way to analyze tempo is record it in something like Audacity, then highlight a snippet that is about 4 or 8 beats long, measure its length and just divide the beats per length to find the tempo.

_______________________
Where to find me:
YouTube: [url=http://youtube.com/user/stratelier]http://youtube.com/user/stratelier
DeviantArt: [url=http://stratadrake.deviantart.com/]http://stratadrake.deviantart.com/
Posted: 2015-03-14 13:11  (Last Edited: 2015-03-14 13:15) Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4983 days
Location: Canada
Status: Offline

#66879
Stratelier, your answer is unnecessarily complicated and somewhat inaccurate.

The easiest way to figure out the actual tempo is to take your tempo value, multiply it by 6, and divide by the speed value. There isn't really any need to explain the why and how in further details, but if you're interested, there's a [url=http://famitracker.com/wiki/index.php?title=Fxx#Explanation]wiki article about it.

I would suggest always leaving your tempo value at 2.5x your clock speed (which, at 60 Hz, is 150 bpm), and only messing with the speed value via the Fxx effect. The reason for this is that by keeping the tempo to that value, the "speed" setting tells you exactly how many frames each row will last, making frame-sensitive effects such as Gxx or Sxx -- as well as making long instrument sequences line up predictably -- much easier to figure out. There is, again, a [url=http://famitracker.com/wiki/index.php?title=Common_tempo_values]wiki article with a useful lookup table for common tempo values (for example, a "Fxx sequence" of 6, 5, 5, 5 means that you should have one row with F06, one with F05, and two without a Fxx effect).

_______________________
Follow me on [url=https://twitter.com/jrlepage2a03]Twitter.
I record (some) NSFs on hardware. Feel free to [url=http://www.famitracker.com/forum/posts.php?id=3633]request a hardware render.
Posted: 2015-03-14 16:54 Reply | Quote
Sondi



Member for: 2656 days
Status: Offline

#66881
Ah. I get it now, thanks.

Page 1 of 1 Sort: