Obviously there are a lot of answers to this question. I dont know the keyboard but I guess the internal speakrs will not be too great. Also the onboard sound card of a laptop = practically any laptop - will be poor. Think first about getting decent external sound card/device for this if you intend to use it. You can buy these cards cheap enough. Dont buy an old card and make sure its latency is good enough - 0.6 msec or under. The lower the better. You can also get USB to MIDI cables very cheap at ebay. I use a few of these. Make sure they are 64 bit compatible if you are 64 bit.
MIDI is like a score, it makes no sound by itself, its a digital score written for the computer. BIAB interprets this and makes sound.
Now there is also the issue of the quality of your MIDI's target sounds - if you are using only RealTracks then this does not matter (as these are AUDIO recordings not MIDI) but if you ar using MIDI in BIAB then you need to get a decent synth. There are literaly thousands of synths but you need a GM type synth (misnomer) This means that there will be a simulation of each instrument - piano guitar basses etc that is linked in and fired off by MIDI in BIAB. The better the synth the better the sound. Forte (the paid version) is available through PG fro a small price, I feel its good enough for me.
If you want to get speakers then budget wise Tannoy Reaveals are good.

MIDI and Audio are two entirely different concepts and its important to know the difference - google
Also there are two ways of getting a computer to sound like a piano or guitar etc you can sample the real thing, or you can emulate the sound using algorithms (code).

All of the above four concepts have virtues and disadvantages. I would auggest these are key concepts and the way tehy are used is part of BIAB and any other music application


Win 11 64, Asus Rog Strix z390 mobo, 64 gig RAM, 8700k