-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚚 Split the large main.ts file into smaller modules
- Loading branch information
Showing
8 changed files
with
860 additions
and
827 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export const SONG_PRESET_COUNT = 64 | ||
export const SECTION_PRESET_COUNT = 32 | ||
|
||
export const BOOLEAN_SETTINGS = [ | ||
{ id: 'autoplay', label: 'Autoplay' }, | ||
{ id: 'safeMode', label: 'Safe Mode' }, | ||
{ id: 'alwaysStopOnSongEnd', label: 'Always Stop on Song End' }, | ||
{ id: 'autoJumpToNextSong', label: 'Autojump to the Next Song' }, | ||
{ id: 'autoLoopCurrentSection', label: 'Autoloop the Current Section' }, | ||
{ id: 'countIn', label: 'Count-In' }, | ||
{ id: 'countInSoloClick', label: 'Solo Click During Count-In' }, | ||
] | ||
|
||
export const JUMP_MODES = [ | ||
{ id: 'quantized', label: 'Quantized' }, | ||
{ id: 'end-of-section', label: 'End of Section' }, | ||
{ id: 'end-of-song', label: 'End of Song' }, | ||
{ id: 'manual', label: 'Manual' }, | ||
] | ||
|
||
export const COUNT_IN_DURATIONS = [ | ||
{ id: '1', label: '1 Bar' }, | ||
{ id: '2', label: '2 Bars' }, | ||
{ id: '4', label: '4 Bars' }, | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export const PLAY_ICON = '<icon:play.png>' | ||
export const PLAY_ICON_GRAY = '<icon:play-gray.png>' | ||
export const PAUSE_ICON_GREEN = '<icon:pause-green.png>' | ||
export const STOP_ICON_GREEN = '<icon:stop-green.png>' | ||
export const LOOP_ICON = '<icon:loop.png>' | ||
export const LOOP_ICON_GRAY = '<icon:loop-gray.png>' | ||
export const LOOP_ICON_GREEN = '<icon:loop-green.png>' | ||
|
||
export const PROGRESS_0 = '<icon:progress/0.png>' | ||
export const PROGRESS_1 = '<icon:progress/1.png>' | ||
export const PROGRESS_2 = '<icon:progress/2.png>' | ||
export const PROGRESS_3 = '<icon:progress/3.png>' | ||
export const PROGRESS_4 = '<icon:progress/4.png>' | ||
export const PROGRESS_5 = '<icon:progress/5.png>' | ||
export const PROGRESS_6 = '<icon:progress/6.png>' | ||
export const PROGRESS_7 = '<icon:progress/7.png>' | ||
export const PROGRESS_8 = '<icon:progress/8.png>' |
Oops, something went wrong.