Skip to content

Instantly share code, notes, and snippets.

Maxime Chevalier-Boisvert maximecb

Block or report user

Report or block maximecb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maximecb
maximecb / music.csv
Created May 19, 2018
Python program to sequence MIDI music using a CSV spreadsheet
View music.csv
X kick snare
X
X
X
X kick
X
X
X
X kick snare clap
X
View random.cpp
// Header files
#include "random.h"
// Initialize the constants for 64 bit random values
// Xn+1 = A * Xn + B (mod 2^64)
const uint64 CRandomGenerator::A_CONSTANT_64 = (uint64)(0x27BB2EE6)*(0x010000)*(0x010000) + (uint64)(0x87B0B0F);
const uint64 CRandomGenerator::B_CONSTANT_64 = 0xB504F32D;
// Initialize the constants for 32 bit random values
// Xn+1 = A * Xn + B (mod 2^32)
You can’t perform that action at this time.