Possible bug? - FamiTracker

# FamiTracker

FamiTracker Support Forums

Skip to content

## Possible bug?

Please post about bugs here.
Forum rules
When making a bug report, please try to be as specific as possible. Include information on how to reproduce the bug and an example file if possible.
If the application crashed, please include the generated memory dump file as well.
Post Reply

- Print view

2 posts • Page 1 of 1

TheMudkipMaster12
  Posts: 320
  Joined: Sat Apr 25, 2015 1:26 am
  Location: :uoıʇɐɔoן
  Contact:
  Contact TheMudkipMaster12
  Website Twitter YouTube

### Possible bug?

- Quote

Post by TheMudkipMaster12 » Mon Jun 01, 2015 2:52 am

I was messing around with my old FTM's when I found something I believe is a bug. If you are on a frame that has the Cxx command in it and you disable the channel that has the command when the tracker reaches it, it will keep scrolling down into the black void and then play the song at the start. I also have a video of it happening to show I'm not crazy. I did this in 0.4.6 and the 0.5.0 preview.
https://www.youtube.com/watch?v=YFO_q91 ... e=youtu.be
It doesn't really get in the way of tracking, however, since you have to be pretty precise to pull it off, so I guess it is up to jsr if he wants to fix it or not.
"It's funny because cool, means cold." -Savestate, Feb. 17, 2016
HI IM KIPPTUNE AND THIS IS MY OLD ACCOUNT LOL
Top

HertzDevil
  Posts: 475
  Joined: Thu Apr 23, 2015 7:39 pm
  Location: Hong Kong SAR
  Contact:
  Contact HertzDevil
  Website Facebook Twitter Skype
  YouTube

### Re: Possible bug?

- Quote

Post by HertzDevil » Mon Jun 01, 2015 3:22 am

Here is another way the bug manifests. Suppose you have a chain of Fxx effects:

Code: Select all

`ROW 00 : ... .. . F04 : C-4 00 . ...
ROW 01 : ... .. . F02 : --- .. . ...
ROW 02 : ... .. . F04 : C-4 00 . ...
ROW 03 : ... .. . F02 : --- .. . ...
ROW 04 : ... .. . F04 : C-4 00 . ...
ROW 05 : ... .. . F02 : --- .. . ...
ROW 06 : ... .. . F04 : C-4 00 . ...
ROW 07 : ... .. . F02 : --- .. . ...
ROW 08 : ... .. . F04 : C-4 00 . ...
ROW 09 : ... .. . F02 : --- .. . ...
ROW 0A : ... .. . F04 : C-4 00 . ...
ROW 0B : ... .. . F02 : --- .. . ...
ROW 0C : ... .. . F04 : C-4 00 . ...
ROW 0D : ... .. . F02 : --- .. . ...
ROW 0E : ... .. . F04 : C-4 00 . ...
ROW 0F : ... .. . F02 : --- .. . ...
`
Play the FTM, then move the cursor to the channel containing those Fxx effects, and hold down the hotkey that toggles the channel (default Alt + F9). Some Fxx effects will then be almost randomly disabled.
EDIT: As soon as a channel is toggled, CFamiTrackerView::HaltNoteSingle(unsigned int) is called, which sends a halt note to the sound generator, but the note does not include any global effects at all. This note has a higher priority than the one sent by CSoundGen::ReadPatternRow(), so the global effects that are supposedly handled by CFamiTrackerView::PlayerGetNote(int, int, int, int, stChanNote&) are ignored, leading to the same bug with Cxx and Fxx effects (as well as Bxx, Dxx, and 0CC-FT's Oxx). CFamiTrackerView::HaltNote(unsigned int) also does this as it is called for each channel muted during soloing one of them.
refactoring 0cc-famitracker
Top

Display posts from previous:
Sort by

Post Reply

- Print view

2 posts • Page 1 of 1

Return to “Bug Reports”

Jump to

- Rules
- Wiki
- FamiTracker
- General Talk
- Bug Reports
- Feature Requests
- Source and development
- Music
- Original Music
- Cover Music
- Other
- Site Issues & Suggestions