Difference between revisions of "User:Natenom/Soundpack-create"
Line 1: | Line 1: | ||
− | A soundpack consists of one audio file per notification class. | + | A soundpack in Mumble consists of one audio file per notification class. |
+ | |||
+ | You can create one audio file per notification class only, not per notification. | ||
+ | |||
+ | == Notification classes and what should be said == | ||
+ | A list of notification classes and what a speaker should say... | ||
− | |||
{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable" | {|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable" | ||
!Notification Class | !Notification Class | ||
+ | !Say as | ||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|ChannelJoin | |ChannelJoin | ||
Line 72: | Line 77: | ||
!String | !String | ||
!Notification Class | !Notification Class | ||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Server connection rejected: %1. | |Server connection rejected: %1. | ||
|ServerDisconnected | |ServerDisconnected | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Welcome message: %1 | |Welcome message: %1 | ||
|Information | |Information | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Welcome message: %1 | |Welcome message: %1 | ||
|Information | |Information | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were denied %1 privileges in %2. | |You were denied %1 privileges in %2. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%3 was denied %1 privileges in %2. | |%3 was denied %1 privileges in %2. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Denied: Cannot modify SuperUser. | |Denied: Cannot modify SuperUser. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Denied: Invalid channel name. | |Denied: Invalid channel name. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Denied: Text message too long. | |Denied: Text message too long. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Denied: Operation not permitted in temporary channel. | |Denied: Operation not permitted in temporary channel. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You need a certificate to perform this operation. | |You need a certificate to perform this operation. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 does not have a certificate. | |%1 does not have a certificate. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Invalid username: %1. | |Invalid username: %1. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Invalid username. | |Invalid username. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Channel is full. | |Channel is full. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Channel nesting limit reached. | |Channel nesting limit reached. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Denied: %1. | |Denied: %1. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Permission denied. | |Permission denied. | ||
|PermissionDenied | |PermissionDenied | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 connected. | |%1 connected. | ||
|UserJoin | |UserJoin | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 is now muted and deafened. | |%1 is now muted and deafened. | ||
|OtherSelfMute | |OtherSelfMute | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 is now muted. | |%1 is now muted. | ||
|OtherSelfMute | |OtherSelfMute | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 is now unmuted. | |%1 is now unmuted. | ||
|OtherSelfMute | |OtherSelfMute | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Recording started | |Recording started | ||
|Recording | |Recording | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Recording stopped | |Recording stopped | ||
|Recording | |Recording | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 started recording. | |%1 started recording. | ||
|Recording | |Recording | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 stopped recording. | |%1 stopped recording. | ||
|Recording | |Recording | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were muted and deafened by %1. | |You were muted and deafened by %1. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were unmuted and undeafened by %1. | |You were unmuted and undeafened by %1. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were muted by %1. | |You were muted by %1. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were unmuted by %1. | |You were unmuted by %1. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were undeafened by %1. | |You were undeafened by %1. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were suppressed. | |You were suppressed. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were unsuppressed. | |You were unsuppressed. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were unsuppressed by %1. | |You were unsuppressed by %1. | ||
|YouMuted | |YouMuted | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You muted and deafened %1. | |You muted and deafened %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You unmuted and undeafened %1. | |You unmuted and undeafened %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You muted %1. | |You muted %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You unmuted %1. | |You unmuted %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You undeafened %1. | |You undeafened %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You suppressed %1. | |You suppressed %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You unsuppressed %1. | |You unsuppressed %1. | ||
|YouMutedOther | |YouMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 muted and deafened by %2. | |%1 muted and deafened by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 unmuted and undeafened by %2. | |%1 unmuted and undeafened by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 muted by %2. | |%1 muted by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 unmuted by %2. | |%1 unmuted by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 undeafened by %2. | |%1 undeafened by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 suppressed by %2. | |%1 suppressed by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 unsuppressed by %2. | |%1 unsuppressed by %2. | ||
|OtherMutedOther | |OtherMutedOther | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were moved to %1 by %2. | |You were moved to %1 by %2. | ||
|ChannelJoin | |ChannelJoin | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 moved to %2. | |%1 moved to %2. | ||
|ChannelLeave | |ChannelLeave | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 moved to %2 by %3. | |%1 moved to %2 by %3. | ||
|ChannelLeave | |ChannelLeave | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 entered channel. | |%1 entered channel. | ||
|ChannelJoin | |ChannelJoin | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 moved in from %2 by %3. | |%1 moved in from %2 by %3. | ||
|ChannelJoin | |ChannelJoin | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 is recording | |%1 is recording | ||
|Recording | |Recording | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were kicked and banned from the server by %1: %2. | |You were kicked and banned from the server by %1: %2. | ||
|YouKicked | |YouKicked | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|You were kicked from the server by %1: %2. | |You were kicked from the server by %1: %2. | ||
|YouKicked | |YouKicked | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%3 was kicked and banned from the server by %1: %2. | |%3 was kicked and banned from the server by %1: %2. | ||
|UserKicked | |UserKicked | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%3 was kicked from the server by %1: %2. | |%3 was kicked from the server by %1: %2. | ||
|UserKicked | |UserKicked | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 left channel. | |%1 left channel. | ||
|ChannelLeave | |ChannelLeave | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%1 disconnected. | |%1 disconnected. | ||
|UserLeave | |UserLeave | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Server", "message from | |Server", "message from | ||
|Source | |Source | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|%2%1: %3 | |%2%1: %3 | ||
|TextMessage | |TextMessage | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|Unable to find matching CELT codecs with other clients. You will not be able to talk to all users. | |Unable to find matching CELT codecs with other clients. You will not be able to talk to all users. | ||
|CriticalError | |CriticalError | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|The server requests minimum client version %1 | |The server requests minimum client version %1 | ||
|Warning | |Warning | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|The server requests positional audio be enabled. | |The server requests positional audio be enabled. | ||
|Warning | |Warning | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|The server requests positional audio be disabled. | |The server requests positional audio be disabled. | ||
|Warning | |Warning | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|The server requests Push-to-Talk be enabled. | |The server requests Push-to-Talk be enabled. | ||
|Warning | |Warning | ||
− | |||
− | |||
|-bgcolor="#f8f8ff" | |-bgcolor="#f8f8ff" | ||
|The server requests Push-to-Talk be disabled. | |The server requests Push-to-Talk be disabled. | ||
|Warning | |Warning | ||
− | |||
− | |||
|} | |} | ||
Line 427: | Line 297: | ||
!String | !String | ||
!Notification Class | !Notification Class | ||
− | |||
Line 435: | Line 304: | ||
=== Table Content === | === Table Content === | ||
Generate table contents with | Generate table contents with | ||
− | <code>grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1 | + | <code>grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1#p'</code> |
Revision as of 05:33, 3 December 2013
A soundpack in Mumble consists of one audio file per notification class.
You can create one audio file per notification class only, not per notification.
Contents
Notification classes and what should be said
A list of notification classes and what a speaker should say...
Notification Class | Say as |
---|---|
ChannelJoin | |
ChannelLeave | |
CriticalError | |
DebugInfo | |
Information | |
OtherMutedOther | |
OtherSelfMute | |
PermissionDenied | |
Recording | |
SelfMute | |
ServerConnected | |
ServerDisconnected | |
TextMessage | |
UserJoin | |
UserKicked | |
UserLeave | |
Warning | |
YouKicked | |
YouMuted | |
YouMutedOther |
String table
A list of strings in Mumble, the classes they belong to and what the speaker should say.
String | Notification Class |
---|---|
Server connection rejected: %1. | ServerDisconnected |
Welcome message: %1 | Information |
Welcome message: %1 | Information |
You were denied %1 privileges in %2. | PermissionDenied |
%3 was denied %1 privileges in %2. | PermissionDenied |
Denied: Cannot modify SuperUser. | PermissionDenied |
Denied: Invalid channel name. | PermissionDenied |
Denied: Text message too long. | PermissionDenied |
Denied: Operation not permitted in temporary channel. | PermissionDenied |
You need a certificate to perform this operation. | PermissionDenied |
%1 does not have a certificate. | PermissionDenied |
Invalid username: %1. | PermissionDenied |
Invalid username. | PermissionDenied |
Channel is full. | PermissionDenied |
Channel nesting limit reached. | PermissionDenied |
Denied: %1. | PermissionDenied |
Permission denied. | PermissionDenied |
%1 connected. | UserJoin |
%1 is now muted and deafened. | OtherSelfMute |
%1 is now muted. | OtherSelfMute |
%1 is now unmuted. | OtherSelfMute |
Recording started | Recording |
Recording stopped | Recording |
%1 started recording. | Recording |
%1 stopped recording. | Recording |
You were muted and deafened by %1. | YouMuted |
You were unmuted and undeafened by %1. | YouMuted |
You were muted by %1. | YouMuted |
You were unmuted by %1. | YouMuted |
You were undeafened by %1. | YouMuted |
You were suppressed. | YouMuted |
You were unsuppressed. | YouMuted |
You were unsuppressed by %1. | YouMuted |
You muted and deafened %1. | YouMutedOther |
You unmuted and undeafened %1. | YouMutedOther |
You muted %1. | YouMutedOther |
You unmuted %1. | YouMutedOther |
You undeafened %1. | YouMutedOther |
You suppressed %1. | YouMutedOther |
You unsuppressed %1. | YouMutedOther |
%1 muted and deafened by %2. | OtherMutedOther |
%1 unmuted and undeafened by %2. | OtherMutedOther |
%1 muted by %2. | OtherMutedOther |
%1 unmuted by %2. | OtherMutedOther |
%1 undeafened by %2. | OtherMutedOther |
%1 suppressed by %2. | OtherMutedOther |
%1 unsuppressed by %2. | OtherMutedOther |
You were moved to %1 by %2. | ChannelJoin |
%1 moved to %2. | ChannelLeave |
%1 moved to %2 by %3. | ChannelLeave |
%1 entered channel. | ChannelJoin |
%1 moved in from %2 by %3. | ChannelJoin |
%1 is recording | Recording |
You were kicked and banned from the server by %1: %2. | YouKicked |
You were kicked from the server by %1: %2. | YouKicked |
%3 was kicked and banned from the server by %1: %2. | UserKicked |
%3 was kicked from the server by %1: %2. | UserKicked |
%1 left channel. | ChannelLeave |
%1 disconnected. | UserLeave |
Server", "message from | Source |
%2%1: %3 | TextMessage |
Unable to find matching CELT codecs with other clients. You will not be able to talk to all users. | CriticalError |
The server requests minimum client version %1 | Warning |
The server requests positional audio be enabled. | Warning |
The server requests positional audio be disabled. | Warning |
The server requests Push-to-Talk be enabled. | Warning |
The server requests Push-to-Talk be disabled. | Warning |
Create Notification Class Table
Table Body
{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable" !Notification Class |}
Table Content
for i in $(grep 'Log::' src/mumble/Settings.cpp | grep -i qm | sed -n -r -e 's#.*Log\:\:(.*)\].*#\1#p' | sort | uniq); do echo -n -e '|-bgcolor="#f8f8ff"\n|'"${i}"'\n|\n'; done
Create string table
Table Body
Table body is
{|border="0" cellpadding="2" cellspacing="1" style="background:#e2e2e2;" class="sortable" !String !Notification Class |}
Table Content
Generate table contents with
grep 'Log::' src/mumble/Messages.cpp | sed -nr -e 's#.*Log\:\:([a-zA-Z0-9]*).*tr\("(.*)"\).*#|-bgcolor=\"\#f8f8ff\"\n|\2\n|\1#p'