2011-06-20 Clojure sound

Sound Synthesis & Playback in Clojure

I've been playing with sound in Clojure lately so I thought I'd document what I've learned.

This tutorial covers generating simple, clean sounds of desired frequency (sines) and accessing Java Sound API (it's not that scary, really). We'll start with nothing and at the end, we'll even play some melody with synthesized sounds :) (no instruments, pre-recorded samples or whatsoever).

Entry level: know where your repl is.

Continue Reading… Comments

2011-05-16 GUI FTW Clojure event handling

Reintroducing GUI FTW & Progress Report

I meant this post to be a simple translation of this but some things changed that are worth mentioning.

Continue Reading… Comments

2011-04-04 GUI FTW Clojure Java event handling

Zdarzenia w GUI FTW

Tradycyjnie w Swingu bądź SWT żeby obsłużyć zdarzenie musimy utworzyć nową implementację jakiegoś interfejsu, np. MouseListener a potem go zarejestrować w obiekcie, którego zdarzenia nas interesują:

Continue Reading… Comments

2011-03-20 Clojure GUI FTW

Niech się stanie GUI FTW!

Ponieważ uwielbiam programowanie deklaratywne brakowało mi od dawna czegoś deklaratywnego do tworzenia GUI. Kod tworzący GUI jest zawsze bardzo nudny i powtarzalny: "stwórz obiekt, ustaw jego tekst, ikonę, dodaj akcję na klik (wcześniej stwórz obiekt implementujący odpowiedniego listenera), ew. stwórz obiekty-dzieci, bla bla bla".

Continue Reading… Comments

Toggle: Abstracts, All Tags
Long-standing Bug: All Articles, About, RSS
Tags: Clojure[4] GUI FTW[3] C++[2] HTML[2] Java[2] JavaScript[2] Makeblog[2] event handling[2] make[2] CoffeeScript[1] LOL[1] OpenGL[1] Python[1] WebGL[1] fail[1] graphics[1] pyparsing[1] screenshot[1] slideshow[1] sound[1]
© Copywrong 2011 Szymon Witamborski