VOGONS

Common searches


Reply 21 of 21, by darkblacklife

User metadata
Rank Newbie
Rank
Newbie

I can't...

is only a square wave but i can't create this...

a pcm format buffer with 2 constants intervals (and looping) doesn't create a perfect audio out whith a square wave... divergent pulses appear where de "jump" occurs... I say "divergent" because are bigger than amplitud of square wave (some times bigger than 16bit maximum value)... I need other shape similar to square wave.... but i can't find it !!!!!... I need a general expresion for every frequency... I can't create the same pcspeaker dosbox emulation wave (sorry my inglish here...)

does dosbox use any audio library?
does dosbox use pulses to create a constant interval??? I tried using pulses (reading short pcm buffers with openal) but the square wave has irregular amplitud in some cycles... and dilatation of periods....

well.... i don't know..... i can't believe is so hard, I'm trying for days...