Barnard-PL-Labs / SequencerLiveCoding

Live Coding for the Novation Circuit
19 stars 5 forks source link

allow programmatic selection of the drum kit #17

Open santolucito opened 2 years ago

santolucito commented 2 years ago

The drum kit selection should be something we can control through the code.

santolucito commented 2 years ago

works with b.kitIndex =

should generate this code when selecting a kit through the interface.

probably need to insert synthesis code here: https://github.com/Barnard-PL-Labs/SequencerLiveCoding/blob/e63429a562506f5caf73ad0c1b98e37e4c0b0bfe/public/js/handlers.js#L187

likely need code similiar to this: https://github.com/Barnard-PL-Labs/SequencerLiveCoding/blob/e63429a562506f5caf73ad0c1b98e37e4c0b0bfe/public/js/synthesis.js#L73

called synthKitCode. Should be called in the same way the above code is called here: https://github.com/Barnard-PL-Labs/SequencerLiveCoding/blob/e63429a562506f5caf73ad0c1b98e37e4c0b0bfe/public/js/handlers.js#L90