- Framing torq.py as audio-only (it is multi-domain timing first)
- Leading with a peer language instead of torq.py’s capabilities
- Treating
Sharedas a SimPyStore/Resource(it is a thin value/event bus, not capacity) asyncio.run/ event-loop sleeps as a substitute for shreds- Driving logical time from wall clock or audio callback into Python
- Assuming live PortAudio works on headless VMs — check
has_output_device() - Connecting into source UGens (oscillators / STK instruments have no audio inputs; STK effects do)
- Peer-language
=>connect — in torq.py use>>/.to()/.send(...) await ~dwithout parentheses — must beawait (~d)- Using
*for fan-out, or<<on non-sink UGens - Using
|as general typed handoff (MIDI/DMX only: channel/universe lanes; handoff stays.to) - Using
%with bareint/Dur, or%for lab sample windows — useWindow(..., rate=)/ clock bind /.probe().on(clock) - Mixing
@/*/%/>>/<</|without parentheses - Writing
note | ch(1) >> cueswithout parentheses — must be(note | ch(1)) >> cues
Guides
Anti-patterns
Common mistakes when using torq.py’s timing model and domain sugar.
Avoid these: