Sample converter to textfile

Post any examples or modules that you want to share here
Post Reply
carlbeat
Posts: 8
Joined: Wed Jan 02, 2013 1:45 pm

Sample converter to textfile

Post by carlbeat »

Hi guys,

I'm looking for a shematic file where I can convert an Aiff or wave sample into a text file - that means that the wav or aiff sample that will be loaded, should be automatically converted in a wavetable textfile. I've ssen some basic solutions in the old SM-forum , but I havent't found a real pro one. Maybe someone could help?

Best regards
Carl
tulamide
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Sample converter to textfile

Post by tulamide »

I don't know what you mean with "pro one". A sound file is just a bunch of numbers. After you've loaded the .wav you can convert the mem to a float array and save this array to a text file. While testinjg, you could just link the float array to a text prim to see the values (but careful, with growing sizes the text prim gets really slow)
"There lies the dog buried" (German saying translated literally)
Post Reply