|
|
#11 | |
|
Senior Member
Join Date: Nov 2005
Posts: 281
|
Quote:
and the in-game voice activation to detect the voice-activation situations. (since out of game voice activation would trigger in-game voice activation if you have it enabled). Same trick in principle x2.
__________________
* the poster formerly known as Astaldo |
|
|
|
|
|
|
#12 | |
|
Member
Join Date: Jul 2009
Posts: 20
|
Quote:
1) push to talk key as mentioned by Adirelle 2) voice activated chat is made as follows: User enables blizzard ingame chat and set activation volume addon records loopback sound at regular intervals and reads microphone value if value is above activation volume the user is speaking |
|
|
|
|
|
|
#13 |
|
Amazing Member
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
|
I don't not really know how the internal push-to-talk works. Could you use the voice-chat keybinding for your library ?
__________________
Author of Squire, Inline Aura and several other addons. If you have a problem and you think the solution involves using a regular expression, then you have two problems. |
|
|
|
|
|
#14 |
|
Legendary Member
Join Date: Nov 2006
Posts: 2,668
|
Ok. His question was how should he communicate over the addon channel, so he can do that directly from his library using SendAddonMessage() with "RAID" distribution. He can also register CHAT_MESSAGE_ADDON in his library in order to recieve any messages that are sent by other players
|
|
|
|
|
|
#15 |
|
Amazing Member
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
|
IMO a library using built-in settings (e.g. voice activation level and push-to-talk button) and mimicking built-in voice-chat methods and events should be quite straightforward to write. Obviously, the library should wrap built-in events and statuses so the addon would only use one entry point.
__________________
Author of Squire, Inline Aura and several other addons. If you have a problem and you think the solution involves using a regular expression, then you have two problems. |
|
|
|
|
|
#16 |
|
Member
Join Date: Jul 2009
Posts: 20
|
Hi, i have finally achieved what i wanted and submitted libraidvoice for approval. Simple library that can be included in unitframes and used there.
example of addon that uses my library and prints speaking players (who have raidvoice) Code:
RV =LibStub:GetLibrary("libRaidVoice-1.0");
RV.RegisterCallback(self,"RAIDVOICE_UPDATE","voiceUpdate")
function MyAddon:voiceUpdate(event, arg1)
print(arg1);
--prints playername or nill if player stops speaking
end
|
|
|
|
![]() |
| Tags |
| libraidvoice voicechat |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 12:42 AM.
WowAce Forums






