WAV file read: int, long, or double #54
Answered
by
psambit9791
LiveNathan
asked this question in
Q&A
Replies: 2 comments 1 reply
-
This just selects the datatype that you want to load the data as.
…On Sun, 27 Nov 2022 at 18:44, Nathan Lively ***@***.***> wrote:
Hi! Why do I need to choose this? How do I make the decision?
Here's an example file I'm reading:
https://s3.amazonaws.com/appforest_uf/f1660040393454x716545782075606000/Y12%20ARC-48k.wav
—
Reply to this email directly, view it on GitHub
<#54>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDM6PBN5YX6PU6SZTXWBQDWKOTXNANCNFSM6AAAAAASMUWTLI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LiveNathan
-
They are but in case the user needs scaled values as doubles, we can use
double to read the file as a 2D array of double size.
…On Mon, 28 Nov 2022 at 19:28, Nathan Lively ***@***.***> wrote:
Ah, ok. I'm not super familiar with WAV format, but isn't it natively int
values?
Ultimately, I'm going to convert it to double to perform a normalization,
so I guess I might as well read it in as doubles.
—
Reply to this email directly, view it on GitHub
<#54 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDM6PDNUKOUUZQ44WCVZRLWKUBXHANCNFSM6AAAAAASMUWTLI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Why do I need to choose this? How do I make the decision?
Here's an example file I'm reading: https://s3.amazonaws.com/appforest_uf/f1660040393454x716545782075606000/Y12%20ARC-48k.wav
Beta Was this translation helpful? Give feedback.
All reactions