[Tool]Pokitto Badass SFX Editor

release
tool

#1

badass

We’re going to settle this sound generation problem once and for all

First step is that you’re going to get a) samples support b) an editor, that allows you to test different kind of sounds AND will output the necessary code to generate the sound

8000 Hz playback version of SFXeditor

sfxed8k.bin (119.7 KB)

11025 Hz playback version

sfxed11k.bin (119.7 KB)

16000 Hz playback version

sfxed16k.bin (119.7 KB)

22050 Hz playback version

sfxed22k.bin (119.7 KB)

Some example sounds:

Badass alien craft passing by:
setOSC(&osc1,1,5,1,1,1,60,254,6,5,244,6,-300,-2,12,1,0);

Accelerating Atari2600 race car:
setOSC(&osc1,1,3,0,0,0,30,209,18,17,244,18,60,1,0,1,0);

Classic Laser blaster:
setOSC(&osc1,1,1,1,1,1,61,254,0,19,2,0,-215,-20,0,0,0);


#2

Almost ready.

Visual ADSR envelope to explain how attack, decay, sustain and release work

in the corner, shows the actual line of code needed on pokitto to reproduce the sound!


#3

Yep

sfxedit.bin (119.7 KB)


#4

If Ahti (3 yrs of age) can use it, so can you!


#5

Sounds very good on hw too!


#6

That’s through the speaker jack though!


#7

Sounds good also through the internal speaker! Good work.

One suggestion: there could be a small red dot indicating where in the ADSR envelope we are going.

P.s. The code line example is a great idea!


#8

The sound editor is for the Pokitto itself? Nice!


#9

Hmm… I do not seem to get the usual ADSR graph by changing the ADSR parameters. Meaning this:

Either sustain or release do not work as expected in the graph.


#10

Attack is a rate 1-255, 0 is instant
Decay is a rate 1-255, 0 is off
Sustain is a volume level, 0-255
note: sustain has no effect, if there is no decay set
Release is a rate, 0-255. Note that Release should not be > sustain


#11

Oh yes, now I understand. Yep, sustain is only 1 parameter(level). Duration is not set separately


#12

Ok, so it differs somewhat of ADSR used in e.g. C64. As I understood in C64 there is a gate bit. Setting it starts ADSR, and clearing it ends the sustain phase and starts the release phase. The gate bit is like pressing and releasing a piano key.


#13

There is no sine wave? It should be there, that’s the basic wave.


#14

It requires a look-up table, no big deal


#15

Added some example sounds to help you get started: