Skip to content

Proposal: Apple Silicon/MPS support for lossy EDM and pop-dance music restoration #37

Description

@Djshinshin

Hello Apollo authors,

Thank you for releasing Apollo and its pretrained checkpoints. I am interested in contributing practical testing and implementation work specifically for lossy electronic dance music, pop music, and harmony-rich pop-dance music restoration.

My background combines:

  • DJ and dance music production/mastering workflows, especially EDM, club music, pop music, K-pop remixes, harmony-rich pop-dance arrangements, kick/sub-bass and vocal clarity evaluation
  • professional voice acting, with listening experience focused on consonant articulation, sibilance, breath, resonance, intelligibility, and vocal timbre

I would like to explore the following contributions:

  1. Apple Silicon / MPS support

    • replace hard-coded .cuda() calls with a device abstraction
    • add MPS, CUDA and CPU fallback
    • test complex STFT/iSTFT compatibility and document unsupported operations
    • add chunked inference for long stereo music on limited unified memory
  2. High-bitrate lossy EDM, pop and pop-dance evaluation and training

    • extend simulated degradation beyond the published 24-128 kbps range to 192/256/320 kbps
    • evaluate whether the model remains identity-preserving when codec artifacts are already subtle
    • include transient-heavy electronic dance music, mainstream pop, and harmony-rich pop-dance music
    • evaluate dense vocals, layered synthesizers, chord clarity, harmonic overtones, kick/sub-bass interaction and mono compatibility
  3. Continual fine-tuning with a safe promotion gate

    • keep a stable inference checkpoint while a challenger checkpoint trains separately
    • train only from legitimate clean WAV/FLAC targets paired with locally generated MP3 degradations
    • never train MP3-only material against itself as ground truth
    • promote a checkpoint only after objective metrics and level-matched human listening tests improve without added artifacts
  4. Perceptual validation

    • codec chirp/warbling and pre-echo
    • transient smearing and low-frequency tearing
    • vocal consonants, sibilance, breath and resonance
    • chord definition, harmonic balance and separation between layered synths and vocals
    • loudness-matched A/B, true peak and mono checks

Would the maintainers welcome a PR that first adds device-agnostic inference and an Apple Silicon test path? If so, is there a preferred PyTorch version or branch to target?

Also, would extending the official data preprocessing configuration to include 192/256/320 kbps MP3 and dedicated lossy EDM, pop and harmony-rich pop-dance evaluation profiles be aligned with the project direction?

Any test data used for this work will remain local or come from properly licensed/open datasets; copyrighted music will not be uploaded to the repository.

Thank you.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions