Page 2 of 2

Re: Default drum map

Posted: Wed Sep 11, 2019 5:39 pm
by banzailoco
And the possible solution is, drom roll /\ /\ /\ /\ /\, two commas ,, for the preset number :lol:

Bad syntax
-----Map File--------,---------------------VST GUID------------------------,----VST Name,Preset #,Comments

retrominev01.txt,{72743031-0000-0000-0000-000000000000},retrominev01,retrominev01


Good syntax
-----Map File--------,---------------------VST GUID------------------------,----VST Name,Preset #,Comments

retrominev01.txt,{72743031-0000-0000-0000-000000000000},retrominev01,,retrominev01

Thanx Greg for answering and sharing your time to find a solution. :) /

Re: Default drum map

Posted: Thu Sep 12, 2019 8:40 am
by Acoustica Greg
Hi,

You're welcome! As we discussed, the advantage of using a spreadsheet program like Google Sheets (or whatever) to edit the .csv file is that you don't get sideswiped by a missing comma.

Greg

Re: Default drum map

Posted: Thu Sep 12, 2019 8:16 pm
by Rolling Estonian
I'm pretty blown away by the thread! The time and attention given by Greg was superlative! Well done man, we always notice. :)

M

Re: Default drum map

Posted: Fri Sep 13, 2019 4:03 pm
by Acoustica Greg
We try. Thanks for your kind words!

Re: Default drum map

Posted: Wed Sep 18, 2019 12:44 pm
by jwmix
This old man uses the PowerShell ISE ( or the PowerShell console).

Windows PowerShell's cmdlet (command) Import-Csv, does csv file actions.
Lots of them. I've also include, Invoke-Item cmdlet (command) showing how
to use the defaulted settings for processes - text editor, pdf, and all the
music defaults (midi, wave, ogg, etc.) and other defaulted settings.

Copy (Ctrl + C) the below lines, one at a time, and then Ctrl + V (paste)
the line after the PS > prompt, in any PowerShell window. Then after pasting
the line, then press the enter key. Then do the next line, and so on.


$TheCsvData = Import-Csv (Join-Path $env:ProgramData -ChildPath "acou*\mix*\drum*7\Default*.csv")

$TheCsvData | Out-GridView -Title "Looking for issues"

$TheCsvData

$TheCsvData | Format-Table -AutoSize

$TheCsvData | Where-Object -FilterScript {$PSItem -match "vox"}

$TheCsvData | Where {$PSItem -match "vox"} | Select "Preset #"

Invoke-Item -Path (Join-Path $env:ProgramData -ChildPath "acou*\mix*\plug*.txt")

Invoke-Item -Path "C:\Windows\media\town.mid"


Of course, you can create csv files.
View csv files in a grid (or many various ways).
Select lines to process (to display or even to change).
And re-write the csv file.

All sitting in Windows, waiting to be called.

Windows PowerShell is in your Windows Start Menu.

Read PowerShell blogs, watch PowerShell ISE videos.

Adjust their PS business ways, to your PS music needs.

Have fun, find a PowerShell youngster (for help) and share!