<commit_before>---
layout: post
title:  "Smack My Lazer - live coding"
date:   2016-04-25 19:18:00
categories: live-coding remake
---

In this post I'll introduce my live coding music environment built on top on [Overtone](http://overtone.github.io/) and [Leipzig](https://github.com/ctford/leipzig).

### TL;DR

This is an example session we'll be discussing here:

<iframe src="http://www.youtube.com/embed/JUq-YnuFt8w?color=white&theme=light"></iframe>

I'm using lots of samples from Major Lazer & DJ Snake - Lean On (feat. MØ) and a beat from Prodigy - Smack My B**ch Up.

### Main theme
First things first. To recreate the Lean On main theme we'll use Leipzig as in [previous post](http://overtone-recipes.github.io/remake/2016/04/03/recreating-da-funk.html). The notes are here:

![notes](/assets/images/leanon-notes.png)

And can be expressed as:

{% highlight clojure %}
(def leanon-chords
  [[-9 -2 0 2 4]<commit_msg>https<commit_after>---
layout: post
title:  "Smack My Lazer - live coding"
date:   2016-04-25 19:18:00
categories: live-coding remake
---

In this post I'll introduce my live coding music environment built on top on [Overtone](http://overtone.github.io/) and [Leipzig](https://github.com/ctford/leipzig).

### TL;DR

This is an example session we'll be discussing here:

<iframe src="https://www.youtube.com/embed/JUq-YnuFt8w?color=white&theme=light"></iframe>

I'm using lots of samples from Major Lazer & DJ Snake - Lean On (feat. MØ) and a beat from Prodigy - Smack My B**ch Up.

### Main theme
First things first. To recreate the Lean On main theme we'll use Leipzig as in [previous post](http://overtone-recipes.github.io/remake/2016/04/03/recreating-da-funk.html). The notes are here:

![notes](/assets/images/leanon-notes.png)

And can be expressed as:

{% highlight clojure %}
(def leanon-chords
  [[-9 -2 0 2 4]
{'fraction_non_alphanumeric': 0.13643746616134272, 'fraction_numerical': 0.030319436924742826, 'mean_word_length': 4.03542234332425, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, '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': '954981', 'n_tokens_mistral': 696, 'n_tokens_neox': 627, 'n_words': 209}