Article
In this tutorial, we will learn how to create rhythms using the Rhythm class, how to use JFugue's built-in RhythmKit to conveniently create rhythm, and how to apply different rhythm instruments to our song. We will also cover how to save our music to a MIDI file using the JFugue,...
Ruslan Hasanov
In this guide, we will learn how to create and manipulate chords and chord progressions, how to use setKey(), distribute() and allChordsAs()methods of the ChordProgression class, and how to play different patterns simultaneously by using voices in JFugue. This is the second part of the three-part tutorial series, in...
JFugue is an open-source Music library that allows you to play and compose MIDI music using the Java programming language. It uses their "Staccato" format to parse strings of musical instructions. By using JFugue, you can convert the Staccato strings into a MIDI file, as well as import...
The JSON format is one of the most popular ways to serialize data. Knowing how to read and write it is an important skill for any programmer. There are a couple of Java libraries that can parse JSON, but in this tutorial, we'll focus on an open-source project developed by...
Selena Hocevar
In this guide, we'll walk you through the differences between two of Python's most popular data structures - Dictionaries and Arrays. Each of these provide a specific way of arranging your data, with pros and cons for certain tasks and knowing when to use which will allow you to leverage...
Lazar Ristic
In this guide, we'll take a look at how to use Python's PyQT framework to develop a Graphical User Interface (GUI) for a desktop application in Python. Popular Python alternatives for developing a GUI include Tkinter, Kivy, PySimpleGUI, and wxPython. Note: As of writing this tutorial, PyQt6 is the latest...
Guest Contributor
In this tutorial, we'll take a look at some of the most common ways to find the last element in a list in Python. First, we will cover the simplest and most Pythonic way and then show some other alternative solutions afterward. Let's take a look at the list that...
Dimitrije Stamenic
The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and rendering engines. To achieve this, PDF was constructed to be interacted with via something more like a programming language, and...
Joris Schellekens
When working with Strings in Java, we oftentimes need to encode them to a specific charset, such as UTF-8. UTF-8 represents a variable-width character encoding that uses between one and four eight-bit bytes to represent all valid Unicode code points. A code point can represent single characters, but also have...
Branko Ilic
© 2013-2025 Stack Abuse. All rights reserved.