Skip to content

Commit

Permalink
added set() for channel-based and controller-based effects
Browse files Browse the repository at this point in the history
- #28
- work in progress
  • Loading branch information
truj committed Dec 17, 2023
1 parent eb3724d commit 175fda9
Show file tree
Hide file tree
Showing 6 changed files with 842 additions and 110 deletions.
Binary file modified midica.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/org/midica/Midica.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Midica {
private static final int VERSION_MINOR = 11;

/** UNIX timestamp of the last commit */
public static final int COMMIT_TIME = 1702142047;
public static final int COMMIT_TIME = 1702813163;

/** Branch name. Automatically changed by precommit.pl */
public static final String BRANCH = "sound-effects";
Expand Down
4 changes: 4 additions & 0 deletions src/org/midica/config/Dict.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ public class Dict {
public static final String SYNTAX_FUNC_LENGTH = "FUNC_LENGTH";
public static final String SYNTAX_FUNC_WAIT = "FUNC_WAIT";
public static final String SYNTAX_FUNC_NOTE = "FUNC_NOTE";
public static final String SYNTAX_EFF_PERCENT = "EFF_PERCENT";
public static final String SYNTAX_CH_A_POLY_AT = "CH_A_POLY_AT";
public static final String SYNTAX_CH_D_MONO_AT = "CH_D_MONO_AT";
public static final String SYNTAX_CH_E_PITCH_BEND = "CH_E_PITCH_BEND";
Expand Down Expand Up @@ -2954,6 +2955,7 @@ private static void initLanguageEnglish() {
set( SYNTAX_FUNC_LENGTH, "set the length for the next function in the pipeline" );
set( SYNTAX_FUNC_WAIT, "wait for the current length" );
set( SYNTAX_FUNC_NOTE, "set note name (e.g. for portamento ctrl)" );
set( SYNTAX_EFF_PERCENT, "percent symbol for parameters" );
set( SYNTAX_CH_A_POLY_AT, "Polyphonic Aftertouch (Poly Pressure)" );
set( SYNTAX_CH_D_MONO_AT, "Monophonic Aftertouch (Channel Pressure)" );
set( SYNTAX_CH_E_PITCH_BEND, "'off' value for binary set functions" );
Expand Down Expand Up @@ -4312,6 +4314,7 @@ public static void initSyntax() {
setSyntax( SYNTAX_FUNC_LENGTH, "length" );
setSyntax( SYNTAX_FUNC_WAIT, "wait" );
setSyntax( SYNTAX_FUNC_NOTE, "note" );
setSyntax( SYNTAX_EFF_PERCENT, "%" );
setSyntax( SYNTAX_CH_A_POLY_AT, "poly_at" );
setSyntax( SYNTAX_CH_D_MONO_AT, "mono_at" );
setSyntax( SYNTAX_CH_E_PITCH_BEND, "bend" );
Expand Down Expand Up @@ -4526,6 +4529,7 @@ else if (Config.CBX_SYNTAX_UPPER.equals(configuredSyntax)) {
addSyntaxForInfoView( SYNTAX_FUNC_LENGTH );
addSyntaxForInfoView( SYNTAX_FUNC_WAIT );
addSyntaxForInfoView( SYNTAX_FUNC_NOTE );
addSyntaxForInfoView( SYNTAX_EFF_PERCENT );
addSyntaxForInfoView( SYNTAX_CH_A_POLY_AT );
addSyntaxForInfoView( SYNTAX_CH_D_MONO_AT );
addSyntaxForInfoView( SYNTAX_CH_E_PITCH_BEND );
Expand Down
Loading

0 comments on commit 175fda9

Please sign in to comment.