mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
Felucca 1.0.4
DRUM: five more kits on KIT (80, 10, 66, 55, 77) in the manner of classic analog drum machines, every lane its own synthesized voice; a key-off before the first audio block no longer loses the hit. SLICE gets PIANO as a source next to BREAK (SRC 4, the SAMPLE PIANO middle C). An empty or invalid sample slot, or a missing built-in set, plays a sine at the note's pitch on SAMPLE, GRAIN and SLICE, with a NO SAMPLE alert (SAMPLE NOT FOUND on the SLICES page). The PRESETS knob changes the sound on every page that is not a list and moves the step cursor on the SEQ pages (Discussions #92, #94); REC held on the SEQ pages clears the sequence after asking (#91, #108); on STEP the keys light the cursor step's notes while stopped (#89); MOTION is now called AUTOMATION (#93). The web editor reads and changes the MENU settings (MENU_DESC 72, MENU_SET 73). OCT- pressed quickly with GLO, SCL, EDIT or, with FX LATCH, FX (all off) now acts. The firmware runs in the browser: web/emu, after charlesvestal's X0X (#101). EDIT layer: the engine cells are 20 px tall, 8 px clear of the sound row.
This commit is contained in:
1 parent
852bc724d2
commit
2da8a71cf8
48 files changed
+3394
-284
No files matched your search
+13
-1
@@ -394,6 +394,18 @@ static int layer_play(void)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* OCT- / OCT+ pressed with a SET layer's button down (FX LATCH: FX's) before it opened: a combo, so it opens now,
|
||||
* before oct_taps and layer_oct read it (else the press was nobody's: no put back / ALL OFF, no octave) */
|
||||
static void layer_oct_open(uint32_t pressed)
|
||||
{
|
||||
uint32_t l = ui.ly, oct = 1u << panel.btn[B_OCTDN] | 1u << panel.btn[B_OCTUP];
|
||||
if ((pressed & oct) && l && !(ui.ly_t0 & (LY_OPEN | LY_DEAD)) && layer_held() &&
|
||||
(LAYERS[l].kind == LK_SET || (l == LAYER_FX && perf_latch_on))) {
|
||||
ui.ly_t0 |= LY_OPEN | LY_COMBO;
|
||||
layer_opened(l);
|
||||
}
|
||||
}
|
||||
|
||||
/* OCT- / OCT+ in a SET layer: no octave; OCT- let go puts back what the layer changed. Returns the taps left */
|
||||
static uint32_t layer_oct(uint32_t pressed, uint32_t oct)
|
||||
{
|
||||
@@ -610,7 +622,7 @@ static void layer_scl(void) /* KNOB 2's scales, 4 x
|
||||
}
|
||||
static void layer_edit(void) /* the engines from F3, INIT next (LY_INIT), the sound under them */
|
||||
{ /* (cells show the engine's icon, not the key's note) */
|
||||
uint32_t n = NENG_SHOWN < LY_INIT ? NENG_SHOWN : LY_INIT, cells = n + 1u, i, h = cells > 12u ? 22u : 28u;
|
||||
uint32_t n = NENG_SHOWN < LY_INIT ? NENG_SHOWN : LY_INIT, cells = n + 1u, i, h = cells > 12u ? 20u : 28u; /* 4 rows of 20: 8 px clear above the sound row */
|
||||
for (i = 0; i < cells; i++) {
|
||||
int32_t x = LC_X(i % 4u), y = 4 + (int32_t)(h + 4u) * (int32_t)(i / 4u);
|
||||
const engine_t *en = ENGINES[eng_vis(i) % NENGINES];
|
||||
|
||||
Reference in new issue
Block a user