This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import flpianoroll as flp | |
import math | |
PPQ = flp.score.PPQ | |
BEAT = PPQ * 4 | |
STEP = PPQ | |
SCAN_UNITS_STR = ['Tick', 'Half Beat', 'Odd Beat', 'Half Bar', 'Odd Bar'] | |
SCAN_UNITS = [1, STEP * 2, PPQ, PPQ * 2, BEAT] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@namespace xul url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
@namespace html url("http://www.w3.org/1999/xhtml"); | |
.tabbrowser-tab { | |
--tab-min-height: 32px; | |
overflow: visible !important; | |
} | |
/*#TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon:-moz-lwtheme, #tabbrowser-tabs:not([movingtab]) > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[multiselected="true"]:-moz-lwtheme, #tabbrowser-tabs:not([movingtab]) > #tabbrowser-arrowscrollbox > .tabbrowser-tab > .tab-stack > .tab-background[selected="true"]:-moz-lwtheme{ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const colors = []; | |
const steps = [ 0, 0x34, 0x57, 0x74, 0x90, 0xAC, 0xCE, 0xFF ]; | |
for (color = 0; color <= 0777; color++){ | |
colors.push( '#' + | |
color | |
.toString(8) | |
.padStart(3,'0') | |
.split('') | |
.map( c => steps[c].toString(16).padStart(2,'0') ) | |
.join('') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub CommandButton2_Click() | |
Me.Hide | |
Dim ws As Worksheet | |
Set ws = ThisWorkbook.Sheets("Contratos-Região") | |
Dim aCell As Range, Rng As Range |