Programmable real-time audio signal processing application
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

aud_dsp.js 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. {
  2. aud_dsp :
  3. {
  4. midiPortBufByteCnt : 1024
  5. meterMs : 50
  6. msgsPerClientPoll : 10
  7. dfltProgramLabel: "xform_only"
  8. /*
  9. afpDevArray :
  10. [
  11. {
  12. label:"file_dev"
  13. //iAudioFn:"/home/kevin/temp/in0.wav"
  14. oAudioFn:"/home/kevin/temp/out0.wav"
  15. oBits:16
  16. oChCnt:1
  17. }
  18. ]
  19. */
  20. nrtDevArray :
  21. [
  22. {
  23. label: "nrtDev0"
  24. srate: 44100
  25. iChCnt: 16
  26. oChCnt: 16
  27. cbPeriodMs : 6
  28. }
  29. ]
  30. audioSysCfgArray :
  31. [
  32. {
  33. label:"Default"
  34. default: true
  35. ssArray :
  36. [
  37. {
  38. /*
  39. inDevLabel: "nrtDev0"
  40. outDevLabel: "nrtDev0"
  41. */
  42. inDevLabel: "USB Audio CODEC USB Audio"
  43. outDevLabel:"USB Audio CODEC USB Audio"
  44. /*
  45. inDevLabel: "HDA Intel PCH CS4208 Analog"
  46. outDevLabel:"HDA Intel PCH CS4208 Analog"
  47. */
  48. /*
  49. inDevLabel: "Scarlett 18i20 USB USB Audio"
  50. outDevLabel: "Scarlett 18i20 USB USB Audio"
  51. */
  52. syncToInputFl : true
  53. msgQueueByteCnt : 524288
  54. devFramesPerCycle : 512
  55. dspFramesPerCycle : 64
  56. audioBufCnt : 3
  57. srate : 48000,
  58. srateMult: 1,
  59. }
  60. ]
  61. }
  62. {
  63. label:"File Out"
  64. default: false
  65. ssArray :
  66. [
  67. {
  68. inDevLabel : "USB Audio CODEC USB Audio"
  69. outDevLabel : "USB Audio CODEC USB Audio"
  70. /*
  71. inDevLabel: "HDA Intel PCH CS4208 Analog"
  72. outDevLabel:"HDA Intel PCH CS4208 Analog"
  73. */
  74. syncToInputFl : true
  75. msgQueueByteCnt : 524288
  76. devFramesPerCycle : 512
  77. dspFramesPerCycle : 64
  78. audioBufCnt : 3
  79. srate : 96000,
  80. srateMult: 1
  81. }
  82. ]
  83. }
  84. ]
  85. }
  86. udpnetCrca :
  87. {
  88. port: 5876
  89. recvBufByteCnt : 512
  90. timeOutMs: 100
  91. local: "thunk"
  92. nodeArray :
  93. [
  94. {
  95. label:whirl
  96. id:10
  97. addr:"132.239.235.103"
  98. }
  99. {
  100. label:thunk
  101. id:20
  102. addr:"192.168.1.109"
  103. }
  104. ]
  105. }
  106. udpnet_work :
  107. {
  108. port: 5876
  109. recvBufByteCnt : 512
  110. timeOutMs: 100
  111. local: "thunk"
  112. nodeArray :
  113. [
  114. {
  115. label:whirl
  116. id:10
  117. addr:"132.239.235.103"
  118. }
  119. {
  120. label:thunk
  121. id:20
  122. addr:"132.239.235.101"
  123. }
  124. ]
  125. }
  126. udpnet_thunk :
  127. {
  128. port: 5876
  129. recvBufByteCnt : 8192
  130. timeOutMs: 100
  131. local: "thunk"
  132. nodeArray :
  133. [
  134. {
  135. label:whirl
  136. id:10
  137. addr:"192.168.15.109"
  138. }
  139. {
  140. label:thunk
  141. id:20
  142. addr:"192.168.15.110"
  143. }
  144. ]
  145. }
  146. }