This file contains hidden or 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 <stdio.h> | |
#include <stdint.h> | |
#include <math.h> | |
#define RATE 44100.0 | |
#define PI 3.1415926535897932384626 | |
#define F_DOMAIN_SIZE 64 | |
#define SONG_LENGTH 96 | |
#define CHORD_LENGTH 4 |
This file contains hidden or 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
#!/bin/bash | |
# Commit ref of current HEAD | |
start_commit="$(git rev-parse HEAD)" | |
# Commit ref of what is to be checked out | |
dest_commit="$1" | |
# First common ancestor commit between the two branches | |
ancestor="$(git merge-base HEAD "$dest_commit")" |