Skip to content

Commit 951e9c5

Browse files
committed
Update CHANGELOG
1 parent 83067e3 commit 951e9c5

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ All notable changes to this project will be documented in this file. This change
1414
- **Elevenlabs TTS**: Added pipeline interruption support. The processor will drop partial generated audio and go into interrupted mode when a `::frame/control-inerrupt-start` is received. All new speak-frames received while in the interrupted state are dropped and the processor resumes on receiving a `::frame/control-interrupt-stop`
1515
- **LLM Processors (Openai and Google)**: Added pipeline interruption support. The processor will cancel in-flight request for inference when receiving a `::frame/control-interrupt-start`.
1616
- **Transport Out (both realtime and speakers out)**: Added pipeline interruption support. The process will drain the playback queue when a `::frame/control-interrupt-start` will start and go into interrupted state in which new `::frame/audio-out-raw` frames will be dropped until a `::frame/control-interrupt-stop` will be received
17+
- **Transport In (twilio, async and microphone)**: Support for predefined vad processors. Currently the only supported one is `vad.analyser/silero` but hopefully more will come in the future.Example
18+
```clojure
19+
{:transport-in {:proc transport-in/microphone-transport-in
20+
:args {:vad/analyser :vad.analyser/silero}}} ;; the silero VAD instantiation and cleanup is handled by simulflow
21+
```
22+
- **Transport In (twilio, async and microphone**: Moved params parsing to use malli schemas, see the schemas defined [here](./src/simulflow/transport/in.clj).
1723

1824
### Changed
1925
- Moved most of the llm logic from [openai processor](./src/simulflow/processors/openai.clj) to an utils folder to be used by multiple processors like [gemini](./src/simulflow/processors/google.clj)

src/simulflow/transport/in.clj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,7 @@
223223
:audio-format (sampled/audio-format 16000 16 1)
224224
:channel-size 1024})
225225

226-
(defn mic-transport-in-describe
227-
[]
226+
(def mic-transport-in-describe
228227
{:outs base-transport-outs
229228
:params base-input-params})
230229

@@ -265,7 +264,7 @@
265264

266265
(defn mic-transport-in-fn
267266
"Records microphone and sends raw-audio-input frames down the pipeline."
268-
([] (mic-transport-in-describe))
267+
([] mic-transport-in-describe)
269268
([params] (mic-transport-in-init! params))
270269
([state transition]
271270
(base-transport-in-transition! state transition))

test/simulflow/transport/in_test.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242

243243
(testing "mic-transport-in-fn describe (0-arity) delegates correctly"
244244
(let [description (in/mic-transport-in-fn)]
245-
(is (= description (in/mic-transport-in-describe))
245+
(is (= description in/mic-transport-in-describe)
246246
"0-arity should delegate to describe function")))
247247

248248
(testing "mic-transport-in-fn transform (3-arity) delegates correctly"

0 commit comments

Comments
 (0)