Re: [answered]Re: how to play bytebeat on openbsd?

2024-02-04 Thread beecdaddict
that does work, then why doesn't this work? ./a.out | sox -r 8000 -c 1 -t u8 - -d doesn't work but if uint8_t is changed to int, it works well.. also in sox sounds sounds different compared to say mpv, cannot decide which is better because I cannot seek forward in sox's play? can you make music

Re: [answered]Re: how to play bytebeat on openbsd?

2024-02-03 Thread Nick Owens
try piping to sox -r 8000 -c 1 -t u8 - -d for example, this should work as a demo: python3 -c 'import sys; [sys.stdout.write(chr(( t & (t >> 8)) % 256)) for t in range(2**19)]' | sox -r 8000 -c 1 -t u8 - -d On Sat, Feb 3, 2024 at 6:20 AM wrote: > > thank you, stranger! > > I found so many

[answered]Re: how to play bytebeat on openbsd?

2024-02-03 Thread beecdaddict
thank you, stranger! I found so many good C formulas, some sound like they could be used within a game, even has pauses with silence and everything! I had to find out how to use sox, though on another site: `sox -r 8000 -c -t u8 test.raw output.wav` what is weird is that I can't get bytebeats