+
+ {ambientType ? : }
+
+ {ambientType ? AMBIENT_SOUNDS.find(s => s.type === ambientType)?.label : 'No ambient sound'}
+
+
+
+ {AMBIENT_SOUNDS.map((sound) => (
+
+ ))}
+
+ {ambientType && (
+
{
+ const v = parseInt(e.target.value) / 100;
+ setAmbientVolumeState(v);
+ setAmbientVolume(v);
+ }}
+ className="w-40 accent-[var(--cm-accent-secondary)]"
+ title={`Volume: ${Math.round(ambientVolume * 100)}%`}
+ />
+ )}
+
+
{/* Elapsed time */}
-