2012-06-01から1ヶ月間の記事一覧

M+フォントとFontForgeの虫下し

あらすじ M+フォントがWindows7で使えない (http://mplus-fonts.sourceforge.jp/cgi-bin/blosxom.cgi/mplus_fonts/mplus_fonts-120624-2.html コメント欄参照) 原因 FontForgeがOS/2テーブルに正しいデータを書きだしていない。 詳細 M+フォントには書体が7…

PythonからGStreamerを叩く

#!/usr/bin/python from __future__ import print_function import sys from gi.repository import GLib import pygst pygst.require("0.10") import gst class HelloGst: def __init__(self): self.loop = GLib.MainLoop(None, False) self.pipeline = gst.…

HaskellからGStreamerを叩く

-- Main.hs module Main where import qualified System.Glib.MainLoop as G import qualified Media.Streaming.GStreamer.Core as Gst maybeFail :: String -> Maybe a -> IO a maybeFail message = maybe (fail message) return busCall loop bus message …

信号処理言語 Faust

Ubuntuだとaptからインストールできる。 チュートリアルにあるプログラムを少し改変したもの。 // square.dsp A = hslider("Amplitude", 0.5, 0, 1, 0.1); d = hslider("Cyclic ratio", 0.5, 0, 1, 0.1); T = hslider("Period", 1, 0.1, 100.0, 0.1); N = 44…

音を鳴らす言語

備忘 Pure Data — PD Community Site Home // Overtone ChucK => Strongly-timed, On-the-fly Audio Programming Language Faust