Skip to content

Instantly share code, notes, and snippets.

View martensjostrand's full-sized avatar

Mårten Sjöstrand martensjostrand

View GitHub Profile
(ns repl-test.mud-experiment
(:use [overtone.live])
(:use [overtone.studio.scope])
(:use mud.core)
(:require [mud.timing :as timing]))
(defn bpm->rate-of-16 [bpm]
(* (/ bpm 60) 4.))
(ctl timing/root-s :rate (bpm->rate-of-16 127))
(ns overtone-failure.failure
"Simple but resource comsuming beat..."
(:use [overtone.live]))
; This loop plays until SC fail with "FAILUE /s_new too many nodes"
; when node 1025 is created
; (event-debug-on) gives 1024
; event: [:overtone :osc-msg-received] (:msg {:path "/n_go", :type-tag "iiiii", :args (1023 32 1021 -1 0)})
;
Hurra!
@martensjostrand
martensjostrand / pom.xml
Last active January 24, 2024 21:40
Empty pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>groupId</groupId>
<artifactId>artifactid</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>projectName</name>