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 > Bug Reports & Feature Requests > Pitch envelope not exporting correctly? Owner: Necrophageon New post
Page 1 of 1 Sort:  
Pitch envelope not exporting correctly? Posted: 2014-09-02 08:40 Reply | Quote
Necrophageon

Avatar

Member for: 3966 days
Location: Minnesota
Status: Offline

#61514
So I was screwing around with effect ideas, and noticed that after exporting and then importing an NSF, the effect doesn't do what I'd expected.

The pitch envelopes are in instruments 05, 08, 09, 0B, 0E, and 0F.
The beginning of the track is a little messy, but if you skip down to row 60 on the import, it's the beginning of frame 01 in the original FTM.

The envelope in instrument 08 is 2 | -2 1 1 and the channel is set at P82.
So it should go: (P82) P80, P82, P81, P80, P82...
__________________ 2_|_-2___1___1_|_-2...

The export reads P80, P84, P81, ---, P84, P81, ---...

Am I misunderstanding the function of the pitch envelope, perhaps?

_______________________
The only things certain in life are death and uncertainty.
Attachments:
mm3_wily3.ftm (25 Kb)
wily3_export.ftm (262 Kb)
Posted: 2014-09-02 23:15 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#61521
I don't think you've misunderstod it, but the problem here is that you got an apreggio effect running along with the pitch macro. That will continously reset the pitch value with new notes, instead of accumulating the pitch macro values as it normally does.

The exported file seems to be consistent with what famitracker plays at that point, so this is how it's supposed to work. A bit un-intuitive perhaps?

Inspecting exported files like that gives a good idea of what's going on though.

_______________________
Programmer and developer
Posted: 2014-09-03 07:01  (Last Edited: 2014-09-03 07:10) Reply | Quote
Necrophageon

Avatar

Member for: 3966 days
Location: Minnesota
Status: Offline

#61526
I see... so arpeggios and pitch macros do not get along. So what I'm getting instead is:
2 : P80 (P82 - 2)
-2: P84 (P82 + 2)
1 : P81 (P82 - 1)
1 : P81 ( ... )
and so on.

So to get what I was expecting i would need (assuming P82 is set):
2 | 0 1 2

Every tick is relative instead of cumulative, but only because the arpeggio effect is active. Is that correct?

EDIT - Yep! Just tried it out and it works as expected. Thank you!

_______________________
The only things certain in life are death and uncertainty.
Posted: 2014-09-03 23:06 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#61545
Yeah that's right.

It seems you figured it out as well, but Pxx and pitch macro values are inverted so that's why you got the sequence of P80, P84 and so on.

_______________________
Programmer and developer
Page 1 of 1 Sort: