Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
This repository contains a Python synthesizer and its accompanying tests.
Sign in to like and favorite skills
This repository contains a Python synthesizer and its accompanying tests.
uv syncuv run python main.pyuv run ruff check .PYNPUT_BACKEND=dummy QT_QPA_PLATFORM=offscreen uv run pytestPYNPUT_BACKEND=dummy QT_QPA_PLATFORM=offscreen uv run pytest tests/test_file.py::TestClass::test_function -vPYNPUT_BACKEND=dummy QT_QPA_PLATFORM=offscreen uv run pytest --cov=qwerty_synth --cov-report=htmlsnake_case for variables/functions, PascalCase for classesslots when appropriate) to define objects with typeslist[str] instead of typing.List[str])import math then math.ceil() (not from math import ceil)slots, structural pattern matching, type aliases) when adding or updating codeuv sync.portaudio19-dev is installed.uv run ruff check . and fix issues when possible.PYNPUT_BACKEND=dummy and QT_QPA_PLATFORM=offscreen:
PYNPUT_BACKEND=dummy QT_QPA_PLATFORM=offscreen uv run pytest.main.py - Application entry pointqwerty_synth/ - Main package containing all synthesizer modules
synth.py - Core synthesizer engine with audio generationcontroller.py - Main controller orchestrating all componentsgui_qt.py - PyQt-based graphical user interfaceconfig.py - Configuration management and settingspatch.py - Sound preset management (save/load patches)keyboard_midi.py - QWERTY keyboard to MIDI event translatormidi_input.py - External MIDI controller input handleradsr.py - Attack/Decay/Sustain/Release envelope generatorfilter.py - Multi-mode filter (low-pass, high-pass, band-pass, notch)drive.py - Distortion/overdrive effectdelay.py - Tempo-synced stereo delay effectchorus.py - Chorus effect for rich, layered soundslfo.py - Low-frequency oscillator for modulationarpeggiator.py - Arpeggiator for automatic note patternsstep_sequencer.py - Step sequencer with scale and rhythm controlsrecord.py - Audio recording functionality (WAV export)tests/ - Comprehensive test suite for all modulessynth_performance_benchmark.py - Performance benchmarking tooluv run python or uv run pytestgit add, review what changed with git status and git diff