# The lyrics editor: the lines typed or pasted, then stamped one by one while the song plays (the .LYR of WinZik).# The two panels share the room left by the rest (grow): the list has a small height of its own (an auto height would be# one row per line: long lyrics pushed the buttons out of the window), both scroll.form: title: 'Editeur de paroles' theme: dark accent: '#ff2020' padding: 8 gap: 6 scroll: false children: - type: row gap: 8 children: - {type: label, text: 'EDITEUR DE PAROLES (.LYR)', bold: true, color: '#ff2020', wrap: false} - {type: label, id: song, text: '', style: muted, grow: 1, wrap: false} - {type: label, id: clock, text: '00:00.00', bold: true, color: '#00ff00', wrap: false} - type: row gap: 8 grow: 1 items: stretch children: - type: column grow: 1 height: fill gap: 4 children: - {type: label, text: 'Les paroles, une ligne par ligne chantée :', style: muted} - {type: textbox, id: text, multiline: true, rows: 3, height: fill, placeholder: 'Coller ou taper les paroles ici…'} - type: column grow: 1 height: fill gap: 4 children: - {type: label, text: 'Synchronisation :', style: muted} - {type: listbox, id: synced, height: 90, grow: 1, events: {activate: onSyncedActivate}} - {type: label, id: now, text: '', bold: true, color: '#ff2020', wrap: false} - {type: label, id: hint, text: 'Syllabes de la ligne choisie : clic pour en choisir une, Espace en écoutant, flèches ±100 ms (Maj : ±10), Ctrl+Z annuler', style: muted, wrap: false} - {class: App\Gui\SyllableStrip, id: strip, height: 66, events: {select: onStripSelect}} - type: row gap: 6 wrap: true # a narrow window: on two lines, never one button over the other children: - {type: button, id: sylStamp, text: 'Syllabe suivante (Espace)', events: {click: onSylStampClick}} - {type: button, id: m100, text: '-100 ms', tooltip: 'Flèche gauche', events: {click: onNudgeClick}} - {type: button, id: m10, text: '-10 ms', tooltip: 'Maj + flèche gauche', events: {click: onNudgeClick}} - {type: button, id: p10, text: '+10 ms', tooltip: 'Maj + flèche droite', events: {click: onNudgeClick}} - {type: button, id: p100, text: '+100 ms', tooltip: 'Flèche droite', events: {click: onNudgeClick}} - {type: button, id: replay, text: 'Réécouter', events: {click: onReplayClick}} - {type: spacer} - {type: button, id: estimate, text: 'Syllabes estimées', style: flat, events: {click: onEstimateClick}} - type: row gap: 8 wrap: true children: - {type: button, id: start, text: 'Démarrer la synchro', events: {click: onStartClick}} - {type: button, id: stamp, text: 'Ligne suivante (Entrée)', style: primary, default: true, events: {click: onStampClick}} - {type: button, id: back, text: '-5 s', events: {click: onBackClick}} - {type: button, id: pause, text: 'Pause / Play', events: {click: onPauseClick}} - {type: spacer} - {type: button, id: webSearch, text: 'Chercher sur internet…', tooltip: 'LRCLIB, la marketplace, l''ancien site, Claude', events: {click: onWebSearchClick}} - {type: button, id: auto, text: 'Whisper + Claude', events: {click: onAutoClick}} - {type: button, id: web, text: 'Internet (Claude)', events: {click: onWebClick}} - {type: button, id: clear, text: 'Effacer les temps', tooltip: 'Ctrl+Z pour les retrouver', style: flat, events: {click: onClearClick}} - {type: button, id: save, text: Enregistrer, tooltip: 'Ctrl+S', events: {click: onSaveClick}} - {type: button, id: publish, text: 'Partager…', events: {click: onPublishClick}} - {type: button, id: quit, text: Fermer, tooltip: 'Échap', cancel: true, events: {click: onQuitClick}} - {type: label, id: status, text: '', style: small, wrap: false}