Showing posts with label music. Show all posts
Showing posts with label music. Show all posts

Monday, June 6, 2016

PulseAudio Sound Server For Linux

PulseAudio
Sound Server For Linux



PulseAudio is a network-capable sound server program distributed by freedesktop.org. It runs on Linux, the BSDs including Mac OS X, Solaris and Microsoft Windows operating systems, licensed under GNU Lesser General Public License.


Features :

The main PulseAudio features include:

  • Per-application volume controls.
  • An extensible plugin architecture with support for loadable modules.
  • Compatibility with many popular audio applications.
  • Support for multiple audio sources and sinks.
  • Low latency operation and latency measurement.
  • A zero-copy memory architecture for processor resource efficiency.
  • Ability to discover other computers using PulseAudio on the local network and play sound through their speakers directly.
  • Ability to change which output device an application plays sound through while the application is playing sound (without the application needing to support this, and indeed without even being aware that this happened).
  • A command-line interface with scripting capabilities.
  • A sound daemon with command line reconfiguration capabilities.
  • Built-in sample conversion and resampling capabilities.
  • The ability to combine multiple sound cards into one.
  • The ability to synchronize multiple playback streams.
  • Bluetooth audio devices with dynamic detection.
  • The ability to enable system wide equalization.

Installation :

Most of the Linux distributions include pulseaudio in their official repositories.. so we can easily install it from official repos..

Install PulseAudio In Ubuntu :

sudo apt-get install pulseaudio

Install PulseAudio In Fedora :

See, How to enable RPM fusion repositories...

For Fedora 22 and later...

sudo dnf install pulseaudio

For Fedora 21 and older...

sudo yum install pulseaudio

JACK (JACK Audio Connection Kit) Sound Server For Linux

JACK (JACK Audio Connection Kit)
Sound Server For Linux


JACK Audio Connection Kit (or JACK) is a professional sound server daemon that provides real-time, low-latency connections for both audio and MIDI data between applications that implement its API. JACK has been developed by a community of open-source developers led by Paul Davis (who won an Open Source Award in 2004 for this work) and has been a key piece of infrastructure and the de facto standard for professional audio software on Linux since its inception in 2002. The server is free software, licensed under the GNU GPL, while the library is licensed under the more permissive GNU LGPL.

Installation :

For Ubuntu :

sudo apt-get install jack

For Fedora :

See, How to enable RPM fusion repositories...

For Fedora 22 and later...

sudo dnf install jack

For Fedora 21 and older...

sudo yum install jack

Sunday, June 5, 2016

How to install Ardour (digital audio workstation) on Linux

How to install Ardour (digital audio workstation) on Linux

Ardour stands out as the most popular go-to digital audio workstation on GNU/Linux. It offers professional-quality recording, mixing, and all-around production. The MIDI capabilities are functional, but less robust. For multitrack recording, this is the way to go. Ardour is fully JACK capable, but the newest versions can simply use ALSA directly if you just use Ardour alone as an all-in-one tool. Though its detailed feature list is shorter, Ardour has all the core capabilities to match that of the expensive proprietary competition. For recording a band in a studio or overlaying dubs of live performances, this is all you really need.

Installation :

For Ubuntu :

There is a community maintained PPA is available for Ubuntu..

DO NOT use this PPA if you are using the KXStudio PPAs. The KXStudio PPAs intentionally break the Ubuntu upgrade path, and will result in crashes or worse, if combined with this PPA.

sudo add-apt-repository ppa:dobey/audiotools && sudo apt-get update && sudo apt-get install ardour

Compiling from source..(For fedora)

If you want binaries you have to pay.. however you can get source code for free of cost and then, you can compile it on your system.. Here , I am going to show how to compile it from source code..

Before You start..

Before you start compiling, You should have to enable RPM fusion repos.. see here , How to enable RPM fusion repos..

Now that we have rpmfusion added let's add PlanetCCRMA repository.

Enable ccrma repos..

sudo rpm -Uvh http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/18/i386/planetccrma-repo-1.1-3.fc18.ccrma.noarch.rpm

Install planetccrma and reboot

Next we need to install the realtime kernel and alsa libraries that is available from PlanetCCRMA. While still in the terminal session.

For fedora 22 and later..

sudo dnf check-update && sudo dnf install planetccrma-core && sudo reboot

for fedora 21 and older..

sudo yum update && sudo yum install planetccrma-core && sudo reboot

Install dependencies :

For fedora 22 and later..

sudo dnf install git jack-audio-connection-kit-devel libsndfile-devel liblo-devel aubio-devel cppunit-devel cwiid-devel liblrdf-devel libsamplerate-devel lv2-devel serd-devel sord-devel sratom-devel lilv-devel flac-devel gtkmm24-devel libgnomecanvas-devel libgnomecanvasmm26-devel suil-devel libcurl libcurl-devel uuid uuid-devel libuuid libuuid-devel lib fftw3 fftw3-devel liboggz liboggz-devel qjackctl jack-audio-connection-kit boost boost-devel libxml2 libxml2-devel

for fedora 21 and older..

sudo yum install git jack-audio-connection-kit-devel libsndfile-devel liblo-devel aubio-devel cppunit-devel cwiid-devel liblrdf-devel libsamplerate-devel lv2-devel serd-devel sord-devel sratom-devel lilv-devel flac-devel gtkmm24-devel libgnomecanvas-devel libgnomecanvasmm26-devel suil-devel libcurl libcurl-devel uuid uuid-devel libuuid libuuid-devel lib fftw3 fftw3-devel liboggz liboggz-devel qjackctl jack-audio-connection-kit boost boost-devel libxml2 libxml2-devel

1 . Get Source Code, compile and Run :

cd && git clone git://git.ardour.org/ardour/ardour.git

Once the download has completed we need to compile it.

cd ~/ardour && ./waf configure && ./waf

You do not need to install in order to use your new build of Ardour. You can run it from within the build tree:

cd ~/ardour/gtk2_ardour && ./ardev

To install (optional):

cd ~/ardour && ./waf install

To uninstall

cd ~/ardour && ./waf uninstall

How To Install Hydrogen (Music Maker) On Linux

How To Install Hydrogen On Linux


Hydrogen is an open source drum machine created by Alessandro Cominu, an Italian programmer who goes by the pseudonym Comix. Its main goal is to provide professional yet simple and intuitive pattern-based drum programming.

Hydrogen was originally developed for Linux, but later ported to Mac OS X. The graphical user interface for the application uses Qt library, and all code is released under the GNU General Public License.

Features :

These are the features of Hydrogen:

  • Pattern-based sequencer, with unlimited number of patterns and ability to chain patterns into a song.
  • Up to 192 ticks per pattern with individual level per event and variable pattern length.
  • Unlimited instrument tracks with volume, mute, solo, pan capabilities.
  • Multi-layer support for instruments (up to 16 samples for each instrument).
  • Sample Editor, with basic cut and loop functions.
  • Time-stretch and pitch functions.
  • Time-line with variable tempo.
  • Single and stacked pattern mode.
  • Ability to import/export song files.
  • Support for LADSPA effects.
  • Real-time slide control for swing.
  • Option to slightly randomize velocity, time, pitch and swing functions to give a more "human" playback.
  • Multiple patterns playing at once.
  • GMkit, the drum kit features: Kick, Stick, Snare Jazz, Hand Clap, Snare Rock, Tom Low, Closed HH (high hat), Tom Mid, Pedal HH (high hat), Tom Hi (high), Open HH (high hat), Cowbell, Ride Jazz, Crash, Ride Rock, and Crash Jazz.

Installation :

Since there is many Linux Distros, Hydrogen developers not providing distro specific binaries for installation.. so we have to compile from source..

These are the instructions for compiling the Hydrogen versions 0.9.6 (all based on QT4) on a debian-based distribution. Hydrogen runs on all kinds of linux distribution, but then the package names and installation tools will differ.

Required libraries

QT4     : libqt4-dev
ALSA    : libasound-dev
SndFile : libsndfile-dev
JACK    : libjack-dev
LRDF    : liblrdf-dev
TAR     : libtar-dev
LASH    : liblash-dev
ZLIB    : zlib1g-dev

Build steps :

1. Install the required libraries and tools:

apt-get install git-core libqt4-dev g++ libasound2-dev libjack-dev liblrdf0-dev libtar-dev libsndfile1-dev cmake

NOTE: get QT version 4.7 or higher


NOTE: depending on the jack server version you have installed you might have to install libjack-jackd2-dev iso libjack-dev

2. Get the sourcecode:

cd && git clone git://github.com/hydrogen-music/hydrogen.git

3. Compile and install hydrogen:

cd hydrogen && ./build.sh m

4. Build a debian package (optional)

As an alternative you can build a debian package. This makes it easier to remove hydrogen from your system.

sudo apt-get install fakeroot debhelper build-essential && cd ~/hydrogen/linux && sudo fakeroot dpkg-buildpackage

The package appears inside hydrogen directory and can be installed with dpkg (dpkg -i package_name)


How To Install Audacity In Linux

How To Install Audacity In Linux


Audacity is a free open source digital audio editor and recording computer software application, available for Windows, OS X, Linux and other operating systems.

For basic audio recording, Audacity works. It doesn't provide any advanced mixing or composition tools, but it has wonderful effects and detailed tools for audio editing. Audacity is probably the best program to explore the nature of sound in fundamental ways, playing with generating tones and combining waveforms.

Install Audacity On Ubuntu..

You can use Audacity PPA to install Audacity on ubuntu systems..

sudo add-apt-repository -y ppa:audacity-team/daily && sudo apt-get update && sudo apt-get install audacity

Install Audacity On Fedora..

Audacity 2.1.2 is not available via any repository, we have to download the audacity rpm package and to install it via rpm. Follow the instructions for your system and architecture exactly, in order to get a successful installation.

For 32 bit systems:

cd && wget https://kojipkgs.fedoraproject.org//packages/audacity/2.1.2/4.fc24/i686/audacity-2.1.2-4.fc24.i686.rpm && sudo rpm -Uhv audacity-2.1.2-4.fc24.i686.rpm

For 64 bit systems

cd && wget https://kojipkgs.fedoraproject.org//packages/audacity/2.1.2/4.fc24/x86_64/audacity-2.1.2-4.fc24.x86_64.rpm && sudo rpm -Uhv audacity-2.1.2-4.fc24.x86_64.rpm

How to install MuseScore In Linux

How to install MuseScore In Linux


MuseScore is a scorewriter for Windows, OS X, and Linux, comparable to Finale and Sibelius, supporting a wide variety of file formats and input methods. It is released as free and open-source software under the GNU General Public License.

MuseScore was originally created as a fork of the MusE sequencer's codebase. At that time, MusE included notation capabilities and in 2002, Werner Schweer, one of the MusE developers, decided to remove notation support from MusE and fork the code into a stand-alone notation program. Since then, MuseScore has been under constant active development.

Installation through PPA (For Ubuntu based Linux systems only..) :

Run the following command to install MuseScore in Ubuntu and it's derivative linux systems..

sudo add-apt-repository -y ppa:mscore-ubuntu/mscore-stable && sudo apt-get update && sudo apt-get install musescore

Installation Through Appimage (Works for all Linux Systems..)

Appimage is a new application format for Linux applications.. It doesn't require installation. these apps are fully portable and we can run this apps probably on any Linux system.. Here I will show you how to download and run this apps on your Linux system.

Step 1 - Download :

Before you download an AppImage, you need to know your processor's architecture. These terminal commands will show it:

arch

or

uname -m

The output will be something like "i686", "x86_64" or "armv7":

  • i686 (or similar) - 32 bit Intel/AMD processor. (Found on older machines.)
  • x86_64 (or similar) - 64 bit Intel/AMD processor. (Modern laptop and desktop computers, most Chromebooks.)
  • armv7 (or later) - ARM processor. (Phones & tablets, Raspberry Pi 2/3 running Ubuntu Mate, some Chromebooks. Usually 32 bit at present.)

Now you can head over to the Download page and find the AppImage that best matches your architecture. Once downloaded, the file will be named "MuseScore-X.Y.Z-$(arch).AppImage".

Step 2 - Give execute permission :

Before you can use the AppImage you need to give permission for it to be run as a program.

From Terminal :

This command gives the user (u) permission to execute (x) the AppImage. It works on all Linux systems.

cd ~/Downloads && chmod u+x MuseScore*.AppImage

Note: Use the "cd" command to change directory to wherever you saved the AppImage. For example the above command assumes that our downloaded Appimage is present inside the user's Desktop folder..

From a File Manager:

If you prefer to avoid the command line, there is usually a way give execute permission from inside a File Manager.
In GNOME Files (Nautilus), simply:

  1. Right-click on the AppImage and select "Properties".
  2. Open the "Permissions" tab.
  3. Enable the option labelled "Allow executing file as a program".

Step 3 - Run it! :

Now you should be able to run the program simply by double-clicking on it!

When you downloaded the AppImage it was probably saved in your Downloads folder, but you can move somewhere else it at any time (e.g. you could put it on your desktop for easy access). If you ever want to remove it then simply delete it.