-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
756 lines (386 loc) · 23 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head profile="http://gmpg.org/xfn/11">
<meta charset="utf-8">
<title>Sample & Hold | Ideas, thoughts and tutorials on audio programming & more</title>
<meta name="author" content="Fred Ghilini">
<meta name="description" content="Make Fun of Your Launchpad With LaunchPlay VST Plugin Posted: by fredguile in vst plugins / audio units 0 I bought a Launchpad controller from …">
<!-- http://t.co/dKP3o1e -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="canonical" href="http://sample-hold.github.io">
<link href="/favicon.png" rel="icon">
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css">
<link href="/atom.xml" rel="alternate" title="Sample & Hold" type="application/atom+xml">
<script src="/javascripts/modernizr-2.0.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="./javascripts/lib/jquery.min.js"%3E%3C/script%3E'))</script>
<script src="/javascripts/octopress.js" type="text/javascript"></script>
<script src="/javascripts/twitter.js"></script>
</head>
<body>
<div id="page">
<div id="nav"><ul>
<li class="current_page_item">
<a href="/">Home</a>
</li>
<li class="page_item">
<a href="/about">About the author</a>
</li>
<li class="page_item">
<a href="/tutorials-index">Tutorials index</a>
</li>
<li class="page_item">
<a href="/projects">Projects</a>
</li>
<li class="page_item">
<a href="/useful-resources">Useful resources</a>
</li>
</ul></div>
<div id="header" role="banner"><h1>
<a href="/">Sample & Hold</a>
</h1>
<div class="description">Ideas, thoughts and tutorials on audio programming & more</div>
<div class="rss">
<a href="/atom.xml" title="RSS">stay updated via rss feed</a>
</div></div>
<hr/>
<div id="container">
<div id="sidebar" role="complementary">
<div class="search-box">
<form action="http://google.com/search" method="get">
<input type="hidden" name="q" value="site:sample-hold.github.io"/>
<input class="search-field" size="15" type="text" name="q" results="0" placeholder="Search"
value="search this site" onfocus="if(this.value == 'search this site') {this.value = '';}"
onblur="if (this.value == '') {this.value = 'search this site';}"/>
<input type="submit" value="" class="search-go"/>
</form>
</div>
<ul>
<li><h2>Follow me</h2>
<ul id="follow_me">
<li>
<a href="http://www.linkedin.com/in/fredericghilini" target="_blank">LinkedIn</a>
</li>
<li>
<a href="http://www.xing.com/profile/Frederic_Ghilini" target="_blank">Xing</a>
</li>
<li>
<a href="https://github.com/fredguile" target="_blank">GitHub</a>
</li>
</ul>
</li><li><h2>Recent Posts</h2>
<ul id="recent_posts">
<li class="post">
<a href="/2011/12/19/make-fun-of-your-launchpad-with-launchplay-vst-plugin/">
Make Fun of Your Launchpad With LaunchPlay VST Plugin
</a>
</li>
<li class="post">
<a href="/2011/11/23/create-a-fft-analyzer-part-v-final-thoughts-sources-for-xcode-4-2-feedback/">
Create a FFT Analyzer Part v: Final Thoughts, Sources for XCode 4.2 & Feedback
</a>
</li>
<li class="post">
<a href="/2011/11/23/create-a-fft-analyzer-part-iv-debugging-our-audio-unit-with-au-lab/">
Create a FFT Analyzer Part IV: Debugging Our Audio Unit With AU Lab
</a>
</li>
<li class="post">
<a href="/2011/11/23/create-a-fft-analyzer-part-iii-building-ui-with-cocoa-and-objective-c/">
Create a FFT Analyzer Part III: Building UI With Cocoa and Objective-C
</a>
</li>
<li class="post">
<a href="/2011/11/23/create-a-fft-analyzer-part-ii-designing-our-spectral-processor/">
Create a FFT Analyzer Part II: Designing Our Spectral Processor
</a>
</li>
</ul>
</li><li><h2>Categories</h2>
<ul id="category_list">
<li><a href='/category/general'>general (1)</a></li><li><a href='/category/vst-plugins-slash-audio-units'>vst plugins / audio units (7)</a></li>
</ul>
</li><li><h2>Popular tags</h2>
<div id="tag_cloud">
<a style="font-size: 28px" href="/tag/audio/">Audio</a>
<a style="font-size: 21px" href="/tag/c-plus-plus/">C++</a>
<a style="font-size: 12px" href="/tag/debugging/">Debugging</a>
<a style="font-size: 12px" href="/tag/launchpad/">Launchpad</a>
<a style="font-size: 27px" href="/tag/mac-os-x/">Mac OS X</a>
<a style="font-size: 12px" href="/tag/objective-c/">Objective-C</a>
<a style="font-size: 27px" href="/tag/xcode/">XCode</a>
</div>
</li><li><h2>License</h2>
<div class="textwidget">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
<img
alt="Creative Commons License"
style="border-width:0;padding:1em;"
src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png">
</a>
<br>
<span>Sample & Hold source code and articles</span>
by
<a href="http://sample-hold.github.io" rel="cc:attributionURL">Fred Ghilini</a> is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons
Attribution-NonCommercial-ShareAlike 3.0 Unported License</a>.
</div>
</li>
</ul>
</div>
<div id="content" role="main"><div class="column">
<div id="/2011/12/19/make-fun-of-your-launchpad-with-launchplay-vst-plugin">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/12/19/make-fun-of-your-launchpad-with-launchplay-vst-plugin/" rel="bookmark" title="Permanent Link to Make fun of your Launchpad with LaunchPlay VST plugin">
Make Fun of Your Launchpad With LaunchPlay VST Plugin
</a>
</h2>
<small>
Posted:
<time datetime="2011-12-19T05:00:26+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/12/19/make-fun-of-your-launchpad-with-launchplay-vst-plugin/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/12/19/make-fun-of-your-launchpad-with-launchplay-vst-plugin/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/launchplay-image.png"> I bought a Launchpad controller from Novation a few years ago, and although it’s a great midi interface offering a perfect native remote for Ableton Live sequencer, I couldn’t help thinking that this amazing tool could certainly be used in other unexpected ways, thus controlling alternate gears or software. So on the same time, I was both enjoying my Launchpad and drooling to what would have offered at more experimental controller such as <a href="http://monome.org/devices">monome device</a>…</p>
<p>Luckily, Novation made a programming guide available for the Lauchpad, as well as Ableton proposed an extended version of Live integrating Max/MSP (that is called “Max for Live”) that would help me satisfy my nerd-est desires. So I started to draft a layout for simple jamming. But I wanted more : my tool would work on any sequencer, with both Mac and Windows platforms, all of this requiring no additional license.</p>
<p>Evidently, I got a bunch of new ideas when I started writing for sample-hold.com: I was now dreaming about a VST plugin that would act as a MIDI effect, allowing pure jams with a touch of randomness. I think I’ve come up with a preliminary version called “LaunchPlay VST”. Let’s look at it and explain how to use this strange plugin…
<a rel="full-article" href="/2011/12/19/make-fun-of-your-launchpad-with-launchplay-vst-plugin/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/23/create-a-fft-analyzer-part-v-final-thoughts-sources-for-xcode-4-2-feedback">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/23/create-a-fft-analyzer-part-v-final-thoughts-sources-for-xcode-4-2-feedback/" rel="bookmark" title="Permanent Link to Create a FFT Analyzer part V: final thoughts, sources for XCode 4.2 & feedback">
Create a FFT Analyzer Part v: Final Thoughts, Sources for XCode 4.2 & Feedback
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-23T16:34:55+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-v-final-thoughts-sources-for-xcode-4-2-feedback/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-v-final-thoughts-sources-for-xcode-4-2-feedback/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/au.gif"> This part wraps up our tutorial on building an audio effect as Audio Unit for OS X Lion. Though it is not the craziest plug-in you’ll ever built, it made us learn some basis about DSP programming, as well it introduced the XCode environment for developing Audio Units. Of course, there are numerous improvements we could do on this project. In this article, I’ll make some remarks about my work and also a few issues I met during development. Last but not least, we recall the GitHub repository URL for you to grab the code and make our own version.</p>
<a rel="full-article" href="/2011/11/23/create-a-fft-analyzer-part-v-final-thoughts-sources-for-xcode-4-2-feedback/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/23/create-a-fft-analyzer-part-iv-debugging-our-audio-unit-with-au-lab">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/23/create-a-fft-analyzer-part-iv-debugging-our-audio-unit-with-au-lab/" rel="bookmark" title="Permanent Link to Create a FFT Analyzer part IV: debugging our Audio Unit with AU Lab">
Create a FFT Analyzer Part IV: Debugging Our Audio Unit With AU Lab
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-23T16:33:15+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-iv-debugging-our-audio-unit-with-au-lab/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-iv-debugging-our-audio-unit-with-au-lab/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/aulab2.png"> Debugging an Audio Unit is not as straightforward as debugging a Cocoa application, because your freshly coded component doesn’t show up until you insert it in a bus of your favorite DAW.</p>
<p>In this article, we review some methods for automating your debugging sessions using XCode 4. Concerning the DAW, our preference goes for a free host available in the CoreAudio SDK: AU Lab. In only a few steps, you will be able to setup some breakpoints and look into all potential devilish bugs as if you were debugging a simple Cocoa application.</p>
<a rel="full-article" href="/2011/11/23/create-a-fft-analyzer-part-iv-debugging-our-audio-unit-with-au-lab/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/23/create-a-fft-analyzer-part-iii-building-ui-with-cocoa-and-objective-c">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/23/create-a-fft-analyzer-part-iii-building-ui-with-cocoa-and-objective-c/" rel="bookmark" title="Permanent Link to Create a FFT Analyzer part III: building UI with Cocoa and Objective-C">
Create a FFT Analyzer Part III: Building UI With Cocoa and Objective-C
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-23T16:32:10+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-iii-building-ui-with-cocoa-and-objective-c/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-iii-building-ui-with-cocoa-and-objective-c/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/images1.jpeg?w=150"> In this part of the tutorial, we are going to design a Cocoa UI in order to draw the spectrum graph computed by our unit, in which we’ll create widgets so as to configure the FFT analysis.</p>
<p>Why using Cocoa? Well, for two reasons: I didn’t want to introduce a too complex API in this tutorial (such as OpenGL), and I would like to show you how to mix C++ and Objective-C in the same XCode project. Don’t worry, it doesn’t bother if you’re not experienced with Objective-C: we’ll make a straightforward use of it and we’ll clearly explain all the interactions between our GUI classes and our C++ code.</p>
<a rel="full-article" href="/2011/11/23/create-a-fft-analyzer-part-iii-building-ui-with-cocoa-and-objective-c/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/23/create-a-fft-analyzer-part-ii-designing-our-spectral-processor">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/23/create-a-fft-analyzer-part-ii-designing-our-spectral-processor/" rel="bookmark" title="Permanent Link to Create a FFT Analyzer part II: designing our spectral processor">
Create a FFT Analyzer Part II: Designing Our Spectral Processor
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-23T16:26:47+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-ii-designing-our-spectral-processor/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-ii-designing-our-spectral-processor/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/libs.jpeg"> We briefly introduced the FFT part of the Accelerated Framework in Part I of this tutorial.</p>
<p>We are now going to focus on the vDSP library and create the C++ class responsible for doing the spectral analysis work of our input samples. We want to keep it simple, with a few public methods, however we would like to perform FFT analysis on different frame sizes. So, one of our challenges is to design a circular buffer as member variable, which is a common pattern in audio programming.</p>
<a rel="full-article" href="/2011/11/23/create-a-fft-analyzer-part-ii-designing-our-spectral-processor/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/23/create-a-fft-analyzer-part-i-prerequisites-concerns-and-setup">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/23/create-a-fft-analyzer-part-i-prerequisites-concerns-and-setup/" rel="bookmark" title="Permanent Link to Create a FFT Analyzer part I: prerequisites, concerns and setup">
Create a FFT Analyzer Part I: Prerequisites, Concerns and Setup
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-23T16:17:44+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-i-prerequisites-concerns-and-setup/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/23/create-a-fft-analyzer-part-i-prerequisites-concerns-and-setup/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/capture-d_c3a9cran-2011-11-29-c3a0-13-31-29.png"> It’s time to build up our first audio unit.</p>
<p>For a start, I propose to create a spectrum analyzer which will help us to understand how we can realize basic sound analysis using the Fourier Transform. While this might sound scarily complex for non mathematician developers, you will smoothly read this tutorial if we first explain a few concepts about sound processing, without of course entering too deeply into the maths…</p>
<a rel="full-article" href="/2011/11/23/create-a-fft-analyzer-part-i-prerequisites-concerns-and-setup/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/23/getting-started-with-audio-units-on-os-x-lion-and-xcode-4-2-1">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/23/getting-started-with-audio-units-on-os-x-lion-and-xcode-4-2-1/" rel="bookmark" title="Permanent Link to Getting started with Audio Units on OS X Lion and XCode 4.2.1">
Getting Started With Audio Units on OS X Lion and XCode 4.2.1
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-23T15:59:23+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/vst-plugins-slash-audio-units/'>vst plugins / audio units</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/23/getting-started-with-audio-units-on-os-x-lion-and-xcode-4-2-1/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/23/getting-started-with-audio-units-on-os-x-lion-and-xcode-4-2-1/">0</a>
</div>
<div class="entry">
<p><img class="alignleft" src="/images/blog/home-ios-sdk.png"> Apple usually takes care of their developers community. Whereas they lately delivered an impressive update of their Xcode IDE with tons of new features (read a <a href="http://pilky.me/view/28">cool review here</a>), they surprisingly removed the project template for creating Audio Units. Nevertheless, let’s see how to create a new unit from scratch…</p>
<a rel="full-article" href="/2011/11/23/getting-started-with-audio-units-on-os-x-lion-and-xcode-4-2-1/" class="more-link">Read the rest of this entry →</a>
</div>
</div>
<div id="/2011/11/21/greetings">
<div class="posttitle">
<h2 class="pagetitle">
<a href="/2011/11/21/greetings/" rel="bookmark" title="Permanent Link to Greetings!">
Greetings!
</a>
</h2>
<small>
Posted:
<time datetime="2011-11-21T15:46:12+01:00" pubdate data-updated="true"></time>
by <strong>fredguile</strong>
<span class="categories">
in <a class='category' href='/category/general/'>general</a>
</span>
</small>
</div>
<div class="postcomments">
<a href="http://sample-hold.github.io/2011/11/21/greetings/#disqus_thread" data-disqus-identifier="http://sample-hold.github.io/2011/11/21/greetings/">0</a>
</div>
<div class="entry">
<p>Whether you have been thrown out here by Google or came deliberately… welcome! I’ll write a couple of audio tutorials in the next articles. The sole things you need are a OS X Lion and Xcode 4.2. Later, we may study other SDK/platforms like Steinberg VST and Windows. Have a nice reading !</p>
</div>
</div>
</div></div>
<hr/>
<div id="footer" role="contentinfo"></div>
</div>
</div>
<div id="footer-bott">Copyright © 2015 - Fred Ghilini |
Powered by <a rel="generator" href="http://octopress.org">Octopress</a>
</div>
<script type="text/javascript">
var dsq_scripts = [], dsq = null;
var disqus_shortname = 'sample-hold';
dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/count.js';
dsq_scripts.push(dsq);
$(function () {
$(dsq_scripts).each(function() {
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(this);
});
});
</script>
<div id="fb-root"></div>
<script>(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#appId=687955091216855&xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
(function() {
var script = document.createElement('script'); script.type = 'text/javascript'; script.async = true;
script.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(script, s);
})();
</script>
<script type="text/javascript">
(function(){
var twitterWidgets = document.createElement('script');
twitterWidgets.type = 'text/javascript';
twitterWidgets.async = true;
twitterWidgets.src = '//platform.twitter.com/widgets.js';
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
})();
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-44962545-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>