桂欢 1 рік тому
батько
коміт
3d1aa80b7d
43 змінених файлів з 223 додано та 11 видалено
  1. 156 0
      SLAiELTS/SLAiELTS.xcodeproj/project.pbxproj
  2. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00000.png
  3. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00001.png
  4. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00002.png
  5. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00003.png
  6. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00004.png
  7. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00005.png
  8. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00006.png
  9. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00007.png
  10. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00008.png
  11. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00009.png
  12. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00010.png
  13. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00011.png
  14. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00012.png
  15. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00013.png
  16. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00014.png
  17. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00015.png
  18. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00016.png
  19. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00017.png
  20. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00018.png
  21. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00019.png
  22. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00020.png
  23. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00021.png
  24. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00022.png
  25. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00023.png
  26. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00024.png
  27. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00025.png
  28. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00026.png
  29. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00027.png
  30. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00028.png
  31. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00029.png
  32. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00030.png
  33. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00031.png
  34. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00032.png
  35. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00033.png
  36. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00034.png
  37. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00035.png
  38. BIN
      SLAiELTS/SLAiELTS/Vendor/音波/音波_00036.png
  39. 1 0
      SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Views/SLMikeInputView.h
  40. 42 0
      SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Views/SLMikeInputView.m
  41. 11 5
      SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Views/SLMikeInputView.xib
  42. 4 0
      SLAiELTS/SLAiELTS/ViewControllers/RoleLabelVC/Models/SLNuiSpeechRecognizer.h
  43. 9 6
      SLAiELTS/SLAiELTS/ViewControllers/RoleLabelVC/Models/SLNuiSpeechRecognizer.m

+ 156 - 0
SLAiELTS/SLAiELTS.xcodeproj/project.pbxproj

@@ -124,6 +124,43 @@
 		3D2DC3F129B191C80041A729 /* MessageModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D2DC3F029B191C80041A729 /* MessageModel.m */; };
 		3D2DC3F429B1E6320041A729 /* SLMikeInputView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D2DC3F329B1E6320041A729 /* SLMikeInputView.m */; };
 		3D2DC3F629B1E6510041A729 /* SLMikeInputView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3D2DC3F529B1E6510041A729 /* SLMikeInputView.xib */; };
