ilusm.dev

spc

Speech: recognition, text-to-speech, voice activity detection.

Load with: use spc

Quick example

use spc

result = spcs1("value")
prn(result)

Functions

STT engines

spcs1(opts)

Performs the operation. Takes opts.

spcs2(stt, aud)

Performs the operation. Takes stt, aud.

spcst(stt, audchnk)

Sets a value or starts a process. Takes stt, audchnk.

spcg0(key, lang)

Performs the operation. Takes key, lang.

spcgg(g, aud)

Performs the operation. Takes g, aud.

spcz0(key, reg)

Performs the operation. Takes key, reg.

spcwh(aud, md)

Performs the operation. Takes aud, md.

Text-to-speech

spctt(opts)

Performs the operation. Takes opts.

spct0(tts, txt)

Performs the operation. Takes tts, txt.

spcs0(tts, txt, fn)

Performs the operation. Takes tts, txt, fn.

spcz1(key, reg, v)

Performs the operation. Takes key, reg, v.

spczr(a, txt)

Performs the operation. Takes a, txt.

spcl0(key, v)

Performs the operation. Takes key, v.

spcl1(e, txt)

Performs the operation. Takes e, txt.

Voice activity detection

spcv3(sr)

Performs the operation. Takes sr.

spcv0(vad, frm)

Performs the operation. Takes vad, frm.

spcv1(vad)

Performs the operation. Takes vad.

spcvd(vad)

Performs the operation. Takes vad.

Speech segmentation

spcsg(aud, thresh)

Performs the operation. Takes aud, thresh.

Speaker diarization

spcdr(aud, spkrs)

Performs the operation. Takes aud, spkrs.

Speaker verification

spcv2()

Performs the operation.

spcnr(m, spkr, aud)

Performs the operation. Takes m, spkr, aud.

spcvr(m, aud)

Performs the operation. Takes m, aud.

spcsm(e1, e2)

Performs the operation. Takes e1, e2.

Command recognition

spcc0(cmds)

Performs the operation. Takes cmds.

spccm(m, txt)

Performs the operation. Takes m, txt.

Wake word detection

spcw0(wakeword)

Performs the operation. Takes wakeword.

spcwk(m, aud)

Performs the operation. Takes m, aud.

Real-time transcription

spcrt(cb, opts)

Performs the operation. Takes cb, opts.

Language identification

spcln(aud)

Performs the operation. Takes aud.

Pronunciation assessment

spcp0(ref, aud)

Performs the operation. Takes ref, aud.

Audio preprocessing for speech

spcpr(aud)

Processes or prints. Takes aud.

Phoneme extraction

spcph(aud)

Performs the operation. Takes aud.

Prosody analysis

spcp1(aud)

Performs the operation. Takes aud.

Voice conversion

spccn(aud, tgtspkr)

Performs the operation. Takes aud, tgtspkr.

Speech enhancement

spcnh(aud)

Performs the operation. Takes aud.

Batch processing

spcbt(files, opts)

Performs the operation. Takes files, opts.

Notes

  • Space / physics simulation - 2D/3D vectors, collision detection.