From 53dcec0f2a5dcb5a4ccdf9e612fd37c836d1091d Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sun, 17 Nov 2024 17:31:50 -0800 Subject: [PATCH] v6.2.5 --- core/src/server/server.go | 4 ++-- dev/flash.sh | 4 ++-- docs/content/blurbs/source-code.md | 6 +++--- docs/content/blurbs/uploading-samples.md | 10 +++++----- docs/content/combos/layering.md | 2 +- docs/themes/zeptocore/layouts/_default/baseof.html | 10 +++++----- lib/ectocore.h | 2 +- lib/midi_comm.h | 2 +- lib/zeptocore.h | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/core/src/server/server.go b/core/src/server/server.go index 885b4e90..8b759400 100644 --- a/core/src/server/server.go +++ b/core/src/server/server.go @@ -209,7 +209,7 @@ func handle(w http.ResponseWriter, r *http.Request) (err error) { w.Header().Set("Access-Control-Allow-Methods", "POST, GET, OPTIONS, PUT, DELETE") w.Header().Set("Access-Control-Allow-Headers", "Accept, Content-Type, Content-Length, Accept-Encoding, X-CSRF-Token, Authorization") - b, _ := json.Marshal(map[string]string{"version": "v6.2.3"}) + b, _ := json.Marshal(map[string]string{"version": "v6.2.5"}) w.Write(b) return nil } else if r.URL.Path == "/ws" { @@ -301,7 +301,7 @@ func handle(w http.ResponseWriter, r *http.Request) (err error) { GenURL2 string }{ IsMain: r.URL.Path == "/", - VersionCurrent: "v6.2.3", + VersionCurrent: "v6.2.5", GenURL1: codename.Generate(rng, 0), GenURL2: names.Random(), IsEctocore: isEctocore, diff --git a/dev/flash.sh b/dev/flash.sh index 84ee0a41..1ed072a5 100755 --- a/dev/flash.sh +++ b/dev/flash.sh @@ -1,11 +1,11 @@ #!/bin/bash -curl -L https://github.com/schollz/_core/releases/download/v6.2.4/zeptocore_v6.2.4.uf2 > zeptocore_v6.2.4.uf2 +curl -L https://github.com/schollz/_core/releases/download/v6.2.5/zeptocore_v6.2.5.uf2 > zeptocore_v6.2.5.uf2 while true do if mount | grep RPI-RP2 > /dev/null; then sleep 1 echo "uploading..." - time pv -batep zeptocore_v6.2.4.uf2 > /media/zns/RPI-RP2/zeptocore.uf2 + time pv -batep zeptocore_v6.2.5.uf2 > /media/zns/RPI-RP2/zeptocore.uf2 echo "uploaded!" fi sleep 0.5 diff --git a/docs/content/blurbs/source-code.md b/docs/content/blurbs/source-code.md index 54dd3f96..2ebc96ca 100644 --- a/docs/content/blurbs/source-code.md +++ b/docs/content/blurbs/source-code.md @@ -8,7 +8,7 @@ weight = 12 Periodically, new firmwares are released with updated effects or improved performance. If you have the tool installed, you can connect your device to your computer and automatically update the firmware. You can also download the latest release directly from this link: -### Latest firmware: **[zeptocore v6.2.4](https://github.com/schollz/_core/releases/download/v6.2.4/zeptocore_v6.2.4.uf2)** +### Latest firmware: **[zeptocore v6.2.5](https://github.com/schollz/_core/releases/download/v6.2.5/zeptocore_v6.2.5.uf2)** ## Instructions @@ -17,7 +17,7 @@ To update your zeptocore to the latest version, follow these steps: 1. Connect a USB-C cable to the device and hold the `BOOTSEL` button (located near the USB-C jack). 2. While holding the `BOOTSEL` button, press the `NRST` button (also near the USB-C jack). 3. After a few seconds, a new drive named `RPI-RP2` should appear on your computer. -4. Drag and drop the downloaded **zeptocore_v6.2.4.uf2** file onto the `RPI-RP2` drive. +4. Drag and drop the downloaded **zeptocore_v6.2.5.uf2** file onto the `RPI-RP2` drive. 5. Wait momentarily for the drive to disappear, indicating the update is complete, and the device will turn on automatically. @@ -30,7 +30,7 @@ To update your zeptocore to the latest version, follow these steps: Congratulations, your zeptocore has been successfully updated to the latest version. -(_Note:_ If using [zeptoboard](#zeptoboard), follow the same instructions but ensure you download the latest [zeptoboard_v6.2.4.uf2](https://github.com/schollz/_core/releases/download/v6.2.4/zeptoboard_v6.2.4.uf2)). +(_Note:_ If using [zeptoboard](#zeptoboard), follow the same instructions but ensure you download the latest [zeptoboard_v6.2.5.uf2](https://github.com/schollz/_core/releases/download/v6.2.5/zeptoboard_v6.2.5.uf2)). ### Tool uploader diff --git a/docs/content/blurbs/uploading-samples.md b/docs/content/blurbs/uploading-samples.md index 30f1c6c4..980fbb0d 100644 --- a/docs/content/blurbs/uploading-samples.md +++ b/docs/content/blurbs/uploading-samples.md @@ -11,7 +11,7 @@ Uploading samples is a straightforward process similar to transferring a file on The sample tool is required for the sample preprocessing step, before transferring the samples to the SD card. This tool can be [accessed online](/tool) or [downloaded to your computer](#download-to-use-tool-offline) for local use. -### Use tool online: **[zeptocore v6.2.4](/tool)** (Chrome and Firefox only) +### Use tool online: **[zeptocore v6.2.5](/tool)** (Chrome and Firefox only)

@@ -48,7 +48,7 @@ Each of those **bankX** folders contains all the nessecary audio files. The **ba

Windows -#### Download for Windows: **[x64](https://github.com/schollz/_core/releases/download/v6.2.4/core_windows_v6.2.4.exe)** +#### Download for Windows: **[x64](https://github.com/schollz/_core/releases/download/v6.2.5/core_windows_v6.2.5.exe)** Once downloaded, double click on the executable file to run it. @@ -62,13 +62,13 @@ To install the tool on macOS, first open a terminal. Then, if you are on an Intel-based mac install with: ``` -curl -L https://github.com/schollz/_core/releases/download/v6.2.4/core_macos_amd64_v6.2.4 > core_macos +curl -L https://github.com/schollz/_core/releases/download/v6.2.5/core_macos_amd64_v6.2.5 > core_macos ``` Or, if you are on a M1/M2-based mac install with: ``` -curl -L https://github.com/schollz/_core/releases/download/v6.2.4/core_macos_aarch64_v6.2.4 > core_macos +curl -L https://github.com/schollz/_core/releases/download/v6.2.5/core_macos_aarch64_v6.2.5 > core_macos ``` Then to enable the program do: @@ -91,7 +91,7 @@ A window should pop up in the browser with the offline version of the tool.
Linux -#### Download for Linux: **[x64](https://github.com/schollz/_core/releases/download/v6.2.4/core_linux_amd64_v6.2.4)** +#### Download for Linux: **[x64](https://github.com/schollz/_core/releases/download/v6.2.5/core_linux_amd64_v6.2.5)** After downloading, run it directly from the terminal. diff --git a/docs/content/combos/layering.md b/docs/content/combos/layering.md index 314f8426..19ab974a 100644 --- a/docs/content/combos/layering.md +++ b/docs/content/combos/layering.md @@ -10,7 +10,7 @@ mode_alt = 'any' icon = 'drum' +++ -*Note: v6.2.4 and later firmware required for this feature.* +*Note: v6.2.5 and later firmware required for this feature.* This is an experimental mode that lets you choose from 16 different kick samples (keys `1` to `16`). Hold down the `A` button and then hold down the `D` button and then press one of the 16 keys to layer the selected kick sample with the currently loaded sample. Continue to hold down the `A` and `D` buttons and press another of the 16 keys to set the volume of the selected kick sample. diff --git a/docs/themes/zeptocore/layouts/_default/baseof.html b/docs/themes/zeptocore/layouts/_default/baseof.html index 7ed399e7..9b914c18 100644 --- a/docs/themes/zeptocore/layouts/_default/baseof.html +++ b/docs/themes/zeptocore/layouts/_default/baseof.html @@ -33,7 +33,7 @@

zeptocore

- +

a handmade, handheld sample player.

buy

@@ -41,8 +41,8 @@
- + Firmware @@ -363,7 +363,7 @@

Effect list

diff --git a/lib/ectocore.h b/lib/ectocore.h index 98673de4..a94dd3d9 100644 --- a/lib/ectocore.h +++ b/lib/ectocore.h @@ -902,7 +902,7 @@ void input_handling() { int char_input = getchar_timeout_us(10); if (char_input >= 0) { if (char_input == 118) { - printf("version=v6.2.4\n"); + printf("version=v6.2.5\n"); } } diff --git a/lib/midi_comm.h b/lib/midi_comm.h index 70e42486..6df93b3b 100644 --- a/lib/midi_comm.h +++ b/lib/midi_comm.h @@ -188,7 +188,7 @@ void midi_comm_task(midi_comm_callback callback, callback_int_int midi_note_on, sleep_ms(10); reset_usb_boot(0, 0); } else if (status == 176 && channel == 0 && note == 1) { - send_text_as_sysex("version=v6.2.4"); + send_text_as_sysex("version=v6.2.5"); } if (callback != NULL) { callback(status, channel, note, velocity); diff --git a/lib/zeptocore.h b/lib/zeptocore.h index 55ee9e3d..e4ea0dfe 100644 --- a/lib/zeptocore.h +++ b/lib/zeptocore.h @@ -164,10 +164,10 @@ void input_handling() { uint8_t sample_selection_index = 0; // debug test - printStringWithDelay("zv6.2.4"); + printStringWithDelay("zv6.2.5"); // print to screen - printf("version=v6.2.4\n"); + printf("version=v6.2.5\n"); // initialize the resonsant filter global_filter_index = 12; @@ -265,7 +265,7 @@ void input_handling() { int char_input = getchar_timeout_us(10); if (char_input >= 0) { if (char_input == 118) { - printf("version=v6.2.4\n"); + printf("version=v6.2.5\n"); } }