+		3D3BC1472A1DF58100AEEE8E /* 音波_00006.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1222A1DF58100AEEE8E /* 音波_00006.png */; };
+		3D3BC1482A1DF58100AEEE8E /* 音波_00012.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1232A1DF58100AEEE8E /* 音波_00012.png */; };
+		3D3BC1492A1DF58100AEEE8E /* 音波_00013.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1242A1DF58100AEEE8E /* 音波_00013.png */; };
+		3D3BC14A2A1DF58100AEEE8E /* 音波_00007.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1252A1DF58100AEEE8E /* 音波_00007.png */; };
+		3D3BC14B2A1DF58100AEEE8E /* 音波_00011.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1262A1DF58100AEEE8E /* 音波_00011.png */; };
+		3D3BC14C2A1DF58100AEEE8E /* 音波_00005.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1272A1DF58100AEEE8E /* 音波_00005.png */; };
+		3D3BC14D2A1DF58100AEEE8E /* 音波_00004.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1282A1DF58100AEEE8E /* 音波_00004.png */; };
+		3D3BC14E2A1DF58100AEEE8E /* 音波_00010.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1292A1DF58100AEEE8E /* 音波_00010.png */; };
+		3D3BC14F2A1DF58100AEEE8E /* 音波_00028.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC12A2A1DF58100AEEE8E /* 音波_00028.png */; };
+		3D3BC1502A1DF58100AEEE8E /* 音波_00014.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC12B2A1DF58100AEEE8E /* 音波_00014.png */; };
+		3D3BC1512A1DF58100AEEE8E /* 音波_00000.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC12C2A1DF58100AEEE8E /* 音波_00000.png */; };
+		3D3BC1522A1DF58100AEEE8E /* 音波_00001.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC12D2A1DF58100AEEE8E /* 音波_00001.png */; };
+		3D3BC1532A1DF58100AEEE8E /* 音波_00015.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC12E2A1DF58100AEEE8E /* 音波_00015.png */; };
+		3D3BC1542A1DF58100AEEE8E /* 音波_00029.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC12F2A1DF58100AEEE8E /* 音波_00029.png */; };
+		3D3BC1552A1DF58100AEEE8E /* 音波_00003.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1302A1DF58100AEEE8E /* 音波_00003.png */; };
+		3D3BC1562A1DF58100AEEE8E /* 音波_00017.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1312A1DF58100AEEE8E /* 音波_00017.png */; };
+		3D3BC1572A1DF58100AEEE8E /* 音波_00016.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1322A1DF58100AEEE8E /* 音波_00016.png */; };
+		3D3BC1582A1DF58100AEEE8E /* 音波_00002.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1332A1DF58100AEEE8E /* 音波_00002.png */; };
+		3D3BC1592A1DF58100AEEE8E /* 音波_00027.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1342A1DF58100AEEE8E /* 音波_00027.png */; };
+		3D3BC15A2A1DF58100AEEE8E /* 音波_00033.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1352A1DF58100AEEE8E /* 音波_00033.png */; };
+		3D3BC15B2A1DF58100AEEE8E /* 音波_00032.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1362A1DF58100AEEE8E /* 音波_00032.png */; };
+		3D3BC15C2A1DF58100AEEE8E /* 音波_00026.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1372A1DF58100AEEE8E /* 音波_00026.png */; };
+		3D3BC15D2A1DF58100AEEE8E /* 音波_00030.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1382A1DF58100AEEE8E /* 音波_00030.png */; };
+		3D3BC15E2A1DF58100AEEE8E /* 音波_00024.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1392A1DF58100AEEE8E /* 音波_00024.png */; };
+		3D3BC15F2A1DF58100AEEE8E /* 音波_00018.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC13A2A1DF58100AEEE8E /* 音波_00018.png */; };
+		3D3BC1602A1DF58100AEEE8E /* 音波_00019.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC13B2A1DF58100AEEE8E /* 音波_00019.png */; };
+		3D3BC1612A1DF58100AEEE8E /* 音波_00025.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC13C2A1DF58100AEEE8E /* 音波_00025.png */; };
+		3D3BC1622A1DF58100AEEE8E /* 音波_00031.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC13D2A1DF58100AEEE8E /* 音波_00031.png */; };
+		3D3BC1632A1DF58100AEEE8E /* 音波_00009.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC13E2A1DF58100AEEE8E /* 音波_00009.png */; };
+		3D3BC1642A1DF58100AEEE8E /* 音波_00035.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC13F2A1DF58100AEEE8E /* 音波_00035.png */; };
+		3D3BC1652A1DF58100AEEE8E /* 音波_00021.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1402A1DF58100AEEE8E /* 音波_00021.png */; };
+		3D3BC1662A1DF58100AEEE8E /* 音波_00020.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1412A1DF58100AEEE8E /* 音波_00020.png */; };
+		3D3BC1672A1DF58100AEEE8E /* 音波_00034.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1422A1DF58100AEEE8E /* 音波_00034.png */; };
+		3D3BC1682A1DF58100AEEE8E /* 音波_00008.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1432A1DF58100AEEE8E /* 音波_00008.png */; };
+		3D3BC1692A1DF58100AEEE8E /* 音波_00022.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1442A1DF58100AEEE8E /* 音波_00022.png */; };
+		3D3BC16A2A1DF58100AEEE8E /* 音波_00036.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1452A1DF58100AEEE8E /* 音波_00036.png */; };
+		3D3BC16B2A1DF58100AEEE8E /* 音波_00023.png in Resources */ = {isa = PBXBuildFile; fileRef = 3D3BC1462A1DF58100AEEE8E /* 音波_00023.png */; };
 		3D5BC38B29E3E77400748197 /* SLMoentsChatView.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D5BC38A29E3E77400748197 /* SLMoentsChatView.m */; };
 		3D5BC38F29E3F87100748197 /* SLFriensInfoVc.m in Sources */ = {isa = PBXBuildFile; fileRef = 3D5BC38D29E3F87100748197 /* SLFriensInfoVc.m */; };
 		3D5BC39029E3F87100748197 /* SLFriensInfoVc.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3D5BC38E29E3F87100748197 /* SLFriensInfoVc.xib */; };
