Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns additive | |
(:use [overtone.live])) | |
;; Is it possible to schedule events "dynamically": to let | |
;; the score determine what is played next and _when_? This could be | |
;; an interesting way of doing additive rhythmical pieces: | |
;; The input would be some kind of pattern describing what to play | |
;; Also, we would provide a coll of transformations applied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; This is enough to compose some simple techno track and get input of | |
;; what needs done! Slow transitions is one thing.... | |
(def kick-2 (sample "/Users/axelgagge/sound/Roland_TR-909/TR-909Kick12.wav")) | |
(def open-hat (sample "/Users/axelgagge/sound/Roland_TR-909/TR-909HatO03.wav")) | |
(def clap (sample "/Users/axelgagge/sound/Roland_TR-909/TR-909Clap.wav")) | |
(def cajon5 (sample "/Users/axelgagge/sound/ETHNIC_PERCUSSION/Cajon5.wav")) | |
(def congas5 (sample "/Users/axelgagge/sound/ETHNIC_PERCUSSION/Congas5.wav")) | |
(def congas19 (sample "/Users/axelgagge/sound/ETHNIC_PERCUSSION/Congas19.wav")) | |
(def cwblck8 (sample "/Users/axelgagge/sound/ETHNIC_PERCUSSION/cwblck8.wav")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# admin.py: | |
from copy import deepcopy | |
from django.contrib import admin | |
from mezzanine.pages.admin import PageAdmin | |
from mezzanine.pages.models import Page | |
from .models import ProjectPage | |
my_page_fieldsets = deepcopy(PageAdmin.fieldsets) | |
my_page_fieldsets[0][1]["fields"] += ("thumbnail",) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: testchild | |
... osv ... | |
*/ | |
@import url(../twentyeleven/style.css); | |
div#wrapper { | |
margin: auto; | |
width: 960px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head>...</head> | |
<body> | |
<div id="wrapper"> | |
<div id="header">....</div> | |
<div id="main"> | |
<!--- Huvudsakligt innehåll ---> | |
<div id="container"> | |
<div id="content"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: testchild | |
... osv ... | |
*/ | |
@import url(../twentyeleven/style.css); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: testchild | |
Theme URI: http://make-all.se | |
Description: Beskrivning här... | |
Author: testert | |
Author URI: http://make-all.se | |
Template: twentyeleven | |
Version: 0.1 | |
. | |
Övriga kommentarer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from random import randint | |
from time import clock | |
import matplotlib | |
import matplotlib.pyplot | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$exempel = get_posts('post_type=exempel'); | |
foreach( $exempel as $idx => $post ) { | |
setup_postdata($post); | |
} | |
?> |
NewerOlder