According to Asrock, these 4-short beeps mean that it's a system timer failure, 3-short beep codes mean that a Main memory read / write test error has occured.
Asrock beep codes list
What you should do:
Remove new hardware
If any new hardware has been recently added to the computer, remove that hardware to make sure it is not the cause of your issue. If your computer works after removing the new hardware, it can mean a few things. Either the new hardware is not compatible with your computer, a system setting needs to be changed, or the new hardware is defective.
Remove any disks or USB devices
Remove any disks, CDs, or DVDs that are in the computer. If any USB devices (iPods, drives, phones, etc.) are connected, disconnect all of them as well. Reboot the computer and see if anything changes.
Disconnect external devices
Remove everything from the back of the computer, except the power cable. Turn on the computer and see if it beeps normally. If the computer has never beeped, keep the monitor or display connected to see if any change occurs.
Reconnect and check power cords
If the computer is not getting enough power or the power is getting interrupted, the computer can encounter problems. Disconnect your power cables from any power strip or UPS and connect the computer directly to a known good wall outlet.
Identify beep code
If you are receiving a sequence of beeps, see the beep code page i have provided on top.
Check all fans
Make sure all fans are running on the computer. If a fan has failed (especially the heat sink fan for the CPU), your computer could be overheating or detecting the fan failure, causing the computer not to boot.
Check all cables
Verify that all the cables are securely connected to the computer and that there are no loose cables by firmly pressing in each cable.
All disk drives should have a data cable and power cable connected to them.
Your power supply should have at least one cable going to the motherboard. Many motherboards may also have additional cables connected to them to supply power to the fans.
Disconnect all expansion cards
If the above recommendations still have not resolved the irregular POST, disconnect the riser board (if applicable) and each of the expansion cards. If this fixes the problem or allows the computer to POST, connect one card at a time until you determine which card is causing the problem.
Disconnect all drives
If you cannot diagnose the problem by the beep code (or you do not hear a beep code), power off the computer. Then, disconnect any IDE, SATA, SCSI, or other data cables from the motherboard. When they are disconnected, try booting the computer again.
If this resolves your irregular POST or generates error messages, reconnect each device until you determine which device or cable is causing the issue. In some situations, it can also be a loose cable connection that causes the issue.
Remove the RAM
If you continue to experience the same problem with all the above hardware removed, remove the RAM from the motherboard and turn on the computer. If the computer has a different beep code or if your computer was not beeping and is now beeping, turn off your computer and try the below suggestions. Make sure to turn off the computer each time you are adding and removing the memory and then turning the computer back on to see if the suggestion resolves the issue.
Re-insert the memory into the same slot.
If you have more than one stick of memory, remove all but one stick of memory and try rotating through each stick.
Try one stick of memory in each slot.
If you can get the computer to boot with one or more of the sticks of memory installed, it is likely you are dealing with some bad memory. Try to identify which stick of memory is bad and replace it.
If you can get the memory to work in one slot but not another slot, the motherboard is likely defective. You can either workaround the issue by running the memory in a different slot that does work or replace the motherboard.
Power cycle the computer
In some situations, a computer may have power related issues often caused by either the power supply or the motherboard. To help determine if this is the cause of your issue, try turning the computer on, off, and back on as fast as possible, making sure the computer power light goes on and off each time. In some situations, you may be able to temporarily get the computer to boot.
Warning: Try this method only as a temporary workaround or as a last resort to get any valuable information off of the computer.
Disconnect and reconnect the CPU
For users who are more comfortable working inside their computer, one last recommendation is to reseat the CPU by removing it and re-inserting it into the socket. You could also try applying fresh thermal compound between the CPU and the heat sink.
Loose BIOS chip
If your motherboard has a BIOS chip, it can become loose over time due to heat expansion and cause the computer to give an irregular POST. Gently press down on the BIOS chip to make sure it has not become loose.
Bad motherboard, CPU, RAM, or power supply
If you have tried all of the above recommendations and continue to have the same issue, it is likely that you have a bad motherboard, power supply, CPU, or RAM stick. The next step would be either to replace these components or have the computer serviced. If you plan on doing the repairs yourself, we suggest that you replace or swap in parts from another computer that is known to work. The order in which you should replace these parts is the motherboard first, then the RAM, the CPU, and finally, the power supply.
Hope it helps