trouble shooting #735
-
In your example i2s to seral . I replace coper.copy with below 4 line for some trouble shooing . file is recorded but its audio is very strange and disturb . seem there is some sampling issue. but don't now why |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
above is 15 second recording so file size should be = 44100 (sampling frequency ) x 4 ( sampling bit 32 ) x 15 (seconds) = 2646000 bytes with copier.copy I get the exact size , so what make the size reduce ? their is not too much processing in the loop just read and write . |
Beta Was this translation helpful? Give feedback.
-
Files work with bytes and not with samples! Your size is completley wrong: You should find these kind of errors yourself! |
Beta Was this translation helpful? Give feedback.
Files work with bytes and not with samples! Your size is completley wrong:
it nees to be dataFile.write( (uint8_t *)raw_samples , bytes_read ) ;
You should find these kind of errors yourself!