Skip to content

Add controller Vestax VCI-100MKII#729

Merged
ywwg merged 5 commits intomixxxdj:masterfrom
sohet:master
Oct 21, 2015
Merged

Add controller Vestax VCI-100MKII#729
ywwg merged 5 commits intomixxxdj:masterfrom
sohet:master

Conversation

@sohet
Copy link
Copy Markdown
Contributor

@sohet sohet commented Oct 4, 2015

Discontinued but still widely used 4-deck controller. For details, see the wiki http://www.mixxx.org/wiki/doku.php/vestax_vci-100mkii

@illuusio
Copy link
Copy Markdown
Contributor

illuusio commented Oct 6, 2015

Jshint problems found:
Vestax-VCI-100MKII-scripts.js: line 28, col 2, Missing semicolon.
Vestax-VCI-100MKII-scripts.js: line 32, col 2, Missing semicolon.
Vestax-VCI-100MKII-scripts.js: line 90, col 49, Use '===' to compare with '0'.

Those semicolons can be false positives.

@illuusio
Copy link
Copy Markdown
Contributor

illuusio commented Oct 6, 2015

XML prefers '"'-char over '''. It's on the xml-topic tag.

@illuusio
Copy link
Copy Markdown
Contributor

illuusio commented Oct 6, 2015

Please add

////////////////////////////////////////////////////////////////////////
// JSHint configuration                                               //
////////////////////////////////////////////////////////////////////////
/* global engine                                                      */
/* global script                                                      */
/* global print                                                       */
/* global midi                                                        */
////////////////////////////////////////////////////////////////////////

at the top of the javascript-file also seems to be common to have explanation of codes like file: 'Vestax-VCI-300-scripts.js' have.

@illuusio
Copy link
Copy Markdown
Contributor

illuusio commented Oct 6, 2015

if you can run js-beautify to sort code indentation and stuff easily. at least there 'function (' should be 'function('.

Vestax-VCI-100MKII-scripts.js: line 32, col 2, Add semicolon.
Vestax-VCI-100MKII-scripts.js: line 90, Change the conditon (merge the recent change).

Vestax VCI-100MKII.midi.xml: line 1, Replace ''' with '"'.

Vestax-VCI-100MKII-scripts.js: Add header lines.

Vestax-VCI-100MKII-scripts.js: Change the style "function ()" to "function()".
@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 7, 2015

Thank you for checking. I believe all the syntactic problems to be removed.

@ywwg
Copy link
Copy Markdown
Member

ywwg commented Oct 8, 2015

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 8, 2015

The wiki page says the button labeled 23 is "Cup". Is this a typo? What does this mean?

@illuusio
Copy link
Copy Markdown
Contributor

illuusio commented Oct 8, 2015

jshint is happy but code format is still incorrect. Too long lines (80 char per line) for example.

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 10, 2015 via email

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 10, 2015 via email

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 10, 2015

I have had mapped it as usual. But I feel some difficulties.

  1. The filter knob of this controller has no mid click stop.
  2. The curve of filter assigned to super knob is too critical
    around the mid point.

As a result, I sometimes lose kick and bass, despite my intention to
set it to mid. The knob mapped only hi-pass is far more easy to control.

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 10, 2015

Some controllers of some manufactures use "CUP" for "cue and play". Same
as "stutter" of Numark. It seems not widely known, so I will describe it
as "Cue and Play".

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 10, 2015 via email

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 10, 2015

I have had mapped it as usual. But I feel some difficulties.

  1. The filter knob of this controller has no mid click stop.
  2. The curve of filter assigned to super knob is too critical around the mid point.
    As a result, I sometimes loose kick and bass, despite my intention to set it to mid. The knob mapped only hi-pass is far more easy to control.

That makes sense. It's unfortunate the knob was made that way. Some users will likely still want the default filter superknob behavior or want to change it to control the low pass filter instead of the high pass filter. I'm fine with keeping the mapping as it is, but it would be helpful to mention how to change the mapping to do these on the wiki page.

@illuusio
Copy link
Copy Markdown
Contributor

I have understood that XML specs favors '"' over ''' and xmllint does it so. I don't know where these automatic created files comes from but they should follow XML-spec.

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 10, 2015 via email

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 11, 2015

It seems that Mixxx has come to take care of keylock control at scratch. So I drop it from the script.

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 12, 2015

If it will take a long time to merge, may I add and change functions as this?
http://www.mixxx.org/forums/viewtopic.php?f=7&t=6038&start=30#p26166

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 12, 2015

No need to merge this before you're ready.

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 17, 2015

Improve scratching following the scripts of Vestax VCI-400 and Denon MC6000MK2. My implementation uses one loop timer for delay instead of a series of one-shot timers. This improvement also removes interference from jog, so change to inhibit it only in slip mode.

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 17, 2015

Please add a bit more detailed description of the change to your last commit message. To do this, simply run 'git commit --amend' before making another commit.

@sohet sohet force-pushed the master branch 3 times, most recently from a6300c7 to d69f542 Compare October 18, 2015 03:01
…e is fast (on play) or not nearly zero (out of play).
@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 21, 2015

Is this ready to merge?

@illuusio
Copy link
Copy Markdown
Contributor

LGTM ok me to merge.

@sohet
Copy link
Copy Markdown
Contributor Author

sohet commented Oct 21, 2015 via email

ywwg added a commit that referenced this pull request Oct 21, 2015
Add controller Vestax VCI-100MKII
@ywwg ywwg merged commit 2afc0af into mixxxdj:master Oct 21, 2015
@ywwg
Copy link
Copy Markdown
Member

ywwg commented Oct 21, 2015

we can probably cherry-pick this to 1.12 as well

@Be-ing
Copy link
Copy Markdown
Contributor

Be-ing commented Oct 21, 2015

[shift + pitch fader] mapping (playposition) seems not so useful, but I can't find an alternative one till now. Please merge it as is.

Yeah, I just moved a functionality that was mapped to shift + volume fader on my controller. Having a shift function for a fader is really awkward and confusing to actually use.

we can probably cherry-pick this to 1.12 as well

I didn't realize this was targeted at master. Yeah, I don't see why not to cherry pick it into 1.12.

@ywwg
Copy link
Copy Markdown
Member

ywwg commented Oct 21, 2015

merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants