This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
short * resampler_generate_phase_set(double ratio, int * count) | |
{ | |
int phase_inc; | |
int j; | |
int phase; | |
short * phases, * phase_ptr; | |
int step, window_step; | |
// determine number of sub-phases that yield lowest error | |
const int max_res = RESAMPLER_RESOLUTION; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <WinAPI.au3> | |
#include <SendMessage.au3> | |
While 1 | |
Sleep( 50 ); | |
Local $hWnd | |
$hWnd = _WinAPI_FindWindow( "LogiSmoothScrlBckGrndWnd", "LogiSmoothScrlBckGrndWnd" ) | |
If $hWnd Then | |
_SendMessage( $hWnd, 0x757, 1, 1 ); | |
EndIf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
../AnotherXG 2.1.sf2pack | |
../SGM-V2.01.sf2pack | |
000 Classical Piano.sf2pack | |
001 Bright Piano.sf2pack | |
002 Electric Grand.sf2pack | |
003 Honky-Tonk.sf2pack | |
004 Electric Piano 1.sf2pack | |
005 Electric Piano 2.sf2pack | |
006 Harpsichord.sf2pack | |
007 Clavinet.sf2pack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Interprets a sysex string | |
char *interpret_sysex(unsigned char *s, int len) | |
{ | |
static char buf[256], timbreName[16]; | |
int i, j; | |
buf[0] = '\0'; | |
switch (s[0]) // Manufacturer ID | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Max Devaine <maxdevaine@gmail.com> | |
# Contributor: Christopher Snowhill <chris@kode54.net> | |
pkgname=multivnc-git | |
pkgver=1.6.4.r3.g8a1bdfe | |
pkgrel=1 | |
pkgname='multivnc' | |
pkgdesc='MultiVNC is a cross-platform Multicast-enabled VNC viewer using wxWidgets and libvncclient' | |
arch=(i686 x86_64) | |
url='http://github.com/bk138/multivnc' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
05:56:37 PM: Debug: | |
05:56:37 PM: Debug: wxServDisc 0x195e980: about to query '_rfb._tcp.local.' | |
/usr/include/wx-3.0/wx/strvararg.h(451): assert "(argtype & (wxFormatStringSpecifier<T>::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type [in thread 7fc3811bc700] | |
Call stack: | |
[00] wxOnAssert(char const*, int, char const*, char const*, char const*) | |
[01] wxAnyButton::~wxAnyButton() | |
[02] wxThreadHelperThread::Entry() | |
[03] wxThread::CallEntry() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XG MSB/LSB/P: GS MSB/P | |
0/1/0: 8/0 | |
64/0/0: 1/120 | |
0/1/1: 8/1 | |
64/0/1: 3/120 | |
0/1/2: 8/2 | |
0/40/2: 1/2 | |
0/41/2: 2/2 | |
64/0/2: 4/120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Max Devaine <maxdevaine@gmail.com> | |
# Contributor: Christopher Snowhill <chris@kode54.net> | |
pkgbase=multivnc-git | |
pkgname=$pkgbase | |
pkgver=1.6.4.r4.g18c96f6 | |
pkgrel=1 | |
pkgname='multivnc' | |
pkgdesc='MultiVNC is a cross-platform Multicast-enabled VNC viewer using wxWidgets and libvncclient' | |
arch=(i686 x86_64) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// LoadESFM("drivers/es1969.sys", 35904, 64, "esfm"); | |
static void LoadESFM(const char* fn, size_t file_offset, unsigned bank, const char* prefix) | |
{ | |
FILE* fp = std::fopen(fn, "rb"); | |
std::fseek(fp, file_offset, SEEK_SET); | |
std::vector<unsigned char> data(28 * 256); | |
std::fread(&data[0], 1, data.size(), fp); | |
std::fclose(fp); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdlib.h> | |
#include <string.h> | |
#define _USE_MATH_DEFINES | |
#include <math.h> | |
#ifndef M_PI | |
#define M_PI 3.14159265358979323846 | |
#endif |