-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
92 lines (85 loc) · 3.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
layout: default
---
<div class="hero px-3 py-3 pt-md-5 pb-md-4 mx-auto text-center">
<h1 class="display-4">{{ site.title }}</h1>
<p class="lead">{{ site.description }}</p>
</div>
<div class="hero mx-auto">
<pre class="prettyprint"><code>npm install scribbletune</code></pre>
<p>
Let's put something together. Create a file called chords.js and paste the
following in it,
</p>
<pre class="prettyprint"><code>const scribble = require('scribbletune');
const clips = ['1032', '2032', '4021', '3052'].map(order =>
scribble.clip({
pattern: '[xx][xR]'.repeat(4),
notes: scribble.arp({
chords: 'Dm BbM Am FM BbM FM CM Gm',
count: 8,
order,
}),
accent: 'x-xx--xx',
})
);
scribble.midi([].concat(...clips), 'chords.mid');
</code></pre>
<p>
Now execute that file in the terminal at the same location as you saved it,
</p>
<pre class="prettyprint"><code>node chords.js</code></pre>
<p>
This will generate a MIDI file called chords.mid in the same location as you
executed this script. You can import this file into any music production
software like Ableton Live or even Garage Band! Here's how it sounded when I
did that and rendered it with a couple of synths and the same chords on a
pad sound:
</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay"
src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/652853867&color=%23080404&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true"></iframe>
<br /><br /><br />
<!-- <div>
<h3>Create classic breakbeats</h3>
<p>
Here's a quick video on how to use Scribbletune to create classic breakbeats.
</p>
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/NaJnn36Ad0A"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div> -->
<br />
<div>
<h3>Use Scribbletune in Ableton Live!</h3>
<p>
If you use Ableton Live, then you can
<a href="https://maxforlive.com/profile/user/walmik">download the Max for
Live devices</a> created with Scribbletune!
<a href="/documentation/max">Click here</a> to learn more about using
Scribbletune in Ableton Live through Max for Live.
</p>
<p><img src="images/scribble4max.png" /></p>
</div>
<br />
<!-- <div>
<h3>Exotic scale devices (free)</h3>
<p><a href="https://raw.githubusercontent.com/scribbletune/exotic-scale-devices/master/Melakarta.zip">Download</a> a
set of 72 Melakarta ragas categorized by Chakras scale devices for Ableton Live!</p>
<p><img src="https://raw.githubusercontent.com/scribbletune/exotic-scale-devices/master/melakarta.jpg" /></p>
</div> -->
<div>
<a href="/documentation">Read the documentation</a> or show your ❤️ on <a href="https://github.com/scribbletune/scribbletune">Github <img class="social-icon" src="/images/icons/gh.svg" alt="Star on Github" /></a>
</div>
<!-- <div>
<h3>Use Scribbletune to produce full length tracks!</h3>
<p>Scribbletune and scribble4max devices can be used to create full length tracks. Here's a recent track that uses
Scribbletune to the max ;)</p>
<iframe width="100%" height="166" scrolling="no" frameborder="no" allow="autoplay"
src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/848593498&color=%23080404&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false"></iframe>
</div> -->
</div>