Code: Select all
self.freestyleEnabled = False
self.freestyleStart = 0
self.freestyleFirstHit = 0
self.freestyleLength = 0
self.freestyleLastHit = 0
self.freestyleBonusFret = -2
self.freestyleLastFretHitTime = range(5)
self.freestyleBaseScore = 750
self.freestylePeriod = 1000
self.freestylePercent = 50
self.freestyleOffset = 5 <-- setting this to 0 fixes the missing note issue but probable causes BRE problems
self.freestyleSP = False
Here is the code where the note is being hidden:
Code: Select all
#volshebnyi - hide notes in BRE zone if BRE enabled
if self.freestyleEnabled:
if time >= self.freestyleStart-self.freestyleOffset and time < self.freestyleStart + self.freestyleLength+self.freestyleOffset:
z = -2.0
Based on the above two snippets I can deduce that any note with a time value of < 5 will be hidden. If the song with a note at time < 5 has a BRE section the note will render just fine because the freestyleStart time will be set to something other than 0.
To fix the problem I simply added an extra condition to the hide code as shown below:
Code: Select all
#volshebnyi - hide notes in BRE zone if BRE enabled
if self.freestyleEnabled and self.freestyleStart > 0:
if time >= self.freestyleStart-self.freestyleOffset and time < self.freestyleStart + self.freestyleLength+self.freestyleOffset:
z = -2.0