Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
26168bc
Remove integrated Lab web downloaders and retain local audio editing
gitwide-cloud Dec 3, 2026
6664f96
Retain configured codecs without migrating bundled download tools
gitwide-cloud Dec 3, 2026
93f5fe7
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
b4c8dec
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
0e570f7
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
a1c34d5
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
b917599
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
a1663de
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
53b090a
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
b4f21b8
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
4049bd8
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
dc1d136
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
6d3f89a
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
cd89175
Merge branch 'feature/section-aware-dj-engine' into feature/remove-bu…
gitwide-cloud Dec 3, 2026
75fd070
Diagnose PCM rejection and actual notification service state
gitwide-cloud Dec 3, 2026
6141520
Isolate card checks from emulator Messages ANR
gitwide-cloud Dec 3, 2026
e1ec5f5
Refine default set ordering with bounded energy arc moves
gitwide-cloud Dec 3, 2026
1dd63a1
Trace native notification updates and prioritize PCM feeder
gitwide-cloud Dec 3, 2026
c61f8ef
Coalesce playback notifications after observed Android quota rejection
gitwide-cloud Dec 3, 2026
283124a
Exclude generated legacy RMS from normalized mix ranking
gitwide-cloud Dec 3, 2026
37939a8
Prepare RC34 and analysis engine 1.0.23 identities
gitwide-cloud Dec 3, 2026
67a83db
Align normalized entry fixtures and record native qualification
gitwide-cloud Dec 3, 2026
65b29f3
Use normalized profile in automatic entry regression fixture
gitwide-cloud Dec 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/android-card-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,14 @@ jobs:
adb shell input keyevent KEYCODE_WAKEUP
adb shell wm dismiss-keyguard
adb shell am force-stop com.google.android.apps.nexuslauncher
# This image's Messages carrier-config receiver also ANRs over the app
# (run 47110335905, clean-library.png and logcat). Disable only that
# unrelated package on this disposable image so later carrier broadcasts
# cannot relaunch it. Do not suppress ANRs or change app assertions.
adb shell pm disable-user --user 0 com.google.android.apps.messaging
sleep 10
set +e
python3 tools/run_android_emulator_tests.py --output test-output/android-card-ui --classes cloud.gitwide.ampverse.CardUiDeviceTest,cloud.gitwide.ampverse.CleanUiDeviceTest,cloud.gitwide.ampverse.RadioOfflineTest,cloud.gitwide.ampverse.IncrementalSyncDeviceTest,cloud.gitwide.ampverse.PhoneListeningDeviceTest,cloud.gitwide.ampverse.DjLoadPadsDeviceTest,cloud.gitwide.ampverse.AudioFeatureDeviceTest,cloud.gitwide.ampverse.CastBadgeLayoutDeviceTest,cloud.gitwide.ampverse.RemoteDiscoveryDeviceTest,cloud.gitwide.ampverse.DiscoveryDeviceTest,cloud.gitwide.ampverse.RemoteTaskCardsDeviceTest,cloud.gitwide.ampverse.LabNavigationDeviceTest,cloud.gitwide.ampverse.lab.EditingSessionTest,cloud.gitwide.ampverse.ModuleBadgesDeviceTest,cloud.gitwide.ampverse.LibrarySyncCardsDeviceTest,cloud.gitwide.ampverse.LibraryChooserDeviceTest,cloud.gitwide.ampverse.MusicBackupDeviceTest,cloud.gitwide.ampverse.LibraryStoreDeviceTest,cloud.gitwide.ampverse.CatalogDeviceTest,cloud.gitwide.ampverse.lab.UrlImportDeviceTest
python3 tools/run_android_emulator_tests.py --output test-output/android-card-ui --classes cloud.gitwide.ampverse.CardUiDeviceTest,cloud.gitwide.ampverse.CleanUiDeviceTest,cloud.gitwide.ampverse.RadioOfflineTest,cloud.gitwide.ampverse.IncrementalSyncDeviceTest,cloud.gitwide.ampverse.PhoneListeningDeviceTest,cloud.gitwide.ampverse.DjLoadPadsDeviceTest,cloud.gitwide.ampverse.AudioFeatureDeviceTest,cloud.gitwide.ampverse.CastBadgeLayoutDeviceTest,cloud.gitwide.ampverse.RemoteDiscoveryDeviceTest,cloud.gitwide.ampverse.DiscoveryDeviceTest,cloud.gitwide.ampverse.RemoteTaskCardsDeviceTest,cloud.gitwide.ampverse.LabNavigationDeviceTest,cloud.gitwide.ampverse.lab.EditingSessionTest,cloud.gitwide.ampverse.ModuleBadgesDeviceTest,cloud.gitwide.ampverse.LibrarySyncCardsDeviceTest,cloud.gitwide.ampverse.LibraryChooserDeviceTest,cloud.gitwide.ampverse.MusicBackupDeviceTest,cloud.gitwide.ampverse.LibraryStoreDeviceTest,cloud.gitwide.ampverse.CatalogDeviceTest
result=$?
mkdir -p test-output/android-card-ui
adb logcat -d > test-output/android-card-ui/logcat.txt
Expand Down
29 changes: 4 additions & 25 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ jobs:
run: |
python tools/setup_ci_ffmpeg.py --self-test
python tools/setup_ci_ffmpeg.py
- name: Prepare verified official Lab URL-import dependencies
env:
GH_TOKEN: ${{ github.token }}
run: |
python tools/test_setup_lab_youtube.py
python tools/setup_lab_youtube.py --dest test-output/lab-tools
- run: python tools/test_engine_release_metadata.py
- run: python tools/test_stem_cuda_module.py
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -168,22 +162,17 @@ jobs:
- name: Verify sampler clip export with real codecs
if: runner.os == 'Linux'
run: cargo test -p amp-player --bin amp-player sample_editor::tests::clip_export_preserves_source_and_respects_selection -- --ignored
- name: Verify Lab URL import with local downloader and real codecs
- name: Verify local MP3 import and source preservation
if: runner.os == 'Linux'
run: |
mkdir -p test-output/lab-import
rustc tools/lab_youtube_fixture.rs -o test-output/lab-import/yt-dlp-fixture
ffmpeg -n -hide_banner -loglevel error -f lavfi -i sine=frequency=440:duration=2 test-output/lab-import/fixture.wav
ffmpeg -n -hide_banner -loglevel error -i test-output/lab-import/fixture.wav -c:a libmp3lame -b:a 256k test-output/lab-import/loaded.mp3
AMP_LAB_TOOLS="$PWD/test-output/lab-tools" AMP_LAB_YOUTUBE_FIXTURE="$PWD/test-output/lab-import/yt-dlp-fixture" cargo test -p amp-player --bin amp-player lab_youtube::tests::local_pipeline -- --ignored --test-threads=1
AMP_LAB_LOADED_MP3="$PWD/test-output/lab-import/loaded.mp3" cargo test -p amp-player --bin amp-player lab_editor::tests::downloaded_mp3 -- --ignored
ffmpeg -n -hide_banner -loglevel error -f lavfi -i sine=frequency=440:duration=2 -c:a libmp3lame -b:a 256k test-output/lab-import/loaded.mp3
AMP_LAB_LOADED_MP3="$PWD/test-output/lab-import/loaded.mp3" cargo test -p amp-player --bin amp-player lab_editor::tests::local_mp3 -- --ignored
- name: Verify Lab processing, clip categories and metadata failure recovery
run: |
cargo test -p amp-player --bin amp-player lab_audio::render_tests::lab_processing_render_eq_changes_audio_and_cancel_preserves_source_and_destination --locked -- --ignored --exact --test-threads=1
cargo test -p amp-player --bin amp-player lab_audio::render_tests::clip_export_records_categories_without_copying_source_timeline --locked -- --ignored --exact --test-threads=1
cargo test -p amp-player --bin amp-player lab_audio::render_tests::exported_mp3_remains_a_clip_when_portable_metadata_cannot_be_written --locked -- --ignored --exact --test-threads=1
- name: Verify Suno import publication and Lab decoding with real codecs
run: cargo test -p amp-player --bin amp-player lab_youtube::suno::tests::local_codec_import -- --ignored --test-threads=1
- run: cargo build --workspace --release --locked
- name: Verify native desktop and server update, restart, rollback and cleanup
run: python tools/smoke_in_app_update.py --helper target/release/amp-update${{ matrix.suffix }} --server-helper target/release/amp-server-update${{ matrix.suffix }} --server target/release/amp-cast${{ matrix.suffix }}
Expand Down Expand Up @@ -280,16 +269,6 @@ jobs:
with:
name: amp-plugin-example-${{ runner.os }}-${{ github.sha }}
path: plugin-dist/
- name: Package official AMP Lab YouTube tools
shell: bash
run: |
mkdir -p dist/tools
cp -r test-output/lab-tools dist/tools/lab-youtube
- name: Include Lab tool recovery setup
shell: bash
run: |
mkdir -p dist/setup
cp tools/setup_lab_youtube.py dist/setup/
- name: Include canonical updater and legacy installer compatibility
if: runner.os == 'Windows'
shell: bash
Expand Down Expand Up @@ -441,7 +420,7 @@ jobs:
cd packages
# Artifact storage strips executable bits. Restore them before making
# Linux ZIPs so the updater can restart the newly installed binaries.
find . -type f \( -name amp-player -o -name amp-update -o -name amp-server-update -o -name amp-cast -o -name amp-prepare -o -name amp-stem-worker -o -name amp-engine -o -name amp-engine-linux-x86_64 -o -name deno -o -name yt-dlp \) -exec chmod +x {} +
find . -type f \( -name amp-player -o -name amp-update -o -name amp-server-update -o -name amp-cast -o -name amp-prepare -o -name amp-stem-worker -o -name amp-engine -o -name amp-engine-linux-x86_64 \) -exec chmod +x {} +
for dir in amp-verse-*; do (cd "$dir" && zip -r "../$dir.zip" .); done
for dir in amp-analysis-engine-*; do (cd "$dir" && zip -r "../$dir-${GITHUB_REF_NAME}.zip" .); done
cp amp-analysis-engine-Windows/amp-engine-windows-x86_64.exe* .
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/music-import-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@ jobs:
- name: Verified Windows audio tools
if: runner.os == 'Windows'
run: python tools/setup_ci_ffmpeg.py
- name: Verified official extractor and YouTube runtime
env:
GH_TOKEN: ${{ github.token }}
run: python tools/setup_lab_youtube.py --dest test-output/lab-tools
- name: Exercise the actual importer with real codecs
- name: Exercise local audio import and editing with real codecs
run: python tools/verify_music_import_engine.py
- uses: actions/upload-artifact@v4
if: always()
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["crates/amp-plugin", "crates/amp-updater", "crates/amp-stems", "crate
resolver = "2"

[workspace.package]
version = "1.1.0-rc.33"
version = "1.1.0-rc.34"
edition = "2024"
license = "MIT"

Expand Down
8 changes: 1 addition & 7 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ The optional pitch-preserving playback backend uses Signalsmith Stretch and Sign

Genre-tag reading uses Lofty 0.25.5 (MIT OR Apache-2.0), https://github.com/Serial-ATA/lofty-rs. Its licenses are retained in licenses/lofty. Genre reading disables cover-art and audio-property parsing and does not modify source audio.

## AMP Lab YouTube import

Lab launches yt-dlp, Deno and FFmpeg as separate processes. The pinned official yt-dlp standalone (2026.10.26) includes matching yt-dlp-ejs components, Python and its own third-party dependencies; the full upstream THIRD_PARTY_LICENSES.txt, license and project source archive accompany the tools. yt-dlp original code is Unlicense; bundled executable dependencies retain their upstream terms, including copyleft components described in that inventory. Deno 2.9.8 (MIT) ships with its project source archive, MIT notice and V8/TypeScript license notices under tools/lab-youtube/licenses. Preserve those materials when redistributing the package. FFmpeg remains the separately supplied existing audio dependency; its build-specific codec licenses and source/rebuild materials remain applicable. The optional external-tools directory is not linked into or an add-on to AMP's playback engine.
## Process and URL utilities

Process-tree management uses process-wrap 10.0.1 (MIT OR Apache-2.0), with original license texts in licenses/process-wrap. On Windows it creates a Job Object before the process runs; on Unix it owns a process group. URL parsing uses the existing url 2.x dependency (MIT OR Apache-2.0).

Expand All @@ -50,10 +48,6 @@ Library's Transcribe tool downloads faster-whisper 1.2.1 (MIT) from the official

The optional model is Systran/faster-whisper-base, pinned revision ebe41f70d5b6dfa9166e2c581c45c9c0cfc57b66, downloaded from Hugging Face. It is a CTranslate2 conversion of OpenAI Whisper base, under MIT. Upstream sources: https://github.com/SYSTRAN/faster-whisper, https://github.com/OpenNMT/CTranslate2, https://huggingface.co/Systran/faster-whisper-base, https://github.com/openai/whisper. Audio is processed locally, not uploaded. Existing optional Demucs stem-separation terms continue to apply when vocals are prepared for speech recognition.

## Android Full / Lab URL downloader

Full and the Lab companion include youtubedl-android 0.18.1 (GNU GPL version 3), https://github.com/yausername/youtubedl-android/tree/0.18.1 . Those combined Android binaries are distributed under GPL-3.0; original AMP source notices and other component licenses remain in force. Lite, DJ, Cast, Podcasts and Remote do not link this dependency. The matching release includes the GPL text, exact AMP source/tag, upstream downloader source and build scripts, and the existing FFmpegKit corresponding-source bundle. See android/features/lab/assets/licenses/youtubedl-android/SOURCE.txt.

## Barlow fonts

The native desktop card interface embeds Barlow Regular and SemiBold
Expand Down
1 change: 0 additions & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ dependencies {
fullImplementation 'com.google.android.gms:play-services-cast-framework:22.3.0'
implementation 'androidx.appcompat:appcompat:1.7.1'
fullImplementation 'dev.ffmpegkit-maintained:ffmpeg-kit-audio:8.1.9'
fullImplementation 'io.github.junkfood02.youtubedl-android:library:0.18.1'
implementation 'androidx.media3:media3-exoplayer:1.8.1'
implementation 'androidx.media3:media3-exoplayer-hls:1.8.1'
implementation 'androidx.media3:media3-datasource-okhttp:1.8.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public class LabNavigationDeviceTest {
UiDevice device=UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
try(ActivityScenario<cloud.gitwide.ampverse.lab.MainActivity> screen=ActivityScenario.launch(new Intent(context,cloud.gitwide.ampverse.lab.MainActivity.class))){
final Object[] original=new Object[1];
screen.onActivity(a->{try{original[0]=a;set(a,"duration",69.744);set(a,"start",46.769);set(a,"end",69.744);set(a,"gainDb",3.0);set(a,"name","Lab layout fixture.mp3");((TextView)get(a,"filename")).setText("Lab layout fixture.mp3");float[] peaks=new float[2048];for(int i=0;i<peaks.length;i++)peaks[i]=(float)(.15+.7*Math.abs(Math.sin(i*.17)*Math.cos(i*.027)));set(a,"waveform",peaks);java.lang.reflect.Method refresh=a.getClass().getDeclaredMethod("refresh");refresh.setAccessible(true);refresh.invoke(a);View root=a.getWindow().getDecorView();assertNotNull(text(root,"IMPORT AUDIO"));assertNotNull(text(root,"PLAYER"));assertNotNull(text(root,"TRIM AUDIO"));assertNotNull(text(root,"Local file"));
screen.onActivity(a->{try{original[0]=a;set(a,"duration",69.744);set(a,"start",46.769);set(a,"end",69.744);set(a,"gainDb",3.0);set(a,"name","Lab layout fixture.mp3");((TextView)get(a,"filename")).setText("Lab layout fixture.mp3");float[] peaks=new float[2048];for(int i=0;i<peaks.length;i++)peaks[i]=(float)(.15+.7*Math.abs(Math.sin(i*.17)*Math.cos(i*.027)));set(a,"waveform",peaks);java.lang.reflect.Method refresh=a.getClass().getDeclaredMethod("refresh");refresh.setAccessible(true);refresh.invoke(a);View root=a.getWindow().getDecorView();assertNotNull(text(root,"IMPORT AUDIO"));assertNotNull(text(root,"PLAYER"));assertNotNull(text(root,"TRIM AUDIO"));assertNotNull(text(root,"Open local audio"));assertNotNull(text(root,"Previously imported audio"));assertNull(text(root,"Download MP3"));
boolean edited=(boolean)get(a,"editedPreview");assertNotNull(text(root,edited?"A/B preview · Edited":"A/B preview · Original"));
((TextView)get(a,"urlStatus")).setText("Download progress fixture");text(root,"Local file").performClick();assertTrue(((View)get(a,"urlStatus")).isShown());text(root,"Music link").performClick();}catch(Exception e){throw new AssertionError(e);}});
}catch(Exception e){throw new AssertionError(e);}});
InstrumentationRegistry.getInstrumentation().waitForIdleSync();CardScreenshots.capture("lab-import-player.png");
screen.onActivity(a->{try{((ScrollView)get(a,"editorScroll")).fullScroll(View.FOCUS_DOWN);}catch(Exception e){throw new AssertionError(e);}});
InstrumentationRegistry.getInstrumentation().waitForIdleSync();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public final class ModuleScreenTest {
@Test public void eachSignedCompanionConnectsAndRendersItsRealScreen()throws Exception{
Context c=InstrumentationRegistry.getInstrumentation().getTargetContext();UiDevice device=UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
String[] ids={"dj","cast","podcasts","remote","lab"};String[] labels={"Choose playlist","Find LAN stations","Browse categories","Discover devices","Download MP3"};
String[] ids={"dj","cast","podcasts","remote","lab"};String[] labels={"Choose playlist","Find LAN stations","Browse categories","Discover devices","Open local audio"};
File captures=new File(c.getFilesDir(),"module-test-screenshots");captures.mkdirs();
for(int i=0;i<ids.length;i++){
c.startActivity(new Intent().setClassName("cloud.gitwide.ampverse."+ids[i],"cloud.gitwide.ampverse.CompanionActivity").addFlags(Intent.FLAG_ACTIVITY_NEW_TASK).putExtra("amp-test-keep-awake",true));
Expand Down
Loading
Loading