Co-create a Wurlitzer
-
-
@d-healey You are the man :) Thank you so much
-
This is also covered by the ScriptPanel tutorial:
-
Also you can draw something like the big knob directly in HISE:
HiseSnippet 1172.3ocsW8taaaCDmJIJn1aYXEXO.B8SJYxpRJ+EHXaowItKXMoFyccCHnnfQh1hHxjBRzwwXnuI6C6QbuAaGIkhji0Rh6vThYL+c2w6mNd73k9Y7PRdNOCYz5cyRIHiuzbvLlHtaLlxPmcBx3qLOGmKHYVZnimkhyyIQHCiUesDvn0ZH0ye8CGiSvrPREDB8dNMj7F5XpnBM8nehljzCGQdGcbMs24nyB4rt7D9DfOqZ5gRwgWiGQt.KUaESjw5mFQE7rABrfjiLV6XdzrAw7oLs9umlSuJgHm3iF.KjFtGOIRxXIJpaLMIpe46cNBVk9UQgU0Qguw7bZD8N7pnwWqDXUYQ83gwJOD87eb540D8LpQu0zz64lCBynohJIRt8ElmwfMpgXXKnNsz5hV4OV2rKGzfIbGiulzKClbmE16444Xsqm2lGtQ6MZCaD4BqavYV8wLRhu02YUZ6HhnKebJmASregV7KzVI+QC3lSD8gfl3m4SDTFwd3DVnfxY1i1r8uuQaK3Qt5b4JGDbXMj..YauBjJ7o.rHllK8+uRiDw1aVyp3ZR+QBcTr3NwUJcSoRQXA18lEjmwgMNfifZ2XskUvbJTebjqRUhcoENVWdOt8x.mEHzKC9v7jZjLL85LbDEhk8fCE1W5c6vg6ndbr7b8JG.z.0iy8CBK5FkSZMxcHrfmljPSyI1Wx8crjetm0cB1pNZ4RnfKWmF4XIalmikL+yjiv5wCZjiAMyQc.sk5241X57ebmoJoHsVpeXFAV793ZIeot3nnWkEZe4AxffZXZG+8brhgwO3X0IvcaGKXnIGnBt5Jd1d21qmN9Up4H2nL7Tk6Rc.OAD9X9DVTtsuqGDTOXwT7zfGgtAOM9JGs9V0wfcb26wnt9O4tSioBRSrGB4fmeD9e2lWgWgstoxMq3lO27P9tJfjPXiDxpCdtAM9VHI4ajUn.E1cqoNVpu.u6ZK2TB44t+1aEqDs+1cJE..9adX6OAepW1SdoVVWbRxUvsWU08fxdsaUq5y70h.+AGh7kIyzg10E78VxfEfKo671CVT7JovyHoxJt1ZNUuVr.mook8tP881kbxhytfKHusfbs+zBRFNrIQx7qLdRBrdMHU6n+cyrYSFeEIyA1dRlPJ0Ctaa9KOW+oc4YnNWulhb1YLp3sojh4O7s+nhCKv29kyNAhrxabKv.8RIYBpjNFmPtAZkQe+aKySH4WK3oJcKtKDnrPIcixamkQeDEb8yL06Dnauqam+75ilUMgbzTYwopdgnGEqJMUGAsXi.P6H7nIIXw78nHaLqP.D5mqY.4E9rbpXV8F2VhFW7dx8U8To6yM6SEgwMy2UZfuvNz+27snMvMLOc3PRnnhrqY1629b64aInhtqoQmiEYTHmw7hIiG.U4BI.SXPlD3HSiUjYu54dx4xHy.BKRM4ugmBg9x4FEB8KEhFiCy3eLTenT1n4yTH.mXp9saAM9Cys7QpCpZdOF598iggx.QGf4MaQvRaw1KsE6rzVr6RawdKsE6uzVbvCXg7e03USD7w5iE.P+SUknLLNkggrJUFH5e..XlppL
-
@christoph-hart and what if we want to drag ourself?
-
@christoph-hart Wow! Incredible. Thank you so much guys!
-
If you are using Adobe Illustrator to make SVG files; you can get the data Path inside the Illustrator. This is the video that shows you how to do this:
https://www.youtube.com/watch?v=ADMwZwxAVws
Cheers ;)
-
@jay said in Co-create a Wurlitzer:
and what if we want to drag ourself?
- Create a slider
- Load an empty image as filmstrip and put it on top of the panel (I'll remove this step by adding a "invisible style" option soon)
- Grab the slider's value in the timer callback instead of the stupid calculation and store it in
this.data.v
This is also known as the infamous "Invisible Slider Trick". The advantage of it is that you get the convenient things from the slider (skew factor, value popup, shift click for entering values) without being limited to it's appearance.
-
@christoph-hart you can use the slider's control callback too which I assume is more efficient.
-
Oh yes, I forgot, that's also possible...
-
@d-healey Can we make a knob with vector path graphics (converted from SVG) that made by paint routines?
-
@orange Yes