Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
psemiletov committed Dec 24, 2023
1 parent 068ca59 commit 7de75da
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.15)
include(FetchContent)


project(DRUMLABOOH LANGUAGES CXX C VERSION 2.0.2)
project(DRUMLABOOH LANGUAGES CXX C VERSION 2.1.0)

message("Compiler ID: ${CMAKE_CXX_COMPILER_ID}")

Expand Down
22 changes: 18 additions & 4 deletions Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,8 @@ CAudioProcessorEditor::CAudioProcessorEditor (CAudioProcessor& parent, juce::Aud

bt_file_open.onClick = [this] {


dlg_fileopen = std::make_unique<juce::FileChooser> ("Select file to load...",
File::getSpecialLocation (juce::File::userHomeDirectory));
dlg_fileopen = std::make_unique<juce::FileChooser> ("Select file to load...",
File::getSpecialLocation (juce::File::userHomeDirectory));

auto folderChooserFlags = juce::FileBrowserComponent::openMode;

Expand All @@ -602,6 +601,21 @@ CAudioProcessorEditor::CAudioProcessorEditor (CAudioProcessor& parent, juce::Aud


std::string full (f.getFullPathName().toRawUTF8());

bool supported = false;

if (ends_with (full, ".xml"))
supported = true;

if (ends_with (full, ".sfz"))
supported = true;

if (ends_with (full, "drumkit.txt"))
supported = true;

if (! supported)
return;

audioProcessor.drumkit_path = full;
tmr_leds.stopTimer();

Expand Down Expand Up @@ -649,7 +663,7 @@ CAudioProcessorEditor::CAudioProcessorEditor (CAudioProcessor& parent, juce::Aud
cmb_drumkit_selector.setSize (drumcells_group.getWidth() - (64 + XFILLER), 48);

bt_file_open.setTopLeftPosition (cmb_drumkit_selector.getRight() + XFILLER, 8);
bt_file_open.setSize (64 + XFILLER, 48);
bt_file_open.setSize (64, 48);



Expand Down
6 changes: 6 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ <h3 align="center">Free LV2/VSTi drum machine for Linux and Windows</h3>

<h3>NEWS</h3>

<p>December 24 2023 - <a href="https://github.com/psemiletov/drumlabooh/releases/tag/2.1.0">2.1.0 release</a> - The file open button has been added that allows to open the drumkit outside the pre-defined location.</p>



<p>October 10 2023 - <a href="https://github.com/psemiletov/drumlabooh/releases/tag/2.0.2">2.0.2 release</a> - Drum kits list initialization fixed.</p>

Expand Down Expand Up @@ -70,6 +73,9 @@ <h3>NEWS</h3>
<h3>НОВОСТИ</h3>


<p>24 декабря 2023 - <a href="https://github.com/psemiletov/drumlabooh/releases/tag/2.1.0">2.1.0 release</a> - Добавлена кнопка для выбора драмкита в произвольном, а не только в предустановленном каталоге.</p>


<p>10 октября 2023 - <a href="https://github.com/psemiletov/drumlabooh/releases/tag/2.0.2">2.0.2 release</a> - Исправление инициализации списка драмкитов.</p>

<p>8 октября 2023 - <a href="https://github.com/psemiletov/drumlabooh/releases/tag/1.0.0">выпуск 2.0.0</a><br>
Expand Down
4 changes: 2 additions & 2 deletions docs/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ <h2 align="center"> Drumlabooh | Драмлабух: INSTALL</h2>
<td class="table_top_cell">
<h3>Get the plugin!</h3>

<p><a href="https://github.com/psemiletov/drumlabooh/releases/tag/2.0.2">Latest release (2.0.2)</>.<br>
<p><a href="https://github.com/psemiletov/drumlabooh/releases/tag/2.1.0">Latest release (2.1.0)</>.<br>

<a href="https://github.com/psemiletov/drumlabooh">Github page</a><br>

<a href="https://github.com/psemiletov/drumlabooh/releases/download/2.0.2/drumlabooh-installer.exe">Windows VSTi installer (2.0.2)</> (installs to <i>C:\Program Files (x86)\Common Files\VST3)</i><br>
<a href="https://github.com/psemiletov/drumlabooh/releases/download/2.1.0/drumlabooh-installer.exe">Windows VSTi installer (2.1.0)</> (installs to <i>C:\Program Files (x86)\Common Files\VST3)</i><br>

<a href="https://aur.archlinux.org/packages/drumlabooh">AUR page</a> // <i>yay -S drumlabooh</i>
</p>
Expand Down
9 changes: 7 additions & 2 deletions docs/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h2 align="center"> Drumlabooh | Драмлабух: USER'S MANUAL</h2>

<td class="table_top_cell">

<p>Drumlabooh is aimed to not interfere with creativity. All that you need is to create a new MIDI track at your DAW, select the drumkit from the list, and play. Yes indeed, Drumlabooh is not for inventors of new, synthesized drum sounds. Drumlabooh uses the existing, sampled drumkits, so you need to install them first.</p>
<p>Drumlabooh is aimed to not interfere with the creativity. All that you need is to create a new MIDI track at your DAW, select the drumkit from the list, and play. Yes indeed, Drumlabooh is not for inventors of new, synthesized drum sounds. Drumlabooh uses the existing, sampled drumkits, so you need to install them first.</p>

<a href="#mni_modes">1. Stereo vs Multi-channel modes</a><br>
<a href="#mni_getkits">2. Get kits</a><br>
Expand Down Expand Up @@ -58,9 +58,11 @@ <h3>2. Get kits</h3>

<p>All kits those found will be available from the menu (drop-down list) at the top left corner of the plugin.</p>


<p>Note: actually, Drumalbooh searches kits at many locations.</p>

<p>You can also select the drumkit at any directory, using the <b>Or select file</b> button near the drumkits dropdown list. Select xml (Hydrogen formet), sfz (SFZ) or drumkit.txt (Drumlabooh format) file at the drumkit's folder.
</p>

<p>Hydrogen format:</p>

<pre>/usr/share/hydrogen/data/drumkits
Expand Down Expand Up @@ -217,6 +219,9 @@ <h3>2. Скачайте драмкиты</h3>

<p>Все найденные драмкиты будут доступны в Драмлабухе из выпадающего списка в верхней левой части плагина</p>

<p>Справа от него есть также кнопочка <b>Or select file</b>, при помощи которой можно через диалоговое окно открыть драмкит в любом каталоге, где нужно выбрать файл xml (для формата Hydrogen ), sfz (для SFZ) или, в случае с форматом Drumlabooh, drumkit.txt.
</p>


<p>Примечание: вообще-то Драмлабух ищет киты во многих каталогах, а именно:</p>

Expand Down

0 comments on commit 7de75da

Please sign in to comment.