Add.. a lot of doc strings

This commit is contained in:
Aria 2025-08-27 16:27:36 -05:00
parent 6a9739bed5
commit 9c8e39d83d
2 changed files with 270 additions and 1 deletions

View file

@ -548,7 +548,7 @@ function _getNodeParams(node) {
* @param {Object} params - Dictionary of modulation parameters.
* @returns {Object[]} - Array of parameter objects, one per parameter modulation
*/
function _splitParams(params, countKeys) {
function _splitParams(params) {
const num = ['num', 'target', 'parameter'] // names used to indicate individual parameter modulations
.map((k) => [params[k] ?? 0].flat().length)
.reduce((a, v) => Math.max(a, v), 1);