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 > Some bug for 0.3.7b Owner: Mex New post
Page 1 of 1 Sort:  
Some bug for 0.3.7b Posted: 2011-04-30 10:24 Reply | Quote
Mex

Avatar

Member for: 4642 days
Location: Victoria, British Columbia
Status: Offline

#16580
....

Yeah something is telling me this shouldn't happen.

Also, upon muting and un-muting a channel while playing this, we get very odd sounds.


Attachments:
remx.ftm (1 Kb)
Posted: 2011-04-30 10:32 Reply | Quote
InterrobangPie

Avatar

Member for: 4198 days
Location: England
Status: Offline

#16581
Well, it sort of should happen, what with the superposition of the peaks and troughs of the soundwaves and all.

_______________________
[quote=iGotno_scope]im going to continue making this crazy stuff then after a while my style will be so sick that you will be like damn suuun that shit is so sick i dont even get it. i will be like bro its ok.. you dont have to.[/quote]
Posted: 2011-04-30 16:01 Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#16584
Hmm, well it seems like V01 and V03 should potentially cancel each-other out, but I didn't think they would be phased that way on reset. I've always understood the waveforms to be:

V00: HHLLLLLLLLLLLLLL
V01: HHHHLLLLLLLLLLLL
V02: HHHHHHHHLLLLLLLL
V03: HHHHHHHHHHHHLLLL

So what I'd expect if their phases are reset when adding V01 and V03 you'd get:
MIX: HHHHMMMMMMMMLLLL

But maybe in Famitracker V03 is:
V03: LLLLHHHHHHHHHHHH
MIX: MMMMMMMMMMMMMMMM

This would sound the same except in cases where the phase is important, like the example you've just posted.

In general though, it's probably best to avoid counting on phase; don't write the same note in S1 and S2.

This has been discussed before; I think jsr said you can reset the phase of a square channel by crossing some frequency (I forget which one) but otherwise there's not really a way to do it? Also, you have to have an NSF player that's going to obey that minor quirk as well. It would be iffy at best.

Posted: 2011-04-30 16:34 Reply | Quote
Dave
Moderator

Avatar

Member for: 5682 days
Location: UK
Status: Offline

#16588
i think you can somewhat rely on it, but you can't be overly specific. if you use P81 on one channel for instance, nearly all NES players are going to play back the two waves with a small amount of phasing. the speed/duration/intensity of the effect would vary a bit though.

_______________________
[url=http://www.iridescentaudio.co.uk]iridescent audio
Posted: 2011-04-30 19:21  (Last Edited: 2011-04-30 19:23) Reply | Quote
rainwarrior

Avatar

Member for: 4150 days
Location: Canada
Status: Offline

#16599
Doubling with P81 produces a phasing effect, but you're not relying on a specific phase, just on a continual phase change, so it is fairly robust across different NSF players.

When you play two at the same pitch, though, you can't reliably determine what phase it's going to start on. For instance, you may notice that if you make an NSF of Mex's example, it'll sound different in other players than in Famitracker. You can get double volume, silence, or any phase mixture in between.

Posted: 2011-05-03 00:12 Reply | Quote
jsr
Administrator

Avatar

Member for: 5924 days
Location: Sweden
Status: Offline

#16764
rainwarrior: That's correct, V03 is an inverted version of V01:

V01: HHHHLLLLLLLLLLLL
V03: LLLLHHHHHHHHHHHH

so using this setting and resetting the phase on both channels will cause silence.

The phase reset quirk has been known for a while and seems to be present in all NSF players that I've tried, so that's usually not a problem. But it's not a good idea to rely on absolute phase since it's dependent on register update timing and might vary among different versions, and in particular between the tracker and when exported.

_______________________
Programmer and developer
Page 1 of 1 Sort: