Skip to content

Commit e501d19

Browse files
1.5.0-candidate
1.5.0 Contributions: purelygrey Per-project option for soft clipping the output (#145) * Per-project option for soft clipping the output * Projects with Master Volume over 100 will be capped to 100 * Use pregain to saturate * Multiple saturation modes Remove drawing optimization that causes flashing in Song view (#147) * Removed drawing optimization that caused flashing in Song view clsource Scales * implementation by @MaksMakes * instrumentation by clsource simotek Add color options for Border Play and Mute (#143) * Adds different color for the > play and _ mute indicators Fix rg35xx mapping (#139) * rshoulder and lshoulder were the wrong way * Attempt to fix audio randomly dying (185) kompadre Enable skipping JUNK section for WAVs * Load more old sample pack CD rips! mrtnvgr Hide lgpt_ prefix for songs #165 Consistent view title separators #166 nine-h Reduce nag dialogs (#187) Allow user to save, load, save as and quit while song is playing Copy columns (#141) * Enables copying fx+params into any column in tables and phrases Pasting fx into notes column etc does nothing Nudge functionality (#130) * In Project view, select tempo and hold B+LEFT/RIGHT to nudge slower/faster * In Song view, pressing LT+LEFT/RIGHT will do the same Printable fx in InstrumentView (#155) * Uses ffmpeg to print reverb to currently selected sample * New sample with fx is created and assigned to the current instrument * Only available for platforms mentioned in README of this repo Other: Add line-by-line clang format (#144) Check uploads artifacts (#138) Globally accessible notifications (#137) Update to github actions checkout@v4.1.7 (#136) Fixes: Another fix for long sample names Sample names that start with the same characters get mixed up After reloading the project, samples starting with the same characters before being shortened would be mixed up and cause crashes Fix audio randomly dying (#194) Long sample names causing crashes in InstrumentView (#189) Fixed Garlic docker being outdated (#194) Bug in chainview: column warping (#134) Jumping below lowest row would cause infinite loop Jumping from row 0 was not possible in chainview Limit jump to maximum lowest populated row Set songview b jumping length to 16 rows in correspondence with LSDJ and M8 Scales no longer affect instrument numbers ([#172](#172)) Bug in Variable:SetString [#169](#169) Issue in deep clone (#135) Was possible to accidentally deep clone position into another position Fix build error for Raspi (#133) Restore 32bit linux config Crash when nudging below 0 BPM (shoutout @merumerutho) #127
2 parents 9bc7849 + 91b766d commit e501d19

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4832
-895
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ jobs:
4747
shell: bash
4848
working-directory: projects
4949
run: |
50-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
50+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
51+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
5152
unzip lgpt-resources.zip
52-
mv lgpt-resources-1.1/*/ ./resources/packaging
53+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
5354
rm -rf lgpt-resources*
5455
./resources/packaging/lgpt_package.sh
5556
@@ -85,9 +86,10 @@ jobs:
8586
- name: Package build
8687
working-directory: projects
8788
run: |
88-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
89+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
90+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
8991
unzip lgpt-resources.zip
90-
mv lgpt-resources-1.1/*/ ./resources/packaging
92+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
9193
rm -rf lgpt-resources*
9294
./resources/packaging/lgpt_package.sh
9395
@@ -123,9 +125,10 @@ jobs:
123125
- name: Package build
124126
working-directory: projects
125127
run: |
126-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
128+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
129+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
127130
unzip lgpt-resources.zip
128-
mv lgpt-resources-1.1/*/ ./resources/packaging
131+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
129132
rm -rf lgpt-resources*
130133
./resources/packaging/lgpt_package.sh
131134
@@ -160,9 +163,10 @@ jobs:
160163
- name: Package build
161164
working-directory: projects
162165
run: |
163-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
166+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
167+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
164168
unzip lgpt-resources.zip
165-
mv lgpt-resources-1.1/*/ ./resources/packaging
169+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
166170
rm -rf lgpt-resources*
167171
./resources/packaging/lgpt_package.sh
168172
@@ -204,9 +208,10 @@ jobs:
204208
- name: Package build
205209
working-directory: projects
206210
run: |
207-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
211+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
212+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
208213
unzip lgpt-resources.zip
209-
mv lgpt-resources-1.1/*/ ./resources/packaging
214+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
210215
rm -rf lgpt-resources*
211216
./resources/packaging/lgpt_package.sh
212217
@@ -243,9 +248,10 @@ jobs:
243248
- name: Package build
244249
working-directory: projects
245250
run: |
246-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
251+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
252+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
247253
unzip lgpt-resources.zip
248-
mv lgpt-resources-1.1/*/ ./resources/packaging
254+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
249255
rm -rf lgpt-resources*
250256
./resources/packaging/lgpt_package.sh
251257
@@ -282,9 +288,10 @@ jobs:
282288
- name: Package build
283289
working-directory: projects
284290
run: |
285-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
291+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
292+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
286293
unzip lgpt-resources.zip
287-
mv lgpt-resources-1.1/*/ ./resources/packaging
294+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
288295
rm -rf lgpt-resources*
289296
./resources/packaging/lgpt_package.sh
290297
@@ -312,20 +319,27 @@ jobs:
312319
run: |
313320
ln -s /home/runner/work/LittleGPTracker/LittleGPTracker workspace
314321
docker run -d --name rg35xx-container -v "$(pwd)/workspace:/root/workspace" aveferrum/rg35xx-toolchain sleep infinity
315-
docker exec rg35xx-container bash -c "
322+
docker exec rg35xx-container bash -c '
323+
# Workaround for eol-ed docker debian image
324+
BASE="https://deb.debian.org/debian/pool/main/d/debian-archive-keyring/"
325+
LATEST="debian-archive-keyring_2025.1_all.deb"
326+
wget -qO ./debian-archive-keyring.deb "$BASE$LATEST"
327+
dpkg -i ./debian-archive-keyring.deb
328+
316329
apt update && apt install -y python3 python3-pillow
317330
cd projects
318331
make PLATFORM=GARLIC
319-
"
332+
'
320333
sudo chmod -R 777 ./workspace/projects
321334
sudo chown -R root:root ./workspace/projects
322335
323336
- name: Package build
324337
working-directory: ./workspace/projects
325338
run: |
326-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
339+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
340+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
327341
unzip lgpt-resources.zip
328-
mv lgpt-resources-1.1/*/ ./resources/packaging
342+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
329343
rm -rf lgpt-resources*
330344
./resources/packaging/lgpt_package.sh
331345
@@ -363,9 +377,10 @@ jobs:
363377
- name: Package build
364378
working-directory: projects
365379
run: |
366-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
380+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
381+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
367382
unzip lgpt-resources.zip
368-
mv lgpt-resources-1.1/*/ ./resources/packaging
383+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
369384
rm -rf lgpt-resources*
370385
./resources/packaging/lgpt_package.sh
371386
@@ -403,9 +418,10 @@ jobs:
403418
- name: Package build
404419
working-directory: projects
405420
run: |
406-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
421+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
422+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
407423
unzip lgpt-resources.zip
408-
mv lgpt-resources-1.1/*/ ./resources/packaging
424+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
409425
rm -rf lgpt-resources*
410426
./resources/packaging/lgpt_package.sh
411427
@@ -423,7 +439,7 @@ jobs:
423439
files: ./projects/*.zip
424440

425441
macos:
426-
runs-on: macos-13
442+
runs-on: macos-15
427443
steps:
428444
- name: Checkout repository
429445
uses: actions/checkout@v4.1.7
@@ -441,10 +457,12 @@ jobs:
441457
442458
- name: Package build
443459
working-directory: projects
460+
shell: bash
444461
run: |
445-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
462+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
463+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
446464
unzip lgpt-resources.zip
447-
mv lgpt-resources-1.1/*/ ./resources/packaging
465+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
448466
rm -rf lgpt-resources*
449467
./resources/packaging/lgpt_package.sh
450468

.github/workflows/check.yml

Lines changed: 43 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,10 @@ jobs:
9393
shell: bash
9494
working-directory: projects
9595
run: |
96-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
96+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
97+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
9798
unzip lgpt-resources.zip
98-
mv lgpt-resources-1.1/*/ ./resources/packaging
99+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
99100
rm -rf lgpt-resources*
100101
./resources/packaging/lgpt_package.sh
101102
@@ -125,9 +126,10 @@ jobs:
125126
- name: Package build
126127
working-directory: projects
127128
run: |
128-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
129+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
130+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
129131
unzip lgpt-resources.zip
130-
mv lgpt-resources-1.1/*/ ./resources/packaging
132+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
131133
rm -rf lgpt-resources*
132134
./resources/packaging/lgpt_package.sh
133135
@@ -157,9 +159,10 @@ jobs:
157159
- name: Package build
158160
working-directory: projects
159161
run: |
160-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
162+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
163+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
161164
unzip lgpt-resources.zip
162-
mv lgpt-resources-1.1/*/ ./resources/packaging
165+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
163166
rm -rf lgpt-resources*
164167
./resources/packaging/lgpt_package.sh
165168
@@ -195,9 +198,10 @@ jobs:
195198
- name: Package build
196199
working-directory: projects
197200
run: |
198-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
201+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
202+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
199203
unzip lgpt-resources.zip
200-
mv lgpt-resources-1.1/*/ ./resources/packaging
204+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
201205
rm -rf lgpt-resources*
202206
./resources/packaging/lgpt_package.sh
203207
@@ -228,9 +232,10 @@ jobs:
228232
- name: Package build
229233
working-directory: projects
230234
run: |
231-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
235+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
236+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
232237
unzip lgpt-resources.zip
233-
mv lgpt-resources-1.1/*/ ./resources/packaging
238+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
234239
rm -rf lgpt-resources*
235240
./resources/packaging/lgpt_package.sh
236241
@@ -252,20 +257,27 @@ jobs:
252257
run: |
253258
ln -s /home/runner/work/LittleGPTracker/LittleGPTracker workspace
254259
docker run -d --name rg35xx-container -v "$(pwd)/workspace:/root/workspace" aveferrum/rg35xx-toolchain sleep infinity
255-
docker exec rg35xx-container bash -c "
260+
docker exec rg35xx-container bash -c '
261+
# Workaround for eol-ed docker debian image
262+
BASE="https://deb.debian.org/debian/pool/main/d/debian-archive-keyring/"
263+
LATEST="debian-archive-keyring_2025.1_all.deb"
264+
wget -qO ./debian-archive-keyring.deb "$BASE$LATEST"
265+
dpkg -i ./debian-archive-keyring.deb
266+
256267
apt update && apt install -y python3 python3-pillow
257268
cd projects
258269
make PLATFORM=GARLIC
259-
"
270+
'
260271
sudo chmod -R 777 ./workspace/projects
261272
sudo chown -R root:root ./workspace/projects
262273
263274
- name: Package build
264275
working-directory: ./workspace/projects
265276
run: |
266-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
277+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
278+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
267279
unzip lgpt-resources.zip
268-
mv lgpt-resources-1.1/*/ ./resources/packaging
280+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
269281
rm -rf lgpt-resources*
270282
./resources/packaging/lgpt_package.sh
271283
@@ -297,9 +309,10 @@ jobs:
297309
- name: Package build
298310
working-directory: projects
299311
run: |
300-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
312+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
313+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
301314
unzip lgpt-resources.zip
302-
mv lgpt-resources-1.1/*/ ./resources/packaging
315+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
303316
rm -rf lgpt-resources*
304317
./resources/packaging/lgpt_package.sh
305318
@@ -331,9 +344,10 @@ jobs:
331344
- name: Package build
332345
working-directory: projects
333346
run: |
334-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
347+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
348+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
335349
unzip lgpt-resources.zip
336-
mv lgpt-resources-1.1/*/ ./resources/packaging
350+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
337351
rm -rf lgpt-resources*
338352
./resources/packaging/lgpt_package.sh
339353
@@ -366,9 +380,10 @@ jobs:
366380
- name: Package build
367381
working-directory: projects
368382
run: |
369-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
383+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
384+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
370385
unzip lgpt-resources.zip
371-
mv lgpt-resources-1.1/*/ ./resources/packaging
386+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
372387
rm -rf lgpt-resources*
373388
./resources/packaging/lgpt_package.sh
374389
@@ -399,9 +414,10 @@ jobs:
399414
- name: Package build
400415
working-directory: projects
401416
run: |
402-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
417+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
418+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
403419
unzip lgpt-resources.zip
404-
mv lgpt-resources-1.1/*/ ./resources/packaging
420+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
405421
rm -rf lgpt-resources*
406422
./resources/packaging/lgpt_package.sh
407423
@@ -413,7 +429,7 @@ jobs:
413429
if-no-files-found: error
414430

415431
macos:
416-
runs-on: macos-13
432+
runs-on: macos-15
417433
steps:
418434
- name: Checkout repository
419435
uses: actions/checkout@v4.1.7
@@ -431,10 +447,12 @@ jobs:
431447
432448
- name: Package build
433449
working-directory: projects
450+
shell: bash
434451
run: |
435-
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/1.1.zip
452+
TAG=$(curl -s https://api.github.com/repos/djdiskmachine/lgpt-resources/releases/latest | grep '"tag_name"' | head -1 | cut -d'"' -f4)
453+
curl -L -o lgpt-resources.zip https://github.com/djdiskmachine/lgpt-resources/archive/refs/tags/${TAG}.zip
436454
unzip lgpt-resources.zip
437-
mv lgpt-resources-1.1/*/ ./resources/packaging
455+
mv lgpt-resources-${TAG}/*/ ./resources/packaging
438456
rm -rf lgpt-resources*
439457
./resources/packaging/lgpt_package.sh
440458

0 commit comments

Comments
 (0)