Possible to choose waveform with button ?



  • As the title asks is there a way to set the waveform selection - with a button for each waveform ?
    A button that selects Sine.
    A button that selects Saw.

    If so can someone please share the knowledge ? I see a "set attribute" but not sure how to use it.



  • I don't know if you're referring to the LFO or the Waveform Generator but I made an example with the latter.

    HiseSnippet 1107.3oc4W0saaaCElJNpnVYdncHCXWJDrKb.5BjRSxJPwPcSbbQvpSLhyZGvPQAszw1DQhTPhJqFE8caOB6QXWsq2av1g5GK5FAOOu0ghMekO+Q9c9kGMHV3AIIhXhQyqlEADiOwb3Ltb5ISoLN4rtDiO0rOMQBw14rNdVDMIA7IFFMdlhgQyMIY+9smbLMfx8fJVDxKDLO34rPlrh6fNeKKHnG0GthEpo8AcNySvOQDHRQ7zvzgDQ8tlNANmpTaCShwcN0mIEwCkTIjPL17Xg+rgSE+HOW+WvRXiB.EgKYHdP4r6IB7UHV8exISYA9CJ86DBwvbPUTnQdTXay9Le1b9UQi6kIvtxB83gwFKCdtqI7Lzf2l4v69lC8hYQxJIJrsk4YbLQMlho.cXkqKYie0v7DApAWtWH8ZnWLRL2h1G437.6Ccb18wsrZYgIhDo8MzX6WRuAFKhCeFvgXJ5ct1eicVMxdS.YFbynZuSol1UptS9o0xhwCXbvdbJ2SxDbaUdNbj3XwabUXJVDz1SDFI3H5d.duAovtsrdaKql2992KAjOUJiYiRkP6ZjqX0CY4VdRHHdWFPJ8eExKut16LGJ6rq5rK.zIzffQXAX6aiU0Ap4JmKjvE716Z8VqlVuyx98EMdbsxJNr.HtVwpli3kYXadZ3HHtzIKUDqRVrLbqUqLzKO1nonfeFmIuHBJnqJTUxx85RoNj4NqNqJeTmalqUiZUrtce.oH2o5HJTGUUl0Obuh9gx7Dg4qZGlm1HYQH8QUju6rtTIs7vvyEuqHHVxTQLitvM3bq7lsllcgjqkhnLcKJZvQQq3U+l4Wamenyr4D+zq5DRQYlF2AoXRHDu2VltV6a8PqCrNz5HbP4sZ7wwOB+z.UYt9LI0f3BAXExBM+pFbdBSNS26+KLnxo1AUt0kfVQ3deyALo2z5w6F0fWLI8gFuEi8aYd53wfmrBraZ166W2Y7qGT1NGJaYplhkMYMCHetYMiWWxqw+7p9ZbzJ+Z7EdRDBWES4IQhDvU+jeOY6qKqKHS4KpdNqEzZ9Pa8B0RlZZd2NCn7ENLjdgSpOqpmi7KO4TNESHCAza7uHwCcVUrS+VFjFj.uj4Km5paXE680YazXsdkewdTM8+HYij+4az+6OWpwpEZ+SVZpYIFGxBiBfS42.A3r9LL9Y3v8wzz.YI2E6o5K3hnoBNySu.6R.W9XxDXghnZcHbMEbChJNa24RH.nIZ8YeYmmiaFQiw3D7gOVrr70WXlCWa0f.6+a7dRi+2+dxx6PwYkeDjouTjJY7I8oXekZmnySCGhO63AHT4bHHQsmzFpc.yocTzJ.MD39YD+N9qPnqh1nPnaov+UtiPpWr30d4ampZ8taFGzu4YeBaS7aoQZ64KjZZ5rmCIDGf+ZOOU0wWgwm5sY+0vlGtF1bvZXygqgMGsF170qgMOZo1nd67ooRQXd8OxXvoYeXfgQ9dCYsBj+Ps6NIh
    

    You can always check the parameters available using the autocomplete (press the ESC key) or by checking the module browser.



  • @d-healey said in Possible to choose waveform with button ?:

    HiseSnippet 1107.3oc4W0saaaCElJNpnVYdncHCXWJDrKb.5BjRSxJPwPcSbbQvpSLhyZGvPQAszw1DQhTPhJqFE8caOB6QXWsq2av1g5GK5FAOOu0ghMekO+Q9c9kGMHV3AIIhXhQyqlEADiOwb3Ltb5ISoLN4rtDiO0rOMQBw14rNdVDMIA7IFFMdlhgQyMIY+9smbLMfx8fJVDxKDLO34rPlrh6fNeKKHnG0GthEpo8AcNySvOQDHRQ7zvzgDQ8tlNANmpTaCShwcN0mIEwCkTIjPL17Xg+rgSE+HOW+WvRXiB.EgKYHdP4r6IB7UHV8exISYA9CJ86DBwvbPUTnQdTXay9Le1b9UQi6kIvtxB83gwFKCdtqI7Lzf2l4v69lC8hYQxJIJrsk4YbLQMlho.cXkqKYie0v7DApAWtWH8ZnWLRL2h1G437.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I appreciate the help David !


Log in to reply
 

20
Online

540
Users

2.0k
Topics

15.9k
Posts