fix(audio feature shape): fixing audio feature shape ordering (frames first, channels second)

This commit is contained in:
CarolinePascal
2025-04-22 17:06:10 +02:00
parent e714ff22e2
commit e4dd00c8f5
3 changed files with 5 additions and 7 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ DUMMY_VIDEO_INFO = {
"has_audio": False,
}
DUMMY_MICROPHONE_FEATURES = {
"laptop": {"dtype": "audio", "shape": (1,), "names": ["channels"], "info": None},
"phone": {"dtype": "audio", "shape": (1,), "names": ["channels"], "info": None},
"laptop": {"dtype": "audio", "shape": (1, 2), "names": ["channels"], "info": None},
"phone": {"dtype": "audio", "shape": (1, 2), "names": ["channels"], "info": None},
}
DEFAULT_SAMPLE_RATE = 48000
DUMMY_AUDIO_CHANNELS = 2