Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Incluindo suporte básico a sons na painel web #34

Merged
merged 2 commits into from

2 participants

@CauanCabral

No momento ele força a língua para Português, mas não está difícil colocar suporte as outras duas.

@rogeriolino rogeriolino merged commit c15c365 into novosga:master
@CauanCabral CauanCabral deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 9, 2013
  1. @CauanCabral

    Incluindo suporte básico a sons na painel web

    CauanCabral authored
    Conflicts:
    	src/web/painel/view/index.php
  2. @CauanCabral
This page is out of date. Refresh to see the latest.
Showing with 985 additions and 0 deletions.
  1. BIN  src/web/media/voice/en/0.mp3
  2. BIN  src/web/media/voice/en/0.ogg
  3. BIN  src/web/media/voice/en/1.mp3
  4. BIN  src/web/media/voice/en/1.ogg
  5. BIN  src/web/media/voice/en/2.mp3
  6. BIN  src/web/media/voice/en/2.ogg
  7. BIN  src/web/media/voice/en/3.mp3
  8. BIN  src/web/media/voice/en/3.ogg
  9. BIN  src/web/media/voice/en/4.mp3
  10. BIN  src/web/media/voice/en/4.ogg
  11. BIN  src/web/media/voice/en/5.mp3
  12. BIN  src/web/media/voice/en/5.ogg
  13. BIN  src/web/media/voice/en/6.mp3
  14. BIN  src/web/media/voice/en/6.ogg
  15. BIN  src/web/media/voice/en/7.mp3
  16. BIN  src/web/media/voice/en/7.ogg
  17. BIN  src/web/media/voice/en/8.mp3
  18. BIN  src/web/media/voice/en/8.ogg
  19. BIN  src/web/media/voice/en/9.mp3
  20. BIN  src/web/media/voice/en/9.ogg
  21. BIN  src/web/media/voice/en/a.mp3
  22. BIN  src/web/media/voice/en/a.ogg
  23. BIN  src/web/media/voice/en/b.mp3
  24. BIN  src/web/media/voice/en/b.ogg
  25. BIN  src/web/media/voice/en/c.mp3
  26. BIN  src/web/media/voice/en/c.ogg
  27. BIN  src/web/media/voice/en/d.mp3
  28. BIN  src/web/media/voice/en/d.ogg
  29. BIN  src/web/media/voice/en/e.mp3
  30. BIN  src/web/media/voice/en/e.ogg
  31. BIN  src/web/media/voice/en/f.mp3
  32. BIN  src/web/media/voice/en/f.ogg
  33. BIN  src/web/media/voice/en/g.mp3
  34. BIN  src/web/media/voice/en/g.ogg
  35. BIN  src/web/media/voice/en/guiche.mp3
  36. BIN  src/web/media/voice/en/guiche.ogg
  37. BIN  src/web/media/voice/en/h.mp3
  38. BIN  src/web/media/voice/en/h.ogg
  39. BIN  src/web/media/voice/en/i.mp3
  40. BIN  src/web/media/voice/en/i.ogg
  41. BIN  src/web/media/voice/en/j.mp3
  42. BIN  src/web/media/voice/en/j.ogg
  43. BIN  src/web/media/voice/en/k.mp3
  44. BIN  src/web/media/voice/en/k.ogg
  45. BIN  src/web/media/voice/en/l.mp3
  46. BIN  src/web/media/voice/en/l.ogg
  47. BIN  src/web/media/voice/en/m.mp3
  48. BIN  src/web/media/voice/en/m.ogg
  49. BIN  src/web/media/voice/en/n.mp3
  50. BIN  src/web/media/voice/en/n.ogg
  51. BIN  src/web/media/voice/en/o.mp3
  52. BIN  src/web/media/voice/en/o.ogg
  53. BIN  src/web/media/voice/en/p.mp3
  54. BIN  src/web/media/voice/en/p.ogg
  55. BIN  src/web/media/voice/en/q.mp3
  56. BIN  src/web/media/voice/en/q.ogg
  57. BIN  src/web/media/voice/en/r.mp3
  58. BIN  src/web/media/voice/en/r.ogg
  59. BIN  src/web/media/voice/en/s.mp3
  60. BIN  src/web/media/voice/en/s.ogg
  61. BIN  src/web/media/voice/en/senha.mp3
  62. BIN  src/web/media/voice/en/senha.ogg
  63. BIN  src/web/media/voice/en/t.mp3
  64. BIN  src/web/media/voice/en/t.ogg
  65. BIN  src/web/media/voice/en/u.mp3
  66. BIN  src/web/media/voice/en/u.ogg
  67. BIN  src/web/media/voice/en/v.mp3
  68. BIN  src/web/media/voice/en/v.ogg
  69. BIN  src/web/media/voice/en/w.mp3
  70. BIN  src/web/media/voice/en/w.ogg
  71. BIN  src/web/media/voice/en/x.mp3
  72. BIN  src/web/media/voice/en/x.ogg
  73. BIN  src/web/media/voice/en/y.mp3
  74. BIN  src/web/media/voice/en/y.ogg
  75. BIN  src/web/media/voice/en/z.mp3
  76. BIN  src/web/media/voice/en/z.ogg
  77. BIN  src/web/media/voice/es/0.mp3
  78. BIN  src/web/media/voice/es/0.ogg
  79. BIN  src/web/media/voice/es/1.mp3
  80. BIN  src/web/media/voice/es/1.ogg
  81. BIN  src/web/media/voice/es/2.mp3
  82. BIN  src/web/media/voice/es/2.ogg
  83. BIN  src/web/media/voice/es/3.mp3
  84. BIN  src/web/media/voice/es/3.ogg
  85. BIN  src/web/media/voice/es/4.mp3
  86. BIN  src/web/media/voice/es/4.ogg
  87. BIN  src/web/media/voice/es/5.mp3
  88. BIN  src/web/media/voice/es/5.ogg
  89. BIN  src/web/media/voice/es/6.mp3
  90. BIN  src/web/media/voice/es/6.ogg
  91. BIN  src/web/media/voice/es/7.mp3
  92. BIN  src/web/media/voice/es/7.ogg
  93. BIN  src/web/media/voice/es/8.mp3
  94. BIN  src/web/media/voice/es/8.ogg
  95. BIN  src/web/media/voice/es/9.mp3
  96. BIN  src/web/media/voice/es/9.ogg
  97. BIN  src/web/media/voice/es/a.mp3
  98. BIN  src/web/media/voice/es/a.ogg
  99. BIN  src/web/media/voice/es/b.mp3
  100. BIN  src/web/media/voice/es/b.ogg
  101. BIN  src/web/media/voice/es/c.mp3
  102. BIN  src/web/media/voice/es/c.ogg
  103. BIN  src/web/media/voice/es/d.mp3
  104. BIN  src/web/media/voice/es/d.ogg
  105. BIN  src/web/media/voice/es/e.mp3
  106. BIN  src/web/media/voice/es/e.ogg
  107. BIN  src/web/media/voice/es/f.mp3
  108. BIN  src/web/media/voice/es/f.ogg
  109. BIN  src/web/media/voice/es/g.mp3
  110. BIN  src/web/media/voice/es/g.ogg
  111. BIN  src/web/media/voice/es/guiche.mp3
  112. BIN  src/web/media/voice/es/guiche.ogg
  113. BIN  src/web/media/voice/es/h.mp3
  114. BIN  src/web/media/voice/es/h.ogg
  115. BIN  src/web/media/voice/es/i.mp3
  116. BIN  src/web/media/voice/es/i.ogg
  117. BIN  src/web/media/voice/es/j.mp3
  118. BIN  src/web/media/voice/es/j.ogg
  119. BIN  src/web/media/voice/es/k.mp3
  120. BIN  src/web/media/voice/es/k.ogg
  121. BIN  src/web/media/voice/es/l.mp3
  122. BIN  src/web/media/voice/es/l.ogg
  123. BIN  src/web/media/voice/es/m.mp3
  124. BIN  src/web/media/voice/es/m.ogg
  125. BIN  src/web/media/voice/es/n.mp3
  126. BIN  src/web/media/voice/es/n.ogg
  127. BIN  src/web/media/voice/es/o.mp3
  128. BIN  src/web/media/voice/es/o.ogg
  129. BIN  src/web/media/voice/es/p.mp3
  130. BIN  src/web/media/voice/es/p.ogg
  131. BIN  src/web/media/voice/es/q.mp3
  132. BIN  src/web/media/voice/es/q.ogg
  133. BIN  src/web/media/voice/es/r.mp3
  134. BIN  src/web/media/voice/es/r.ogg
  135. BIN  src/web/media/voice/es/s.mp3
  136. BIN  src/web/media/voice/es/s.ogg
  137. BIN  src/web/media/voice/es/senha.mp3
  138. BIN  src/web/media/voice/es/senha.ogg
  139. BIN  src/web/media/voice/es/t.mp3
  140. BIN  src/web/media/voice/es/t.ogg
  141. BIN  src/web/media/voice/es/u.mp3
  142. BIN  src/web/media/voice/es/u.ogg
  143. BIN  src/web/media/voice/es/v.mp3
  144. BIN  src/web/media/voice/es/v.ogg
  145. BIN  src/web/media/voice/es/w.mp3
  146. BIN  src/web/media/voice/es/w.ogg
  147. BIN  src/web/media/voice/es/x.mp3
  148. BIN  src/web/media/voice/es/x.ogg
  149. BIN  src/web/media/voice/es/y.mp3
  150. BIN  src/web/media/voice/es/y.ogg
  151. BIN  src/web/media/voice/es/z.mp3
  152. BIN  src/web/media/voice/es/z.ogg
  153. BIN  src/web/media/voice/pt/0.mp3
  154. BIN  src/web/media/voice/pt/0.ogg
  155. BIN  src/web/media/voice/pt/1.mp3
  156. BIN  src/web/media/voice/pt/1.ogg
  157. BIN  src/web/media/voice/pt/2.mp3
  158. BIN  src/web/media/voice/pt/2.ogg
  159. BIN  src/web/media/voice/pt/3.mp3
  160. BIN  src/web/media/voice/pt/3.ogg
  161. BIN  src/web/media/voice/pt/4.mp3
  162. BIN  src/web/media/voice/pt/4.ogg
  163. BIN  src/web/media/voice/pt/5.mp3
  164. BIN  src/web/media/voice/pt/5.ogg
  165. BIN  src/web/media/voice/pt/6.mp3
  166. BIN  src/web/media/voice/pt/6.ogg
  167. BIN  src/web/media/voice/pt/7.mp3
  168. BIN  src/web/media/voice/pt/7.ogg
  169. BIN  src/web/media/voice/pt/8.mp3
  170. BIN  src/web/media/voice/pt/8.ogg
  171. BIN  src/web/media/voice/pt/9.mp3
  172. BIN  src/web/media/voice/pt/9.ogg
  173. BIN  src/web/media/voice/pt/a.mp3
  174. BIN  src/web/media/voice/pt/a.ogg
  175. BIN  src/web/media/voice/pt/b.mp3
  176. BIN  src/web/media/voice/pt/b.ogg
  177. BIN  src/web/media/voice/pt/c.mp3
  178. BIN  src/web/media/voice/pt/c.ogg
  179. BIN  src/web/media/voice/pt/d.mp3
  180. BIN  src/web/media/voice/pt/d.ogg
  181. BIN  src/web/media/voice/pt/e.mp3
  182. BIN  src/web/media/voice/pt/e.ogg
  183. BIN  src/web/media/voice/pt/f.mp3
  184. BIN  src/web/media/voice/pt/f.ogg
  185. BIN  src/web/media/voice/pt/g.mp3
  186. BIN  src/web/media/voice/pt/g.ogg
  187. BIN  src/web/media/voice/pt/guiche.mp3
  188. BIN  src/web/media/voice/pt/guiche.ogg
  189. BIN  src/web/media/voice/pt/h.mp3
  190. BIN  src/web/media/voice/pt/h.ogg
  191. BIN  src/web/media/voice/pt/i.mp3
  192. BIN  src/web/media/voice/pt/i.ogg
  193. BIN  src/web/media/voice/pt/j.mp3
  194. BIN  src/web/media/voice/pt/j.ogg
  195. BIN  src/web/media/voice/pt/k.mp3
  196. BIN  src/web/media/voice/pt/k.ogg
  197. BIN  src/web/media/voice/pt/l.mp3
  198. BIN  src/web/media/voice/pt/l.ogg
  199. BIN  src/web/media/voice/pt/m.mp3
  200. BIN  src/web/media/voice/pt/m.ogg
  201. BIN  src/web/media/voice/pt/n.mp3
  202. BIN  src/web/media/voice/pt/n.ogg
  203. BIN  src/web/media/voice/pt/o.mp3
  204. BIN  src/web/media/voice/pt/o.ogg
  205. BIN  src/web/media/voice/pt/p.mp3
  206. BIN  src/web/media/voice/pt/p.ogg
  207. BIN  src/web/media/voice/pt/q.mp3
  208. BIN  src/web/media/voice/pt/q.ogg
  209. BIN  src/web/media/voice/pt/r.mp3
  210. BIN  src/web/media/voice/pt/r.ogg
  211. BIN  src/web/media/voice/pt/s.mp3
  212. BIN  src/web/media/voice/pt/s.ogg
  213. BIN  src/web/media/voice/pt/senha.mp3
  214. BIN  src/web/media/voice/pt/senha.ogg
  215. BIN  src/web/media/voice/pt/t.mp3
  216. BIN  src/web/media/voice/pt/t.ogg
  217. BIN  src/web/media/voice/pt/u.mp3
  218. BIN  src/web/media/voice/pt/u.ogg
  219. BIN  src/web/media/voice/pt/v.mp3
  220. BIN  src/web/media/voice/pt/v.ogg
  221. BIN  src/web/media/voice/pt/w.mp3
  222. BIN  src/web/media/voice/pt/w.ogg
  223. BIN  src/web/media/voice/pt/x.mp3
  224. BIN  src/web/media/voice/pt/x.ogg
  225. BIN  src/web/media/voice/pt/y.mp3
  226. BIN  src/web/media/voice/pt/y.ogg
  227. BIN  src/web/media/voice/pt/z.mp3
  228. BIN  src/web/media/voice/pt/z.ogg
  229. +929 −0 src/web/painel/js/buzz.js
  230. +54 −0 src/web/painel/js/script.js
  231. +2 −0  src/web/painel/view/index.php
