Click here to Skip to main content
15,910,661 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
Hello
I am new in C++ and I want to design a HMI for an audio project. there are 3 types of sounds ( selfgenerated, and soundWav soundMP3) HMI should allow to play 5 sounds at the same time in the 5 existing output devices (the 5 sounds may for exemple be 2 selfgenerated , a soundWAV and soundMP3 ) play pause stop orders must be common to all 5 sounds played but the volume must be specific to each one
I do not know how to design a such HMI
Thank you very much
Posted
Updated 14-Jun-11 23:25pm
v2

1 solution

Well, your requirements are clear (but "2 selfgenerated , a soundWAV and soundMP3" add up to 4 not 5): I see five group boxes, each one with a listbox (for device selection) and slider (for volume setting), finally, at the bottom of the window, the play, pause, stop buttons.
 
Share this answer
 
Comments
kinani 15-Jun-11 8:08am    
thanks for request and for reporting the error ( indeed 3 selfgenerated 1 WAvsound and 1 MP3sound )but i dont know how can i have 5 group boxes in the same window with MFC and choose the sound type to be introduced?
CPallini 15-Jun-11 8:15am    
Indeed you may have multiple group boxes in MFC window. Try for instance, to use the resource editor for adding the group boxes to a dialog or a FormView.
kinani 15-Jun-11 8:24am    
thank you for help last question how can I choose the sound type to be played ? because in the beginning the user must choose sound types to be played
CPallini 15-Jun-11 8:27am    
What do you mean with 'sound type'?
kinani 15-Jun-11 8:28am    
there is 3 types of sound selfgenerated , WAVsound and MP3sound

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900