Split any YouTube song into stems
TypeScript
docs: clarify why the player keeps its own pitch value
David Navia89ebfc3dc6e7
diff --git a/src/renderer/src/components/Player.tsx b/src/renderer/src/components/Player.tsxindex e59777d..815d648 100644--- a/src/renderer/src/components/Player.tsx+++ b/src/renderer/src/components/Player.tsx@@ -127,7 +127,7 @@ export function Player({ song, settings }: Props): React.ReactElement {setSolos(new Set())setPreset('all')engine.stopAll()- // engine.pitch() reads 0 until playback starts, so the UI keeps its own value+ // the engine applies pitch lazily, so the UI keeps its own valuesetSemitones(0)setPitchError(null)void engine.setPitch(0)