Android: SONiVOX MIDI DLS

android/platform/external/sonivox/arm-hybrid-22k/lib_src/hybrid_22khz_mcu.c

android/platform/external/sonivox/arm-wt-22k/lib_src/wt_22khz.c

android/platform/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/wt_44khz.c

https://android.google......

2015-08-07 00:209AndroidMIDI

Music: The Range of Danso

音乐:短箫的音域

Using the scientific pitch notation:

使用科学音调记号法:

The range of danso is G4 to G6.

短箫的音域为G4至G6。

Using the Helmholtz pitch notation:

使用亥姆霍兹音调记号法:

The range of danso is g1 to g3.

短箫的音域为g1至g3。

References:

参考资料:

https://github.com/musesc......

2015-08-05 00:3412InstrumentMusicMIDI

Music: The Range of Koto

音乐:日本筝的音域

Using the scientific pitch notation:

使用科学音调记号法:

The range of koto is G2 to B5.

日本筝的音域为G2至B5。

Using the Helmholtz pitch notation:

使用亥姆霍兹音调记号法:

The range of koto is G to b2.

日本筝的音域为G至b2。

References:

参考资料:

https://github.com/musesco......

2015-08-05 00:3011InstrumentMusicMIDI

Music: The Range of Erhu

音乐:二胡的音域

Using the scientific pitch notation:

使用科学音调记号法:

The range of an early amateur erhu player who can play is D4 to A6.

早期业余二胡演奏者可以演奏的音域为D4至A6。

The typical range of a professional erhu player who can play is D4 to A7.

专业二胡演奏者可以演奏的典型音域为D4至A......

2015-08-04 22:3416InstrumentMusicMIDI

Linux Kernel: nf_conntrack_max

net/netfilter/nf_conntrack_core.c

int nf_conntrack_init_start(void)

{

int max_factor = 8;

int i, ret, cpu;

for (i = 0; i < CONNTRACK_LOCKS; i++)

spin_lock_init(&nf_conntrack_locks[i]);

if (!nf_conntrack_htable_size) ......

2015-08-03 22:319KernelLinux

Linux Kernel: Resource Limits

Releases before v3.0-rc1:

include/asm-generic/resource.h

/*

* boot-time rlimit defaults for the init task:

*/

#define INIT_RLIMITS \

{ \

[RLIMIT_CPU] = { RLIM_INFINITY, RLIM......

2015-07-31 22:169KernelLinux

Iconv Multiple Files

find . -type f -name '*.txt' -exec sh -c 'iconv -f gb18030 -t utf8 {} > {}.red54tmp && mv {}.red54tmp {}' \;

2015-07-23 01:3310Commands

Adapter Pattern

道教徒者,得法无量天尊。

佛教徒者,得法阿弥陀佛。

今有佛寺,行法阿弥陀佛。

适配器者,阿弥转无量也。

Object Adapter Pattern:

Ruby Code:

class T道教徒

def initialize 名字

@名字 = 名字

end

def 无量天尊

puts "无量天尊,贫道乃#{@名字}。"

end

end

class B佛教徒

def initialize 名字

......

Linux Driver: "ndo_set_mac_address" Function

int (*ndo_set_mac_address)(struct net_device *dev, void *addr);

This function is called when the Media Access Control address needs to be changed.

If this interface is not defined, the mac address can not be changed.

Header:

include/linux/netdevi......

2015-06-01 17:168DriverLinux

OS X: Set Node.js Path

export NODE_PATH=/usr/local/lib/node_modules

2015-06-01 17:077Node.jsOS XCommands