midi / morse.h

static const uint8_t morse[] PROGMEM = {
	[0x0005] = 'A', // .-
	[0x0018] = 'B', // -...
	[0x001a] = 'C', // -.-.
	[0x000c] = 'D', // -..
	[0x0002] = 'E', // .
	[0x0012] = 'F', // ..-.
	[0x000e] = 'G', // --.
	[0x0010] = 'H', // ....
	[0x0004] = 'I', // ..
	[0x0017] = 'J', // .---
	[0x000d] = 'K', // -.-
	[0x0014] = 'L', // .-..
	[0x0007] = 'M', // --
	[0x0006] = 'N', // -.
	[0x000f] = 'O', // ---
	[0x0016] = 'P', // .--.
	[0x001d] = 'Q', // --.-
	[0x000a] = 'R', // .-.
	[0x0008] = 'S', // ...
	[0x0003] = 'T', // -
	[0x0009] = 'U', // ..-
	[0x0011] = 'V', // ...-
	[0x000b] = 'W', // .--
	[0x0019] = 'X', // -..-
	[0x001b] = 'Y', // -.--
	[0x001c] = 'Z', // --..
	[0x002f] = '1', // .----
	[0x0027] = '2', // ..---
	[0x0023] = '3', // ...--
	[0x0021] = '4', // ....-
	[0x0020] = '5', // .....
	[0x0030] = '6', // -....
	[0x0038] = '7', // --...
	[0x003c] = '8', // ---..
	[0x003e] = '9', // ----.
	[0x003f] = '0', // -----
	[0x0055] = '.', // .-.-.-
	[0x0073] = ',', // --..--
	[0x004c] = '?', // ..--..
	[0x005e] = '\'', // .----.
	[0x006b] = '!', // -.-.--
	[0x0032] = '/', // -..-.
	[0x0036] = '(', // -.--.
	[0x006d] = ')', // -.--.-
	[0x0028] = '&', // .-...
	[0x0078] = ':', // ---...
	[0x006a] = ';', // -.-.-.
	[0x0019] = '=', // -..-
	[0x002a] = '+', // .-.-.
	[0x0061] = '-', // -....-
	[0x004d] = '_', // ..--.-
	[0x0052] = '"', // .-..-.
	[0x0089] = '$', // ...-..-
	[0x005a] = '@', // .--.-.
};
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.