Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Opening any file as a .wav

For general discussion related FlowStone

Opening any file as a .wav

Postby toni_aguirre » Thu Feb 12, 2015 6:09 pm

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?
toni_aguirre
 
Posts: 5
Joined: Sun Sep 29, 2013 3:51 pm

Re: Opening any file as a .wav

Postby KG_is_back » Thu Feb 12, 2015 6:37 pm

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.
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Opening any file as a .wav

Postby toni_aguirre » Mon Feb 16, 2015 12:07 pm

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?
toni_aguirre
 
Posts: 5
Joined: Sun Sep 29, 2013 3:51 pm

Re: Opening any file as a .wav

Postby Exo » Mon Feb 16, 2015 2:54 pm

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.
Exo
 
Posts: 426
Joined: Wed Aug 04, 2010 8:58 pm
Location: UK


Return to General

Who is online

Users browsing this forum: No registered users and 46 guests