Skip to content

Commit

Permalink
Add first pass of WSG waveforms generated by wsg-slice.
Browse files Browse the repository at this point in the history
  • Loading branch information
tschak909 committed Oct 19, 2024
1 parent 75905db commit 3e4f711
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions sound-work/waveforms.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#ifndef WAVEFORMS_H
#define WAVEFORMS_H 1

#define WAVEFORM_SIZE 32

unsigned char waveforms[8][32] =
{
{
0xf0, 0x10, 0x20, 0x30, 0x40, 0x50, 0x50, 0x60, 0x60, 0x60, 0x50, 0x50,
0x40, 0x30, 0x20, 0x10, 0xf0, 0xd0, 0xc0, 0xb0, 0xa0, 0x90, 0x90, 0x80,
0x80, 0x80, 0x90, 0x90, 0xa0, 0xb0, 0xc0, 0xd0
},
{
0xf0, 0x40, 0x60, 0x60, 0x50, 0x30, 0x10, 0x20, 0x30, 0x30, 0x20, 0x10,
0xe0, 0xc0, 0xb0, 0xd0, 0xf0, 0x10, 0x30, 0x20, 0x00, 0xd0, 0xc0, 0xb0,
0xb0, 0xc0, 0xd0, 0xb0, 0x90, 0x80, 0x80, 0xa0
},
{
0xf0, 0x20, 0x40, 0x50, 0x60, 0x50, 0x40, 0x20, 0xf0, 0xc0, 0xa0, 0x90,
0x80, 0x90, 0xa0, 0xc0, 0xf0, 0x30, 0x50, 0x60, 0x50, 0x30, 0xf0, 0xb0,
0x90, 0x80, 0x90, 0xb0, 0xf0, 0x60, 0xf0, 0x80
},
{
0xf0, 0x50, 0x30, 0x00, 0x30, 0x50, 0x10, 0xe0, 0x30, 0x60, 0x40, 0xf0,
0x10, 0x20, 0xe0, 0xa0, 0xf0, 0x40, 0x00, 0xc0, 0xd0, 0xf0, 0xa0, 0x80,
0xb0, 0x00, 0xd0, 0x90, 0xb0, 0xe0, 0xb0, 0x90
},
{
0x80, 0x00, 0x70, 0xf0, 0x90, 0x00, 0x60, 0xf0, 0xa0, 0x00, 0x50, 0xf0,
0xb0, 0x00, 0x40, 0xf0, 0xc0, 0x00, 0x30, 0xf0, 0xd0, 0x00, 0x20, 0xf0,
0xe0, 0x00, 0x10, 0xf0, 0xf0, 0x00, 0x00, 0xf0
},
{
0xf0, 0x00, 0xe0, 0x10, 0xd0, 0x20, 0xc0, 0x30, 0xb0, 0x40, 0xa0, 0x50,
0x90, 0x60, 0x80, 0x70, 0x80, 0x70, 0x90, 0x60, 0xa0, 0x50, 0xb0, 0x40,
0xc0, 0x30, 0xd0, 0x20, 0xe0, 0x10, 0xf0, 0x00
},
{
0x80, 0x90, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0, 0x00, 0x10, 0x20, 0x30,
0x40, 0x50, 0x60, 0x70, 0x70, 0x60, 0x50, 0x40, 0x30, 0x20, 0x10, 0x00,
0xf0, 0xe0, 0xd0, 0xc0, 0xb0, 0xa0, 0x90, 0x80
},
{
0x80, 0x90, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0, 0x00, 0x10, 0x20, 0x30,
0x40, 0x50, 0x60, 0x70, 0x80, 0x90, 0xa0, 0xb0, 0xc0, 0xd0, 0xe0, 0xf0,
0x00, 0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70
}
};

#endif /* WAVEFORMS_H */

0 comments on commit 3e4f711

Please sign in to comment.