From 4fac67c46bcfe0130af3bec6303abc051ccf3879 Mon Sep 17 00:00:00 2001 From: Peter Eastman Date: Sat, 3 Jan 2026 12:16:07 -0800 Subject: [PATCH 1/2] Made legato slightly smoother --- chorus/src/director.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chorus/src/director.rs b/chorus/src/director.rs index cdf65eb..8d7633d 100644 --- a/chorus/src/director.rs +++ b/chorus/src/director.rs @@ -334,9 +334,9 @@ impl Director { // Smoothly transition between the two notes. The time and envelope shape depend both on how // large a jump we're making and on what vowel we're heading toward. - let transition_time = (1000 + 150*(current_note_index-note_index).abs()) as i64; + let transition_time = (2000 + 20*(current_note_index-note_index).abs()) as i64; self.add_transition(delay, transition_time, TransitionData::FrequencyChange {start_frequency: self.frequency_after_transitions, end_frequency: frequency}); - let min_envelope = self.envelope_after_transitions*f32::powf(0.85, (current_note_index-note_index).abs() as f32); + let min_envelope = self.envelope_after_transitions*f32::max(0.5, 1.0-0.05*((current_note_index-note_index).abs() as f32)); let first_vowel; if !continuous && new_syllable.initial_vowels.len() > 0 { first_vowel = new_syllable.initial_vowels[0]; From 4247dea5b8394ad70b95c6ab592092205858f992 Mon Sep 17 00:00:00 2001 From: Peter Eastman Date: Sat, 3 Jan 2026 12:20:41 -0800 Subject: [PATCH 2/2] Fix CI build for Intel Mac --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5fdd1d..d5e8c56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,14 +15,14 @@ jobs: strategy: fail-fast: false matrix: - # os: [macos-latest, macos-13, ubuntu-20.04, windows-latest] + # os: [macos-latest, macos-15-intel, ubuntu-20.04, windows-latest] include: - name: Mac ARM os: macos-latest zipname: mac-arm - name: Mac x86 - os: macos-13 + os: macos-15-intel zipname: mac-x86 - name: Linux x86