Setup SuperCollider in Emacs

Dec 20, 2017 - 2 minutes
While SuperCollider IDE is more convenient than any other text editor, as it is tailor-made solution for editing sclang, I like to use Emacs for interactive coding. This post will demonstrate how to configure Emacs with SC3. The solution is based on this blog post by Gene De Lisa. This setup assumes that you have install SC3 using the pre-build dmg image file. Get the resources Emacs Lisp files Make sure to get the Emacs Lisp files for SC3 integration.

Setup MATLAB in Emacs and babel orgmode

Dec 19, 2017 - 2 minutes
There are few steps to setup MATLAB working in Emacs and few more to get working in babel orgmode. This works in MacOS 10.12.6, Emacs 25.3.1 and MATLAB 2017b (also tested in El Capitan with R2016b and Emacs 24.5.1). For the first step, I found one response from MathWorks Support Team. The basic idea is that the stack size in shell for Mac computers has to be multiple of 4KB, whereas Emacs has does not have a fixed stack size.

The very firsts step to SC3

Oct 30, 2017 - 2 minutes
SuperCollider is a powerful programming environment for live music making. It is a textual programming language, combined with a state-of-art sound engine. The basic architecture is based on client-server model, which means that you launch two separate applications, the language (sclang, client) and the sound synthesis engine (scsynth, server). The online help is available at sccode, and the mailing list at nabble. How to start In order to make some sound, the first step is to launch scsynth.

Get RSS feed entries in orgmode from orgtable

Oct 28, 2017 - 2 minutes
Orgmode can read RSS feeds by calling the function org-feed-update-all. In this post I wrote a function that can read RSS entries from an orgmode table. Then it assigns these entries to the variable org-feed-alist. The basic idea is to manage my feeds list in a handy manner. My emacs init file is written in orgmode format, so I can edit my RSS feed entries in my to add or remove entries in a convenient manner.

Using python to call different code blocks in babel

Oct 16, 2017 - 3 minutes
This entry has two main ways to call different code blocks from babel. The first example is based on an example from Eric Shulte org-scraps using session header argument and the second is based on a noweb example that I found here. Also, the last example shows how to call a named code block using #+CALL. Persistent python Import modules from scikit-learn library using untitled session header argument. The example below shows the raw orgmode content.