~/matteospanio

projects

Software and models, mostly open source.

2025activedsp tooling

TorchFX

gpu-accelerated audio dsp, filters as torch modules

A GPU-accelerated audio DSP library built on PyTorch, where every filter and effect is an nn.Module and pipelines are composed with the pipe (|) and add (+) operators.

  • Python
  • PyTorch
  • CUDA
  • C++
  • NumPy
  • SoundFile
  • CMake

2025researchsymbolic music

lilyBERT

codebert adapted to lilypond notation

A masked language model for LilyPond, built by extending CodeBERT's vocabulary with 115 music-specific tokens and pre-training on curated Baroque scores. Released with the training, tokenisation and probing code.

  • Python
  • PyTorch
  • Transformers
  • Hydra
  • ONNX
  • Typer
  • LilyPond

2025researchmultimodal

tasty-musicgen

musicgen fine-tuned to generate music from taste descriptions

A fine-tuned MusicGen-small that generates music from written taste descriptions, released alongside the Frontiers in Computer Science paper "A multimodal symphony".

  • Python
  • PyTorch
  • Transformers
  • AudioCraft
  • MusicGen
  • Streamlit

2026researchsymbolic music

LilyBench

a generation and understanding benchmark for LLMs on LilyPond

An evaluation framework for large language models on LilyPond, pairing a metadata-conditioned generation benchmark with ten understanding tasks adapted from ABC-Eval. It accompanies the Ital-IA 2026 paper "Can LLMs understand LilyPond?".

  • Python
  • PyTorch
  • Transformers
  • music21
  • MusPy
  • LilyPond
  • NumPy

2022–2024archivedengineering

spam-analyzer

a command line spam filter with a random forest under the hood

A command line spam filter and email feature-extraction library that classifies messages with a Random Forest trained on header, body and attachment features.

  • Python
  • scikit-learn
  • Click
  • NLTK
  • TextBlob
  • BeautifulSoup
  • pandas

2025maintainedengineering

ML Project template

a copier template to train ML/DL models on a SLURM cluster

A Copier template that scaffolds a PyTorch Lightning project wired to run and sweep experiments on the DEI Blade SLURM cluster at the University of Padova.

  • Python
  • Copier
  • Hydra
  • submitit
  • PyTorch Lightning
  • SLURM
  • uv