Page 1 of 1

PixelWave help

Posted: Thu Mar 21, 2013 4:46 pm
by Soundbank
Yes, I'm using PixelWave on Windows through the Pixilang application, and I want to add a feature that saves the drawn sample in wav format upon keypress, say F12. I'm just learning the language now, but this is a specific case I need to address. Is there a set of lines I must add to the .pixi, or a tutorial that shows you how to do it? I'm serious I want to export samples, not just play them back.

Oh, yes, I just signed up, please bear with me, I have experience in Music Theory, and I want to make some music with this language at my side.

I'm adept with 8-bit and 16-bit music, and I'm currently making music for a map I'm designing for a UT99 mod.

Finally, thanks for reading this thread, I hope to learn more about this language.

Re: PixelWave help

Posted: Fri Mar 22, 2013 8:44 pm
by NightRadio
Hi!
I want to add a feature that saves the drawn sample in wav format upon keypress
You need the drawn waveform only? Or you need the whole recorded sound with echo?

Re: PixelWave help

Posted: Wed Mar 27, 2013 9:34 pm
by Soundbank
Drawn waveform only, please.

Re: PixelWave help

Posted: Wed Mar 27, 2013 9:44 pm
by NightRadio
This waveform is in the sample_data container.
Just add the following code somewhere: save( sample_data, "waveform.wav", FORMAT_WAVE )