|
Re: Dynamic Channel Names
#UnO2
ok, that makes sense.
By
ossandust
·
#8516
·
|
|
Re: Dynamic Channel Names
#UnO2
It is requested primarily for code reuse. I want to be able to use the same code preset to send to a different MIDI channel depending on the device I have selected.
Instead of
switch($device)
{
case
It is requested primarily for code reuse. I want to be able to use the same code preset to send to a different MIDI channel depending on the device I have selected.
Instead of
switch($device)
{
case
|
By
Jack Fenton
·
#8515
·
|
|
Re: Consumption of Memorory
#UnO2
Thanks, I'll play around with it to see what I can do to reduce memory. I only have 3 banks but most of my presets/triggers look to see what device is selected before applying the correct MIDI output.
Thanks, I'll play around with it to see what I can do to reduce memory. I only have 3 banks but most of my presets/triggers look to see what device is selected before applying the correct MIDI output.
|
By
Jack Fenton
·
#8514
·
|
|
Re: Dynamic Channel Names
#UnO2
No, the CHANNEL statements are there just for 2 reasons :
- they make your code much more readable, as you clearly see to which device you are sending each command
- they make it easy to change the
No, the CHANNEL statements are there just for 2 reasons :
- they make your code much more readable, as you clearly see to which device you are sending each command
- they make it easy to change the
|
By
ossandust
·
#8513
·
|
|
Re: Consumption of Memorory
#UnO2
A compiled setup doesn't contain any strings, since the FCB1010 doesn't use the string values. During compilation all possible values of a string variable are listed and converted to a 10-bit index
A compiled setup doesn't contain any strings, since the FCB1010 doesn't use the string values. During compilation all possible values of a string variable are listed and converted to a 10-bit index
|
By
ossandust
·
#8512
·
|
|
Dynamic Channel Names
#UnO2
I would like to be able to do this :
VAR $ham = "Hammond"
VAR $nord = "Nord"
CHANNEL $nord = 12 // would like $nord to expand to NORD
CHANNEL $ham = 1 // would like $ham to expand to Hammond
or
I would like to be able to do this :
VAR $ham = "Hammond"
VAR $nord = "Nord"
CHANNEL $nord = 12 // would like $nord to expand to NORD
CHANNEL $ham = 1 // would like $ham to expand to Hammond
or
|
By
Jack Fenton
·
#8511
·
|
|
Re: While Statement issue with Uno2
#UnO2
ok, I tried it out myself now and I can confirm these are 2 bugs :
- arithmetic functions on variables should always keep the value between 0 and 127, also in case of "overflow"
- when using a
ok, I tried it out myself now and I can confirm these are 2 bugs :
- arithmetic functions on variables should always keep the value between 0 and 127, also in case of "overflow"
- when using a
|
By
ossandust
·
#8510
·
Edited
|
|
Consumption of Memorory
#UnO2
Does a sting like "Hello" consume 5 bytes of memory in the Uno Foorpedal or are they converted to 1 byte tokens before loading them on the FCB-1010
Right now I'm using a lot of strings and ran out of
Does a sting like "Hello" consume 5 bytes of memory in the Uno Foorpedal or are they converted to 1 byte tokens before loading them on the FCB-1010
Right now I'm using a lot of strings and ran out of
|
By
Jack Fenton
·
#8509
·
|
|
Re: While Statement issue with Uno2
#UnO2
Yes, I tried that at first but it continues to send notes 0 forever because integers in Uno2 cannot go below 0.
Yes, I tried that at first but it continues to send notes 0 forever because integers in Uno2 cannot go below 0.
|
By
Jack Fenton
·
#8508
·
|
|
Re: While Statement issue with Uno2
#UnO2
Will look into it - probably an issue with using a while loop within a switch statement.
But it would be simpler to just say while($currentnote >= 0) ...
Will look into it - probably an issue with using a while loop within a switch statement.
But it would be simpler to just say while($currentnote >= 0) ...
|
By
ossandust
·
#8507
·
|
|
While Statement issue with Uno2
#UnO2
Hi this segment works but I had to add the if statement otherwise the "SendMidi Nord 0 0" still executes even if $Device = "Hammond"
TRIGGER_CLICK AllNotesOffPanic =
{
switch($Device)
{
case
Hi this segment works but I had to add the if statement otherwise the "SendMidi Nord 0 0" still executes even if $Device = "Hammond"
TRIGGER_CLICK AllNotesOffPanic =
{
switch($Device)
{
case
|
By
Jack Fenton
·
#8506
·
|
|
Re: SWEEP NRPN or SysEX
#UnO2
OK, back to BomeBox then to convert CC to NRPN or SysEx.
OK, back to BomeBox then to convert CC to NRPN or SysEx.
|
By
Jack Fenton
·
#8505
·
|
|
Re: SWEEP NRPN or SysEX
#UnO2
No, that was possible with the GORDIUS MIDI controllers, but not with UnO2 or TinyBox.
No, that was possible with the GORDIUS MIDI controllers, but not with UnO2 or TinyBox.
|
By
ossandust
·
#8504
·
|
|
SWEEP NRPN or SysEX
#UnO2
Hi,
Is there a way to assign a SWEEP to an NRPN or SysEx Message? The Extra Voice volume parameter on my Hammond SK2 uses NRPN or SysEX and not CC message.
Hi,
Is there a way to assign a SWEEP to an NRPN or SysEx Message? The Extra Voice volume parameter on my Hammond SK2 uses NRPN or SysEX and not CC message.
|
By
Jack Fenton
·
#8503
·
|
|
Re: FCB1010 UNO2 Receive
#UnO2
Ouch, OK. Guess I will need to rebuild it. I usually export this stuff to my Dropbox, however I forgot to do it this time.
Ouch, OK. Guess I will need to rebuild it. I usually export this stuff to my Dropbox, however I forgot to do it this time.
|
By
Jack Fenton
·
#8501
·
|
|
Re: FCB1010 UNO2 Receive
#UnO2
The FCB1010 doesn't contain the source code. The editor compiles the source code into binary data before sending it to the FCB1010, there is no way to recover the source from that.
The FCB1010 doesn't contain the source code. The editor compiles the source code into binary data before sending it to the FCB1010, there is no way to recover the source from that.
|
By
ossandust
·
#8500
·
|
|
FCB1010 UNO2 Receive
#UnO2
OK, here is my delemma.
I have my Uno2 configuration installed on my FCB 1010, however my hard disk crashed so I now no longer have the source configuration file? Is there any way to recover it or do
OK, here is my delemma.
I have my Uno2 configuration installed on my FCB 1010, however my hard disk crashed so I now no longer have the source configuration file? Is there any way to recover it or do
|
By
Jack Fenton
·
#8499
·
|
|
Re: Set switch to send incremental CC values?
Beautiful! I guess it helps to have a programmer’s brain (I do not lol)
I’ll give it a go and report back
Beautiful! I guess it helps to have a programmer’s brain (I do not lol)
I’ll give it a go and report back
|
By
Mike Watkinson
·
#8498
·
|
|
Re: Set switch to send incremental CC values?
CHANNEL Octavox = 1
VAR $key = 1
TRIGGER_CLICK SemiToneUp =
{
if($key < 121)
$key += 7
SendMidi Octavox CtrlChange 83 $key
}
TRIGGER_CLICK SemiToneDown =
{
if($key > 7)
$key
CHANNEL Octavox = 1
VAR $key = 1
TRIGGER_CLICK SemiToneUp =
{
if($key < 121)
$key += 7
SendMidi Octavox CtrlChange 83 $key
}
TRIGGER_CLICK SemiToneDown =
{
if($key > 7)
$key
|
By
ossandust
·
#8497
·
|
|
Set switch to send incremental CC values?
So I’m having a go at programming the Uno2/FCB1010 to control Eventide’s Octavox plugin. I wish to use a switch to change the key that this harmoniser is set to, and it looks like I can set it up
So I’m having a go at programming the Uno2/FCB1010 to control Eventide’s Octavox plugin. I wish to use a switch to change the key that this harmoniser is set to, and it looks like I can set it up
|
By
Mike Watkinson
·
#8496
·
|