- 4 Pattern Groups (PG): I, II, III, iV
- 16 Patterns (PA) per PG, eight "A" patterns and eight "B" patterns.
- Each PA can have up to 16 steps. Default step is a 16th note.
- 7 Tracks (TR)
- PG I consists TR 1, 2
- PG II consists TR 3, 4
This file contains hidden or 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
<# | |
.SYNOPSIS | |
Convert MuseScore file to PDF. Files are output to current folder. | |
.EXAMPLE | |
Get-ChildItem -LiteralPath '.' -Filter '*.mscz' | ForEach-Object { ConvertFrom-MuseScore -File $_.FullName } | |
#> | |
function ConvertFrom-MuseScore { | |
param( | |
# Path to .mscz file |
This file contains hidden or 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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<html> | |
<head> | |
<meta name="keywords" content="C++ escaping, C++ special characters, C++ text escaping"> | |
<meta name="author" content="Tomasz Ostrowski"> | |
<meta name="description" content="Text -> C/C++ string converter (special characters escaping)."> | |
<title>Text -> C/C++ string converter</title> | |
<style> | |
body { |
This file contains hidden or 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
#!/bin/bash | |
PROMPT_DIRTRIM=2 | |
# RED="\[\033[0;31m\]" | |
YELLOW="\[\033[1;33m\]" | |
GREEN="\[\033[0;32m\]" | |
# BLUE="\[\033[0;34m\]" | |
# LIGHT_BLUE="\[\033[1;34m\]" | |
LIGHT_RED="\[\033[1;31m\]" | |
LIGHT_GREEN="\[\033[1;32m\]" |
This file contains hidden or 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
if (-not (Get-Command -Name '7z.exe' -CommandType Application)) { | |
Write-Warning '7z.exe not found' | |
return | |
} | |
$output = ./mame.exe -version | |
# e.g. 0.275 (mame0275) | |
if ($output -notmatch '(?<friendly>\d+\.\d+) \((?<version>.+)\)') { | |
Write-Warning 'Unable to determine local MAME version. Expecting MAME.exe in current folder.' | |
return |
This file contains hidden or 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
param ([Parameter(Mandatory)][string]$Path) | |
function Read-Xsc { | |
param ([Parameter(Mandatory)][string]$Path) | |
$data = [ordered]@{} | |
$version = $null | |
$transcribe = $null | |
This file contains hidden or 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
Get-ChildItem -File -Filter '*.mscz' | ForEach-Object { | |
"Converting $($_.BaseName) ..." | |
$tempfile = 'temp.json' | |
'* Extract JSON' | |
Start-Process ` | |
-Wait ` | |
-WorkingDirectory (Get-Location).Path ` | |
-FilePath """$env:ProgramFiles\MuseScore 4\bin\MuseScore4.exe""" ` |
This file contains hidden or 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
Get-ChildItem -LiteralPath "${env:HOMEDRIVE}${env:HOMEPATH}/scoop/shims" -File -Recurse -Filter 'scoop-*.ps1' ` | |
| Select-Object ` | |
@{ Name = 'Name'; Expression = { $_.BaseName.SubString(6) } }, | |
@{ Name = 'Command'; Expression = { (Get-Content $_.FullName | Select-String -Pattern '^# Summary: (.*)' -NotMatch) -replace '''','''''' } }, | |
@{ Name = 'Summary'; Expression = { (Get-Content $_.FullName | Select-String -Pattern '^# Summary: (.*)').Matches[0].Groups[1] }} ` | |
| ForEach-Object { | |
"scoop alias add '$($_.Name)' '$($_.Command)' '$($_.Summary)'" | |
} |
This file contains hidden or 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
<html> | |
<head> | |
<title>JavaScript Mortgage Calc</title> | |
</head> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
background-color: #f4f4f9; |
This file contains hidden or 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
' | |
' File: SysInfo.vbs | |
' Created: May 29, 2002 | |
' Version: 1.1 | |
' | |
' Function: Displays system information using WMI | |
' Author: Jeff Miller | |
' | |
' History: | |
' 1.0 May 29, 2002 - initial revision |
NewerOlder