TORQWAVE v0.24.0

Ask Torq đŸ¶ (experimental)

Experimental. Ask Torq is new in 0.17.0 and is a test of the idea. It can misread what you ask, pick settings you wouldn’t, or stop partway. Read every plan before you apply it, listen afterwards, and tell us what it got wrong.

Ask Torq turns a sentence into edits: “trim the silence at both ends, bring it to -16 LUFS and fade out the last second”. A language model reads your sentence, looks at the file through Torqwave’s measurements, and makes a plan with Torqwave’s own edits. Nothing changes until you read the plan and press Apply, and Apply is one undo step.

What it needs: a model you run yourself

Torqwave ships no model. It talks to a model server that speaks the OpenAI-compatible API, the API local model servers share: Ollama, LM Studio, llama.cpp’s llama-server, vLLM and the like, on your computer or another one on your network.

The model has to support tool calling (function calling). Models that do it well are the larger open-weights instruct models; small ones tend to call the wrong edit or give up. It was built and measured with a 27-billion-parameter model (see the changelog for the results).

What goes to the server: your sentence, the last few requests and answers of the conversation, the file’s name, and the numbers Torqwave measures (lengths, levels, loudness, the plug-ins you have and their settings). No audio is sent unless you turn on Let the model hear clips in Settings > AI (off to begin with): then Torqwave Synth’s Decrypt sends the one note it is matching, once, for a model that takes audio to describe. With a server on your own computer or network, nothing leaves it.

Setting it up

  1. Start your model server and load a model that supports tools.
  2. Open Settings > AI.
  3. Press Add beside Endpoint, and give the server a Name you’ll know it by. Then, under Server, type its address, such as http://localhost:11434/v1 for Ollama on this computer, or http://studio-pc.local:8000/v1 for a server elsewhere on your network. An address without a path gets /v1.
  4. Key: leave it empty unless your server asks for one. A key you save is kept in the Mac’s keychain or Windows’ Credential Manager, never in Torqwave’s settings. On Linux, this release reads it from the TORQWAVE_AI_KEY environment variable instead. After you install a new version on the Mac, macOS may ask whether Torqwave may use the key it saved: choose Always Allow.
  5. Press List Models and choose the model.
  6. Press Test. Torqwave asks the model for a short reply and shows it, with how long it took.
  7. Turn on Ask Torq.

More than one server. Settings > AI keeps a list of endpoints: a model on this computer, say, and a bigger one on another machine on your network. Each keeps its own name, address, model and key. Choose one under Endpoint to use it; Ask Torq and the plug-in catalogue use the one chosen. Add puts another in the list. Delete removes the one shown, with its saved key unless another endpoint in the list has the same address. Settings from an earlier version come back as an endpoint named “Server 1”. A change to the name, address or model is saved as you make it; the line at the bottom of the page says what was saved, and when.

Asking

With an audio file open, or a session in the multitrack view, click Ask Torq đŸ¶ at the top of the window (it shows while Ask Torq is turned on), or choose Edit > Ask Torq đŸ¶â€Š. Type what you want and press Return or Ask.

The window shows the model at work: its thinking (for a model that shows it), each tool it calls, and each step it adds to the plan. When it’s finished, the plan is listed. Apply makes the changes as one undo step, named after your request; Discard throws the plan away. If the file changes while the model works, the plan isn’t applied: ask again.

Follow-ups. The request box empties when you send, and the log keeps the conversation. The next request goes to the model with the ones before it: what you asked, what it answered, its plan and whether you applied it. So “now a little less” or “do the same to the second track” has something to follow. Each request still starts from the file as it is now: a plan you did not apply is not in it. To keep the request small for the model, only the last four requests go along, each answer cut to its first 600 characters. New Chat forgets the conversation and empties the log.

Earlier requests. In the request box, the up arrow brings back the request before, and the one before that; the down arrow goes forward again, and past the newest it gives back what you were typing. The last fifty are kept while Torqwave runs.

How full the model is. A line under the log shows the tokens the last request and its answer took, against the model’s context window where the server tells it: “Context: 6,412 of 262,144 tokens (2 %)”. After it come the answers’ tokens and what is sent with each request. If the server sends no count the number is an estimate and says so; if it doesn’t tell the model’s limit, none is shown. Over 70 % full, the line turns to the warning colour and the next request goes without the earlier ones, so it still fits; New Chat starts clean.

Asking about Torqwave. Ask “what is new in this version?” and the answer comes from a short note of the release that is built into the program, not from the model’s memory. It is a summary; the changelog has the whole list.

Stop cancels a request in progress.

Things to try:

What it can do

It works on the audio file that’s open and, in the multitrack view, on the session (experimental).

Plug-ins are set through their parameters, the way automation sees them, so any AU, VST3 or LV2 effect works, not only Torqwave’s own. The model writes values the way the plug-in shows them (“-12 dB”, “4:1”, “Hall”), and Torqwave reports back what the plug-in actually took. What a plug-in keeps only in its own window (loading samples, some routing) is out of the model’s reach.

Factory sounds, sequences, kits and drum maps

New in 0.20.0, in a session. Ask Torq picks from what is really there, by name, and says so when a name matches nothing.

The sequences, tracks, drum map and moved notes are part of the plan’s one undo step. The instruments are not: a factory sound, and the instrument a sequence or kit brings, load once the plan is applied, as any instrument does, and undo does not unload them (undo does take out the tracks a sequence or kit made). An instrument that arrives with a sequence can be changed in your next request, once it is on its track.

Things to try, with a session open:

The model cannot hear. It chooses a sound by its name, category and description, so “dark” finds patches named or filed that way, not patches that sound dark.

The plug-in catalogue

