How to install Flacon tool in Ubuntu

To install Flacon tool in Ubuntu

Flacon is an open source Qt project that extracts individual tracks from one big audio file and saves it as separate audio files. It used information from the CUE file and also allow the users to specify the tags for each individual track. Installation of Flacon tool in Ubuntu is explained in this article.

Features

  • Support all input formats
  • Replay Gain analysis
  • Multi-threaded conversion process
  • Automatic character set detection for CUE files.

Installation of Flacon

First add the repository with the " add-apt-repository" command.

root@linuxhelp:~# add-apt-repository ppa:flacon/ppa 
 More info: https://launchpad.net/~flacon/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp8qgf9l1_/secring.gpg'  created
gpg: keyring `/tmp/tmp8qgf9l1_/pubring.gpg'  created
gpg: requesting key F2A61FE5 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp8qgf9l1_/trustdb.gpg: trustdb created
gpg: key F2A61FE5: public key " Launchpad Flacon PPA"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


Next you need to update with the " apt-get update" command.

root@linuxhelp:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease                     
Get:3 http://ppa.launchpad.net/flacon/ppa/ubuntu xenial InRelease [17.5 kB]    
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]   
Get:5 http://ppa.launchpad.net/flacon/ppa/ubuntu xenial/main amd64 Packages [968 B]
Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease           
Get:7 http://ppa.launchpad.net/flacon/ppa/ubuntu xenial/main i386 Packages [964 B]
Get:8 http://ppa.launchpad.net/flacon/ppa/ubuntu xenial/main Translation-en [528 B]
Get:9 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [383 kB]
Ign:10 http://apt.izzysoft.de/ubuntu generic InRelease 
Hit:11 http://apt.izzysoft.de/ubuntu generic Release   
Get:12 http://in.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [378 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [324 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [321 kB]
Fetched 1,616 kB in 4s (403 kB/s)                      
Reading package lists... Done
W: http://apt.izzysoft.de/ubuntu/dists/generic/Release.gpg: Signature by key F9E2FB41D6EB5EFDABB56315D744E9C2C9B9B62C uses weak digest algorithm (SHA1)


To start installation process, run the " apt-get install" command.

root@linuxhelp:~# apt-get install flacon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  cuetools faac flac lame libfaac0 libmp3lame0 libuchardet0 mac opus-tools
  python-mutagen shntool ttaenc vorbis-tools vorbisgain wavpack
Suggested packages:
  python-mutagen-doc sox
Recommended packages:
  mp3gain
The following NEW packages will be installed:
  cuetools faac flac flacon lame libfaac0 libmp3lame0 libuchardet0 mac
  opus-tools python-mutagen shntool ttaenc vorbis-tools vorbisgain wavpack
0 upgraded, 16 newly installed, 0 to remove and 381 not upgraded.
Need to get 1,430 kB of archives.
.
.
.
.
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up libfaac0:amd64 (1.28+cvs20151130-1) ...
Setting up faac (1.28+cvs20151130-1) ...
Setting up flac (1.3.1-4) ...
Setting up libmp3lame0:amd64 (3.99.5+repack1-9build1) ...
Setting up lame (3.99.5+repack1-9build1) ...
Setting up libuchardet0:amd64 (0.0.1-1ubuntu1) ...
Setting up opus-tools (0.1.9-1) ...
Setting up python-mutagen (1.31-1ubuntu1) ...
Setting up vorbis-tools (1.4.0-7ubuntu1) ...
Setting up vorbisgain (0.37-2) ...
Setting up wavpack (4.75.2-2) ...
Setting up cuetools (1.4.0-2) ...
Setting up shntool (3.0.10-1) ...
Setting up mac (3.99-u4-b5-s7-1xenial) ...
Setting up flacon (2.0.1-1xenial) ...
Setting up ttaenc (3.4.1-2xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...


Now its time to open the flacon application with the below command.

root@linuxhelp:~# flacon


Tag : Flacon
FAQ
Q
How can I pass data from a hook to a responder, and between hooks?
A
You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the req.context dict, as a way of passing contextual information around.
Q
Why does req.stream.read() hang for certain requests?
A
This behavior is an unfortunate artifact of the request body mechanics not being fully defined by the WSGI spec (PEP-3333). This is discussed in the reference documentation for a stream, and a workaround is provided in the form of bounded_stream.
Q
Can I edit content after it has been published to Facebook in the Falcon platform?
A
No, it is not possible to post-edit published content in Falcon due to Facebook's API. Facebook's API only allows the creation and deletion of posts.
Q
Is it possible to publish directly to Instagram from Falcon?
A
Yes. It is possible to plan, create and collaborate on your visual storytelling. Learn more about our Instagram publishing flow.
Q
Does Falcon support WebSocket?
A
Due to the limitations of WSGI, Falcon is unable to support the WebSocket protocol as stated above.
*In the meantime, you might try leveraging uWSGI’s native WebSocket support, or implementing a standalone service via Aymeric Augustin’s handy WebSockets library.