Replay wav audio

Discussion on both general simulation and Proteus VSM microcontroller simulation.
Post Reply
dudehabib
Unlicenced User
Posts: 1
Joined: Tue 2021-05-25 16:49

Replay wav audio

Post by dudehabib »

Hi there,

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.
Is there a better way? Some property to loop the automatically? Some way to save the wave (without complicated sampling-memory-arduino stuff)? :cry:
Post Reply