Skip to content

Commit

Permalink
Merge pull request #10947 from Holzhaus/codespell-fixes
Browse files Browse the repository at this point in the history
Codespell fixes
  • Loading branch information
daschuer authored Oct 19, 2022
2 parents bd3f5ea + 3b1642e commit 1fe083b
Show file tree
Hide file tree
Showing 76 changed files with 224 additions and 304 deletions.
4 changes: 2 additions & 2 deletions .codespellignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Crate
crate
InOut
copyable
doubleclick
technics
38 changes: 38 additions & 0 deletions .codespellignorelines
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
qint64 nsecs = cpuTime * info.numer / info.denom;
virtual void process(CSAMPLE* pInOut,
CSAMPLE* pInOut,
pInOut, pInOut,
CSAMPLE* pInOut,
CSAMPLE* pInOut,
void EnginePregain::process(CSAMPLE* pInOut, const int iBufferSize) {
void EngineDelay::process(CSAMPLE* pInOut, const int iBufferSize) {
void EngineFilter::process(CSAMPLE* pInOut, const int iBufferSize)
pInOut[i] = (CSAMPLE) processSample(fbuf1, (double) pInOut[i]);
pInOut[i + 1] = (CSAMPLE) processSample(fbuf2, (double) pInOut[i + 1]);
m_pDelayBuffer[m_iDelayPos] = pInOut[i];
pInOut[i] = m_pDelayBuffer[iDelaySourcePos];
SampleUtil::applyRampingGain(&pInOut[0], m_fPrevGain, 0, iBufferSize / 2);
SampleUtil::applyRampingGain(&pInOut[iBufferSize / 2], 0, totalGain, iBufferSize / 2);
SampleUtil::applyRampingGain(pInOut, m_fPrevGain, totalGain, iBufferSize);
SampleUtil::applyGain(pInOut, totalGain, iBufferSize);
void process(CSAMPLE* pInOut, const int iBufferSize) override;
void process(CSAMPLE* pInOut, const int iBufferSize);
virtual void process(CSAMPLE* pInOut, const int iBufferSize);
"CSAMPLE_GAIN gain%(i)din, CSAMPLE_GAIN gain%(i)dout"
"gain%(i)dout == CSAMPLE_GAIN_ZERO) {"
"pSrc%(i)d, gain%(i)din, gain%(i)dout" % {"i": j}
"(gain%(i)dout - gain%(i)din) / (iNumSamples / 2);"
MOCK_METHOD2(process, void(CSAMPLE* pInOut, const int iBufferSize));
const QString kName3 = QStringLiteral("I'm blue, da ba dee");
float m_k2vg; // IIF factor
float m_k2vgNew; // IIF factor
-- Free Ekanayaka <freee@debian.org> Thu, 27 Dec 2007 09:53:41 +0000
<!-- TODO(jus): Add missing string to src/skin/tooltips.cpp -->
Copyright (C) 2010-2013 jus <s.brandt@mixxx.org>, 2014 Owen Williams <owilliams@mixxx.org>,
Copyright (C) 2010-2014 jus <s.brandt@mixxx.org>
EXPECT_QSTRING_EQ("fo", map.at(test));
<author>jus</author>
* @returns {Function} Returns the new pass-thru function.
<para>Completely revised for &dhpackage; 1.11 by Max Linke
var latin_map={"Á":"A","Ă":"A","Ắ":"A","Ặ":"A","Ằ":"A","Ẳ":"A","Ẵ":"A","Ǎ":"A","Â":"A","Ấ":"A","Ậ":"A","Ầ":"A","Ẩ":"A","Ẫ":"A","Ä":"A","Ǟ":"A","Ȧ":"A","Ǡ":"A","Ạ":"A","Ȁ":"A","À":"A","Ả":"A","Ȃ":"A","Ā":"A","Ą":"A","Å":"A","Ǻ":"A","Ḁ":"A","Ⱥ":"A","Ã":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ḃ":"B","Ḅ":"B","Ɓ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ć":"C","Č":"C","Ç":"C","Ḉ":"C","Ĉ":"C","Ċ":"C","Ƈ":"C","Ȼ":"C","Ď":"D","Ḑ":"D","Ḓ":"D","Ḋ":"D","Ḍ":"D","Ɗ":"D","Ḏ":"D","Dz":"D","Dž":"D","Đ":"D","Ƌ":"D","DZ":"DZ","DŽ":"DZ","É":"E","Ĕ":"E","Ě":"E","Ȩ":"E","Ḝ":"E","Ê":"E","Ế":"E","Ệ":"E","Ề":"E","Ể":"E","Ễ":"E","Ḙ":"E","Ë":"E","Ė":"E","Ẹ":"E","Ȅ":"E","È":"E","Ẻ":"E","Ȇ":"E","Ē":"E","Ḗ":"E","Ḕ":"E","Ę":"E","Ɇ":"E","Ẽ":"E","Ḛ":"E","Ꝫ":"ET","Ḟ":"F","Ƒ":"F","Ǵ":"G","Ğ":"G","Ǧ":"G","Ģ":"G","Ĝ":"G","Ġ":"G","Ɠ":"G","Ḡ":"G","Ǥ":"G","Ḫ":"H","Ȟ":"H","Ḩ":"H","Ĥ":"H","Ⱨ":"H","Ḧ":"H","Ḣ":"H","Ḥ":"H","Ħ":"H","Í":"I","Ĭ":"I","Ǐ":"I","Î":"I","Ï":"I","Ḯ":"I","İ":"I","Ị":"I","Ȉ":"I","Ì":"I","Ỉ":"I","Ȋ":"I","Ī":"I","Į":"I","Ɨ":"I","Ĩ":"I","Ḭ":"I","Ꝺ":"D","Ꝼ":"F","Ᵹ":"G","Ꞃ":"R","Ꞅ":"S","Ꞇ":"T","Ꝭ":"IS","Ĵ":"J","Ɉ":"J","Ḱ":"K","Ǩ":"K","Ķ":"K","Ⱪ":"K","Ꝃ":"K","Ḳ":"K","Ƙ":"K","Ḵ":"K","Ꝁ":"K","Ꝅ":"K","Ĺ":"L","Ƚ":"L","Ľ":"L","Ļ":"L","Ḽ":"L","Ḷ":"L","Ḹ":"L","Ⱡ":"L","Ꝉ":"L","Ḻ":"L","Ŀ":"L","Ɫ":"L","Lj":"L","Ł":"L","LJ":"LJ","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ń":"N","Ň":"N","Ņ":"N","Ṋ":"N","Ṅ":"N","Ṇ":"N","Ǹ":"N","Ɲ":"N","Ṉ":"N","Ƞ":"N","Nj":"N","Ñ":"N","NJ":"NJ","Ó":"O","Ŏ":"O","Ǒ":"O","Ô":"O","Ố":"O","Ộ":"O","Ồ":"O","Ổ":"O","Ỗ":"O","Ö":"O","Ȫ":"O","Ȯ":"O","Ȱ":"O","Ọ":"O","Ő":"O","Ȍ":"O","Ò":"O","Ỏ":"O","Ơ":"O","Ớ":"O","Ợ":"O","Ờ":"O","Ở":"O","Ỡ":"O","Ȏ":"O","Ꝋ":"O","Ꝍ":"O","Ō":"O","Ṓ":"O","Ṑ":"O","Ɵ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Õ":"O","Ṍ":"O","Ṏ":"O","Ȭ":"O","Ƣ":"OI","Ꝏ":"OO","Ɛ":"E","Ɔ":"O","Ȣ":"OU","Ṕ":"P","Ṗ":"P","Ꝓ":"P","Ƥ":"P","Ꝕ":"P","Ᵽ":"P","Ꝑ":"P","Ꝙ":"Q","Ꝗ":"Q","Ŕ":"R","Ř":"R","Ŗ":"R","Ṙ":"R","Ṛ":"R","Ṝ":"R","Ȑ":"R","Ȓ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꜿ":"C","Ǝ":"E","Ś":"S","Ṥ":"S","Š":"S","Ṧ":"S","Ş":"S","Ŝ":"S","Ș":"S","Ṡ":"S","Ṣ":"S","Ṩ":"S","ẞ":"SS","Ť":"T","Ţ":"T","Ṱ":"T","Ț":"T","Ⱦ":"T","Ṫ":"T","Ṭ":"T","Ƭ":"T","Ṯ":"T","Ʈ":"T","Ŧ":"T","Ɐ":"A","Ꞁ":"L","Ɯ":"M","Ʌ":"V","Ꜩ":"TZ","Ú":"U","Ŭ":"U","Ǔ":"U","Û":"U","Ṷ":"U","Ü":"U","Ǘ":"U","Ǚ":"U","Ǜ":"U","Ǖ":"U","Ṳ":"U","Ụ":"U","Ű":"U","Ȕ":"U","Ù":"U","Ủ":"U","Ư":"U","Ứ":"U","Ự":"U","Ừ":"U","Ử":"U","Ữ":"U","Ȗ":"U","Ū":"U","Ṻ":"U","Ų":"U","Ů":"U","Ũ":"U","Ṹ":"U","Ṵ":"U","Ꝟ":"V","Ṿ":"V","Ʋ":"V","Ṽ":"V","Ꝡ":"VY","Ẃ":"W","Ŵ":"W","Ẅ":"W","Ẇ":"W","Ẉ":"W","Ẁ":"W","Ⱳ":"W","Ẍ":"X","Ẋ":"X","Ý":"Y","Ŷ":"Y","Ÿ":"Y","Ẏ":"Y","Ỵ":"Y","Ỳ":"Y","Ƴ":"Y","Ỷ":"Y","Ỿ":"Y","Ȳ":"Y","Ɏ":"Y","Ỹ":"Y","Ź":"Z","Ž":"Z","Ẑ":"Z","Ⱬ":"Z","Ż":"Z","Ẓ":"Z","Ȥ":"Z","Ẕ":"Z","Ƶ":"Z","IJ":"IJ","Œ":"OE","ᴀ":"A","ᴁ":"AE","ʙ":"B","ᴃ":"B","ᴄ":"C","ᴅ":"D","ᴇ":"E","ꜰ":"F","ɢ":"G","ʛ":"G","ʜ":"H","ɪ":"I","ʁ":"R","ᴊ":"J","ᴋ":"K","ʟ":"L","ᴌ":"L","ᴍ":"M","ɴ":"N","ᴏ":"O","ɶ":"OE","ᴐ":"O","ᴕ":"OU","ᴘ":"P","ʀ":"R","ᴎ":"N","ᴙ":"R","ꜱ":"S","ᴛ":"T","ⱻ":"E","ᴚ":"R","ᴜ":"U","ᴠ":"V","ᴡ":"W","ʏ":"Y","ᴢ":"Z","á":"a","ă":"a","ắ":"a","ặ":"a","ằ":"a","ẳ":"a","ẵ":"a","ǎ":"a","â":"a","ấ":"a","ậ":"a","ầ":"a","ẩ":"a","ẫ":"a","ä":"a","ǟ":"a","ȧ":"a","ǡ":"a","ạ":"a","ȁ":"a","à":"a","ả":"a","ȃ":"a","ā":"a","ą":"a","ᶏ":"a","ẚ":"a","å":"a","ǻ":"a","ḁ":"a","ⱥ":"a","ã":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ḃ":"b","ḅ":"b","ɓ":"b","ḇ":"b","ᵬ":"b","ᶀ":"b","ƀ":"b","ƃ":"b","ɵ":"o","ć":"c","č":"c","ç":"c","ḉ":"c","ĉ":"c","ɕ":"c","ċ":"c","ƈ":"c","ȼ":"c","ď":"d","ḑ":"d","ḓ":"d","ȡ":"d","ḋ":"d","ḍ":"d","ɗ":"d","ᶑ":"d","ḏ":"d","ᵭ":"d","ᶁ":"d","đ":"d","ɖ":"d","ƌ":"d","ı":"i","ȷ":"j","ɟ":"j","ʄ":"j","dz":"dz","dž":"dz","é":"e","ĕ":"e","ě":"e","ȩ":"e","ḝ":"e","ê":"e","ế":"e","ệ":"e","ề":"e","ể":"e","ễ":"e","ḙ":"e","ë":"e","ė":"e","ẹ":"e","ȅ":"e","è":"e","ẻ":"e","ȇ":"e","ē":"e","ḗ":"e","ḕ":"e","ⱸ":"e","ę":"e","ᶒ":"e","ɇ":"e","ẽ":"e","ḛ":"e","ꝫ":"et","ḟ":"f","ƒ":"f","ᵮ":"f","ᶂ":"f","ǵ":"g","ğ":"g","ǧ":"g","ģ":"g","ĝ":"g","ġ":"g","ɠ":"g","ḡ":"g","ᶃ":"g","ǥ":"g","ḫ":"h","ȟ":"h","ḩ":"h","ĥ":"h","ⱨ":"h","ḧ":"h","ḣ":"h","ḥ":"h","ɦ":"h","ẖ":"h","ħ":"h","ƕ":"hv","í":"i","ĭ":"i","ǐ":"i","î":"i","ï":"i","ḯ":"i","ị":"i","ȉ":"i","ì":"i","ỉ":"i","ȋ":"i","ī":"i","į":"i","ᶖ":"i","ɨ":"i","ĩ":"i","ḭ":"i","ꝺ":"d","ꝼ":"f","ᵹ":"g","ꞃ":"r","ꞅ":"s","ꞇ":"t","ꝭ":"is","ǰ":"j","ĵ":"j","ʝ":"j","ɉ":"j","ḱ":"k","ǩ":"k","ķ":"k","ⱪ":"k","ꝃ":"k","ḳ":"k","ƙ":"k","ḵ":"k","ᶄ":"k","ꝁ":"k","ꝅ":"k","ĺ":"l","ƚ":"l","ɬ":"l","ľ":"l","ļ":"l","ḽ":"l","ȴ":"l","ḷ":"l","ḹ":"l","ⱡ":"l","ꝉ":"l","ḻ":"l","ŀ":"l","ɫ":"l","ᶅ":"l","ɭ":"l","ł":"l","lj":"lj","ſ":"s","ẜ":"s","ẛ":"s","ẝ":"s","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ᵯ":"m","ᶆ":"m","ń":"n","ň":"n","ņ":"n","ṋ":"n","ȵ":"n","ṅ":"n","ṇ":"n","ǹ":"n","ɲ":"n","ṉ":"n","ƞ":"n","ᵰ":"n","ᶇ":"n","ɳ":"n","ñ":"n","nj":"nj","ó":"o","ŏ":"o","ǒ":"o","ô":"o","ố":"o","ộ":"o","ồ":"o","ổ":"o","ỗ":"o","ö":"o","ȫ":"o","ȯ":"o","ȱ":"o","ọ":"o","ő":"o","ȍ":"o","ò":"o","ỏ":"o","ơ":"o","ớ":"o","ợ":"o","ờ":"o","ở":"o","ỡ":"o","ȏ":"o","ꝋ":"o","ꝍ":"o","ⱺ":"o","ō":"o","ṓ":"o","ṑ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","õ":"o","ṍ":"o","ṏ":"o","ȭ":"o","ƣ":"oi","ꝏ":"oo","ɛ":"e","ᶓ":"e","ɔ":"o","ᶗ":"o","ȣ":"ou","ṕ":"p","ṗ":"p","ꝓ":"p","ƥ":"p","ᵱ":"p","ᶈ":"p","ꝕ":"p","ᵽ":"p","ꝑ":"p","ꝙ":"q","ʠ":"q","ɋ":"q","ꝗ":"q","ŕ":"r","ř":"r","ŗ":"r","ṙ":"r","ṛ":"r","ṝ":"r","ȑ":"r","ɾ":"r","ᵳ":"r","ȓ":"r","ṟ":"r","ɼ":"r","ᵲ":"r","ᶉ":"r","ɍ":"r","ɽ":"r","ↄ":"c","ꜿ":"c","ɘ":"e","ɿ":"r","ś":"s","ṥ":"s","š":"s","ṧ":"s","ş":"s","ŝ":"s","ș":"s","ṡ":"s","ṣ":"s","ṩ":"s","ʂ":"s","ᵴ":"s","ᶊ":"s","ȿ":"s","ɡ":"g","ß":"ss","ᴑ":"o","ᴓ":"o","ᴝ":"u","ť":"t","ţ":"t","ṱ":"t","ț":"t","ȶ":"t","ẗ":"t","ⱦ":"t","ṫ":"t","ṭ":"t","ƭ":"t","ṯ":"t","ᵵ":"t","ƫ":"t","ʈ":"t","ŧ":"t","ᵺ":"th","ɐ":"a","ᴂ":"ae","ǝ":"e","ᵷ":"g","ɥ":"h","ʮ":"h","ʯ":"h","ᴉ":"i","ʞ":"k","ꞁ":"l","ɯ":"m","ɰ":"m","ᴔ":"oe","ɹ":"r","ɻ":"r","ɺ":"r","ⱹ":"r","ʇ":"t","ʌ":"v","ʍ":"w","ʎ":"y","ꜩ":"tz","ú":"u","ŭ":"u","ǔ":"u","û":"u","ṷ":"u","ü":"u","ǘ":"u","ǚ":"u","ǜ":"u","ǖ":"u","ṳ":"u","ụ":"u","ű":"u","ȕ":"u","ù":"u","ủ":"u","ư":"u","ứ":"u","ự":"u","ừ":"u","ử":"u","ữ":"u","ȗ":"u","ū":"u","ṻ":"u","ų":"u","ᶙ":"u","ů":"u","ũ":"u","ṹ":"u","ṵ":"u","ᵫ":"ue","ꝸ":"um","ⱴ":"v","ꝟ":"v","ṿ":"v","ʋ":"v","ᶌ":"v","ⱱ":"v","ṽ":"v","ꝡ":"vy","ẃ":"w","ŵ":"w","ẅ":"w","ẇ":"w","ẉ":"w","ẁ":"w","ⱳ":"w","ẘ":"w","ẍ":"x","ẋ":"x","ᶍ":"x","ý":"y","ŷ":"y","ÿ":"y","ẏ":"y","ỵ":"y","ỳ":"y","ƴ":"y","ỷ":"y","ỿ":"y","ȳ":"y","ẙ":"y","ɏ":"y","ỹ":"y","ź":"z","ž":"z","ẑ":"z","ʑ":"z","ⱬ":"z","ż":"z","ẓ":"z","ȥ":"z","ẕ":"z","ᵶ":"z","ᶎ":"z","ʐ":"z","ƶ":"z","ɀ":"z","ff":"ff","ffi":"ffi","ffl":"ffl","fi":"fi","fl":"fl","ij":"ij","œ":"oe","st":"st","ₐ":"a","ₑ":"e","ᵢ":"i","ⱼ":"j","ₒ":"o","ᵣ":"r","ᵤ":"u","ᵥ":"v","ₓ":"x"};
"curren" : 164,
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
qt_qpa_platform: offscreen
- name: Windows 2019 (MSVC)
os: windows-2019
# TODO: Reenable FFmpeg after licensing issues have been clarified
# TODO: Re-enable FFmpeg after licensing issues have been clarified
# Attention: If you change the cmake_args for the Windows CI build,
# also adjust the for the local Windows build setup in
# ./tools/windows_buildenv.bat
Expand Down
15 changes: 10 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,16 @@ repos:
rev: v2.2.2
hooks:
- id: codespell
# The wrapper script tools/codespell.py only checks changed lines instead of all files.
entry: tools/codespell.py --ignore-words .codespellignore --ignore-regex "\\W(?:m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))" --files
# Replace 'entry' with 'args' to run the checks on all files instead of only changed lines.
#args: [--ignore-words, .codespellignore, --ignore-regex, "\\W(?:m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))"]
exclude: ^(packaging/wix/LICENSE.rtf|src/dialog/dlgabout\.cpp|.*\.(?:pot?|ts|wxl))$
args:
[
--exclude-file,
.codespellignorelines,
--ignore-words,
.codespellignore,
--ignore-regex,
"\\W(?:m_p*(?=[A-Z])|m_(?=\\w)|pp*(?=[A-Z])|k(?=[A-Z])|s_(?=\\w))",
]
exclude: ^(packaging/wix/LICENSE.rtf|src/dialog/dlgabout\.cpp|.*\.(?:pot?|ts|wxl|svg))$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.25.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion cmake/ctest-to-junit.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This XSLT stylesheet is taken from the jenkins-ctest-plugin by Version One,
Inc. and Ryan Pavlik <abiryan@ryand.net> and is subject to the terms of the
MIT License.
It was taken from this GitHub repositiory:
It was taken from this GitHub repository:
https://github.com/rpavlik/jenkins-ctest-plugin
Includes modifications by Jan Holthuis to add support for skipped/errored
Expand Down
4 changes: 2 additions & 2 deletions packaging/CPackDebInstall.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(NOT CPACK_DEBIAN_DEBCHANGE)
endif()

# We create a temporary debian folder that the debhelper below run as usual.
# The final debian folder is created indipendently by cpack
# The final debian folder is created independently by cpack
message( NOTICE "Creating temporary debian folder for debhelper" )
file(COPY ${CPACK_DEBIAN_SOURCE_DIR}/packaging/debian
DESTINATION ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME})
Expand Down Expand Up @@ -69,7 +69,7 @@ function(run_dh DH_COMMAND)
WORKING_DIRECTORY ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}
RESULT_VARIABLE CPACK_DEBIAN_DH_RET)
if(NOT CPACK_DEBIAN_DH_RET EQUAL "0")
message(FATAL_ERROR "${DH_COMMAND} retuned exit code ${CPACK_DEBIAN_DH_RET}")
message(FATAL_ERROR "${DH_COMMAND} returned exit code ${CPACK_DEBIAN_DH_RET}")
endif()
endfunction()

