Hello, I'm a college student who just came across Python. I want to create a program that converts visual data into auditory data After loading the image, extract the RGB of the color of the mouse point Based on that RGB color,
(0, 0, 0) Test (255, 0, 0) Red (0, 255, 0) Green (0, 0, 255) Blue (255, 255, 0) Yellow (0, 255, 255) Xi'an (255, 0, 255) Magenta (255, 255, 255) White
I'd like to distinguish it as one of them. After determining the color, I am thinking of playing a specific sound corresponding to each color. (ex. Determine burgundy-like color as red and play the corresponding help)
What should I do? I'm trying, but I don't know how to do it. I ask for a lot of help from programmers.
rgb python
Convert RGB to HSV or HSL and then convert the hue and saturation range of the color values to a proper hertz to produce the sound. Burgundy, for example, is a dark/dark red, so it's not coming, but C3.
As such, the beginning is to find out the substance of what I want to make and study the substance of what I want to make, such as what is a scale in the first place, what is RGB, what is RGB only, or how is color possible in the first place. Unanalyzed goals are bound to be vague, and there is no reason to be vague about defining and investigating information.
Let's get started.
PS. Conversely, it is possible to draw colors when you receive the sound of
573 PHP ssh2_scp_send fails to send files as intended
863 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
564 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
564 Who developed the "avformat-59.dll" that comes with FFmpeg?
589 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.