K
K
kirilakw2016-12-20 12:28:31
Audio
kirilakw, 2016-12-20 12:28:31

How to play sounds into the microphone by pressing the keys?

Hello, how to play sounds by pressing a certain key, for example Num1 (Sound # 1) Num2 (Sound # 2) and so on

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Mirilaczvili, 2016-12-26
@kirilakw

Sounds are not reproduced in the microphone, but in the loudspeaker.
Handling keystrokes - depending on the components for building the UI (see Delphi, Visual Studio, ...).
In general, the search keyword is: MIDI .
Of the libraries, there are many different ones: NAudio, PortAudio, ...
This topic is called "Digital Signal Processing" and, in particular, "Digital Audio Processing".
In the simplest case, you can synthesize sound using the beep function.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question