Skip to content

Commit

Permalink
Improved chunk-by-chunk audio playback
Browse files Browse the repository at this point in the history
  • Loading branch information
mapluisch committed Oct 6, 2024
1 parent 81dafd1 commit 32ab331
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 25 deletions.
1 change: 0 additions & 1 deletion Assets/Prefabs/RealtimeAPI.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ MonoBehaviour:
interruptResponseOnNewRecording: 1
vadThreshold: 0.1
vadSilenceDuration: 2
ignoreInitialMicrophoneFramesOnVAD: 0
currentVolumeLevel: 0
fftSampleSize: 1024
--- !u!1 &8086852912749008722
Expand Down
320 changes: 320 additions & 0 deletions Assets/Scenes/DemoScene.unity
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,214 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1990000880}
m_Modifications:
- target: {fileID: 1255965906227625718, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1255965906227625718, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1255965906227625718, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1255965906227625718, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1532402257996066136, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1532402257996066136, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1532402257996066136, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1532402257996066136, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1710206016733480592, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1710206016733480592, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1710206016733480592, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1710206016733480592, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2280149581913286804, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2280149581913286804, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2280149581913286804, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2280149581913286804, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2380939926164518968, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2380939926164518968, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2380939926164518968, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2380939926164518968, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2644693647587367262, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2644693647587367262, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2644693647587367262, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2644693647587367262, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2865206520522284828, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2865206520522284828, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2865206520522284828, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2865206520522284828, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3575552910384579341, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3575552910384579341, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3575552910384579341, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3575552910384579341, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3695955947972305338, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3695955947972305338, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3695955947972305338, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3695955947972305338, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4407607576596302816, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4407607576596302816, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4407607576596302816, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4407607576596302816, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4468429704271737160, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4468429704271737160, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4468429704271737160, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4468429704271737160, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4544183516694379835, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4544183516694379835, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4544183516694379835, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4544183516694379835, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4886389097399582781, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4886389097399582781, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4886389097399582781, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4886389097399582781, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5337751238952555557, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_Pivot.x
value: 0.5
Expand Down Expand Up @@ -654,14 +862,126 @@ PrefabInstance:
propertyPath: audioController
value:
objectReference: {fileID: 1157521912}
- target: {fileID: 5539276234762005852, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5539276234762005852, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5539276234762005852, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5539276234762005852, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6102789262774946950, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6102789262774946950, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6102789262774946950, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6102789262774946950, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6263522274942710432, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6263522274942710432, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6263522274942710432, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6263522274942710432, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6644563668055411794, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_Name
value: DemoIntegration
objectReference: {fileID: 0}
- target: {fileID: 6646294751503784774, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6646294751503784774, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6646294751503784774, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6646294751503784774, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6850524177438646928, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6850524177438646928, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6850524177438646928, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6850524177438646928, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7605602261734624379, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7605602261734624379, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7605602261734624379, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7605602261734624379, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8428551282407799376, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 134438100}
- target: {fileID: 8621603656619835539, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8621603656619835539, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8621603656619835539, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8621603656619835539, guid: fc531736d51444c8280c8d93c32c7c33, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
Expand Down
Loading

0 comments on commit 32ab331

Please sign in to comment.