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 > Question about frame limit (+ a possible bug) Owner: Baka94 New post
Page 1 of 2 Sort: Goto Page: [1] [2] Next >>
Question about frame limit (+ a possible bug) Posted: 2015-02-26 18:12 Reply | Quote
Baka94

Avatar

Member for: 2677 days
Location: Finland
Status: Offline

#66342
Few times now I have hit FamiTracker's frame limit of 128 , which has prevented me from finishing a song. Why limit it to only 128, when there is enough space for 255 frames?

Next the bug:
I noticed that if you enter a sequence such as this one to the pitch of the instrument editor, the pitch starts rising as the note is held down.
[b]0 0 0 | 3 3 3 -3 -3 -3 -3[/b]

Isn't the note pitch supposed to go like this:

[ul]C-5
C-5
C-5
C-5+3
C-5+3
C-5+3
C-5-3
C-5-3
C-5-3
C-5-3
C-5+3
C-5+3
C-5+3
C-5-3
C-5-3
C-5-3
C-5-3
...[/ul]

_______________________
MainLoop:
NOP
JMP MainLoop
Posted: 2015-02-26 18:18 Reply | Quote
Dr_Mustache

Avatar

Member for: 3141 days
Location: On your screen
Status: Offline

#66345
The behavior you notice from the pitch macro is not a bug. Rather, it's because pitch macros are relative. I don't really know how to explain, but try messing around with arpeggio relative and absolute macros (configurable in the instrument editor) so you get an idea of how it works.

To achieve the effect you want you need a macro like this:

0 0 0 3 | 0 0 -6 0 0 0 6

_______________________
[color=#b0b0b0]This version of Dr. Mustache is outdated. Please download latest version [url=about:blank]here.
[url=https://www.dropbox.com/sh/md3lbsamcj39c9v/t0g5rFmzX_][Dropbox (my FT stuff)]
Posted: 2015-02-26 19:50 Reply | Quote
modusponens

Avatar

Member for: 4743 days
Location: Redmond, WA
Status: Offline

#66346
Like the good doctor said, each modification in the Pitch section of the instrument editor is relative to the result of the previous modification. So, if you go 3 3 3 -3 -3 -3 -3, and you're starting at 0, then you'll get to 3, then 6, then 9, and then 6, then 3, then 0, then -3, at which point it will start over again, so you'll get 0, 3, 6, 3, 0, -3, -6, and so on. (And, of course, positive means the pitch goes down and negative means it goes up, because, I think, these numbers are added to the pitch register, which is essentially the wavelength of the tone produced.)

Posted: 2015-02-26 20:02 Reply | Quote
jrlepage
Moderator

Avatar

Member for: 4983 days
Location: Canada
Status: Offline

#66348
Also, positive values make the pitch go down, and negative values cause the pitch to go up.

_______________________
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.
RE: Question about frame limit (+ a possible bug) Posted: 2015-02-26 23:50 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#66354
[quote=Baka94]Few times now I have hit FamiTracker's frame limit of 128 , which has prevented me from finishing a song. Why limit it to only 128, when there is enough space for 255 frames?[/quote]
It's an arbitrary limit, back from long ago. It's likely possible to expand, I can check that.


_______________________
Programmer and developer
Posted: 2015-02-27 02:35 Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

#66357
[quote=Dr_Mustache]The behavior you notice from the pitch macro is not a bug. Rather, it's because pitch macros are relative[/quote]
Is it possible to make it absolute (like the P effect is) ?

_______________________
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-02-27 03:24  (Last Edited: 2015-02-27 03:25) Reply | Quote
VinylScratch

Avatar

Member for: 3554 days
Location: Nebraska
Status: Offline

#66359
[quote=Stratelier][quote=Dr_Mustache]The behavior you notice from the pitch macro is not a bug. Rather, it's because pitch macros are relative[/quote]
Is it possible to make it absolute (like the P effect is) ?[/quote]Yes, by simutaneously using a looped arpeggio macro.

_______________________
[url=https://soundcloud.com/dj-dimeback]Soundcloud | [url=http://www.youtube.com/user/ITGpwnage]Youtube
Posted: 2015-02-27 18:42  (Last Edited: 2015-02-27 19:33) Reply | Quote
Im_a_Track_Man

Avatar

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

#66373
I'd really like absolute pitch macros myself. It'd make shit so much easier and they'd actually make sense.

Posted: 2015-02-27 19:08 Reply | Quote
Baka94

Avatar

Member for: 2677 days
Location: Finland
Status: Offline

#66374
[quote=Im_a_Track_Man]I'd really like absolute pitch macros myself. It'd make shit so much easier and they'd actually make sense.[/quote]

Agreed. Option in the instrument editor to change between absolute and relative macro would be nice addition.

_______________________
MainLoop:
NOP
JMP MainLoop
Posted: 2015-02-28 01:19 Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

#66395
[quote=Im_a_Track_Man]I'd really like absolute pitch macros myself. It'd make shit so much easier and they'd actually make sense.[/quote]
I have the same mindset....

_______________________
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-01 23:45 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#66458
[quote=Stratelier]Is it possible to make it absolute (like the P effect is) ?[/quote]
Yeah that would be possible.

_______________________
Programmer and developer
Posted: 2015-03-02 10:28 Reply | Quote
modusponens

Avatar

Member for: 4743 days
Location: Redmond, WA
Status: Offline

#66468
While we're at it, would it also be possible to have an option to make positive values in pitch macros make the pitch go up, and negative values make it go down?

Posted: 2015-03-02 12:59 Reply | Quote
Baka94

Avatar

Member for: 2677 days
Location: Finland
Status: Offline

#66469
[quote=modusponens]While we're at it, would it also be possible to have an option to make positive values in pitch macros make the pitch go up, and negative values make it go down?[/quote]

This would be useful for those who don't know how the APU in NES works.

The reason for it begin this way is that the NES uses periods to determine the freqency. Higher values increase the length of one "cycle" in the output waveform. The longer the cycle is, the lower the pitch is because freqency decreases.

I'm not sure if all of that is correct, but that's what I know.

_______________________
MainLoop:
NOP
JMP MainLoop
Posted: 2015-03-02 13:47 Reply | Quote
Xyz_39808

Avatar

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

#66471
It would also break compatibility with ppMCK mml, specifically as the mml strings entered into the sequences.

Posted: 2015-03-03 02:11 Reply | Quote
Stratelier



Member for: 2954 days
Status: Offline

#66508
[quote=jsr][quote=Stratelier]Is it possible to make it absolute (like the P effect is) ?[/quote]
Yeah that would be possible.[/quote]
That would be awesome. Arpeggios can already be defined relative or absolute, it's odd that pitch sequences have been relative only.

_______________________
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/
Page 1 of 2 Sort: Goto Page: [1] [2] Next >>