I am an engineering student, and during this semester we have used Proteus in a subject to simulate electronic circuits.
I have a question about playing .wav files. Is there a way to loop the sound?
I want to add some logic to the circuit, p.e. reproducing the sound attending to some ATMega128P statments.
My options for now are
- Give up with using .wav files and try to use synthetic ugly sounds.
- Use ATMega128P and PWM, this way I can reproduce the sound anytime. (But Proteus freezes and does not work adequately).
- Try to loop manually the song, (p.e. 10 minutes loop of the same song), this way I can control when to activate the sound. By putting a Mosfet-Switch between the signal and the speaker.