View
BIN  src/web/media/voice/en/0.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/0.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/1.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/1.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/2.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/2.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/3.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/3.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/4.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/4.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/5.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/5.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/6.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/6.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/7.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/7.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/8.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/8.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/9.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/9.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/a.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/a.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/b.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/b.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/c.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/c.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/d.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/d.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/e.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/e.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/f.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/f.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/g.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/g.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/guiche.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/guiche.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/h.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/h.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/i.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/i.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/j.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/j.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/k.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/k.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/l.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/l.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/m.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/m.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/n.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/n.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/o.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/o.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/p.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/p.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/q.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/q.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/r.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/r.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/s.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/s.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/senha.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/senha.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/t.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/t.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/u.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/u.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/v.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/v.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/w.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/w.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/x.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/x.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/y.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/y.ogg
Binary file not shown
View
BIN  src/web/media/voice/en/z.mp3
Binary file not shown
View
BIN  src/web/media/voice/en/z.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/0.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/0.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/1.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/1.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/2.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/2.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/3.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/3.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/4.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/4.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/5.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/5.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/6.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/6.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/7.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/7.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/8.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/8.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/9.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/9.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/a.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/a.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/b.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/b.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/c.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/c.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/d.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/d.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/e.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/e.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/f.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/f.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/g.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/g.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/guiche.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/guiche.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/h.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/h.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/i.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/i.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/j.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/j.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/k.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/k.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/l.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/l.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/m.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/m.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/n.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/n.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/o.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/o.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/p.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/p.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/q.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/q.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/r.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/r.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/s.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/s.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/senha.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/senha.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/t.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/t.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/u.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/u.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/v.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/v.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/w.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/w.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/x.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/x.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/y.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/y.ogg
Binary file not shown
View
BIN  src/web/media/voice/es/z.mp3
Binary file not shown
View
BIN  src/web/media/voice/es/z.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/0.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/0.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/1.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/1.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/2.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/2.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/3.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/3.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/4.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/4.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/5.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/5.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/6.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/6.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/7.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/7.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/8.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/8.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/9.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/9.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/a.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/a.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/b.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/b.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/c.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/c.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/d.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/d.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/e.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/e.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/f.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/f.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/g.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/g.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/guiche.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/guiche.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/h.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/h.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/i.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/i.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/j.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/j.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/k.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/k.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/l.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/l.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/m.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/m.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/n.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/n.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/o.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/o.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/p.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/p.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/q.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/q.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/r.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/r.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/s.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/s.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/senha.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/senha.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/t.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/t.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/u.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/u.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/v.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/v.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/w.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/w.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/x.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/x.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/y.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/y.ogg
Binary file not shown
View
BIN  src/web/media/voice/pt/z.mp3
Binary file not shown
View
BIN  src/web/media/voice/pt/z.ogg
Binary file not shown
View
929 src/web/painel/js/buzz.js
@@ -0,0 +1,929 @@
+// ----------------------------------------------------------------------------
+// Buzz, a Javascript HTML5 Audio library
+// v 1.0.x beta
+// Licensed under the MIT license.
+// http://buzz.jaysalvat.com/
+// ----------------------------------------------------------------------------
+// Copyright (C) 2011 Jay Salvat
+// http://jaysalvat.com/
+// ----------------------------------------------------------------------------
+// Permission is hereby granted, free of charge, to any person obtaining a copy
+// of this software and associated documentation files (the "Software"), to deal
+// in the Software without restriction, including without limitation the rights
+// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+// copies of the Software, and to permit persons to whom the Software is
+// furnished to do so, subject to the following conditions:
+//
+// The above copyright notice and this permission notice shall be included in
+// all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+// THE SOFTWARE.
+// ----------------------------------------------------------------------------
+
+(function (name, context, factory) {
+ if (typeof module !== 'undefined' && module.exports) {
+ module.exports = factory();
+ } else if (typeof context.define === 'function' && context.define.amd) {
+ define(name, [], factory);
+ } else {
+ context[name] = factory();
+ }
+})('buzz', this, function () {
+
+ var buzz = {
+ defaults: {
+ autoplay: false,
+ duration: 5000,
+ formats: [],
+ loop: false,
+ placeholder: '--',
+ preload: 'metadata',
+ volume: 80,
+ document: document // iframe support
+ },
+ types: {
+ 'mp3': 'audio/mpeg',
+ 'ogg': 'audio/ogg',
+ 'wav': 'audio/wav',
+ 'aac': 'audio/aac',
+ 'm4a': 'audio/x-m4a'
+ },
+ sounds: [],
+ el: document.createElement('audio'),
+
+ sound: function (src, options) {
+ options = options || {};
+
+ var doc = options.document || buzz.defaults.document;
+
+ var pid = 0,
+ events = [],
+ eventsOnce = {},
+ supported = buzz.isSupported();
+
+ // publics
+ this.load = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.load();
+
+ return this;
+ };
+
+ this.play = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.play();
+
+ return this;
+ };
+
+ this.togglePlay = function () {
+ if (!supported) {
+ return this;
+ }
+
+ if (this.sound.paused) {
+ this.sound.play();
+ } else {
+ this.sound.pause();
+ }
+
+ return this;
+ };
+
+ this.pause = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.pause();
+
+ return this;
+ };
+
+ this.isPaused = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return this.sound.paused;
+ };
+
+ this.stop = function () {
+ if (!supported ) {
+ return this;
+ }
+
+ this.setTime(0);
+ this.sound.pause();
+
+ return this;
+ };
+
+ this.isEnded = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return this.sound.ended;
+ };
+
+ this.loop = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.loop = 'loop';
+ this.bind('ended.buzzloop', function () {
+ this.currentTime = 0;
+ this.play();
+ });
+
+ return this;
+ };
+
+ this.unloop = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.removeAttribute('loop');
+ this.unbind('ended.buzzloop');
+
+ return this;
+ };
+
+ this.mute = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.muted = true;
+
+ return this;
+ };
+
+ this.unmute = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.muted = false;
+
+ return this;
+ };
+
+ this.toggleMute = function () {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.muted = !this.sound.muted;
+
+ return this;
+ };
+
+ this.isMuted = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return this.sound.muted;
+ };
+
+ this.setVolume = function (volume) {
+ if (!supported) {
+ return this;
+ }
+
+ if (volume < 0) {
+ volume = 0;
+ }
+ if (volume > 100) {
+ volume = 100;
+ }
+
+ this.volume = volume;
+ this.sound.volume = volume / 100;
+
+ return this;
+ };
+
+ this.getVolume = function () {
+ if (!supported) {
+ return this;
+ }
+
+ return this.volume;
+ };
+
+ this.increaseVolume = function (value) {
+ return this.setVolume(this.volume + (value || 1));
+ };
+
+ this.decreaseVolume = function (value) {
+ return this.setVolume(this.volume - (value || 1));
+ };
+
+ this.setTime = function (time) {
+ if (!supported) {
+ return this;
+ }
+
+ this.whenReady(function () {
+ this.sound.currentTime = time;
+ });
+
+ return this;
+ };
+
+ this.getTime = function () {
+ if (!supported) {
+ return null;
+ }
+
+ var time = Math.round(this.sound.currentTime * 100) / 100;
+
+ return isNaN(time) ? buzz.defaults.placeholder : time;
+ };
+
+ this.setPercent = function (percent) {
+ if (!supported) {
+ return this;
+ }
+
+ return this.setTime(buzz.fromPercent(percent, this.sound.duration));
+ };
+
+ this.getPercent = function () {
+ if (!supported) {
+ return null;
+ }
+
+ var percent = Math.round(buzz.toPercent(this.sound.currentTime, this.sound.duration));
+
+ return isNaN(percent) ? buzz.defaults.placeholder : percent;
+ };
+
+ this.setSpeed = function (duration) {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound.playbackRate = duration;
+
+ return this;
+ };
+
+ this.getSpeed = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return this.sound.playbackRate;
+ };
+
+ this.getDuration = function () {
+ if (!supported) {
+ return null;
+ }
+
+ var duration = Math.round(this.sound.duration * 100) / 100;
+
+ return isNaN(duration) ? buzz.defaults.placeholder : duration;
+ };
+
+ this.getPlayed = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return timerangeToArray(this.sound.played);
+ };
+
+ this.getBuffered = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return timerangeToArray(this.sound.buffered);
+ };
+
+ this.getSeekable = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return timerangeToArray(this.sound.seekable);
+ };
+
+ this.getErrorCode = function () {
+ if (supported && this.sound.error) {
+ return this.sound.error.code;
+ }
+
+ return 0;
+ };
+
+ this.getErrorMessage = function () {
+ if (!supported) {
+ return null;
+ }
+
+ switch(this.getErrorCode()) {
+ case 1:
+ return 'MEDIA_ERR_ABORTED';
+ case 2:
+ return 'MEDIA_ERR_NETWORK';
+ case 3:
+ return 'MEDIA_ERR_DECODE';
+ case 4:
+ return 'MEDIA_ERR_SRC_NOT_SUPPORTED';
+ default:
+ return null;
+ }
+ };
+
+ this.getStateCode = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return this.sound.readyState;
+ };
+
+ this.getStateMessage = function () {
+ if (!supported) {
+ return null;
+ }
+
+ switch(this.getStateCode()) {
+ case 0:
+ return 'HAVE_NOTHING';
+ case 1:
+ return 'HAVE_METADATA';
+ case 2:
+ return 'HAVE_CURRENT_DATA';
+ case 3:
+ return 'HAVE_FUTURE_DATA';
+ case 4:
+ return 'HAVE_ENOUGH_DATA';
+ default:
+ return null;
+ }
+ };
+
+ this.getNetworkStateCode = function () {
+ if (!supported) {
+ return null;
+ }
+
+ return this.sound.networkState;
+ };
+
+ this.getNetworkStateMessage = function () {
+ if (!supported) {
+ return null;
+ }
+
+ switch(this.getNetworkStateCode()) {
+ case 0:
+ return 'NETWORK_EMPTY';
+ case 1:
+ return 'NETWORK_IDLE';
+ case 2:
+ return 'NETWORK_LOADING';
+ case 3:
+ return 'NETWORK_NO_SOURCE';
+ default:
+ return null;
+ }
+ };
+
+ this.set = function (key, value) {
+ if (!supported) {
+ return this;
+ }
+
+ this.sound[key] = value;
+
+ return this;
+ };
+
+ this.get = function (key) {
+ if (!supported) {
+ return null;
+ }
+
+ return key ? this.sound[key] : this.sound;
+ };
+
+ this.bind = function (types, func) {
+ if (!supported) {
+ return this;
+ }
+
+ types = types.split(' ');
+
+ var self = this,
+ efunc = function (e) { func.call(self, e); };
+
+ for (var t = 0; t < types.length; t++) {
+ var type = types[t],
+ idx = type;
+ type = idx.split('.')[0];
+
+ events.push({ idx: idx, func: efunc });
+ this.sound.addEventListener(type, efunc, true);
+ }
+
+ return this;
+ };
+
+ this.unbind = function (types) {
+ if (!supported) {
+ return this;
+ }
+
+ types = types.split(' ');
+
+ for (var t = 0; t < types.length; t++) {
+ var idx = types[t],
+ type = idx.split('.')[0];
+
+ for (var i = 0; i < events.length; i++) {
+ var namespace = events[i].idx.split('.');
+ if (events[i].idx == idx || (namespace[1] && namespace[1] == idx.replace('.', ''))) {
+ this.sound.removeEventListener(type, events[i].func, true);
+ // remove event
+ events.splice(i, 1);
+ }
+ }
+ }
+
+ return this;
+ };
+
+ this.bindOnce = function (type, func) {
+ if (!supported) {
+ return this;
+ }
+
+ var self = this;
+
+ eventsOnce[pid++] = false;
+ this.bind(type + '.' + pid, function () {
+ if (!eventsOnce[pid]) {
+ eventsOnce[pid] = true;
+ func.call(self);
+ }
+ self.unbind(type + '.' + pid);
+ });
+
+ return this;
+ };
+
+ this.trigger = function (types) {
+ if (!supported) {
+ return this;
+ }
+
+ types = types.split(' ');
+
+ for (var t = 0; t < types.length; t++) {
+ var idx = types[t];
+
+ for (var i = 0; i < events.length; i++) {
+ var eventType = events[i].idx.split('.');
+
+ if (events[i].idx == idx || (eventType[0] && eventType[0] == idx.replace('.', ''))) {
+ var evt = doc.createEvent('HTMLEvents');
+
+ evt.initEvent(eventType[0], false, true);
+
+ this.sound.dispatchEvent(evt);
+ }
+ }
+ }
+
+ return this;
+ };
+
+ this.fadeTo = function (to, duration, callback) {
+ if (!supported) {
+ return this;
+ }
+
+ if (duration instanceof Function) {
+ callback = duration;
+ duration = buzz.defaults.duration;
+ } else {
+ duration = duration || buzz.defaults.duration;
+ }
+
+ var from = this.volume,
+ delay = duration / Math.abs(from - to),
+ self = this;
+
+ this.play();
+
+ function doFade() {
+ setTimeout(function () {
+ if (from < to && self.volume < to) {
+ self.setVolume(self.volume += 1);
+ doFade();
+ } else if (from > to && self.volume > to) {
+ self.setVolume(self.volume -= 1);
+ doFade();
+ } else if (callback instanceof Function) {
+ callback.apply(self);
+ }
+ }, delay);
+ }
+
+ this.whenReady(function () {
+ doFade();
+ });
+
+ return this;
+ };
+
+ this.fadeIn = function (duration, callback) {
+ if (!supported) {
+ return this;
+ }
+
+ return this.setVolume(0).fadeTo(100, duration, callback);
+ };
+
+ this.fadeOut = function (duration, callback) {
+ if (!supported) {
+ return this;
+ }
+
+ return this.fadeTo(0, duration, callback);
+ };
+
+ this.fadeWith = function (sound, duration) {
+ if (!supported) {
+ return this;
+ }
+
+ this.fadeOut(duration, function () {
+ this.stop();
+ });
+
+ sound.play().fadeIn(duration);
+
+ return this;
+ };
+
+ this.whenReady = function (func) {
+ if (!supported) {
+ return null;
+ }
+
+ var self = this;
+
+ if (this.sound.readyState === 0) {
+ this.bind('canplay.buzzwhenready', function () {
+ func.call(self);
+ });
+ } else {
+ func.call(self);
+ }
+ };
+
+ // privates
+ function timerangeToArray(timeRange) {
+ var array = [],
+ length = timeRange.length - 1;
+
+ for (var i = 0; i <= length; i++) {
+ array.push({
+ start: timeRange.start(i),
+ end: timeRange.end(i)
+ });
+ }
+
+ return array;
+ }
+
+ function getExt(filename) {
+ return filename.split('.').pop();
+ }
+
+ function addSource(sound, src) {
+ var source = doc.createElement('source');
+
+ source.src = src;
+
+ if (buzz.types[getExt(src)]) {
+ source.type = buzz.types[getExt(src)];
+ }
+
+ sound.appendChild(source);
+ }
+
+ // init
+ if (supported && src) {
+
+ for (var i in buzz.defaults) {
+ if (buzz.defaults.hasOwnProperty(i)) {
+ options[i] = options[i] || buzz.defaults[i];
+ }
+ }
+
+ this.sound = doc.createElement('audio');
+
+ if (src instanceof Array) {
+ for (var j in src) {
+ if (src.hasOwnProperty(j)) {
+ addSource(this.sound, src[j]);
+ }
+ }
+ } else if (options.formats.length) {
+ for (var k in options.formats) {
+ if (options.formats.hasOwnProperty(k)) {
+ addSource(this.sound, src + '.' + options.formats[k]);
+ }
+ }
+ } else {
+ addSource(this.sound, src);
+ }
+
+ if (options.loop) {
+ this.loop();
+ }
+
+ if (options.autoplay) {
+ this.sound.autoplay = 'autoplay';
+ }
+
+ if (options.preload === true) {
+ this.sound.preload = 'auto';
+ } else if (options.preload === false) {
+ this.sound.preload = 'none';
+ } else {
+ this.sound.preload = options.preload;
+ }
+
+ this.setVolume(options.volume);
+
+ buzz.sounds.push(this);
+ }
+ },
+
+ group: function (sounds) {
+ sounds = argsToArray(sounds, arguments);
+
+ // publics
+ this.getSounds = function () {
+ return sounds;
+ };
+
+ this.add = function (soundArray) {
+ soundArray = argsToArray(soundArray, arguments);
+
+ for (var a = 0; a < soundArray.length; a++) {
+ sounds.push(soundArray[a]);
+ }
+ };
+
+ this.remove = function (soundArray) {
+ soundArray = argsToArray(soundArray, arguments);
+
+ for (var a = 0; a < soundArray.length; a++) {
+ for (var i = 0; i < sounds.length; i++) {
+ if (sounds[i] == soundArray[a]) {
+ sounds.splice(i, 1);
+ break;
+ }
+ }
+ }
+ };
+
+ this.load = function () {
+ fn('load');
+
+ return this;
+ };
+
+ this.play = function () {
+ fn('play');
+
+ return this;
+ };
+
+ this.togglePlay = function () {
+ fn('togglePlay');
+
+ return this;
+ };
+
+ this.pause = function (time) {
+ fn('pause', time);
+
+ return this;
+ };
+
+ this.stop = function () {
+ fn('stop');
+
+ return this;
+ };
+
+ this.mute = function () {
+ fn('mute');
+
+ return this;
+ };
+
+ this.unmute = function () {
+ fn('unmute');
+
+ return this;
+ };
+
+ this.toggleMute = function () {
+ fn('toggleMute');
+
+ return this;
+ };
+
+ this.setVolume = function (volume) {
+ fn('setVolume', volume);
+
+ return this;
+ };
+
+ this.increaseVolume = function (value) {
+ fn('increaseVolume', value);
+
+ return this;
+ };
+
+ this.decreaseVolume = function (value) {
+ fn('decreaseVolume', value);
+
+ return this;
+ };
+
+ this.loop = function () {
+ fn('loop');
+
+ return this;
+ };
+
+ this.unloop = function () {
+ fn('unloop');
+
+ return this;
+ };
+
+ this.setTime = function (time) {
+ fn('setTime', time);
+
+ return this;
+ };
+
+ this.set = function (key, value) {
+ fn('set', key, value);
+
+ return this;
+ };
+
+ this.bind = function (type, func) {
+ fn('bind', type, func);
+
+ return this;
+ };
+
+ this.unbind = function (type) {
+ fn('unbind', type);
+
+ return this;
+ };
+
+ this.bindOnce = function (type, func) {
+ fn('bindOnce', type, func);
+
+ return this;
+ };
+
+ this.trigger = function (type) {
+ fn('trigger', type);
+
+ return this;
+ };
+
+ this.fade = function (from, to, duration, callback) {
+ fn('fade', from, to, duration, callback);
+
+ return this;
+ };
+
+ this.fadeIn = function (duration, callback) {
+ fn('fadeIn', duration, callback);
+
+ return this;
+ };
+
+ this.fadeOut = function (duration, callback) {
+ fn('fadeOut', duration, callback);
+
+ return this;
+ };
+
+ // privates
+ function fn() {
+ var args = argsToArray(null, arguments),
+ func = args.shift();
+
+ for (var i = 0; i < sounds.length; i++) {
+ sounds[i][func].apply(sounds[i], args);
+ }
+ }
+
+ function argsToArray(array, args) {
+ return (array instanceof Array) ? array : Array.prototype.slice.call(args);
+ }
+ },
+
+ all: function () {
+ return new buzz.group(buzz.sounds);
+ },
+
+ isSupported: function () {
+ return !!buzz.el.canPlayType;
+ },
+
+ isOGGSupported: function () {
+ return !!buzz.el.canPlayType && buzz.el.canPlayType('audio/ogg; codecs="vorbis"');
+ },
+
+ isWAVSupported: function () {
+ return !!buzz.el.canPlayType && buzz.el.canPlayType('audio/wav; codecs="1"');
+ },
+
+ isMP3Supported: function () {
+ return !!buzz.el.canPlayType && buzz.el.canPlayType('audio/mpeg;');
+ },
+
+ isAACSupported: function () {
+ return !!buzz.el.canPlayType && (buzz.el.canPlayType('audio/x-m4a;') || buzz.el.canPlayType('audio/aac;'));
+ },
+
+ toTimer: function (time, withHours) {
+ var h, m, s;
+
+ h = Math.floor(time / 3600);
+ h = isNaN(h) ? '--' : (h >= 10) ? h : '0' + h;
+ m = withHours ? Math.floor(time / 60 % 60) : Math.floor(time / 60);
+ m = isNaN(m) ? '--' : (m >= 10) ? m : '0' + m;
+ s = Math.floor(time % 60);
+ s = isNaN(s) ? '--' : (s >= 10) ? s : '0' + s;
+
+ return withHours ? h + ':' + m + ':' + s : m + ':' + s;
+ },
+
+ fromTimer: function (time) {
+ var splits = time.toString().split(':');
+
+ if (splits && splits.length == 3) {
+ time = (parseInt(splits[0], 10) * 3600) + (parseInt(splits[1], 10) * 60) + parseInt(splits[2], 10);
+ }
+
+ if (splits && splits.length == 2) {
+ time = (parseInt(splits[0], 10) * 60) + parseInt(splits[1], 10);
+ }
+
+ return time;
+ },
+
+ toPercent: function (value, total, decimal) {
+ var r = Math.pow(10, decimal || 0);
+
+ return Math.round(((value * 100) / total) * r) / r;
+ },
+
+ fromPercent: function (percent, total, decimal) {
+ var r = Math.pow(10, decimal || 0);
+
+ return Math.round(((total / 100) * percent) * r) / r;
+ }
+ };
+
+ return buzz;
+});
View
54 src/web/painel/js/script.js
@@ -90,6 +90,8 @@ SGA.PainelWeb = {
$('#atual-guiche-numero span').text(senha.numeroGuiche);
// som e animacao
document.getElementById('audio-new').play();
+ SGA.PainelWeb.Speech.play("senha");
+ SGA.PainelWeb.Speech.play(senha.senha);
$('#atual-senha').effect("highlight", {
complete: function() {
$('#atual-senha').effect("pulsate", { times: 3 }, 1000);
@@ -123,6 +125,7 @@ SGA.PainelWeb = {
title: '',
btnSave: '',
+ lang: 'pt',
servicosLoaded: false,
open: function() {
@@ -234,6 +237,57 @@ SGA.PainelWeb = {
},
+ Speech: {
+ queuee: [],
+ play: function(text) {
+ if (this.queuee === undefined) {
+ this.queuee = [];
+ }
+
+ if (text === "senha") {
+ this.queuee.push({name: text, lang: SGA.PainelWeb.Config.lang});
+ this.processQueuee();
+ return;
+ }
+
+ for (var i=text.length-1, chr; i >= 0; i--) {
+ chr = text.charAt(i).toLowerCase();
+ if (chr === '') {
+ continue;
+ }
+
+ this.queuee.push({name: chr, lang: SGA.PainelWeb.Config.lang});
+ }
+
+ this.processQueuee();
+ },
+ playFile: function(filename) {
+ var self = this;
+ var bz = new buzz.sound(filename, {
+ formats: ["ogg", "mp3"],
+ autoplay: true
+ });
+
+ bz.bind("ended", function() {
+ buzz.sounds = [];
+ self.processQueuee();
+ });
+ },
+ processQueuee: function() {
+ if (this.queuee !== undefined && this.queuee.length === 0) {
+ return;
+ }
+
+ if (buzz.sounds.length > 0) {
+ return;
+ }
+
+ var current = this.queuee.pop();
+ var filename = "../media/voice/" + current.lang + "/" + current.name;
+ this.playFile(filename);
+ }
+ },
+
Cookie: {
add: function(name, value, days) {
View
2  src/web/painel/view/index.php
@@ -8,6 +8,7 @@
<script type="text/javascript" src="../js/jquery.js?v=<?php echo \core\SGA::VERSION ?>"></script>
<script type="text/javascript" src="../js/jquery-ui.js?v=<?php echo \core\SGA::VERSION ?>"></script>
<script type="text/javascript" src="../js/script.js?v=<?php echo \core\SGA::VERSION ?>"></script>
+ <script type="text/javascript" src="js/buzz.js?v=<?php echo \core\SGA::VERSION ?>"></script>
<script type="text/javascript" src="js/script.js?v=<?php echo \core\SGA::VERSION ?>"></script>
</head>
<body>
@@ -76,6 +77,7 @@
$(document).ready(function() {
SGA.PainelWeb.Config.title = '<?php echo _('Configuração') ?>';
SGA.PainelWeb.Config.btnSave = '<?php echo _('Salvar') ?>';
+ SGA.PainelWeb.Config.lang = '<?php echo SGA::defaultClientLanguage(); ?>';
SGA.PainelWeb.init();
});
</script>
Something went wrong with that request. Please try again.