Search found 28 matches

by Arun Joe
Mon 2018-03-05 17:56
Forum: Microcontroller Software
Topic: Can I record 16bit PCM with 4000sps using VS1053?
Replies: 0
Views: 705

Can I record 16bit PCM with 4000sps using VS1053?

Hi,
I have tried recording in 16bit PCM with 8000sps and it is working fine,
but now I need to record audio at 16bit or 8 bit pcm with 4000 sps , due to some speed limitations.
Can I achieve it using VS1053?

Regards,
Joe
by Arun Joe
Thu 2017-11-23 15:44
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

Re: How to create an Audio File using raw data from VS1053 Encoder

Hi,
I fixed all the issues, wave file was not recognized because I was saving it in .wav format form the notepad.
I think the encoding might change in that case?, I used a hex editor application and it worked fine.

Thank You.

Regards,
Joe
by Arun Joe
Thu 2017-11-23 13:09
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

Re: How to create an Audio File using raw data from VS1053 Encoder

Hi,
I'm able to play the raw file after changing to little endian format and setting the size
properly, but when saved as .wav file type, im getting the following error message in VLC
VLC can't recognize the input's format:
.

How can I fix this?

Regards,
Joe
by Arun Joe
Thu 2017-11-23 1:02
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

Re: How to create an Audio File using raw data from VS1053 Encoder

Hi, I fixed it,this happened because I was reading both higher and lower bits but via UART only the highest bit was sent. Sorry to Trouble you :cry: :| . I can play the file in Audacity with 16bit format now. I have attached a sample file. Original audio can be found in the link given https://www.yo...
by Arun Joe
Wed 2017-11-22 8:52
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

Re: How to create an Audio File using raw data from VS1053 Encoder

Hi,
Yes those values are correct.
viewtopic.php?f=7&t=1327&p=5866&hilit=b ... 1053#p5866
can you have a look at this link where exchanging of the bytes are given, and also my code.
am I dong it correct.
Regards,
Joe
by Arun Joe
Mon 2017-11-20 18:50
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

Re: How to create an Audio File using raw data from VS1053 Encoder

Hi,
The Value in SCI_MODE mode register is 0x1804.

Code: Select all

SS_WriteVS1053_Register(VS1053_MODE,0x1804);
Regards,
Joe
by Arun Joe
Sat 2017-11-18 18:23
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

Re: How to create an Audio File using raw data from VS1053 Encoder

Hi, This is the configuration I have used, SS_WriteVS1053_Register(VS1053_AICTRL0,8000); SS_WriteVS1053_Register(VS1053_AICTRL1,4096); SS_WriteVS1053_Register(VS1053_AICTRL2,0); SS_WriteVS1053_Register(VS1053_AICTRL3,6);//1 channel PCM 1. Yes I'm reading the higher and lower bytes from HDAT0 , below...
by Arun Joe
Wed 2017-11-15 15:45
Forum: Microcontroller Software
Topic: How to create an Audio File using raw data from VS1053 Encoder
Replies: 10
Views: 933

How to create an Audio File using raw data from VS1053 Encoder

Hi, I'm using VS1053 for recording and I'm able to get raw audio data and play it using AudaCity. Once confusion is that , the recording is done in 16 bit linear format ,8000sps, but AudaCity is playing the recorded file properly,only if the configurations are set to 8bit signed format, 8000sps and ...
by Arun Joe
Wed 2017-07-26 8:34
Forum: Microcontroller Software
Topic: Noise and discontinuity in WAV PCM 16bit 8000Hz Recording with VS1053b
Replies: 4
Views: 478

Re: Noise and discontinuity in WAV PCM 16bit 8000Hz Recording with VS1053b

Hi, I followed the WAV - PCM Encoding method described in the datasheet and used the same compressed plugin. you should be setting the software reset bit after loading the patch, not before. , I will try this out. the data is read through HADAT0 if (HADAT1 >= 128 && HADAT1 < 768 )//&& HADAT1 < 900//...
by Arun Joe
Tue 2017-07-18 16:26
Forum: Microcontroller Software
Topic: Noise and discontinuity in WAV PCM 16bit 8000Hz Recording with VS1053b
Replies: 4
Views: 478

Re: Noise and discontinuity in WAV PCM 16bit 8000Hz Recording with VS1053b

Hi, The SPI Clock was set initially to 1.25Mhz and after writing SS_WriteVS1053_Register(VS1053_CLOCKF,0xC000); to CLOCKF , the SPI clock was increased to 5Mhz in the Code. Below given is the register configurations used, SS_WriteVS1053_Register(VS1053_MODE,0x0804);//Clear SM_ADPCM form Mode0 Regist...