@@ -482,6 +519,43 @@
 		3D2DC3F229B1E6320041A729 /* SLMikeInputView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLMikeInputView.h; sourceTree = "<group>"; };
 		3D2DC3F329B1E6320041A729 /* SLMikeInputView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLMikeInputView.m; sourceTree = "<group>"; };
 		3D2DC3F529B1E6510041A729 /* SLMikeInputView.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = SLMikeInputView.xib; sourceTree = "<group>"; };
+		3D3BC1222A1DF58100AEEE8E /* 音波_00006.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00006.png"; sourceTree = "<group>"; };
+		3D3BC1232A1DF58100AEEE8E /* 音波_00012.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00012.png"; sourceTree = "<group>"; };
+		3D3BC1242A1DF58100AEEE8E /* 音波_00013.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00013.png"; sourceTree = "<group>"; };
+		3D3BC1252A1DF58100AEEE8E /* 音波_00007.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00007.png"; sourceTree = "<group>"; };
+		3D3BC1262A1DF58100AEEE8E /* 音波_00011.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00011.png"; sourceTree = "<group>"; };
+		3D3BC1272A1DF58100AEEE8E /* 音波_00005.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00005.png"; sourceTree = "<group>"; };
+		3D3BC1282A1DF58100AEEE8E /* 音波_00004.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00004.png"; sourceTree = "<group>"; };
+		3D3BC1292A1DF58100AEEE8E /* 音波_00010.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00010.png"; sourceTree = "<group>"; };
+		3D3BC12A2A1DF58100AEEE8E /* 音波_00028.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00028.png"; sourceTree = "<group>"; };
+		3D3BC12B2A1DF58100AEEE8E /* 音波_00014.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00014.png"; sourceTree = "<group>"; };
+		3D3BC12C2A1DF58100AEEE8E /* 音波_00000.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00000.png"; sourceTree = "<group>"; };
+		3D3BC12D2A1DF58100AEEE8E /* 音波_00001.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00001.png"; sourceTree = "<group>"; };
+		3D3BC12E2A1DF58100AEEE8E /* 音波_00015.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00015.png"; sourceTree = "<group>"; };
+		3D3BC12F2A1DF58100AEEE8E /* 音波_00029.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00029.png"; sourceTree = "<group>"; };
+		3D3BC1302A1DF58100AEEE8E /* 音波_00003.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00003.png"; sourceTree = "<group>"; };
+		3D3BC1312A1DF58100AEEE8E /* 音波_00017.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00017.png"; sourceTree = "<group>"; };
+		3D3BC1322A1DF58100AEEE8E /* 音波_00016.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00016.png"; sourceTree = "<group>"; };
+		3D3BC1332A1DF58100AEEE8E /* 音波_00002.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00002.png"; sourceTree = "<group>"; };
+		3D3BC1342A1DF58100AEEE8E /* 音波_00027.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00027.png"; sourceTree = "<group>"; };
+		3D3BC1352A1DF58100AEEE8E /* 音波_00033.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00033.png"; sourceTree = "<group>"; };
+		3D3BC1362A1DF58100AEEE8E /* 音波_00032.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00032.png"; sourceTree = "<group>"; };
+		3D3BC1372A1DF58100AEEE8E /* 音波_00026.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00026.png"; sourceTree = "<group>"; };
+		3D3BC1382A1DF58100AEEE8E /* 音波_00030.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00030.png"; sourceTree = "<group>"; };
+		3D3BC1392A1DF58100AEEE8E /* 音波_00024.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00024.png"; sourceTree = "<group>"; };
+		3D3BC13A2A1DF58100AEEE8E /* 音波_00018.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00018.png"; sourceTree = "<group>"; };
+		3D3BC13B2A1DF58100AEEE8E /* 音波_00019.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00019.png"; sourceTree = "<group>"; };
+		3D3BC13C2A1DF58100AEEE8E /* 音波_00025.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00025.png"; sourceTree = "<group>"; };
+		3D3BC13D2A1DF58100AEEE8E /* 音波_00031.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00031.png"; sourceTree = "<group>"; };
+		3D3BC13E2A1DF58100AEEE8E /* 音波_00009.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00009.png"; sourceTree = "<group>"; };
+		3D3BC13F2A1DF58100AEEE8E /* 音波_00035.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00035.png"; sourceTree = "<group>"; };
+		3D3BC1402A1DF58100AEEE8E /* 音波_00021.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00021.png"; sourceTree = "<group>"; };
+		3D3BC1412A1DF58100AEEE8E /* 音波_00020.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00020.png"; sourceTree = "<group>"; };
+		3D3BC1422A1DF58100AEEE8E /* 音波_00034.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00034.png"; sourceTree = "<group>"; };
+		3D3BC1432A1DF58100AEEE8E /* 音波_00008.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00008.png"; sourceTree = "<group>"; };
+		3D3BC1442A1DF58100AEEE8E /* 音波_00022.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00022.png"; sourceTree = "<group>"; };
+		3D3BC1452A1DF58100AEEE8E /* 音波_00036.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00036.png"; sourceTree = "<group>"; };
+		3D3BC1462A1DF58100AEEE8E /* 音波_00023.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "音波_00023.png"; sourceTree = "<group>"; };
 		3D5BC38929E3E77400748197 /* SLMoentsChatView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLMoentsChatView.h; sourceTree = "<group>"; };
 		3D5BC38A29E3E77400748197 /* SLMoentsChatView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SLMoentsChatView.m; sourceTree = "<group>"; };
 		3D5BC38C29E3F87100748197 /* SLFriensInfoVc.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SLFriensInfoVc.h; sourceTree = "<group>"; };
@@ -1194,6 +1268,7 @@
 		3D2DC3B229B06D000041A729 /* Vendor */ = {
 			isa = PBXGroup;
 			children = (
+				3D3BC1212A1DF58100AEEE8E /* 音波 */,
 				3D2DC3C529B078FE0041A729 /* Resources.bundle */,
 				3D2DC3B329B06D200041A729 /* nuisdk.framework */,
 				3DA2C73229CAA9AB0087CDB4 /* Nuisdk */,
@@ -1272,6 +1347,50 @@
 			path = Models;
 			sourceTree = "<group>";
 		};
+		3D3BC1212A1DF58100AEEE8E /* 音波 */ = {
+			isa = PBXGroup;
+			children = (
+				3D3BC1222A1DF58100AEEE8E /* 音波_00006.png */,
+				3D3BC1232A1DF58100AEEE8E /* 音波_00012.png */,
+				3D3BC1242A1DF58100AEEE8E /* 音波_00013.png */,
+				3D3BC1252A1DF58100AEEE8E /* 音波_00007.png */,
+				3D3BC1262A1DF58100AEEE8E /* 音波_00011.png */,
+				3D3BC1272A1DF58100AEEE8E /* 音波_00005.png */,
+				3D3BC1282A1DF58100AEEE8E /* 音波_00004.png */,
+				3D3BC1292A1DF58100AEEE8E /* 音波_00010.png */,
+				3D3BC12A2A1DF58100AEEE8E /* 音波_00028.png */,
+				3D3BC12B2A1DF58100AEEE8E /* 音波_00014.png */,
+				3D3BC12C2A1DF58100AEEE8E /* 音波_00000.png */,
+				3D3BC12D2A1DF58100AEEE8E /* 音波_00001.png */,
+				3D3BC12E2A1DF58100AEEE8E /* 音波_00015.png */,
+				3D3BC12F2A1DF58100AEEE8E /* 音波_00029.png */,
+				3D3BC1302A1DF58100AEEE8E /* 音波_00003.png */,
+				3D3BC1312A1DF58100AEEE8E /* 音波_00017.png */,
+				3D3BC1322A1DF58100AEEE8E /* 音波_00016.png */,
+				3D3BC1332A1DF58100AEEE8E /* 音波_00002.png */,
+				3D3BC1342A1DF58100AEEE8E /* 音波_00027.png */,
+				3D3BC1352A1DF58100AEEE8E /* 音波_00033.png */,
+				3D3BC1362A1DF58100AEEE8E /* 音波_00032.png */,
+				3D3BC1372A1DF58100AEEE8E /* 音波_00026.png */,
+				3D3BC1382A1DF58100AEEE8E /* 音波_00030.png */,
+				3D3BC1392A1DF58100AEEE8E /* 音波_00024.png */,
+				3D3BC13A2A1DF58100AEEE8E /* 音波_00018.png */,
+				3D3BC13B2A1DF58100AEEE8E /* 音波_00019.png */,
+				3D3BC13C2A1DF58100AEEE8E /* 音波_00025.png */,
+				3D3BC13D2A1DF58100AEEE8E /* 音波_00031.png */,
+				3D3BC13E2A1DF58100AEEE8E /* 音波_00009.png */,
+				3D3BC13F2A1DF58100AEEE8E /* 音波_00035.png */,
+				3D3BC1402A1DF58100AEEE8E /* 音波_00021.png */,
+				3D3BC1412A1DF58100AEEE8E /* 音波_00020.png */,
+				3D3BC1422A1DF58100AEEE8E /* 音波_00034.png */,
+				3D3BC1432A1DF58100AEEE8E /* 音波_00008.png */,
+				3D3BC1442A1DF58100AEEE8E /* 音波_00022.png */,
+				3D3BC1452A1DF58100AEEE8E /* 音波_00036.png */,
+				3D3BC1462A1DF58100AEEE8E /* 音波_00023.png */,
+			);
+			path = "音波";
+			sourceTree = "<group>";
+		};
 		3D796C6629B8305C00B7B28A /* FBKVOController */ = {
 			isa = PBXGroup;
 			children = (
@@ -1905,61 +2024,98 @@
 			files = (
 				3D1B9D0D29C2A1360008D01A /* SLPlaceholderCell.xib in Resources */,
 				3D1B9CF929C071AD0008D01A /* SLFeedbackVc.xib in Resources */,
+				3D3BC15B2A1DF58100AEEE8E /* 音波_00032.png in Resources */,
+				3D3BC1572A1DF58100AEEE8E /* 音波_00016.png in Resources */,
 				3D6EE45929F25AB400B02EBB /* SLRecomFriendsCell.xib in Resources */,
+				3D3BC14B2A1DF58100AEEE8E /* 音波_00011.png in Resources */,
 				3DF3DAB329B9B86200CAD3AB /* SLUserCenterViewController.xib in Resources */,
+				3D3BC1692A1DF58100AEEE8E /* 音波_00022.png in Resources */,
+				3D3BC14F2A1DF58100AEEE8E /* 音波_00028.png in Resources */,
 				3DB97D6C29D6ABC100B12754 /* sdRefeshView_arrow@2x.png in Resources */,
 				3D25106129AC95A9000AE530 /* SLRetrievePWViewController.xib in Resources */,
 				3D8EBBC82A131FA40008B0C1 /* SLHomeMsgTableViewCell.xib in Resources */,
+				3D3BC15A2A1DF58100AEEE8E /* 音波_00033.png in Resources */,
+				3D3BC1632A1DF58100AEEE8E /* 音波_00009.png in Resources */,
+				3D3BC16A2A1DF58100AEEE8E /* 音波_00036.png in Resources */,
 				3DF3DAA829B9A6AA00CAD3AB /* SLBaseCellView.xib in Resources */,
 				3DF3DAE529BAFCCA00CAD3AB /* SLMySpeedCollectionViewCell.xib in Resources */,
+				3D3BC1592A1DF58100AEEE8E /* 音波_00027.png in Resources */,
 				3D24986D29AC72E2003C3AFA /* SLLoginVCViewController.xib in Resources */,
 				3DF3DAD829BAD1BA00CAD3AB /* SLChangeMobileVc.xib in Resources */,
+				3D3BC15E2A1DF58100AEEE8E /* 音波_00024.png in Resources */,
 				3D2D8BEE29DE55A9009392DA /* unicode_to_hanyu_pinyin.txt in Resources */,
+				3D3BC1622A1DF58100AEEE8E /* 音波_00031.png in Resources */,
 				3D1B987329BEB35B0008D01A /* SLHorScrBtnsCell.xib in Resources */,
+				3D3BC1562A1DF58100AEEE8E /* 音波_00017.png in Resources */,
+				3D3BC15C2A1DF58100AEEE8E /* 音波_00026.png in Resources */,
 				3D25105729AC8FE1000AE530 /* SLRegistViewController.xib in Resources */,
 				3D8C9F8A29AC57F300678283 /* LaunchScreen.storyboard in Resources */,
 				3D1B9CED29C038280008D01A /* SLTargetViewController.xib in Resources */,
 				3DE9968429EE72D300C50A83 /* SLAddFriendVc.xib in Resources */,
+				3D3BC1512A1DF58100AEEE8E /* 音波_00000.png in Resources */,
+				3D3BC1522A1DF58100AEEE8E /* 音波_00001.png in Resources */,
 				3D1B987B29BEE6800008D01A /* SLLxTopView.xib in Resources */,
+				3D3BC14E2A1DF58100AEEE8E /* 音波_00010.png in Resources */,
 				3DA5AF6229B8875A009E4925 /* SLHomeViewController.xib in Resources */,
 				3DBC3BC42A0B644600E8C766 /* SLNearbyPeopleVc.xib in Resources */,
+				3D3BC1542A1DF58100AEEE8E /* 音波_00029.png in Resources */,
 				3D24D40829DEAF3200014D1C /* SLCreatMomentsVc.xib in Resources */,
+				3D3BC14A2A1DF58100AEEE8E /* 音波_00007.png in Resources */,
 				3DF3DACA29B9D19600CAD3AB /* SLBaseTableViewCell.xib in Resources */,
+				3D3BC1642A1DF58100AEEE8E /* 音波_00035.png in Resources */,
 				3D8C9F8729AC57F300678283 /* Assets.xcassets in Resources */,
 				3D25108A29ADD490000AE530 /* SLRoleLabelView.xib in Resources */,
 				3DF3DAE029BAFA4B00CAD3AB /* SLMySpeedView.xib in Resources */,
 				3D5BC39029E3F87100748197 /* SLFriensInfoVc.xib in Resources */,
+				3D3BC1682A1DF58100AEEE8E /* 音波_00008.png in Resources */,
 				3D2D8BD629DE5402009392DA /* AddressBookCell.xib in Resources */,
+				3D3BC1672A1DF58100AEEE8E /* 音波_00034.png in Resources */,
+				3D3BC1502A1DF58100AEEE8E /* 音波_00014.png in Resources */,
 				3D8C9F8529AC57F200678283 /* Main.storyboard in Resources */,
 				3DF3DAD329BAC90F00CAD3AB /* SLModifyNicknameVc.xib in Resources */,
+				3D3BC1472A1DF58100AEEE8E /* 音波_00006.png in Resources */,
 				3DF3DAB829B9B93000CAD3AB /* SLBaseCollectionViewCell.xib in Resources */,
 				3D2DC3C629B078FE0041A729 /* Resources.bundle in Resources */,
+				3D3BC1482A1DF58100AEEE8E /* 音波_00012.png in Resources */,
 				3D8EBBCE2A14B6EC0008B0C1 /* SLWebViewController.xib in Resources */,
 				3DA5AF6A29B88875009E4925 /* SLLxViewController.xib in Resources */,
+				3D3BC1612A1DF58100AEEE8E /* 音波_00025.png in Resources */,
 				3D1B986929BEAFEB0008D01A /* SLHorScrBtns.xib in Resources */,
 				3DF3DAFB29BB187D00CAD3AB /* SLHomeTopCollectionViewCell.xib in Resources */,
+				3D3BC14D2A1DF58100AEEE8E /* 音波_00004.png in Resources */,
 				3DF3DAAE29B9AA3400CAD3AB /* SLMyListCollectionViewCell.xib in Resources */,
 				3DB97D9529D6ABF000B12754 /* MLEmoji_Expression.plist in Resources */,
+				3D3BC15D2A1DF58100AEEE8E /* 音波_00030.png in Resources */,
 				3DB97D9729D6ABF000B12754 /* MLEmoji_ExpressionImage.plist in Resources */,
 				3D2510A829AEF4F0000AE530 /* SLMessageViewController.xib in Resources */,
+				3D3BC1652A1DF58100AEEE8E /* 音波_00021.png in Resources */,
+				3D3BC1532A1DF58100AEEE8E /* 音波_00015.png in Resources */,
 				3DA5AF7029B88898009E4925 /* SLMyViewController.xib in Resources */,
 				3D25109729AEDD8F000AE530 /* SLRoleCreatSucView.xib in Resources */,
 				3D24D67D29DFA23200014D1C /* SLRemidLookView.xib in Resources */,
 				3D24D40329DE96A700014D1C /* SLAddressBookVc.xib in Resources */,
 				3D1B988B29BEF1020008D01A /* SLLxTopCell.xib in Resources */,
 				3D25107029AD8AA9000AE530 /* SLRoleLabelViewController.xib in Resources */,
+				3D3BC1582A1DF58100AEEE8E /* 音波_00002.png in Resources */,
 				3D19CBFF29E7DF6B0041A6B8 /* SLMomentsCommentVc.xib in Resources */,
+				3D3BC1602A1DF58100AEEE8E /* 音波_00019.png in Resources */,
+				3D3BC1662A1DF58100AEEE8E /* 音波_00020.png in Resources */,
 				3DBC3BC92A0B650300E8C766 /* SLNearbyPeopleCell.xib in Resources */,
 				3DE9967A29E915BF00C50A83 /* SLMomentsVc.xib in Resources */,
 				3DB97D9A29D6ABF000B12754 /* LICENSE in Resources */,
 				3D1B989029BEF1AC0008D01A /* SLVocabularyCell.xib in Resources */,
+				3D3BC1552A1DF58100AEEE8E /* 音波_00003.png in Resources */,
+				3D3BC15F2A1DF58100AEEE8E /* 音波_00018.png in Resources */,
 				3D1B988029BEEA670008D01A /* SLVocabularyView.xib in Resources */,
 				3D6EE45429F2568000B02EBB /* SLRecomFriendsVc.xib in Resources */,
 				3D2DC3F629B1E6510041A729 /* SLMikeInputView.xib in Resources */,
 				3DB069F929F7A71F005730D7 /* SLFriendPowerVc.xib in Resources */,
 				3D25105C29AC9475000AE530 /* SLForgetPWViewController.xib in Resources */,
 				3DB97DA529D6ABF000B12754 /* README.md in Resources */,
+				3D3BC16B2A1DF58100AEEE8E /* 音波_00023.png in Resources */,
 				3DB97D9629D6ABF000B12754 /* MLEmoji_Expression.bundle in Resources */,
+				3D3BC1492A1DF58100AEEE8E /* 音波_00013.png in Resources */,
+				3D3BC14C2A1DF58100AEEE8E /* 音波_00005.png in Resources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};

BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00000.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00001.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00002.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00003.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00004.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00005.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00006.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00007.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00008.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00009.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00010.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00011.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00012.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00013.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00014.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00015.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00016.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00017.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00018.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00019.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00020.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00021.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00022.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00023.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00024.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00025.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00026.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00027.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00028.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00029.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00030.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00031.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00032.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00033.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00034.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00035.png


BIN
SLAiELTS/SLAiELTS/Vendor/音波/音波_00036.png


+ 1 - 0
SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Views/SLMikeInputView.h

@@ -17,6 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
 @property (strong, nonatomic) IBOutlet UIView *contentView;
 
 @property (weak, nonatomic) IBOutlet UIImageView *mikeCancelImageView;
+@property (weak, nonatomic) IBOutlet UIImageView *mikeTipImageView;
 
 @property (nonatomic, assign) CGRect oldRect;
 

+ 42 - 0
SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Views/SLMikeInputView.m

@@ -11,6 +11,8 @@
 
 @property (weak, nonatomic) IBOutlet NSLayoutConstraint *imgHeightConst;
 
+@property (nonatomic, strong) NSMutableArray *sinXViews;
+
 @end
 
 @implementation SLMikeInputView
@@ -47,6 +49,46 @@
     self.clipsToBounds = YES;
     self.contentView.hidden = YES;
     [self nuiSpeechRecognizer];
+    self.sinXViews = [NSMutableArray new];
+    for (NSUInteger i = 0; i < 32+12; i++) {
+        UIView *sinView = [[UIView alloc]initWithFrame:CGRectMake(200 + i * 5, 200, 3, 3)];
+        sinView.layer.cornerRadius = 1.5f;
+        sinView.layer.masksToBounds = YES;
+        sinView.backgroundColor = [UIColor redColor];
+        [self.sinXViews addObject:sinView];
+        [self addSubview:sinView];
+     }
+    
+    WS(weakSelf);
+    self.nuiSpeechRecognizer.onVolumeChangedBlock = ^(CGFloat volume) {
+        NSInteger v = MIN(36, (volume + 160) / 4);
+        NSLog(@"===%ld==%f-%@",v,volume,[NSString stringWithFormat:@"音波_000%02ld",v]);
+        
+        dispatch_async(dispatch_get_main_queue(), ^{
+            weakSelf.mikeTipImageView.image = [UIImage imageNamed:[NSString stringWithFormat:@"音波_000%02ld.png",v]];
+            CGFloat sinF = 10.0;
+            double sinX = 200.0;
+            double timeStamp = [[NSDate date] timeIntervalSince1970];
+            double fSin = sinF *(4/(pow(sinX,4)+4))*sin(3.14*sinX-3.14*timeStamp);
+            NSLog(@"----%f",fSin);
+            for (NSUInteger i = 0; i < self.sinXViews.count; i++) {
+                    if (i > 5 && i < 32+6) {
+                        UIView *sinView = (UIView *)weakSelf.sinXViews[i];
+                        CGRect frame = sinView.frame;
+                        double _viewHeight = fSin;
+                        double viewHeight = _viewHeight;//根据需求格式化_viewHeight获得
+                        frame.size.height = viewHeight;
+                        if (viewHeight == 0) {
+                            return;
+                        }
+                        frame.origin.y = (self.frame.size.height-viewHeight)/2;
+                        [sinView setFrame:frame];
+                    }
+                }
+    //        return fabs(fSin);
+        });
+        
+    };
 }
 
 - (void)handleLongPressGestures:(UILongPressGestureRecognizer *)paramSender {

+ 11 - 5
SLAiELTS/SLAiELTS/ViewControllers/MessageVC/Views/SLMikeInputView.xib

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
     <device id="retina6_0" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
         <capability name="System colors in document resources" minToolsVersion="11.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
     </dependencies>
@@ -14,6 +14,7 @@
                 <outlet property="imgHeightConst" destination="yOO-x2-4Nl" id="ngH-Gj-dkn"/>
                 <outlet property="mikeCancelImageView" destination="OVz-mu-onH" id="z9K-48-rRF"/>
                 <outlet property="mikeInputImageView" destination="76w-rg-8wP" id="gaC-fG-EWv"/>
+                <outlet property="mikeTipImageView" destination="ezu-uj-IG6" id="vRd-vF-6kh"/>
             </connections>
         </placeholder>
         <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
@@ -37,8 +38,13 @@
                 <imageView clipsSubviews="YES" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_mike_cancel_nor" translatesAutoresizingMaskIntoConstraints="NO" id="OVz-mu-onH">
                     <rect key="frame" x="165" y="666.66666666666663" width="60.333333333333343" height="60.333333333333371"/>
                 </imageView>
-                <imageView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_mike_tip" translatesAutoresizingMaskIntoConstraints="NO" id="ezu-uj-IG6">
-                    <rect key="frame" x="138.66666666666666" y="435" width="112.66666666666666" height="58.333333333333314"/>
+                <imageView hidden="YES" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="音波_00001.png" translatesAutoresizingMaskIntoConstraints="NO" id="ezu-uj-IG6">
+                    <rect key="frame" x="120" y="417" width="150" height="94.333333333333314"/>
+                    <color key="backgroundColor" red="0.086274509799999996" green="0.46666666670000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
+                    <constraints>
+                        <constraint firstAttribute="width" secondItem="ezu-uj-IG6" secondAttribute="height" multiplier="180:113" id="Et0-LI-oAt"/>
+                        <constraint firstAttribute="width" constant="150" id="SMi-Mc-Vuu"/>
+                    </constraints>
                 </imageView>
             </subviews>
             <color key="backgroundColor" systemColor="systemBackgroundColor"/>
@@ -60,7 +66,7 @@
     <resources>
         <image name="icon_mike_cancel_nor" width="60.333332061767578" height="60.333332061767578"/>
         <image name="icon_mike_input_bg" width="375.33334350585938" height="71.333335876464844"/>
-        <image name="icon_mike_tip" width="112.66666412353516" height="58.333332061767578"/>
+        <image name="音波_00001.png" width="540" height="340"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>

+ 4 - 0
SLAiELTS/SLAiELTS/ViewControllers/RoleLabelVC/Models/SLNuiSpeechRecognizer.h

@@ -7,6 +7,8 @@
 
 #import <Foundation/Foundation.h>
 
+typedef void(^SLOnVolumeChangedBlock)(CGFloat volume);
+
 NS_ASSUME_NONNULL_BEGIN
 
 typedef void(^SLSpeechRecognizerResultBlock)(NSString *text ,NSString *voicePath);
@@ -15,6 +17,8 @@ typedef void(^SLSpeechRecognizerResultBlock)(NSString *text ,NSString *voicePath
 
 @property (nonatomic, copy)SLSpeechRecognizerResultBlock recognizerResultBlock;
 
+@property (nonatomic, copy) SLOnVolumeChangedBlock onVolumeChangedBlock;
+
 - (void)startSpeechRecognizer;
 
 - (void)stopSpeechRecognizer:(BOOL)isSaveVoice;

+ 9 - 6
SLAiELTS/SLAiELTS/ViewControllers/RoleLabelVC/Models/SLNuiSpeechRecognizer.m

@@ -190,9 +190,9 @@ static BOOL save_wav = YES;
                 asrResult:(const char *)asr_result
                  ifFinish:(bool)finish
                   retCode:(int)code {
-    TLog(@"onNuiEventCallback event %d finish %d", nuiEvent, finish);
+//    TLog(@"onNuiEventCallback event %d finish %d", nuiEvent, finish);
     if (nuiEvent == EVENT_ASR_PARTIAL_RESULT || nuiEvent == EVENT_ASR_RESULT) {
-        TLog(@"ASR RESULT %s finish %d", asr_result, finish);
+//        TLog(@"ASR RESULT %s finish %d", asr_result, finish);
         NSString *result = [NSString stringWithUTF8String:asr_result];
         NSDictionary *dict = [result mj_JSONObject];
         NSDictionary *payloadDict = [dict objectForKey:@"payload"];
@@ -203,9 +203,9 @@ static BOOL save_wav = YES;
         }
     }
     else if (nuiEvent == EVENT_ASR_ERROR) {
-        TLog(@"EVENT_ASR_ERROR error[%d]", code);
+//        TLog(@"EVENT_ASR_ERROR error[%d]", code);
     } else if (nuiEvent == EVENT_MIC_ERROR) {
-        TLog(@"MIC ERROR");
+//        TLog(@"MIC ERROR");
         [_voiceRecorder stop:true];
         [_voiceRecorder start];
     }
@@ -218,7 +218,7 @@ static BOOL save_wav = YES;
 }
 
 -(int)onNuiNeedAudioData:(char *)audioData length:(int)len {
-    TLog(@"onNuiNeedAudioData");
+//    TLog(@"onNuiNeedAudioData");
     static int emptyCount = 0;
     @autoreleasepool {
         @synchronized(_recordedVoiceData){
@@ -249,7 +249,7 @@ static BOOL save_wav = YES;
     return 0;
 }
 -(void)onNuiAudioStateChanged:(NuiAudioState)state {
-    TLog(@"onNuiAudioStateChanged state=%u", state);
+//    TLog(@"onNuiAudioStateChanged state=%u", state);
     if (state == STATE_CLOSE || state == STATE_PAUSE) {
         [_voiceRecorder stop:YES];
     } else if (state == STATE_OPEN){
@@ -260,6 +260,9 @@ static BOOL save_wav = YES;
 
 -(void)onNuiRmsChanged:(float)rms {
     TLog(@"onNuiRmsChanged rms=%f", rms);
+    if (self.onVolumeChangedBlock) {
+        self.onVolumeChangedBlock(rms);
+    }
 }