Hello,
Is there an official example project for playing arbitrary sine wave via MQS?
My configuration:
I found it surprising to see so little MQS code example even in the forum.
Thanks!
Thanks Jeremy.
Google translate says that the code attached in that post plays some "music". Is there an example for playing sin wave?
Also is there a way to host the two zip files in this official forum? I think there is no easy way to register a "nxpic" account for non-China residents.
Hi @alfredatai ,
Thanks for your reply.
Please check the attachment, further, it needs to convert the sine wave audio signal into the C array, then the MQS can 'play' it.
BR,
Jeremy
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
@jeremyzhouthanks for uploading the zip files. I wished they were for RT1050 and with GCC toolchain though.
> it needs to convert the sine wave audio signal into the C array
I tried to make use of the sine wave function as-is in the 1050 demo app (`PlaybackSine()`) but I found the sine wave "shifted" up/down. This is measure on MQS-right after the low-pass filter:
Can you think of what could I misconfigured (there are just very little registers for MQS)? Is there an example for playing a sine wave via MQS?
Hi @alfredatai
Please follow the post to convert the WAV file to a C array via the WAVToCode.
Jeremy
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
First time hearing about the WAVToCode conversion. I will give that Windows program a try, thanks!
I still have a few questions regarding MQS:
Thanks again.
Hi @alfredatai
Thanks for your reply.
Regarding to your purpose, I'd like to suggest you ask for some advice via the below email address, as I'm not very clear about the limitations of MQS.
Voice@nxp.com
Jeremy
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi @alfredatai ,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you refer to the post.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------