Reading wav files to array >> Passive Income >> Forum
Forum

Forum



SearchSearch   Users   Registration   Entrance
Today: 31.07.2025 - 19:19:57
Pages:  1  

Reading wav files to array

Advertising

.
MessageAuthor

Hi! Is there some built in functionality in WDL-OL that concerns itself with loading wav files? I am absolutely terrified by the prospective of having to link external libraries. It always ends with a heartattack, while crying in front of the computer. I have some basic knowledge of how to read wav files, but I'd rather not having to reinvent the wheel. Thank you for your time!

-------------------------------

djKibblez

users




Statistics:
Messages: 403
Registration: 05.21.2003
06.02.20 - 08:35:54
Message # 1
RE: Reading wav files to array

Sorry, there are no wav file parsing features in WDL or IPlug. You will need to roll your own code or use an external library. libsndfile is probably the best 3rd party library for dealing with sound files, but unfortunately like you suspected, it will be difficult to use it in a plugin context.

-------------------------------

Echo3Dawg

users




Statistics:
Messages: 66
Registration: 05.15.2003
06.02.20 - 08:47:34
Message # 2
RE: Reading wav files to array

I have written a simple WAV reader class a while ago that will read a WAV file into an array. However, it doesn't do any bit conversions. You will find it in the 'wavread' branch of my WDL repo.

-------------------------------

djKibblez

users




Statistics:
Messages: 403
Registration: 05.21.2003
06.02.20 - 08:55:21
Message # 3
RE: Reading wav files to array

Oh, I could certainly use some reference material Tale. But I have to admit that I never got into git and such solutions, and since I can't find it in your master branch, I have to ask you for guidance on how to retrieve your wavread branch. Edit: Nevermind, I managed to retrieve it. Thank you Tale!

-------------------------------
"If at first you don't succeed, then skydiving definitely isn't for you."

Eric

users




Statistics:
Messages: 232
Registration: 09.17.2002
06.02.20 - 08:58:46
Message # 4
RE: Reading wav files to array

I guess you could download the files from here: Or else I could upload them somewhere.

-------------------------------

E368Dude

users




Statistics:
Messages: 42
Registration: 08.14.2003
06.02.20 - 09:09:56
Message # 5
RE: Reading wav files to array

Someone who wants to share an example?

-------------------------------
2000 CTSC NSX 2007 Acura TL-S

RicN

users




Statistics:
Messages: 479
Registration: 03.06.2001
06.02.20 - 09:14:53
Message # 6
RE: Reading wav files to array
Post production improvements for v4 : Previous topicNext topic: Reason question... Can any of [i]you[/i] help me?
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants