<commit_before>package main

import (
	"os/exec"
	"io"
	"bytes"
)

import . "github.com/splace/signals"

var OneSecond = X(1)

func play(s Function) {
	cmd := exec.Command("aplay","-f","S16","-r","44100")
	out, in := io.Pipe()
	go func() {
		io.Copy(in, bytes.NewReader(NewPCMFunction(s, OneSecond*3, 44100, 2).(PCM16bit).PCM.data))
		in.Close()
	}()
	cmd.Stdin=out 
	err := cmd.Run()
	if err != nil {
		panic(err)
	}
}

func main(){
	play(Looped{Modulated{Pulse{OneSecond}, Looped{Pulse{OneSecond*4/10}, OneSecond*6/10}, Stack{Sine{OneSecond/450},Sine{OneSecond/400}}}, OneSecond*3})
}


/*  Hal3 Fri Apr 29 00:28:36 BST 2016 go version go1.5.1 linux/amd64
Fri Apr 29 00:28:36 BST 2016 */
/*  Hal3 Fri Apr 29 00:31:06 BST 2016 go version go1.5.1 linux/amd64
Fri Apr 29 00:31:06 BST 2016 */

<commit_msg>data>Data<commit_after>package main

import (
	"os/exec"
	"io"
	"bytes"
)

import . "github.com/splace/signals"

var OneSecond = X(1)

func play(s Function) {
	cmd := exec.Command("aplay","-f","S16","-r","44100")
	out, in := io.Pipe()
	go func() {
		io.Copy(in, bytes.NewReader(NewPCMFunction(s, OneSecond*3, 44100, 2).(PCM16bit).PCM.Data))
		in.Close()
	}()
	cmd.Stdin=out 
	err := cmd.Run()
	if err != nil {
		panic(err)
	}
}

func main(){
	play(Looped{Modulated{Pulse{OneSecond}, Looped{Pulse{OneSecond*4/10}, OneSecond*6/10}, Stack{Sine{OneSecond/450},Sine{OneSecond/400}}}, OneSecond*3})
}



{'fraction_non_alphanumeric': 0.19628836545324768, 'fraction_numerical': 0.08565310492505353, 'mean_word_length': 4.434108527131783, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6308420', 'n_tokens_mistral': 692, 'n_tokens_neox': 598, 'n_words': 116}