So that it can choose a plug-in without opening each one to look, Ask Torq keeps a catalogue of your effects: each one’s parameters (names, units, ranges, choices and defaults) and presets’ names, and a short description of what it does, what it’s good for and which settings matter, written by your model. The plug-in list it reads shows each description’s first sentence, and it can read a whole entry before adding anything.

Settings > AI > Plug-in Catalogue
 opens it:

The model’s descriptions can be wrong, as anything it writes can, especially for a plug-in it doesn’t know. Reading a few is worth it, and a wrong one is easily edited or forgotten.

Changes to the effects rack are applied with the plan but aren’t part of its undo step, as rack changes never are. A rack the plan rendered into the audio comes back to the rack when you undo, as after Apply Effects Rack.

In the Sequencer

In the Sequencer, click Ask Torq đŸ¶ at the right of the transport row. The Ask Torq window opens on the sequence in the Sequencer, and stays on it until you open Ask Torq from the Edit menu or the main window’s button again. It is told the sequence’s name, role (what the part is for: drums, a bass, a pad
), key, beats in a bar and length; the voice’s instrument, what the plug-in catalogue says it is, its parameters and its effects; the Sequencer’s tempo, and the session’s tempo and key (when it has one) when a session is open. Notes go to the model in ticks, 960 to a beat, with their pitch, start, length, velocity (1 to 127) and probability, and the controller lanes with their points.

Writing. Ask for a part: “two bars of broken-beat hats in A minor”, “a pad progression, i-VI-III-VII, a bar each”. The model writes the notes and lanes, and can set the length, the loop and the key. Torqwave checks what it writes (pitches 0 to 127, every note starting and ending inside the length, velocities 1 to 127, controllers 0 to 127 or pitch bend, lane values 0 to 1) and refuses anything else with the reason, for the model to correct. The plan names what it wrote: “Write 16 notes into “Hats”, 8 beats in A minor”. Apply puts it into the Sequencer as one undo step, exactly as written, in place of the notes and lanes there; the Sequencer’s Undo takes it back. If you edit the sequence while the model works, the plan isn’t applied: ask again.

Reviewing. Ask it to look at the sequence (“how could this bass line be better?”). It gives a short review against the part’s role: the rhythm and groove, timing that is too stiff or too loose, the spread of velocities, the voicing and range, crowding on a kit, repetition. Under the review, Torqwave itself names every note outside the sequence’s key, with where it is (“Outside A minor: F#3 at bar 1, beat 3”), whatever the model says. Then come its suggestions, one row each:

Apply beside a suggestion applies it by itself; Apply All applies every one not yet applied, together. Each press is one undo step in the Sequencer, named “Ask Torq:” and the suggestion’s title (or how many), so the Sequencer’s Undo takes back each, an added effect included. A suggestion that changes a note you have since changed or deleted says so and changes nothing. Discard, or a new request, puts the suggestions away.

How good the music is depends on the model. Torqwave checks that what the model writes fits the sequence; it can’t tell whether it grooves. Larger models write better parts and more useful reviews. The AI eval set has four sequence requests (--ai-eval-set sequence) to try a model with.

Decrypt with a model

Torqwave Synth’s Decrypt finds a patch that plays like a recording of one note. Ask Torq takes part in two ways.

From a request. Two tools work on a session’s audio clips and a track playing Torqwave Synth:

Both are refused, with the reason, for a track that isn’t playing Torqwave Synth (or one whose instrument the same plan changes), a clip that isn’t audio or is silent, and an oscillator other than 1 to 3. Stop stops a search under way, and nothing is changed. Like the plug-in changes above, the patch and the table are set once the plan is applied and aren’t part of its undo step; to go back, choose the patch you had again, or undo by hand.

Helping the search. With Ask Torq on, Decrypt in the synth’s window (and the tool above) asks your model for help as it searches:

Every change the model proposes is played and scored like any other candidate, with a few variations of its own, and kept only if it comes closer than the best so far; the panel lists what it tried and whether it was kept. Its starting points join the search as it goes, so they change its path: the result can end a little either side of the one without the model. A model that answers nonsense is ignored. Decrypt asks the model to answer without thinking first (chat_template_kwargs, which most local servers read; a server that refuses that field by name is asked again without it), since a thinking model took nearly two minutes over one answer. With a model, the search waits after its rounds for up to three more answers, 30 seconds at most in all, and drops an answer that takes longer.

Let the model hear clips (Settings > AI, off to begin with) sends the note Decrypt is matching to the server once, as a 16 kHz WAV, and asks for a one-line description to start from. Only a model that takes audio can use it; one that doesn’t answers with an error and the search goes on as before. Turn it on only for a server you trust with your audio.

What it did, measured. The ten factory patches of Decrypt’s own test as it was before the 40 basses of 0.20.0 (Warehouse Sub as its bass), each recorded dry and decrypted without its own name, with and without a 27-billion-parameter model (Qwen3.8 27B, on a local server) told the patch’s category in words. The locks are on the scale of the time, 0 % at 24 dB apart; the lock now falls to 0 % at 12 dB, so the same matches read lower today:

  Without the model With the model
Mean lock 93.7 % 93.7 %
Better than without   5 of 10: Bare Shiver by 0.6 points (95.7 to 96.3 %), the others by 0.1 or less
Worse than without   1 of 10, by 0.1 points (Abyss Reese 93.1 to 93.0 %)
Proposals kept   13 of 143
Mean time 2.0 s 7.1 s

On these sounds the search finds the synth’s own patches without help, so there was little for a model to add: take it as an experiment. Words that say what the search can’t measure (“match the body, not the click”) and sounds that are not this synth’s are where it may help more; they were not measured.

When it goes wrong

The plan for what comes next, including sessions and models that hear, is in AI assistance.