diff --git a/lerobot/common/robot_devices/microphones/microphone.py b/lerobot/common/robot_devices/microphones/microphone.py index 33d772a7..a92be011 100644 --- a/lerobot/common/robot_devices/microphones/microphone.py +++ b/lerobot/common/robot_devices/microphones/microphone.py @@ -214,7 +214,7 @@ class Microphone: ) else: self.channels = np.arange(1, actual_microphone["max_input_channels"] + 1) - + # Get channels index instead of number for slicing self.channels_index = np.array(self.channels) - 1