LoginLogin

Custom Waveforms

Root / FAQs / [.]

AveryCreated:
Is it possible to break a waveform into pieces, set some of those pieces as custom instruments, play them in order, and replace the instruments and play them back again to play in indefinite, continuous waveform? I think that can be a way of playing back recordings from the microphone, and maybe songs sent over PetitModem. I have not familiarized myself with the background music commands yet.

Yes, it's possible. WAVSETA is the command which reads in a waveform into an instrument. However from my experiments it seems they're always limited to 1 second, and there's a glitchy buzz at the end of each user instrument...

If your waves come down to 0 at their start/end points, the buzz might go away or be less prominent. The click probably comes from the PCM channel not bottoming-out before playing the next waveform.

Is it possible to transfer a WAV through Petit Modem? I figured out how to use waveforms as custom instruments and sounds last night, but the built in mic just isn't very good. My brother has a really nice microphone, so I would love to be able to transfer some high quality samples from my computer into SmileBASIC. Would I just need to save the recording as a binary file, transfer it, and then use WAVESETA?

I'm having trouble playing back my waveforms at the right pitch. It also seems to loop and overlap in some weird way I don't understand.

Don't forget about that nice "edit" button

Don't forget about that nice "edit" button
I am editing, and I still don't understand.