Skip to content

Commit 113f058

Browse files
authored
Merge pull request #142 from DamRsn/damien/prepare_1.1.0_update
1.1.0 update
2 parents 5d54522 + aae3228 commit 113f058

17 files changed

+79
-86
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.16)
2-
project(NeuralNotePlugin VERSION 1.0.0)
2+
project(NeuralNotePlugin VERSION 1.1.0)
33

44
# C++ settings
55
set(CMAKE_CXX_STANDARD 17)
@@ -152,6 +152,7 @@ target_link_libraries(${BaseTargetName}
152152

153153
if (${LTO})
154154
target_link_libraries(${BaseTargetName} PUBLIC juce_recommended_lto_flags)
155+
message(STATUS "Link Time Optimization (LTO) enabled")
155156
endif ()
156157

157158
if (BUILD_UNIT_TESTS)

Installers/Mac/NeuralNote.pkgproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@
500500
<key>USE_HFS+_COMPRESSION</key>
501501
<false/>
502502
<key>VERSION</key>
503-
<string>1.0.0</string>
503+
<string>1.1.0</string>
504504
</dict>
505505
<key>TYPE</key>
506506
<integer>0</integer>
@@ -1068,7 +1068,7 @@
10681068
<key>USE_HFS+_COMPRESSION</key>
10691069
<false/>
10701070
<key>VERSION</key>
1071-
<string>1.0.0</string>
1071+
<string>1.1.0</string>
10721072
</dict>
10731073
<key>TYPE</key>
10741074
<integer>0</integer>
@@ -1636,7 +1636,7 @@
16361636
<key>USE_HFS+_COMPRESSION</key>
16371637
<false/>
16381638
<key>VERSION</key>
1639-
<string>1.0.0</string>
1639+
<string>1.1.0</string>
16401640
</dict>
16411641
<key>TYPE</key>
16421642
<integer>0</integer>

Installers/Windows/neuralnote.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[Setup]
66
AppName=NeuralNote
7-
AppVersion=1.0.0
7+
AppVersion=1.1.0
88
OutputBaseFilename=NeuralNoteInstaller
99
DefaultDirName={pf}\NeuralNote
1010
DefaultGroupName=NeuralNote

Installers/license.txt

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
NeuralNote is licensed under the Apache-2.0 License.
22
Source code is available at: https://github.com/DamRsn/NeuralNote
3-
Copyright 2024 Damien Ronssin
3+
Copyright 2025 Damien Ronssin
44

55

66
Apache License
@@ -179,28 +179,3 @@ Copyright 2024 Damien Ronssin
179179
of your accepting any such warranty or additional liability.
180180

181181
END OF TERMS AND CONDITIONS
182-
183-
APPENDIX: How to apply the Apache License to your work.
184-
185-
To apply the Apache License to your work, attach the following
186-
boilerplate notice, with the fields enclosed by brackets "[]"
187-
replaced with your own identifying information. (Don't include
188-
the brackets!) The text should be enclosed in the appropriate
189-
comment syntax for the file format. We also recommend that a
190-
file or class name and description of purpose be included on the
191-
same "printed page" as the copyright notice for easier
192-
identification within third-party archives.
193-
194-
Copyright [yyyy] [name of copyright owner]
195-
196-
Licensed under the Apache License, Version 2.0 (the "License");
197-
you may not use this file except in compliance with the License.
198-
You may obtain a copy of the License at
199-
200-
http://www.apache.org/licenses/LICENSE-2.0
201-
202-
Unless required by applicable law or agreed to in writing, software
203-
distributed under the License is distributed on an "AS IS" BASIS,
204-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205-
See the License for the specific language governing permissions and
206-
limitations under the License.

Lib/Model/BasicPitch.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ void BasicPitch::reset()
2121
mNumFrames = 0;
2222
}
2323

24-
void BasicPitch::setParameters(float inNoteSensibility, float inSplitSensibility, float inMinNoteDurationMs)
24+
void BasicPitch::setParameters(float inNoteSensitivity, float inSplitSensitivity, float inMinNoteDurationMs)
2525
{
26-
mParams.frameThreshold = 1.0f - inNoteSensibility;
27-
mParams.onsetThreshold = 1.0f - inSplitSensibility;
26+
mParams.frameThreshold = 1.0f - inNoteSensitivity;
27+
mParams.onsetThreshold = 1.0f - inSplitSensitivity;
2828

2929
mParams.minNoteLengthFrames =
3030
static_cast<int>(std::round(inMinNoteDurationMs / 1000.0f / (FFT_HOP / BASIC_PITCH_SAMPLE_RATE)));

Lib/Model/BasicPitch.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class BasicPitch
2525

2626
/**
2727
* Set parameters for next transcription or midi update.
28-
* @param inNoteSensibility Note sensibility threshold (0.05, 0.95). Higher gives more notes.
29-
* @param inSplitSensibility Split sensibility threshold (0.05, 0.95). Higher will split note more, lower will merge close notes with same pitch
28+
* @param inNoteSensitivity Note sensitivity threshold (0.05, 0.95). Higher gives more notes.
29+
* @param inSplitSensitivity Split sensitivity threshold (0.05, 0.95). Higher will split note more, lower will merge close notes with same pitch
3030
* @param inMinNoteDurationMs Minimum note duration to keep in ms.
3131
*/
32-
void setParameters(float inNoteSensibility, float inSplitSensibility, float inMinNoteDurationMs);
32+
void setParameters(float inNoteSensitivity, float inSplitSensitivity, float inMinNoteDurationMs);
3333

3434
/**
3535
* Transcribe the input audio. The note event vector can be obtained after this with getNoteEvents

NeuralNote/Source/Components/NumericTextEditor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class NumericTextEditor
6868
Desktop::getInstance().removeGlobalMouseListener(this);
6969
};
7070

71-
setText(numberToStr(mProcessor->getValueTree().getProperty(inPropIdentifier)), false);
71+
setText(numberToStr(mProcessor->getValueTree().getProperty(mIdentifier)), false);
7272

7373
mProcessor->addListenerToStateValueTree(this);
7474
}

NeuralNote/Source/Components/Views/TranscriptionOptionsView.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
TranscriptionOptionsView::TranscriptionOptionsView(NeuralNoteAudioProcessor& processor)
99
: mProcessor(processor)
1010
{
11-
mNoteSensibility =
12-
std::make_unique<Knob>(*mProcessor.getParams()[ParameterHelpers::NoteSensibilityId], "NOTE SENSIBILITY", false);
13-
mNoteSensibility->setTooltip(NeuralNoteTooltips::to_note_sensibility);
14-
addAndMakeVisible(*mNoteSensibility);
11+
mNoteSensitivity =
12+
std::make_unique<Knob>(*mProcessor.getParams()[ParameterHelpers::NoteSensitivityId], "NOTE SENSITIVITY", false);
13+
mNoteSensitivity->setTooltip(NeuralNoteTooltips::to_note_sensitivity);
14+
addAndMakeVisible(*mNoteSensitivity);
1515

16-
mSplitSensibility = std::make_unique<Knob>(
17-
*mProcessor.getParams()[ParameterHelpers::SplitSensibilityId], "SPLIT SENSIBILITY", false);
18-
mSplitSensibility->setTooltip(NeuralNoteTooltips::to_split_sensibility);
19-
addAndMakeVisible(*mSplitSensibility);
16+
mSplitSensitivity = std::make_unique<Knob>(
17+
*mProcessor.getParams()[ParameterHelpers::SplitSensitivityId], "SPLIT SENSITIVITY", false);
18+
mSplitSensitivity->setTooltip(NeuralNoteTooltips::to_split_sensitivity);
19+
addAndMakeVisible(*mSplitSensitivity);
2020

2121
mMinNoteDuration = std::make_unique<Knob>(
2222
*mProcessor.getParams()[ParameterHelpers::MinimumNoteDurationId], "MIN NOTE DURATION", false, " ms");
@@ -38,8 +38,8 @@ void TranscriptionOptionsView::resized()
3838
{
3939
int button_y_start = 40;
4040

41-
mNoteSensibility->setBounds(18, button_y_start, 66, 89);
42-
mSplitSensibility->setBounds(106, button_y_start, 66, 89);
41+
mNoteSensitivity->setBounds(18, button_y_start, 66, 89);
42+
mSplitSensitivity->setBounds(106, button_y_start, 66, 89);
4343
mMinNoteDuration->setBounds(193, button_y_start, 66, 89);
4444
mPitchBendDropDown->setBounds(100, 129 + LEFT_SECTIONS_TOP_PAD, 154, 17);
4545
}

NeuralNote/Source/Components/Views/TranscriptionOptionsView.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class TranscriptionOptionsView : public juce::Component
2626
private:
2727
NeuralNoteAudioProcessor& mProcessor;
2828

29-
std::unique_ptr<Knob> mNoteSensibility;
30-
std::unique_ptr<Knob> mSplitSensibility;
29+
std::unique_ptr<Knob> mNoteSensitivity;
30+
std::unique_ptr<Knob> mSplitSensitivity;
3131
std::unique_ptr<Knob> mMinNoteDuration;
3232

3333
std::unique_ptr<juce::ComboBox> mPitchBendDropDown;

NeuralNote/Source/NeuralNoteTooltips.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
namespace NeuralNoteTooltips
1111
{
1212
// Transcription options
13-
const String to_note_sensibility = "Set note sensibility\n"
13+
const String to_note_sensitivity = "Set note sensitivity\n"
1414
"Higher values will detect more notes";
1515

16-
const String to_split_sensibility = "Set split sensibility\n"
16+
const String to_split_sensitivity = "Set split sensitivity\n"
1717
"Higher values result in more splits\nLower values results in longer held notes";
1818

1919
const String to_min_note_duration = "Set minimum note duration\n"

0 commit comments

Comments
 (0)