From 124c935cf1e7d639506bf1fca048646ef1a4bf2f Mon Sep 17 00:00:00 2001
From: Marlon Schumacher <schumacher@hfm-karlsruhe.de>
Date: Sat, 01 Mar 2025 02:42:25 +0100
Subject: [PATCH] chorde: added default values for positions and order for sox-hoaencode

---
 sources/classes/sox-hoaencode.lisp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sources/classes/sox-hoaencode.lisp b/sources/classes/sox-hoaencode.lisp
index 029dc46..16d7c1a 100644
--- a/sources/classes/sox-hoaencode.lisp
+++ b/sources/classes/sox-hoaencode.lisp
@@ -174,11 +174,11 @@
 
 (defclass! sox-hoaencode (sox-input)
     (
-        (positions :accessor positions :initarg :positions :initform nil :documentation *sox-hoaencode-positions-doc*)
-        (order :accessor order :initarg :order :initform nil :documentation *sox-hoaencode-order-doc*)
+        (positions :accessor positions :initarg :positions :initform '(0 0) :documentation *sox-hoaencode-positions-doc*)
+        (order :accessor order :initarg :order :initform 3 :documentation *sox-hoaencode-order-doc*)
     )
     (:icon 100)
-    (:documentation "Sox-hoaencode transforms <sound> into a <order>-th ambisonic (HOA) signal at <positions>.
+    (:documentation "Sox-hoaencode encodes <sound> into a <order>-th ambisonic (HOA) signal at <positions>.
 
     The signal follows the ambiX convention, i.e. it uses SN3D normalization and ACN channel ordering. The resulting file has (<order>+1)^2 channels (order 0: 1 channel, order 1: 4 channels, order 2: 9 channels, order 3: 16 channels, ...).")
 )

--
Gitblit v1.9.1