+ {/* Audio Input Row */}
+
+
-
- {/* Microphone Toggle */}
-
-
-
- {isMicActive && (
-
-
- Real-time input active
-
-
-
- )}
-
- {/* Right Column: Control Panel */}
-
-
+ {/* Microphone Toggle */}
+
+
- {/* Oscilloscope Display */}
-
-
{
- setIsPlaying(false);
- setCurrentTime(0);
- setSeekPosition(0);
- }}
- onSeek={handleSeek}
- liveSettings={liveSettings}
- />
-
- {/* Audio Playback Controls */}
- {audioData && originalFile && (
-
- {/* Play/Pause and Time Display */}
+ {isMicActive && (
+
+ Real-time input active
+
-
-
- {formatTime(currentTime)} / {formatTime(audioData.duration)}
-
-
- {/* Progress Bar */}
-
- handleSeek(value[0] / 100)}
- max={100}
- step={0.1}
- className="cursor-pointer"
- />
+
+ )}
+
+
+
+ {/* Main Content: Display + Controls Side by Side */}
+
+ {/* Oscilloscope Display */}
+
+
{
+ setIsPlaying(false);
+ setCurrentTime(0);
+ setSeekPosition(0);
+ }}
+ onSeek={handleSeek}
+ liveSettings={liveSettings}
+ />
+
+ {/* Audio Playback Controls */}
+ {audioData && originalFile && (
+
+ {/* Play/Pause and Time Display */}
+
+
+
+
+ {formatTime(currentTime)} / {formatTime(audioData.duration)}
+
+
+ {/* Progress Bar */}
+
+ handleSeek(value[0] / 100)}
+ max={100}
+ step={0.1}
+ className="cursor-pointer"
+ />
+
-
- )}
+ )}
+
+
+ {/* Control Panel */}
+
+
+
+
{/* Microphone Calibration */}
{showMicCalibration && isMicActive && (