Skip to content

Instantly share code, notes, and snippets.

Avatar

Etsushi Nozaki peterleif

  • sigboost, Inc.
  • Tokyo, Japan
View GitHub Profile
@peterleif
peterleif / sysex.node
Last active Apr 25, 2020
改変版sysex.node
View sysex.node
<Comment>
Copyright (c) 2018-2020, sigboost, inc., All Rights Reserved.
This file is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.
<I/O>
input Int : Trigger output
output MidiSysEx : Output
<Description>
Construct MIDI System Exclusive Message.
@peterleif
peterleif / Dockerfile
Created Aug 5, 2019
Yocto build dockerfile based on Ubuntu 16.04
View Dockerfile
# To build:
# docker build --no-cache --build-arg "host_uid=$(id -u)" --build-arg "host_gid=$(id -g)" --tag "yocto:latest" .
# GID and UID are needed to obtain access permission to mounted shared directory
FROM ubuntu:16.04
ENV DEBIAN_FRONTENV noninteractive
# Add the 32-bit arch for compat libraries
RUN dpkg --add-architecture i386
@peterleif
peterleif / audio_test.py
Last active Nov 2, 2017
Python audio test
View audio_test.py
# -*- coding: utf-8 -*-
import numpy as np
import wave
chunk = 1024
fname = 'audio_sample.wav'
foname = 'audio_sample_out.wav'
@peterleif
peterleif / bblayers.conf
Last active May 5, 2017
bblayers.confとlocal.conf
View bblayers.conf
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
${HOME}/build/poky/meta \
${HOME}/build/poky/meta-poky \
@peterleif
peterleif / yocto-setup.sh
Created Apr 13, 2017
Yoctoビルド環境セットアップスクリプト (for Ubuntu 16.04)
View yocto-setup.sh
#!/bin/bash
# Locale settings to support UTF-8
locale-gen en_US.UTF-8
echo 'export LANG=en_US.UTF-8' >> .bashrc
echo 'export LANGUAGE=en_US:en' >> .bashrc
echo 'export LC_ALL=en_US.UTF-8' >> .bashrc
# Add the 32-bit arch for compat libraries
dpkg --add-architecture i386