Expand Down
2 changes: 1 addition & 1 deletion packaging/CPackDebUploadPPA.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ foreach(RELEASE ${CPACK_DEBIAN_DISTRIBUTION_RELEASES})
WORKING_DIRECTORY ${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}
RESULT_VARIABLE CPACK_DEBIAN_DEBUILD_RET)
if(NOT CPACK_DEBIAN_DEBUILD_RET EQUAL "0")
message(FATAL_ERROR "${CPACK_DEBIAN_DEBUILD} retuned exit code ${CPACK_DEBIAN_DEBUILD_RET}")
message(FATAL_ERROR "${CPACK_DEBIAN_DEBUILD} returned exit code ${CPACK_DEBIAN_DEBUILD_RET}")
endif()
endif()
if (BUILD_MACHINE_RELEASE STREQUAL RELEASE AND DEB_BUILD)
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Behringer-BCD2000-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ BehringerBCD2000.shutdown = function () {

BehringerBCD2000.reset();

// Reenable jog acceleration
// Re-enable jog acceleration
if (!BehringerBCD2000.UseAcceleration)
midi.sendShortMsg(0xB0, 0x63, 0x7F);
};
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Behringer-BCD3000-Advanced-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ BehringerBCD3000.shutdown = function () {

BehringerBCD3000.reset();

// Reenable jog acceleration
// Re-enable jog acceleration
if (!BehringerBCD3000.UseAcceleration)
midi.sendShortMsg(0xB0, 0x63, 0x7F);
};
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Behringer-BCD3000-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ BehringerBCD3000.shutdown = function () {

BehringerBCD3000.reset();

// Reenable jog acceleration
// Re-enable jog acceleration
if (!BehringerBCD3000.UseAcceleration)
midi.sendShortMsg(0xB0, 0x63, 0x7F);
};
Expand Down
4 changes: 2 additions & 2 deletions res/controllers/Denon-MC7000-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -682,8 +682,8 @@ MC7000.wheelTouch = function(channel, control, value, status, group) {

// The wheel that actually controls the scratching
MC7000.wheelTurn = function(channel, control, value, status, group) {
// TODO(all): check for latency and use it to normalize the jog factor so jog wont be
// depending on audio latency anymore.
// TODO(all): check for latency and use it to normalize the jog factor so
// jog won't be depending on audio latency anymore.

// A: For a control that centers on 0:
var numTicks = (value < 0x64) ? value : (value - 128);
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Gemini-FirstMix-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* Jogwheel: Normally (when the Scratch button for the deck is not lit), the jogwheels will "nudge" the playing track, speeding it up or slowing it down slightly.
* Pressing the Scratch button will toggle the scratch mode. In scratch mode, the jogwheels will "scratch" the playing track but only while you are touching them (because the jogwheels are touch-sensitive).
*
* Sel(ect) buttons: I didn't know what to do with these buttons so I left them undefined.
* SEL buttons: I didn't know what to do with these buttons so I left them undefined.
*
**/

Expand Down
4 changes: 2 additions & 2 deletions res/controllers/Hercules DJ Control MP3 e2-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ HerculesMP3e2.wheelOnOff = function() {
HerculesMP3e2.jogWheel = function(midino, control, value, status, group) {
var deck = (group == "[Channel1]") ? deckA : deckB;

// This function is called everytime the jog is moved
// This function is called every time the jog is moved
if (value == 0x01) {
if (superButtonHold == 2) {
if ((deck == 1) || (deck == 3)) {
Expand Down Expand Up @@ -1004,4 +1004,4 @@ HerculesMP3e2.filterMid = function(midino, control, value, status, group) {

HerculesMP3e2.filterLow = function(midino, control, value, status, group) {
HerculesMP3e2.filterKnob(group, "parameter1", value);
};
};
12 changes: 6 additions & 6 deletions res/controllers/Hercules-DJ-Console-4-Mx-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,8 @@ Hercules4Mx.LoopEditRelease = function(group, fxbutton, value, extraparam) {
Hercules4Mx.deactivateEditModeAction();
}
Hercules4Mx.activateEditModeAction(Hercules4Mx.editModes.loop, deck);
var splitted = extraparam.split(";");
if (splitted[0] === "roll") {
var split = extraparam.split(";");
if (split[0] === "roll") {
engine.setValue(group, "slip_enabled", 1);
} else {
engine.setValue(group, "slip_enabled", 0);
Expand Down Expand Up @@ -1364,13 +1364,13 @@ Hercules4Mx.LoopButtonPush = function(group, fxbutton, value, extraparam) {
if (Hercules4Mx.debuglog) {
engine.log("Hercules4Mx.LoopButtonPush");
}
var splitted = extraparam.split(";");
if (splitted[0] === "roll" && splitted.length === 2) {
var split = extraparam.split(";");
if (split[0] === "roll" && split.length === 2) {
if (engine.getValue(group, "loop_enabled") === 0 && value > 0) {
engine.setValue(group, "slip_enabled", 1);
}
Hercules4Mx.buttonPush(group, fxbutton, value, splitted[1]);
} else if (splitted.length === 1) {
Hercules4Mx.buttonPush(group, fxbutton, value, split[1]);
} else if (split.length === 1) {
engine.setValue(group, "slip_enabled", 0);
Hercules4Mx.buttonPush(group, fxbutton, value, extraparam);
}
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Hercules-DJ-Console-Mk4-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ HerculesMk4.sync = function (midino, control, value, status, group) {
};

HerculesMk4.jogWheel = function (midino, control, value, status, group) {
// This function is called everytime the jog is moved
// This function is called every time the jog is moved

var direction=(value == 0x01)? 1: -1;

Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Hercules_DJControl_Inpulse_200.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1303,7 +1303,7 @@
<on>0x07</on>
<off>0x05</off>
</output>
<!-- LED Assitant button-->
<!-- LED Assistant button-->
<output>
<group>[AutoDJ]</group>
<key>enabled</key>
Expand Down
2 changes: 1 addition & 1 deletion res/controllers/Hercules_DJControl_Jogvision.midi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1721,7 +1721,7 @@
<output>
<group>[Master]</group>
<key>maximize_library</key>
<description>VIEW buton LED</description>
<description>VIEW button LED</description>
<minimum>0.5</minimum>
<maximum>1</maximum>
<status>0x90</status>
Expand Down
4 changes: 2 additions & 2 deletions res/controllers/KANE_QuNeo_scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1586,8 +1586,8 @@ KANE_QuNeo.assertJumpLEDs = function (deck, numBeats) {
var old = KANE_QuNeo.jumpLoopLEDs[channel];
old.splice(old.indexOf(off[0]),1) // turn off the off stuff
KANE_QuNeo.jumpLoopLEDs[channel] = old.concat(on); // turn on the new stuff
KANE_QuNeo.LEDs(0x91,off,0x00); // update offs
KANE_QuNeo.triggerVuMeter(deck); // update ons
KANE_QuNeo.LEDs(0x91,off,0x00);
KANE_QuNeo.triggerVuMeter(deck);
}

/****** (RLED) Rotary LEDs ******/
Expand Down
14 changes: 7 additions & 7 deletions res/controllers/Novation-Launchpad MK2-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -11942,7 +11942,7 @@ function nth(array, n) {
* @since 4.0.0
* @category Util
* @param {number} [n=0] The index of the argument to return.
* @returns {Function} Returns the new pass-thru function.
* @returns {Function} Returns the new passthrough function.
* @example
*
* var func = _.nthArg(1);
Expand Down Expand Up @@ -17785,19 +17785,19 @@ function assemble() {
var str = '';
var first$$1 = true;
Array.prototype.slice.call(arguments).forEach(function (arg) {
var appendend = void 0;
var append = void 0;
if (Array.isArray(arg)) {
appendend = '[' + arg.toString() + ']';
append = '[' + arg.toString() + ']';
} else if ((typeof arg === 'undefined' ? 'undefined' : _typeof(arg)) === 'object' && startsWith(arg.toString(), '[object')) {
appendend = stringify_1(arg, null, 2);
append = stringify_1(arg, null, 2);
} else {
appendend = arg;
append = arg;
}
if (first$$1) {
str = appendend;
str = append;
first$$1 = false;
} else {
str = str + ' ' + appendend;
str = str + ' ' + append;
}
});
return str;
Expand Down
Loading

0 comments on commit 1fe083b

Please sign in to comment.