Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
"""A collection of functions and algorithms inspired by Godfried Toussaint's, | |
'Geometry of musical rhythm'. | |
A rhythm in the context of this module is represented by a list of attack's | |
(onsets) with no duration. Example a steady 4 x 4 beat could be denoted | |
as the list: | |
[1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0] | |
""" |
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 <Python.h> | |
#include <sqlite3.h> | |
#include <spatialite/gaiaexif.h> | |
#include <rasterlite.h> | |
#define RASTERLITE_WRAP(NAME, FUNC, TYPE) \ | |
static PyObject * NAME(PyObject *self, PyObject *args) { \ | |
PyObject *object; \ | |
void *handle = NULL; \ |
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
#!/usr/bin/env python | |
import os | |
import re | |
from subprocess import PIPE | |
from subprocess import Popen | |
try: | |
from plistlib import loads as readPlistFromString | |
except ImportError: | |
from plistlib import readPlistFromString |