On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin
.
from __future__ import division | |
from numpy.fft import rfft | |
from numpy import argmax, mean, diff, log, nonzero | |
from scipy.signal import blackmanharris, correlate | |
from time import time | |
import sys | |
try: | |
import soundfile as sf | |
except ImportError: | |
from scikits.audiolab import flacread |
/* | |
* Demonstrates how -copy and -retain are handled for different block types (stack, heap, global). | |
*/ | |
#import <Foundation/Foundation.h> | |
/* print a block -description to stdout */ | |
void PrintBlock (NSString *name, id b) { | |
NSString *str; | |
str = [NSString stringWithFormat: @"%@ (%@):\n\t-retain\t%@\n\t-copy\t%@\n\n", b, name, [[b retain] autorelease], [[b copy] autorelease]]; |
#import <Foundation/Foundation.h> | |
@interface Book : NSObject | |
{ | |
NSMutableDictionary *data; | |
} | |
@property (retain) NSString *title; | |
@property (retain) NSString *author; | |
@end |
// | |
// UIView+ViewArranging.h | |
// Created by on 15/05/2012. | |
// | |
#import <UIKit/UIKit.h> | |
typedef enum { | |
ViewArrangingDirectionHorizontal, | |
ViewArrangingDirectionVertical |
On mac:
/usr/local/bin
.