markphilpot / gcpeditor Goto Github PK
View Code? Open in Web Editor NEWGround Control Pro Editor
Ground Control Pro Editor
When in Bank of 4 mode (Configuration > Utility > Program Access Mode > Bank of 4), the presets section should be limited to 144 presets, in 26 banks (0-10, A-Z) with four presets each.
The header labels for the CSV import have incorrect labels, specifically regarding which GCX is referenced. As seen in the capture below (and attached file), the GCX labels have 8 names (GCX 1-8) instead of 4.
I as able to resolve this by nesting two for loops starting at line 576 in gcp.js. I don't know that this is the best solution, but the code is below.
Replaced gcp.js 576-578:
for(var i = 0; i < (NUM_GCX * NUM_GCX_LOOPS); i++){
headers.push(sprintf('GCX #%d Loop #%d', (i/NUM_GCX)+1, (i%NUM_GCX_LOOPS)+1));
}
with this:
for(var j = 0; j < NUM_GCX; j++){
for(var i = 0; i < NUM_GCX_LOOPS; i++){
headers.push(sprintf('GCX #%d Loop #%d', j+1, i+1));
}
}
At a minimum in GCX Loop States dialog, replace with toggles (https://github.com/nostalgiaz/bootstrap-switch)
Rather than always using the web UI, some might prefer manipulating the presets in excel. It shouldn't be too much trouble to provide import/export functionality which would allow a workflow that starts with a CSV and allows you to get out a .syx image.
Use http://papaparse.com/ for csv manipulation.
When exporting to CSV and making no changes to expression pedal values, the import will change the values.
For example, export of presets with all expression pedals set to:
Pedal 1 Device 1
Pedal 1 MIDI Definition MIDI Controller 2
Pedal 2 Device 1
Pedal 2 MIDI Definition MIDI Controller 3
On import, without change to CSV, all expression pedals change to:
Pedal 1 Device 1
Pedal 1 MIDI Definition MIDI Controller 2
Pedal 2 Device 5
Pedal 2 MIDI Definition Pitchbend
Works great so far. Only problem is that the "Program Change Receive Channel" box, shows +1 of what its supposed to. If the GCP is set to 11, the editor will show 12.
Obvious need for drag and drop to reorder presets.
Allow saving/loading of sysex files from a user's dropbox account
In Configuration, Instant Access, when a button is set to a MIDI channel, a field should exist that specifies the CC number to be transmitted.
Issue #7 is fixed (this issue is unrelated to CSV)- but the labels for Preset Pedal Configuration are Off by 1. For example:
Preset Pedal Configuration - Pedal 1 MIDI Definition - MIDI Controller 2 changes to CC 1 on the GCP (should be CC 2) when sending to device,
Preset Pedal Configuration - Pedal 1 MIDI Definition - MIDI Controller 3 changes to CC 2 (should be CC 3) when sending to device.
this.programChangeReceiveChannel on line 316 of gcp.js should be changed to 0x01 to set default Program Changed Receive channel to 1 (now shows blank in UI).
From @sbmechanics
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.