Skip to content

Commit 03f61d5

Browse files
committed
Update README
1 parent 5df27bb commit 03f61d5

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

NeuralRack/gui/NeuralRack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ void plugin_create_controller_widgets(X11_UI *ui, const char * plugin_uri) {
441441
ui->widget[14] = add_lv2_erase_button (ui->widget[14], ui->elem[2], 18, "", ui, 470, 68, 25, 25);
442442

443443
// switch between Stereo and Mix output
444-
ui->widget[27] = add_lv2_vswitch (ui->widget[27], ui->elem[2], 33, "Stereo", ui, 15, 18, 50, 80);
444+
ui->widget[27] = add_lv2_vswitch (ui->widget[27], ui->elem[2], 33, "Stereo", ui, 20, 18, 35, 80);
445445

446446
}
447447

NeuralRack/gui/widgets.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -753,15 +753,15 @@ Widget_t* add_lv2_switch(Widget_t *w, Widget_t *p, int index, const char * label
753753
static void draw_my_vswitch(void *w_, void* user_data) {
754754
Widget_t *wid = (Widget_t*)w_;
755755
X11_UI* ui = (X11_UI*)wid->parent_struct;
756-
const int x = wid->width * 0.2;
756+
const int x = wid->width * 0.125;
757757
const int y = wid->height * 0.2;
758-
const int w = wid->width * 0.5;
758+
const int w = wid->width * 0.75;
759759
const int h = wid->height * 0.6;
760760
const int state = (int)adj_get_state(wid->adj);
761761

762762
const int centerW = w * 0.5;
763763
const int centerH = state ? centerW : h - centerW ;
764-
const int offset = w * 0.2;
764+
const int offset = w * 0.21;
765765

766766
cairo_push_group (wid->crb);
767767

@@ -814,7 +814,7 @@ static void draw_my_vswitch(void *w_, void* user_data) {
814814
}
815815
cairo_set_font_size (wid->crb, wid->app->small_font/wid->scale.ascale);
816816
cairo_text_extents(wid->crb,"Mix" , &extents);
817-
cairo_move_to (wid->crb, (wid->width*0.45)-(extents.width*0.5), 4+(extents.height));
817+
cairo_move_to (wid->crb, (wid->width*0.5)-(extents.width*0.5), 4+(extents.height));
818818
cairo_show_text(wid->crb, "Mix");
819819
cairo_new_path (wid->crb);
820820
/** show label above the switch**/
@@ -825,7 +825,7 @@ static void draw_my_vswitch(void *w_, void* user_data) {
825825
}
826826
cairo_set_font_size (wid->crb, wid->app->small_font/wid->scale.ascale);
827827
cairo_text_extents(wid->crb,wid->label , &extents);
828-
cairo_move_to (wid->crb, (wid->width*0.45)-(extents.width*0.5), wid->height -(extents.height*0.8));
828+
cairo_move_to (wid->crb, (wid->width*0.5)-(extents.width*0.5), wid->height -(extents.height*0.8));
829829
cairo_show_text(wid->crb, wid->label);
830830
cairo_new_path (wid->crb);
831831

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ For information the resulting latency will be shown on the GUI.
2424
NeuralRack supports resampling when needed to match the expected sample rate of the
2525
loaded models. Both models and the IR Files may have different expectations regarding the sample rate.
2626

27+
The IR loader module support two different modes, default is "Stereo", that means it could load
28+
one IR file peer channel, each channel have a gain controller.
29+
The second mode is "Mix", that could load as well two IR files, but the output will be mixed together
30+
into a two channel mono stream. It have a "Mix" controller and a "Master" gain control. When only
31+
one IR file is loaded the "Mix" controller will do nothing and the IR file will be applied to both channels.
32+
2733
## Packaging Status
2834

2935
[![AUR package](https://repology.org/badge/version-for-repo/aur/neuralrack.svg)](https://repology.org/project/neuralrack/versions)

0 commit comments

Comments
 (0)