Re: how to play bytebeat on openbsd?

2024-02-05 Thread beecdaddict
ah after bumping up the 8 I find it to be more-less the same as with sox! thank you I think the problem was -c has to be 0:0 :) and also -o came useful I forgot how to read manual (I was looking for it in manual but I didn't know what I was looking for) I can delete sox now and have less

Re: how to play bytebeat on openbsd?

2024-02-05 Thread Alexandre Ratchov
On Mon, Feb 05, 2024 at 02:21:17PM +0100, Alexandre Ratchov wrote: > Play the result: > > ./a.out | aucat -e u8 -c 0:1 -r 8000 -i - ^^^ should be "-c 0:0", but "-c 0:1" may also make sense for certain one-liners ;-)

Re: how to play bytebeat on openbsd?

2024-02-05 Thread Alexandre Ratchov
On Fri, Feb 02, 2024 at 06:41:46PM -, beecdadd...@danwin1210.de wrote: > hello > > I've tried for hours to play bytebeat as everyone else > > I cannot find anything on the entire internet > > all I got is `cat a.out >> /dev/speaker)` as root.. a.out is compiled code , a > loop and

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

Re: how to play bytebeat on openbsd?

2024-02-02 Thread Nick Owens
back when i used to mess with these, i frequently used `sox` to play the 8-bit samples. it can do the sample conversion for you to whatever the system needs. On Fri, Feb 2, 2024 at 11:08 AM Omar Polo wrote: > > On 2024/02/02 18:41:46 +, beecdadd...@danwin1210.de wrote: > > hello > > > > I've

Re: how to play bytebeat on openbsd?

2024-02-02 Thread Omar Polo
On 2024/02/02 18:41:46 +, beecdadd...@danwin1210.de wrote: > hello > > I've tried for hours to play bytebeat as everyone else > > I cannot find anything on the entire internet > > all I got is `cat a.out >> /dev/speaker)` as root.. a.out is compiled code , a > loop and

Re: how to play bytebeat on openbsd?

2024-02-02 Thread beecdaddict
there is this video with some C code https://youtube.com/watch?v=GtQdIYUtAHg these are some examples On Fri, February 2, 2024 6:41 pm, beecdadd...@danwin1210.de wrote: > hello > > I've tried for hours to play bytebeat as everyone else > > > I cannot find anything on the entire internet > > > all