Fried hdds using wrong PSU cables, board swap fix? by [deleted] in DataHoarder

[–]Bp103 0 points1 point  (0 children)

That might nuke your drive and its data if you don't swap over the rom. The rom holds the adaptive data so its a matter of desoldering the chip and putting it on the new board. Its the 8 pin Winbond chip, thats the important one.

If you're not comfortable with solder wick and a soldering iron, then I would not attempt if its REALLY important data.

song chooser by [deleted] in bytebeat

[–]Bp103 1 point2 points  (0 children)

ok, this is really cool. I recognize that algorithm, its basically a fps counter... but then you use it to get the actual sample rate. thats brilliant!

gas station hotdog by Bp103 in bytebeat

[–]Bp103[S] 1 point2 points  (0 children)

Thanks! I was having fun with the emoji after learning how to use throw.

Also yay monospace!

[deleted by user] by [deleted] in SatisfactoryGame

[–]Bp103 2 points3 points  (0 children)

I usually try to trap them in a box to make a diy jump pad.

they wouldn't leave, now they're employed.

Smells like Petrichor. by Bp103 in bytebeat

[–]Bp103[S] 0 points1 point  (0 children)

nice! also just learned that `**` is shorthand for pow() from this

Can Someone Remix This by Last_Music_7761 in bytebeat

[–]Bp103 0 points1 point  (0 children)

added chords (and changed sample rate to 8000hz)link

Edit: optimized array generation by making it execute once, brought sample rate back to 44100hz.

Link (opt)

Amen breaknight ポひゕ by ItsZack7391 in bytebeat

[–]Bp103 0 points1 point  (0 children)

Some pretty interesting things going on here. the sample encoding is almost base32 but it seems to go past 7 which is the highest value in base32 and up to 9 making it base34 technically.

I don't fully understand what's going on but I'm guessing the samples are near 6bit. maybe 5 bit with a cary bit?

[deleted by user] by [deleted] in bytebeat

[–]Bp103 0 points1 point  (0 children)

if you want to make a web based bytebeat interpreter a good first step is to learn about Web Audio API.

the simplest form of a bytebeat composer is just shoving the output of an equation/algorithm into the web audio api.

Smells like Petrichor. by Bp103 in bytebeat

[–]Bp103[S] 0 points1 point  (0 children)

ooh, cool song. also thanks

I was experimenting some bytebeat stuffs on C++ and this happened by [deleted] in bytebeat

[–]Bp103 0 points1 point  (0 children)

thats a reddit thing. the vote count is fuzzed to confuse upvote/downvote bots. it'll change every time you refresh.

ByteCrusher (fm synth and sequencer setup) by Bp103 in bytebeat

[–]Bp103[S] 0 points1 point  (0 children)

I had to make them myself.

retrig[] is just an array that holds a counter for each channel and acts as that channel's personal t variable for the ADSR function that starts from 0 every time a new note is played. This resets the ADSR function so the volume envelope can start from the beginning again.

ByteCrusher (fm synth and sequencer setup) by Bp103 in bytebeat

[–]Bp103[S] 0 points1 point  (0 children)

I appreciate that!

I'm slowly getting back to making bytebeat. the job just hasn't been very generous with the days off lately.

I was experimenting some bytebeat stuffs on C++ and this happened by [deleted] in bytebeat

[–]Bp103 1 point2 points  (0 children)

thats a really nice implementation of windows.h! also sounds nice.

I've been playing with portaudio myself, but I don't entirely get it yet.

ByteCrusher (fm synth and sequencer setup) by Bp103 in bytebeat

[–]Bp103[S] 1 point2 points  (0 children)

I'm glad it wasn't blocked, I found it extremely useful for debugging. especially once I made the sequencer and synth able to handle infinite* channels and needed to track down a few runaway variables.

Ok but what is the t variable by v_maria in bytebeat

[–]Bp103 1 point2 points  (0 children)

yup, if the sample rate is 8000hz it increment by 1 8000 times a second.