This PR supersedes #51 in order to fix some merge problems over there. Copying in the full PR description here:
Original PR opened by @leanneshen et al.
This PR allows users to create an instrument (similar to the csv ratio instrument) based on multiple chosen RGB values in a palette. The user can edit 7 colors on a palette by selecting a rectangle and changing the value on the RGB slider. Similar to the last PR for this branch, the colors are converted to energy values and converted to the frequency in the range (150, 350) Hz. After clicking on the “Generate/Update Instrument” button, an instrument volume control slider with a tone corresponding to the energy of the color is generated and the sound is played. A user can also update the colors on the color picker after the instrument is generated.
Potential future design changes:
Add borders around the rectangles of colors
Better alignment between sliders and colors on palette
Make rectangles white with a border to start- black looks sad :(
This PR supersedes #51 in order to fix some merge problems over there. Copying in the full PR description here:
Original PR opened by @leanneshen et al.
This PR allows users to create an instrument (similar to the csv ratio instrument) based on multiple chosen RGB values in a palette. The user can edit 7 colors on a palette by selecting a rectangle and changing the value on the RGB slider. Similar to the last PR for this branch, the colors are converted to energy values and converted to the frequency in the range (150, 350) Hz. After clicking on the “Generate/Update Instrument” button, an instrument volume control slider with a tone corresponding to the energy of the color is generated and the sound is played. A user can also update the colors on the color picker after the instrument is generated.
Potential future design changes: