1

enter image description here

Everything else seems to be fine but at the start of each recording (1 second each) there's a big amplitude spike, I'm wondering what is causing it and how to fix it.

-I'm using the correct mic (it is recording audio properly)

-2 Channel

-16 bit resolution

-Duration of 1 second

-Sample Rate 48000Hz

Thanks in advance for any aid that you are able to provide!

Curtis
  • 253
  • 4
  • 11
  • 1
    I think it is noise when you turn on microphone. How about giving some delay between turning on microphone and starting to record sound data? – KKS Feb 16 '17 at 04:11

1 Answers1

2

You are using an Express VI which will Initialise the hardware on start-up.

Rather open the diagram of the Express VI and recode it to have the Initialisation routine outside the While loop, and only the recording VI inside the loop.

Express VIs are not optimised for good coding practices. :-)

nekomatic
  • 5,988
  • 1
  • 20
  • 27
Deon
  • 36
  • 2