Can AI and Voice Control Adjust Music Volume with Fuzzy Membership Function?

AI Thread Summary
The discussion revolves around creating an AI system that controls music volume through voice commands using fuzzy membership functions, with a focus on integrating hardware components for an Electronic Engineering course. The initial idea involves programming in Matlab and using a microphone to process commands, but the challenge lies in incorporating hardware effectively. Suggestions include using four comparators to generate a "thermometer code" based on volume levels, but concerns arise about linking the analog voice input to these comparators. There is skepticism about the feasibility of burning Matlab code onto an integrated circuit for this project, and it is advised to consult with a professor for guidance. The conversation emphasizes the need for a solid understanding of both software and hardware integration to successfully complete the project.
Madness_hero
Messages
6
Reaction score
0
Was given an assignment to create an AI that can control the music's volume by using fuzzy membership function (slightly soft, soft, loud, very loud) via voice control but the problem is we need to implement hardware into the project because my course is Electronic Engineering.

So far, I've only got the idea to write the program using Matlab and then by using the MIC to control the volume by saying the commands and then the software will process everything and then the music will play from the speakers.
But so far, I can't think of a way to include hardware into this project.

Can someone help me please...
 
Physics news on Phys.org
How about using four comparators with different thresholds? Whenever the signal crosses a threshold, the comparator turn ons. The result is a four-bit "thermometer code," like this:

0000 : no comparators tripped; no signal
0001 : only the lowest-threshold thermometer tripped; slightly soft
0011 : two comparators tripped, soft
0111 : three comparators tripped, loud
1111 : four comparators tripped, very loud

Since there will be pulses on each of these signals in time with the music, you might want to take a moving average of them, etc.

- Warren
 
but it requires an analog voice input, how to link it to the comparators?
 
Try wires.

- Warren
 
chroot said:
Since there will be pulses on each of these signals in time with the music, you might want to take a moving average of them, etc.

- Warren
I'm sorry but I don't quite understand this part.


and can I do the project like this :
I burn the Matlab programming into an IC and then run it with the 4 comparators.
The MIC will be connected to this circuit which will then connect to the speaker.
So when I say the command, the IC will read it and produce the significant signal to the comparator and then the speaker's volume will react to the comparator's results.
 
I'm sorry, but if you think you can simply burn MATLAB programming into an integrated circuit, I don't think you have the expertise to attempt this project. I don't really have to walk you through details like connecting a signal to a comparator. I suggest that you speak to your professor.

- Warren
 
thank you for being straight forward
 
Back
Top