From 6b91ad176252cde0198539312ad87f3104ae496b Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Sun, 6 Feb 2022 14:10:50 -0500 Subject: Always share options object with imported scripts --- mix.bqn | 2 +- panap.bqn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.bqn b/mix.bqn index d149a01..e60530c 100644 --- a/mix.bqn +++ b/mix.bqn @@ -1,6 +1,6 @@ "mix.bqn takes a single option namespace, or no arguments" ! 1≥≠•args o ← ≠◶⟨•Import∘"options.bqn", ⊑⟩ •args -fft ← •Import "fft.bqn" +fft ← o •Import "fft.bqn" # List of length |𝕩 that starts at 0 and stops just before 1, # reversed if 𝕩<0. diff --git a/panap.bqn b/panap.bqn index 358e3c1..5ad5e40 100644 --- a/panap.bqn +++ b/panap.bqn @@ -1,7 +1,7 @@ # Stereo panning o ← ≠◶⟨•Import∘"options.bqn", ⊑⟩ •args -mix‿fil ← •Import¨ "mix.bqn"‿"filter.bqn" +mix‿fil ← o •Import¨ "mix.bqn"‿"filter.bqn" ⟨Cos⟩ ← •math # The goal of stereo panning is to make sounds appear to come from -- cgit v1.2.3