However you can save PCM to wave format, in order to do it, you have to add a header to the raw PCM array. ![]() The purpose of visualizer is not to get PCM to record it, but (surprisingly) to visualize the sound wave, so there might be some quality issues. I found another way, use Visualizer class. I know this is not the expected answer but it's better than nothing, if you are so desperate to try one of these method I can provide some sample code and links. This is really tough, specially when have to deal with sounds of different instruments (strings,drums etc), using samples could reduce the work, maybe. The wire I'm talking about is very similar to RCA connectors with stereo audio + video, I know it sounds mad, but it depends on what you're doing.Ģ- Assuming that you don't need to record the midi while actually playing it, you can read the midi file and then synthesize the sound yourself. ![]() I used it to pass an audio stream source to the phone, elaborate it and then send it to a third devices. What you'd need, is a cable that split the three signals so that you can connect the stereo output to the input, in a sort of short circuit, and record the midi from the microphone input. ![]() So, I thought two really-not-clean ways:ġ- Most of devices have got a 3.5mm jack socket with 3 channels, 2 for stereo output and one for microphone input. I thought it was possible to use an AudioRecorder to record directly from a MediaPlayer, setting the Mediaplayer as audiosource of the recorder,but it seems there's no way to do that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |