tkzilla / rsa_api_python_27

Old Python 2.7 RSA_API examples and old pre API version 3.6 examples
1 stars 0 forks source link

AUDIO_GetData #1

Open Mitchell1314 opened 7 years ago

Mitchell1314 commented 7 years ago

Hi sir, Your python-api have been applied to my application and help me a lot. Now, I want to use AUDIO_GetData function which can be found in "!RSA306-API-Reference-077103101-RevA.pdf" to generate a wav file so I can record fm broadcast. But I don't know how to set the params so I can get a nice wav file. Can you give me some help? Maybe you can add it to your examples? Thank you! Waiting for your reply.

blistergeist commented 7 years ago

Hi Mitchell, Great, I'm glad it's been helpful! The AUDIO_GetData() function only grabs the audio data and stores it in an array, you'll have to generate the .wav file using that data. I don't have any experience with generating .wav files, but I'll see what I can do as far as creating examples.

Just out of curiosity, can you tell me more about your project? Sounds interesting.

Mitchell1314 commented 7 years ago

Hi blistergeist, I feel so sorry that I can not tell you more about my projects for some reasons now. But after I complete it, i can share it with you. What's more,
1234

Do you have any idea to set the variables a,insize and outsize in my case? I have found that the values of variables will influence the wav file that I generated.