diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-03-01 20:47:02 -0500 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-03-01 20:47:40 -0500 |
| commit | e0d4b50898a5f8ef41985d58d1bdc6a92c0b1b62 (patch) | |
| tree | 9924ce3acb10f5e41f1ae6f3892213a104bea82f | |
| parent | 129f8fcbf676c235cc6ee8a06e0432e8b08938d0 (diff) | |
Fix handling of lists of multi-channel tracks in Concat
| -rw-r--r-- | mix.bqn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -9,8 +9,8 @@ I ⇐ <⟜0 ⌽∘⊢⍟⊣ ↕⊸÷∘| # Add two signals 𝕨 and 𝕩 or a list of signals 𝕩, # extending to the length of the longest signal. Add ⇐ +´ ·(⌈´(¯1⊑≢)¨)⊸(↑⎉1¨) ⊢⊘(≍○<) -# Like add, but concatenate instead. -Concat ⇐ (∾ ↓¨˜⟜(<0⥊˜·⌈´=¨)) ⊘ (∾⎉1) +# Like add, but concatenate instead (no extension). +Concat ⇐ (∾ (0⥊˜·⌈´=¨)⊸(<∘⊣↓¨↓)) ⊘ (∾⎉1) # Like ⌽⎉1, but the end of the signal does not wrap around. Shift ⇐ <⟜0◶⟨↓⎉1 , (-⥊0˙)⊸(∾⎉1)⟩ # Repeat signal 𝕩 𝕨 times. |
