Opening any file as a .wav

For general discussion related FlowStone
Post Reply
toni_aguirre
Posts: 5
Joined: Sun Sep 29, 2013 3:51 pm

Opening any file as a .wav

Post by toni_aguirre »

In audacity it is possible to load any file as raw data and play it. Is there a way to make a simple VST to load any file ,read it as a .wav and use it as in a simple sampler?
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Opening any file as a .wav

Post by KG_is_back »

you may try to change the extension of the file to .wav and try to open it. It will most likely not work. Another way, that should work is to use dll component to load a file as a raw PCM data, put the data into a float array and use that. Or to convert the file into temporary wav file, load it with wave file prim and delete it afterwards.
Exo is working on loading wave files with pointer data and also mp3 converters using DLL compoment. Perhaps he can help you.
toni_aguirre
Posts: 5
Joined: Sun Sep 29, 2013 3:51 pm

Re: Opening any file as a .wav

Post by toni_aguirre »

KG_is_back wrote:you may try to change the extension of the file to .wav and try to open it. It will most likely not work. Another way, that should work is to use dll component to load a file as a raw PCM data, put the data into a float array and use that. Or to convert the file into temporary wav file, load it with wave file prim and delete it afterwards.
Exo is working on loading wave files with pointer data and also mp3 converters using DLL compoment. Perhaps he can help you.

How can I do so?
Exo
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK
Contact:

Re: Opening any file as a .wav

Post by Exo »

What kind of results are you expecting? I cannot imagine it would be very pleasing to the ear and would likely just result in noise.

That is unless an algorithm is written to covert it to something more musical.

But yes using the dll component would be the only way. I currently don't have time or much interest in doing such a thing.
Flowstone Guru. Blog and download site for Flowstone.
Best VST Plugins. Initial Audio.
Post Reply