Re: Wav file on pc speaker

new topic     » goto parent     » topic index » view thread      » older message » newer message

Don Scott wrote:
>
> Any way to get a wav file to play on a pc speaker? No sound cards allowed
> at work!
> Thanks,
> Don Scott

Yes, but it requires setting up a high speed interrupt, by reprogramming
the system timer.  I'm not sure if this will conflict with tick_rate() in
Euphoria.  The sound quality will not be very good; effectively 1-bit
mono.  Having a high playback rate would also degrade system performance.

But some sound is better than no sound at all.

So I ask the question: should I add pc speaker support to ModWave?

--
                   _____         _____        _____
    ________      /\    \       /\    \      /\    \
   /   \    \    /  \____\     /  \____\    /  \____\
  /  _  \____\  /   / ___/_   /   /____/   /   / ___/_
 /  / \  |___| /   / /\____\ /    \    \  /   / /\____\
 \  \_/ /    / \   \/ / ___/_\     \    \ \   \/ / ___/_
  \    /____/   \    / /\    \\/\   \    \ \    / /\    \
   \   \    \    \   \/  \____\  \   \    \ \   \/  \____\
    \   \    \    \      /    /   \   \____\ \      /    /
     \   \____\    \    /    /     \  /    /  \    /    /
      \  /    /     \  /    /       \/____/    \  /    /
       \/____/       \/____/xseal at harborside.com\/____/

http://www.harborside.com/home/x/xseal/euphoria/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu