Перейти к содержимому
Mineforgian

FiguraSVC

A unofficial addon that allows Figura scripts to detect and process Simple Voice Chat audio in real time.

69K загрузок53 подписчиковLGPL-2.1-onlyfabricforgeneoforgequilt

Обновлён 16 июля 2025 г. · опубликован 6 апреля 2024 г.

  • Beta release of FiguraSVC 2.0!

FiguraSVC

A unofficial addon for Figura that allows Simple Voice Chat to be detected by Figura Lua scripts.

DOCUMENTATION

Wiki will come soon!

Example Script

-- Example talking animation
local microphoneOffTime = 0
local isMicrophoneOn = false

function pings.talking(state)
    -- (safe on servers) (visible to everyone)
    animations.model.talk:setPlaying(state)
end

function events.tick()
    local previousMicState = isMicrophoneOn

    microphoneOffTime = microphoneOffTime + 1
    isMicrophoneOn = microphoneOffTime <= 2 -- has svc.microphone been called in the past 2 ticks?

    if previousMicState ~= isMicrophoneOn then
        pings.talking(isMicrophoneOn)
    end
end

if client:isModLoaded("figurasvc") and host:isHost() then
    function events.HOST_MICROPHONE(pcm)
        microphoneOffTime = 0
    end
end

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
2.0.1+1.20.1Релиз1.20.1fabric, quilt16 июля 2025 г.Скачать (26 КБ)
2.0.1+1.20.1Релиз1.20.1forge16 июля 2025 г.Скачать (22 КБ)
2.0.1+1.21.1Релиз1.21.3, 1.21.4, 1.21.5, 1.21.6forge16 июля 2025 г.Скачать (16 КБ)
2.0.1+1.21.1Релиз1.21.3, 1.21.4, 1.21.5, 1.21.6fabric, quilt16 июля 2025 г.Скачать (20 КБ)
2.0.1+1.21.1Релиз1.21.3, 1.21.4, 1.21.5, 1.21.6neoforge16 июля 2025 г.Скачать (16 КБ)
2.0+1.21.xРелиз1.21.1, 1.21.2, 1.21.3, 1.21.4fabric, forge, neoforge, quilt8 марта 2025 г.Скачать (46 КБ)
2.0+1.20.1Релиз1.20.1fabric, forge, quilt27 февраля 2025 г.Скачать (34 КБ)
1.1.0+1.20.4Бета1.20.4fabric20 апреля 2024 г.Скачать (543 КБ)
1.1.0+1.20.1Бета1.20.1fabric20 апреля 2024 г.Скачать (545 КБ)
1.0.0+1.20.1Альфа1.20.1fabric6 апреля 2024 г.Скачать (14 КБ)

Ченджлог

2.0.1+1.21.1Релиз1.21.4, 1.21.5, 1.21.6 · 16 июля 2025 г.

Fixes crash issue caused by a mixin conflict introduced by forgix. I have no clue why it occurs. This also fixes the events.microphone call.- This is simply a bundle of the partial build of 2.1.

2.0+1.21.xРелиз1.21.2, 1.21.3, 1.21.4 · 8 марта 2025 г.
  • Port to 1.21 versions (yes this works for every version of 1.21)
  • Legacy events have been rewritten to use the same system as all other events
2.0+1.20.1Релиз1.20.1 · 27 февраля 2025 г.

I'm happy to say that FiguraSVC 2.0 is OUT!

  • Added new events
    • events.host_microphone
      • Only runs on the host client, this can be used to process audio data before its sent out to other clients (W.I.P)
      • This event supercedes svc.microphone and works almost exactly like it!
    • events.microphone
      • A new event that runs on all other clients besides the host! Allows for ping-free real time audio animations!
  • Forge Support!
  • FiguraSVC now (mostly) requires all clients to have the mod installed to enable real time audio processing, otherwise it will fall-back to the old ping system!
1.1.0+1.20.4Бета1.20.4 · 20 апреля 2024 г.
  • 1.20.4 Port
1.1.0+1.20.1Бета1.20.1 · 20 апреля 2024 г.
  • Added a parameter to svc.microphone that provides the raw 16-bit PCM data.
  • Fixed issue where the SVC plugin would keep erroring out if a figura avatar wasn't loaded on the client.
1.0.0+1.20.1Альфа1.20.1 · 6 апреля 2024 г.

The first release of FiguraSVC, bound to be buggy, as such, it is released under the Alpha channel.

Комментарии

Загружаем…