Programming

LiteDB: A NoSQL Database for .NET

Written by on February 14, 2021 in Programming with 0 Comments
LiteDB: A NoSQL Database for .NET

I have been looking around for a compact embedded NoSQL database library for .NET, to use as the back-end of my “iLexicon” system. “iLexicon” is written in Lisp and Prolog (I have written a few articles on it before). At present, the entire dictionary component (containing over 300,000 word entries) is resident in memory, and the […]

Continue Reading

Using L-System to Generate Music

Written by on January 31, 2021 in LISP, Music, Programming with 0 Comments
Using L-System to Generate Music

L-system is a powerful string rewriting system. Opusmodus supports an implementation of this system (inspired by and based on this implementation). It is possible to use the L-system to generate anything that can be described in terms of an alphabet and a set of rewriting rules.  Let us start with a simple example: As you can see, there are […]

Continue Reading

C++20 [[nodiscard]] Attribute

Written by on January 17, 2021 in C++, Programming with 0 Comments
C++20 [[nodiscard]] Attribute

[[nodiscard]] attribute “encourages” the compiler to issue a warning when the return value from a function is ignored. It was introduced in C++ 17 and enhanced in C++ 20 to include a string literal that can be used as an explanation of the warning. Let us look at different cases one by one. Case-1: An enumeration […]

Continue Reading

Using JFugue with External DAW

Written by on January 2, 2021 in LISP, Music, Programming with 0 Comments
Using JFugue with External DAW

Let this New Year 2021 bring health and happiness to us all! In the last article, I talked briefly about JFugue and showed how to access it from LispWorks Lisp on a PC running Windows 10. In that example, the music was rendered by the built-in synthesizer. Although this is fine, it is sometimes desirable to […]

Continue Reading

JFugue: A Java Library for Music Synthesis

Written by on December 20, 2020 in LISP, Music, Programming with 0 Comments
JFugue: A Java Library for Music Synthesis

JFugue is an open-source Java library that can be used for algorithmic music composition. Developed by David Koelle, currently it is in its fifth major version. You can get the library from here. I had downloaded the library some time ago, but could not spend much time since my primary focus has been on Opusmodus. This […]

Continue Reading

Using Falcon 2 with Opusmodus

Written by on December 6, 2020 in LISP, Music, Programming with 0 Comments
Using Falcon 2 with Opusmodus

The recently concluded Black Friday sale by UVI was an irresistible temptation for me and I ended up investing in Falcon 2 and a few other instruments. Although I have the latest versions of Ableton Live, Propellerheads Reason, Renoise, and Reaper, I felt Falcon 2 would be a good addition to my existing collection, mainly because […]

Continue Reading

A Library for Algorithmic Music Composition

Written by on November 22, 2020 in LISP, Music, Programming with 0 Comments
A Library for Algorithmic Music Composition

I have recently started implementing a library for algorithmic music composition. It provides higher-level algorithms and abstractions for composing multi-track music, and works with Opusmodus software. Opusmodus is a great platform for music composition and has excellent support for MIDI-based music. My library is an attempt to enrich the Opusmodus platform with features that facilitate easier […]

Continue Reading

Book Review – The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms.

Written by on November 8, 2020 in Book Review, LISP, Programming with 0 Comments
Book Review – The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms.

Title: The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms Author: Michał “phoe” Herda Publisher: Apress Year: 2020 Unlike with other languages, it is rare to find new books being published on Lisp. The last book on Lisp, which I purchased was “Common Lisp Recipes”  by Edmund Weitz in March 2016. After a […]

Continue Reading

Using Random Walk Principle to Generate Music

Written by on October 24, 2020 in LISP, Music, Programming with 0 Comments
Using Random Walk Principle to Generate Music

In mathematics, the simplest example of Random Walk is a random process along a one-dimensional plane of integers, starting at 0 and moving in the positive or negative direction in steps of +1 or -1, with equal probability. The Random Walk theory has been applied in many domains including Physics and even the Stock Market. Here is a […]

Continue Reading

Template-based Text Generation – Part 2

Written by on October 11, 2020 in LISP, Natural Language Processing, Programming with 0 Comments
Template-based Text Generation – Part 2

In my previous article, I showed how “iLangGen” framework facilitates text generation using templates. I talked about the various “patterns” that can be used in a template. However, in that article, I did not go into the details of the “Embedded Template” pattern. That is the focus of today’s article. Embedded Template This pattern allows […]

Continue Reading

Top