The way this is accomplished is via an audio interface, which is a peripheral that converts analog signals made by microphones and other instruments into digital ones that can be recorded into a computer. Have you ever wondered how people are able to connect instruments to computers? It’s not like laptops have a 1/4″ connector next to the USB input so you can directly plug in your electric guitar. The Scarlett 2i2 interface is a solid option for anyone not looking to break the bank.