From d9d05e21c06ed1b599a99e2f6d6f0fe4017091ef Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Fri, 15 Mar 2024 12:24:11 +0100 Subject: [PATCH] full size piano by default --- packages/widgets/Claviature.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/widgets/Claviature.jsx b/packages/widgets/Claviature.jsx index 5624280a..dc216d56 100644 --- a/packages/widgets/Claviature.jsx +++ b/packages/widgets/Claviature.jsx @@ -28,7 +28,7 @@ customElement('strudel-claviature', { options: '{}' }, (props, { element }) => { }); registerWidget('claviature', (id, options = {}, pat) => { - options = { range: ['A0', 'C6'], scaleY: 1, scaleY: 0.5, scaleX: 0.5, ...options }; + options = { range: ['A0', 'C8'], scaleY: 1, scaleY: 0.5, scaleX: 0.5, ...options }; const height = (options.upperHeight + options.lowerHeight) * options.scaleY; const el = getSolidWidget('strudel-claviature', id, { ...options, height }); return pat.onFrame(id, (haps) => {