AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Plugins (https://forums.alliedmods.net/forumdisplay.php?f=76)
-   -   VoiceHook - Developer preview of something. (https://forums.alliedmods.net/showthread.php?t=145457)

asherkin 04-05-2012 08:50

Re: VoiceHook - Developer preview of something.
 
Quote:

Originally Posted by janinge (Post 1682367)
And I get the following console spam when only using the provided SourceMod extension (with sv_use_steam_voice set to 1), so I guess it tries to decode the SILK stream with Speex...

Yes, those binaries are broken.

daicorne 04-21-2012 06:14

Re: VoiceHook - Developer preview of something.
 
Is this plugins broken?
Now voicehook will crash server : (

vatanuki.kun 04-22-2012 20:08

Re: VoiceHook - Developer preview of something.
 
Hi asherkin. Thanks for greate plugin, now its posibble to make audio logs:) wanted to write plugin for this:)

have a queston:
Quote:

Originally Posted by asherkin (Post 1638423)
Post has been updated with new voicehook_mm binaries that wont re-encode the audio stream if there are only raw (or no) listeners registered.

what does mean re-encode? if its was Raw listener then it decode then encode data and put to plugin? and how it works now?

also does plugin up todate? i have no data on AddListener with sv_use_steam_voice set to 0, but have data on AddRawListener

running CSS on linux:
Code:

meta info 2
Plugin 2 is running.
  Name: "Voice" by Asher "asherkin" Baker
  Version: 0.1.0
  Description:
  License: Private
  URL: http://limetech.org/
  Details: API 015, Date: Jan 26 2012

also server crash on test sm exts when doing exts unload <plugin>

sorry for my bad english :oops:

seabass45 04-27-2012 16:25

Re: VoiceHook - Developer preview of something.
 
that program that controls clients voice levels is a great idea. Hoping something comes up like that soon.

Zephyrus 04-28-2012 00:13

Re: VoiceHook - Developer preview of something.
 
Quote:

Originally Posted by vatanuki.kun (Post 1694827)
Hi asherkin. Thanks for greate plugin, now its posibble to make audio logs:) wanted to write plugin for this:)

have a queston:

what does mean re-encode? if its was Raw listener then it decode then encode data and put to plugin? and how it works now?

also does plugin up todate? i have no data on AddListener with sv_use_steam_voice set to 0, but have data on AddRawListener

running CSS on linux:
Code:

meta info 2
Plugin 2 is running.
  Name: "Voice" by Asher "asherkin" Baker
  Version: 0.1.0
  Description:
  License: Private
  URL: http://limetech.org/
  Details: API 015, Date: Jan 26 2012

also server crash on test sm exts when doing exts unload <plugin>

sorry for my bad english :oops:

it means that if you had raw listeners only or none at all, it wont decode and re-encode the stream, cause that would obviously result in the loss of quality. So if you have a normal listener and you also alter the voice stream, you obviously have to encode it too

vatanuki.kun 04-28-2012 06:31

Re: VoiceHook - Developer preview of something.
 
oh i see, thanks, i need it just for audio logs, and what about that it doesnot stream into normal listener even with
sv_use_steam_voice set to 0?

GoD-Tony 05-24-2012 14:38

Re: VoiceHook - Developer preview of something.
 
Dammit, I thought this broke on the CS:S update but I found that my vaudio_speex file was deleted.

Edit: No wait it now crashes when I start using voice.

Quote:

Originally Posted by asherkin (Post 1591033)
Raw listeners will get the compressed data, regular listeners will get nothing.

To decompress the audio data you need to use the DecompressVoice of the ISteamUser SteamWorks interface, which is not exposed to the game server.

Does this mean I could take the compressed data with raw listeners and decode it myself elsewhere, even with SILK? Also without affecting voice quality in-game?

Quote:

Originally Posted by asherkin (Post 1638423)
Post has been updated with new voicehook_mm binaries that wont re-encode the audio stream if there are only raw (or no) listeners registered.

If the answer to my last question is yes, couldn't the decoded voice data be provided with regular listeners without re-encoding the stream? Or is this the price of processing the data using only what is provided by the game?

Edit: Or maybe the point of re-encoding is that it can be modified live.

asherkin 05-24-2012 19:58

Re: VoiceHook - Developer preview of something.
 
Quote:

Originally Posted by GoD-Tony (Post 1715832)
Edit: No wait it now crashes when I start using voice.

I'll try and get some updated gamedata out soon, especially since the current binaries are completely broken with SILK.

Quote:

Originally Posted by GoD-Tony (Post 1715832)
Does this mean I could take the compressed data with raw listeners and decode it myself elsewhere, even with SILK? Also without affecting voice quality in-game?

Yep. See spoiler'd code in https://forums.alliedmods.net/showpo...3&postcount=75.

Quote:

Originally Posted by GoD-Tony (Post 1715832)
If the answer to my last question is yes, couldn't the decoded voice data be provided with regular listeners without re-encoding the stream? Or is this the price of processing the data using only what is provided by the game?

Edit: Or maybe the point of re-encoding is that it can be modified live.

Yes, it's purely so you can modify it, there is no state propagation back to VoiceHook (yet) to tell if a plugin modified the data.

Mathias. 06-03-2012 12:40

Re: VoiceHook - Developer preview of something.
 
Hope this will be update soon. Server side voice changer, answome! :bacon!:

Mitchell 06-03-2012 23:28

Re: VoiceHook - Developer preview of something.
 
I, too, wish this gets heavily worked on, it could be really usefull in jailbreak, and having voice prioity.


All times are GMT -4. The time now is 15:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.