Skip to content

Commit

Permalink
v6.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Nov 18, 2024
1 parent 9b5a43b commit 53dcec0
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions core/src/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions dev/flash.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions docs/content/blurbs/source-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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.


Expand All @@ -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

Expand Down
10 changes: 5 additions & 5 deletions docs/content/blurbs/uploading-samples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)


<p style="text-align:center">
Expand Down Expand Up @@ -48,7 +48,7 @@ Each of those **bankX** folders contains all the nessecary audio files. The **ba

<details><summary>Windows</summary>

#### 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.

Expand All @@ -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:
Expand All @@ -91,7 +91,7 @@ A window should pop up in the browser with the offline version of the tool.

<details><summary>Linux</summary>

#### 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.

Expand Down
2 changes: 1 addition & 1 deletion docs/content/combos/layering.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
10 changes: 5 additions & 5 deletions docs/themes/zeptocore/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@
<div class="hero-inner hero-title">
<p><strong>zeptocore</strong></p>
<p><img src="/img/zepto3.webp"></p>
<!-- <p class="hero-small"><a href="#changelog" style="text-decoration: none;color:inherit;">v6.2.4</a></p> -->
<!-- <p class="hero-small"><a href="#changelog" style="text-decoration: none;color:inherit;">v6.2.5</a></p> -->
<!-- <p class="hero-small">boundless beats in a finite footprint.</p> -->
<p class="hero-small" style="margin-bottom: 1em;">a handmade, handheld sample player.</p>
<p class="hero-small"><a class="buybutton" href="#buy">buy</a></p>
</div>
</div>
<div class="sticky-banner">
<a href="#buy">zeptocore is here.</a>
<!-- <a href="https://github.com/schollz/_core/releases/download/v6.2.4/zeptocore_v6.2.4.uf2">click here to download the
latest zeptocore firmware v6.2.4.</a> -->
<!-- <a href="https://github.com/schollz/_core/releases/download/v6.2.5/zeptocore_v6.2.5.uf2">click here to download the
latest zeptocore firmware v6.2.5.</a> -->
</div>
<!-- make a sticky menu on the left side -->
<div class="sticky-menu fade-out">
Expand Down Expand Up @@ -102,7 +102,7 @@
guide</a>
</div>
<div class="sticky-item">
<a href="https://github.com/schollz/_core/releases/download/v6.2.4/zeptocore_v6.2.4.uf2">
<a href="https://github.com/schollz/_core/releases/download/v6.2.5/zeptocore_v6.2.5.uf2">
<i class="fas fa-download" aria-hidden="true"></i>
Firmware
</a>
Expand Down Expand Up @@ -363,7 +363,7 @@ <h2 id="effect-list" style="padding-left:0.75em;">Effect list</h2>
</section>
<footer>
<div class="footer-inner">
<p>zeptocore v6.2.4</p>
<p>zeptocore v6.2.5</p>
<p>© 2023-2024 <a href="https://infinitedigits.co">infinitedigits.co</a></p>
</div>
</footer>
Expand Down
2 changes: 1 addition & 1 deletion lib/ectocore.h
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/midi_comm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 3 additions & 3 deletions lib/zeptocore.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 53dcec0

Please sign in to comment.