https://wiki.archlinux.org/api.php?action=feedcontributions&user=Rjp&feedformat=atomArchWiki - User contributions [en]2024-03-28T14:15:40ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=R&diff=97383R2010-02-19T10:18:51Z<p>Rjp: /* R Commander frontend */</p>
<hr />
<div>[[Category:Software (English)]]<br />
{{stub}}<br />
<br />
== Introduction ==<br />
R is a free software environment for statistical computing and graphics.<br />
<br />
== Installing R ==<br />
<br />
It is very easy to install R in Arch Linux:<br />
# pacman -S r<br />
<br />
=== Installing R packages ===<br />
There are many add-on R packages, which can be browsed on [http://cran.r-project.org/ The R Website.]. They can be installed from within R using the R install.packages command. It is not necessary to be superuser or have root privilages when doing this -- R can install its packages locally for the individual user. This is the safest way to install R packages and won't conflict with the pacman package management.<br />
<br />
== Running R ==<br />
R can be run from the command line, by using the R command:<br />
# R<br />
<br />
== Adding a graphical frontend to R ==<br />
<br />
The linux version of R does not include a graphical user interface. However, third-party user interfaces for R are available, such as R commander and RKWard. <br />
<br />
=== R Commander frontend ===<br />
R Commander is a popular user interface to R. There is no Arch linux package available to install R commander, but it is an R package so it can be installed easily from within R. <br />
<br />
Run 'R' from the command line. Then type:<br />
# install.packages("Rcmdr", dependencies=TRUE)<br />
<br />
This can take some time.<br />
<br />
You can then start R Commander from within R using the library command:<br />
<br />
# library("Rcmdr")<br />
<br />
=== RKWard frontend ===<br />
RKWard can be installed from the Arch Linux [[AUR]], and is an open-source frontend which allows for data import and browsing as well as running common statistical tests and plots.<br />
<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
First install the dependencies:<br />
# pacman -S kdelibs php qt r automoc4<br />
<br />
Then get the AUR sources and PKGBUILD file:<br />
<br />
As a user from the command line:<br />
# wget http://aur.archlinux.org/packages/rkward/rkward/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/rkward/rkward.tar.gz<br />
# makepkg<br />
<br />
As root/superuser, install the package using pacman (the version may be different from 0.5.2-1, as rkward is under development).<br />
# pacman -U rkward-0.5.2-1-i686.pkg.tar.gz</div>Rjphttps://wiki.archlinux.org/index.php?title=User:Rjp&diff=97214User:Rjp2010-02-17T17:16:44Z<p>Rjp: /* Common Topics */ bold link to general recommendations</p>
<hr />
<div>==Getting Started==<br />
The following links are useful for those getting started with Arch Linux. <br />
<br />
<div style="float: left; width: 50%"><br />
; [[Arch Linux]]: A brief overview of Arch Linux; describes what to expect from an Arch Linux system.<br />
<br />
; [[The Arch Way]]: Describes the principles and philosophy of Arch Linux.<br />
<br />
; [[Arch Compared to Other Distributions]]: Summarizes the similarities and differences between Arch and other distributions.<br />
<br />
; [[Getting Involved]]: Describes various ways Archers (both new and experienced users) can contribute to the Arch community.<br />
<br />
; [[Forum Etiquette]]: Guidelines for Arch forum members.<br />
<br />
; [[ArchWiki Tutorial]]: A short tutorial on editing and contributing to the Arch Linux wiki.<br />
</div><br />
<br />
<div style="float: right; width: 50%"><br />
; [[Beginners' Guide]]: A guide through the whole process of installing and configuring Arch Linux; written for new or inexperienced users.<br />
<br />
; [[Official Arch Linux Install Guide]]: A more general installation guide; assuming the user is more experienced in UNIX/GNU/Linux methodology.<br />
<br />
; [[FAQ]]: Self-explanatory; a list of common and frequently asked questions.<br />
<br />
; [[General Recommendations]]: An annotated index of other popular articles and often-referenced information.<br />
</div><br />
<br />
<div style="clear: both"></div> <!-- prevent spillage --><br />
<br />
== Common Topics ==<br />
<br />
:'''Note:''' A more complete list of common topics and post-installation advice can be found in the '''[[General Recommendations]]'''.<br />
<br />
<div style="float: left; width: 50%"><br />
; [[pacman]]: The package manager<br />
<br />
; [[Arch User Repository|Arch User Repository (AUR)]]: A source of unofficial packages<br />
<br />
; [[Common Applications]]: A list of frequently used applications<br />
<br />
; [[Arch64 FAQ]]: Using Arch on 64-bit systems<br />
<br />
</div><br />
<br />
<div style="float: right; width: 50%"><br />
<br />
; [[Xorg|Xorg Setup]]: The X windows system<br />
<br />
; [[:Category: Desktop environments (English)|Desktop Environments]]: KDE, Gnome and many more<br />
<br />
; [[Advanced Linux Sound Architecture]]: The most common audio system of linux<br />
<br />
; [[Configuring network|Configuring Network]]: Advice on configuring your network<br />
</div><br />
<br />
<div style="clear: both"></div> <!-- prevent spillage --></div>Rjphttps://wiki.archlinux.org/index.php?title=User:Rjp&diff=97212User:Rjp2010-02-17T17:08:29Z<p>Rjp: suggested main page</p>
<hr />
<div>==Getting Started==<br />
The following links are useful for those getting started with Arch Linux. <br />
<br />
<div style="float: left; width: 50%"><br />
; [[Arch Linux]]: A brief overview of Arch Linux; describes what to expect from an Arch Linux system.<br />
<br />
; [[The Arch Way]]: Describes the principles and philosophy of Arch Linux.<br />
<br />
; [[Arch Compared to Other Distributions]]: Summarizes the similarities and differences between Arch and other distributions.<br />
<br />
; [[Getting Involved]]: Describes various ways Archers (both new and experienced users) can contribute to the Arch community.<br />
<br />
; [[Forum Etiquette]]: Guidelines for Arch forum members.<br />
<br />
; [[ArchWiki Tutorial]]: A short tutorial on editing and contributing to the Arch Linux wiki.<br />
</div><br />
<br />
<div style="float: right; width: 50%"><br />
; [[Beginners' Guide]]: A guide through the whole process of installing and configuring Arch Linux; written for new or inexperienced users.<br />
<br />
; [[Official Arch Linux Install Guide]]: A more general installation guide; assuming the user is more experienced in UNIX/GNU/Linux methodology.<br />
<br />
; [[FAQ]]: Self-explanatory; a list of common and frequently asked questions.<br />
<br />
; [[General Recommendations]]: An annotated index of other popular articles and often-referenced information.<br />
</div><br />
<br />
<div style="clear: both"></div> <!-- prevent spillage --><br />
<br />
== Common Topics ==<br />
<br />
:'''Note:''' A more complete list of common topics and post-installation advice can be found in the [[General Recommendations]].<br />
<br />
<div style="float: left; width: 50%"><br />
; [[pacman]]: The package manager<br />
<br />
; [[Arch User Repository|Arch User Repository (AUR)]]: A source of unofficial packages<br />
<br />
; [[Common Applications]]: A list of frequently used applications<br />
<br />
; [[Arch64 FAQ]]: Using Arch on 64-bit systems<br />
<br />
</div><br />
<br />
<div style="float: right; width: 50%"><br />
<br />
; [[Xorg|Xorg Setup]]: The X windows system<br />
<br />
; [[:Category: Desktop environments (English)|Desktop Environments]]: KDE, Gnome and many more<br />
<br />
; [[Advanced Linux Sound Architecture]]: The most common audio system of linux<br />
<br />
; [[Configuring network|Configuring Network]]: Advice on configuring your network<br />
</div><br />
<br />
<div style="clear: both"></div> <!-- prevent spillage --></div>Rjphttps://wiki.archlinux.org/index.php?title=R&diff=97077R2010-02-16T17:42:52Z<p>Rjp: /* RWard frontend */ typo RKWard</p>
<hr />
<div>{{stub}}<br />
<br />
== Introduction ==<br />
R is a free software environment for statistical computing and graphics.<br />
<br />
== Installing R ==<br />
<br />
It is very easy to install R in Arch Linux:<br />
# pacman -S r<br />
<br />
=== Installing R packages ===<br />
There are many add-on R packages, which can be browsed on [http://cran.r-project.org/ The R Website.]. They can be installed from within R using the R install.packages command. It is not necessary to be superuser or have root privilages when doing this -- R can install its packages locally for the individual user. This is the safest way to install R packages and won't conflict with the pacman package management.<br />
<br />
== Running R ==<br />
R can be run from the command line, by using the R command:<br />
# R<br />
<br />
== Adding a graphical frontend to R ==<br />
<br />
The linux version of R does not include a graphical user interface. However, third-party user interfaces for R are available, such as R commander and RKWard. <br />
<br />
=== R Commander frontend ===<br />
R Commander is a popular user interface to R. There is no Arch linux package available to install R commander, but it is an R package so it can be installed easily from within R. <br />
<br />
Run 'R' from the command line. Then type:<br />
# install.packages("Rcmdr", dependencies=TRUE)<br />
<br />
This can take some time.<br />
<br />
=== RKWard frontend ===<br />
RKWard can be installed from the Arch Linux [[AUR]], and is an open-source frontend which allows for data import and browsing as well as running common statistical tests and plots.<br />
<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
First install the dependencies:<br />
# pacman -S kdelibs php qt r automoc4<br />
<br />
Then get the AUR sources and PKGBUILD file:<br />
<br />
As a user from the command line:<br />
# wget http://aur.archlinux.org/packages/rkward/rkward/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/rkward/rkward.tar.gz<br />
# makepkg<br />
<br />
As root/superuser, install the package using pacman (the version may be different from 0.5.2-1, as rkward is under development).<br />
# pacman -U rkward-0.5.2-1-i686.pkg.tar.gz</div>Rjphttps://wiki.archlinux.org/index.php?title=R&diff=97076R2010-02-16T17:28:51Z<p>Rjp: Created page on R. including details on some frontends</p>
<hr />
<div>{{stub}}<br />
<br />
== Introduction ==<br />
R is a free software environment for statistical computing and graphics.<br />
<br />
== Installing R ==<br />
<br />
It is very easy to install R in Arch Linux:<br />
# pacman -S r<br />
<br />
=== Installing R packages ===<br />
There are many add-on R packages, which can be browsed on [http://cran.r-project.org/ The R Website.]. They can be installed from within R using the R install.packages command. It is not necessary to be superuser or have root privilages when doing this -- R can install its packages locally for the individual user. This is the safest way to install R packages and won't conflict with the pacman package management.<br />
<br />
== Running R ==<br />
R can be run from the command line, by using the R command:<br />
# R<br />
<br />
== Adding a graphical frontend to R ==<br />
<br />
The linux version of R does not include a graphical user interface. However, third-party user interfaces for R are available, such as R commander and RKWard. <br />
<br />
=== R Commander frontend ===<br />
R Commander is a popular user interface to R. There is no Arch linux package available to install R commander, but it is an R package so it can be installed easily from within R. <br />
<br />
Run 'R' from the command line. Then type:<br />
# install.packages("Rcmdr", dependencies=TRUE)<br />
<br />
This can take some time.<br />
<br />
=== RWard frontend ===<br />
RKWard can be installed from the Arch Linux [[AUR]], and is an open-source frontend which allows for data import and browsing as well as running common statistical tests and plots.<br />
<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
First install the dependencies:<br />
# pacman -S kdelibs php qt r automoc4<br />
<br />
Then get the AUR sources and PKGBUILD file:<br />
<br />
As a user from the command line:<br />
# wget http://aur.archlinux.org/packages/rkward/rkward/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/rkward/rkward.tar.gz<br />
# makepkg<br />
<br />
As root/superuser, install the package using pacman (the version may be different from 0.5.2-1, as rkward is under development).<br />
# pacman -U rkward-0.5.2-1-i686.pkg.tar.gz</div>Rjphttps://wiki.archlinux.org/index.php?title=List_of_applications/Science&diff=97072List of applications/Science2010-02-16T16:25:13Z<p>Rjp: /* Calculator */ more explanation of qalculate (it also an equation solver)</p>
<hr />
<div>=Mathematics=<br />
==Calculator==<br />
* [http://speedcrunch.org Speedcrunch] - A feature-rich scientific calculator.<br />
* [http://extcalc-linux.sourceforge.net/ ExtCalc] - A feature-rich scientific calculator.<br />
* [http://kalgebra.berlios.de/ KAlgebra] - calculator and 3D plot.<br />
* [http://qalculate.sourceforge.net/ Qalculate] - calculator and equation solver with fault-tolerant parsing. Recognises constants and units.<br />
<br />
==Computer Algebra System==<br />
*[http://maxima.sourceforge.net/ Maxima] - "Maple/Mathematica"-like program or its frontend [http://wxmaxima.sourceforge.net/wiki/index.php/Main_Page wXMaxima].<br />
*[http://www.sagemath.org/ Sage] - "Maple/Mathematica-like"-like program in python.<br />
<br />
==Scientific or Technical Computing==<br />
*[[Matlab]] - Widely used for scientific computing and data processing (proprietary!).<br />
*[http://www.gnu.org/software/octave/ Octave] - "Matlab"-like program or its frontend [[QtOctave]].<br />
*[http://freemat.sourceforge.net/ Freemat] - "Matlab"-like program.<br />
*[http://www.scilab.org/ Scilab] - "Matlab"-like program.<br />
*[http://aur.archlinux.org/packages.php?ID=694 Euler] - Mathematical programming environment like MatLab or Octave<br />
*[http://aur.archlinux.org/packages.php?ID=19160 Englab] - Cross-compile mathematical platform with a C like syntax.<br />
<br />
==Statistics==<br />
* [http://www.gnu.org/software/pspp/ PSPP] - Free SPSS implementation (Graphical:PSPPire).<br />
* [http://rkward.sourceforge.net/ RKWard] - Frontend for the statistical language R.<br />
<br />
==Data Evaluation==<br />
* [http://www.unipress.waw.pl/fityk/ Fityk] - Non-linear fitting of curves.<br />
* [http://soft.proindependent.com/qtiplot.html QtiPlot] - Similar & semi-compatible with "OriginLab".<br />
* [http://scidavis.sourceforge.net/ SciDavis] - Similar to QtiPlot.<br />
* [http://labplot.sourceforge.net/ LabPlot] - Comparable to "OriginLab".<br />
* [http://root.cern.ch/drupal/ ROOT] - Data analysis program and library (originally for particle physics).<br />
* [http://www.gnuplot.info/ GnuPlot] - Command-line based plotting program.<br />
* [http://plasma-gate.weizmann.ac.il/Grace/ XmGrace] - Plotting program with GUI.<br />
* [http://aur.archlinux.org/packages.php?ID=9583 Extrema] - Visualization and data analysis tool.<br />
* [[Common Applications#Spreadsheets]]<br />
<br />
=Chemistry and Biology=<br />
<br />
==Molecule Viewer==<br />
*[http://avogadro.openmolecules.net/wiki/Main_Page Avogadro] - Edit and view 3D molecule structures (also .pdb) and simulate.<br />
*[http://www.uku.fi/~thassine/projects/ghemical/ Ghemical] - Edit and view 3D molecule structures (also .pdb) and simulate.<br />
*[http://www.rasmol.org/ Rasmol] - View 3D molecule structures.<br />
*[http://pymol.sourceforge.net/ Pymol] - View 3D molecule structures.<br />
<br />
==Molecule Drawing==<br />
*[http://bkchem.zirael.org/ BkChem] - Practical and goodlooking skeletal formula molecule drawing program.<br />
*[http://xdrawchem.sourceforge.net/ XDrawChem] - Extensive skeletal formula molecule drawing program (incl. spectroscopy prediction).<br />
*[http://easychem.sourceforge.net/ EasyChem] - Simple skel]etal formula molecule drawing program.<br />
*[http://ruby.chemie.uni-freiburg.de/~martin/chemtool/ Chemtool] - Skeletal formula molecule drawing program.<br />
<br />
==Periodic Table==<br />
* [http://edu.kde.org/kalzium/ Kalzium] - Periodic table of the elements with molecule editor and equation solver (from KDE project).<br />
* [http://www.kdau.com/projects/gelemental/ GElemental] - Periodic table of the elements and additional information. <br />
<br />
==Biochemistry==<br />
* [http://www.bioclipse.net/ Bioclipse] - Aims to be a complete biochemistry office suite.<br />
<br />
=Physics=<br />
<br />
==Electronics==<br />
*[http://qucs.sourceforge.net/ Qucs] - Electronic circuit simulation.<br />
*[http://oregano.gforge.lug.fi.uba.ar/ Oregano] - Electronic circuit simulation.<br />
*[http://qelectrotech.org/ QElectroTech] - Draw advanced electrical circuits.<br />
*[http://kicad.sourceforge.net/wiki/index.php/Main_Page KiCad] - Design schematics for printed circuit boards.<br />
*[http://ksimus.berlios.de/ KSimus] - Logical circuits simulation.<br />
*[http://www.a-rostin.de/ KLogic] - Logical circuits simulation.<br />
<br />
==Physics Simulation==<br />
*[http://www.code-aster.org Code Aster] - Simulation for civil and structural engineering.<br />
*[http://edu.kde.org/step/ Step] - Physics Simulation Educative physics simulation (KDE).<br />
<br />
==Unit Conversion==<br />
*[http://convertall.bellz.org/ Convertall] - Convert between different physical units.<br />
*[http://www.unihedron.com/projects/gonvert/ Gonvert] - Convert between different physical units.<br />
<br />
[[Category:Science (English)]]<br />
[[Category:General (English)]]</div>Rjphttps://wiki.archlinux.org/index.php?title=Eclipse&diff=97071Eclipse2010-02-16T16:17:50Z<p>Rjp: Added Introduction + expanded installation instructions</p>
<hr />
<div>{{stub}}<br />
[[Category:Development (English)]]<br />
== Introduction ==<br />
Eclipse is an open source community project, which aims to provide a universal development platform. The Eclipse project is most widely known for its cross-platform integrated development environemnt (IDE), and the arch linux packages (and this guide) relate specifically to this.<br />
<br />
The Eclipse IDE is largely written in Java but can be used to develop applications in a number of languages, including Java, C/C++, PHP and Perl. The IDE can also provide subversion support (see below) and task management (either through its built-in TODO list or through the eclipse-mylyn package).<br />
<br />
== Installing Eclipse ==<br />
<br />
It is very easy to install the Eclipse SDK in Arch Linux:<br />
# pacman -S eclipse<br />
<br />
This base package has Java development support built in.<br />
<br />
=== With C/C++ support ===<br />
<br />
If you want to use Eclipse for C/C++ development, also install the eclipse cdt<br />
# pacman -S eclipse-cdt<br />
<br />
=== With perl support ===<br />
<br />
If you want to use Eclipse for Perl development, also install EPIC:<br />
# pacman -S eclipse-epic<br />
<br />
=== With PHP support ===<br />
<br />
If you want to use Eclipse for PHP development, also install phpeclipse:<br />
# pacman -S eclipse-phpeclipse<br />
<br />
=== Using the Sun JDK in place of OpenJDK ===<br />
<br />
Eclipse depends on openjdk6 by default, which you can easily replaced by jdk.<br />
# pacman -S jdk<br />
<br />
By the way, you may want to link the file /opt/java/bin/java to /usr/bin/java:<br />
# ln -s /opt/java/bin/java /usr/bin<br />
<br />
== Subversion support ==<br />
There's packages in AUR for enabling Subversion support.<br />
<br />
===eclipse-subclipse===<br />
http://aur.archlinux.org/packages.php?do_Details=1&ID=5280<br />
# pacman -S eclipse-subclipse<br />
<br />
Take a look at http://www-128.ibm.com/developerworks/opensource/library/os-ecl-subversion/ for more information about Subclipse.<br />
<br />
===eclipse-subversive===<br />
http://aur.archlinux.org/packages.php?do_Details=1&ID=10740<br />
# aurbuild -s eclipse-subversive<br />
<br />
== Enable javadoc integration ==<br />
Want to see API entries when hovering the mouse pointer over standard Java methods?<br />
<br />
=== Online Version ===<br />
<br />
If you have constant internet access on your machine, you can use the online documentation provided by sun. Just follow these instructions:<br />
<br />
# Go to Window/Preferences, then go to Java/Installed JREs.<br />
# There should be one named "java" with the type "Standard VM". Select this and click Edit.<br />
# Select the /opt/java/jre/lib/rt.jar item under "JRE system libraries:", then click "Javadoc Location...".<br />
# Enter "http://java.sun.com/javase/6/docs/api/" in the "Javadoc location path:" text field.<br />
# Done!<br />
<br />
=== Offline Version ===<br />
<br />
If you have no internet connection on your development machine, or do not want to constantly loose traffic for the documentation, you can store the documentation on your local harddisk.<br />
<br />
# Start your favorite webbrowser and navigate to http://java.sun.com/javase/downloads/index.jsp<br />
# Search for "Java SE 6 Documentation" and click the Downloadlink.<br />
# Follow the instructions to download the file "jdk-6-doc.zip" to your Harddrive (e.g. /home/docs/jdk-6-doc.zip).<br />
# Go to Window/Preferences, then go to Java/Installed JREs.<br />
# There should be one named "java" with the type "Standard VM". Select this and click Edit.<br />
# Select the /opt/java/jre/lib/rt.jar item under "JRE system libraries:", then click "Javadoc Location...".<br />
# Select the point "Javadoc in archive"<br />
# Enter the path to the previous downloaded "jdk-6-doc.zip" (e.g. /home/docs/jdk-6-doc.zip) in the "Archive path:" text field.<br />
# Done!</div>Rjphttps://wiki.archlinux.org/index.php?title=Timidity%2B%2B&diff=97070Timidity++2010-02-16T15:41:11Z<p>Rjp: /* Freepats */ Typo (should've previewed)</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
[[Category:HOWTOs (English)]]<br />
==Introduction==<br />
timidity++ is a MIDI to WAVE converter and player which is basically used to play MIDI files if your sound card does not support the MIDI protocol natively.<br />
<br />
==Installing timidity++==<br />
The first step is to install timidity++ itself. It can be installed via pacman from the [[Pacman#Repositories|extra repository]]:<br />
# pacman -S timidity++<br />
<br />
'''However, timidity++ will not produce any sound yet'''. This is because timidity++ does not include any instrument samples. To produce sound, instrument patches and/or soundfonts need to be installed and timidity++ configured so it knows where to find them. This guide shows two ways of getting sound samples: [[Timidity#Freepats|Freepats]] and [[Timidity#Soundfonts|soundfonts]].<br />
<br />
==Setting up the sound samples==<br />
<br />
===Freepats===<br />
The [http://freepats.zenvoid.org/ Freepats] project provides a set of instrument samples which are compatible with timidity++. It can be installed from the [[Pacman#Repositories|community repository]]:<br />
# pacman -S timidity-freepats<br />
<br />
To use Freepats with timidity, add the following lines to /etc/timidity++/timidity.cfg:<br />
<br />
<pre><br />
dir /usr/share/timidity/freepats<br />
source /etc/timidity++/freepats/freepats.cfg<br />
</pre><br />
<br />
Then timidity++ is ready for use.<br />
<br />
===Soundfonts===<br />
There are many soundfonts available. This example will show how to isntall the fluidr3 soundfont, which is accessible via the [[AUR]].<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
As sfarkxtc, a decompressor for soundfonts, is a make dependency of fluidr3, we install it first:<br />
# pacman -S sfarkxtc<br />
<br />
After sfarkxtc has been installed, we will be able to build fluidr3 which may take some time.<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/fluidr3.install<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/license<br />
# makepkg<br />
# pacman -U fluidr3-122501-6.pkg.tar.gz<br />
<br />
If fluidr3 has been installed properly, we have to add it's path to the timidity++ configuration file. Just add this line to /etc/timidity++/timidity.cfg:<br />
soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2<br />
<br />
Then timidity++ is ready for use.<br />
<br />
==How to use timidity++==<br />
There are two ways to use timidity++. Either as MIDI player or as daemon adding MIDI support to [[ALSA]].<br />
<br />
===Standalone mode===<br />
You can simply use timidity++ to play MIDI files:<br />
$ timidity example.midi<br />
<br />
Add option -in or -ig for a text mode/gtk+ interface. E.g. as a Xfce/GNOME user you may want to set MIDI files to open with the custom command `timidity -ig'. There are many other options to timidity; see manpage or use -h to get help.<br />
<br />
===Alsa daemon mode===<br />
If you want timidity to run as ALSA daemon, just use:<br />
# /etc/rc.d/timidity++ start<br />
<br />
If you want to have permanent MIDI support, add timidity to your daemon list in /etc/rc.conf:<br />
DAEMONS=(... timidity++ ...)<br />
<br />
Or if you just want to run timidity with ALSA support once, you can use the following command which will make console output viewable:<br />
$ timidity -iA<br />
<br />
This will give you four output software MIDI ports (in addition of hardware MIDI ports on your system, if any):<br />
<br />
$ aconnect -o<br />
client 128: 'TiMidity' [type=user]<br />
0 'TiMidity port 0 '<br />
1 'TiMidity port 1 '<br />
2 'TiMidity port 2 '<br />
3 'TiMidity port 3 '<br />
<br />
An example usage for this is community/vkeybd, a virtual MIDI keyboard for X:<br />
<br />
# pacman -S vkeybd<br />
...<br />
$ vkeybd --addr 128:0<br />
<br />
Option --addr 128:0 connects the input (readable) software MIDI port provided by vkeybd to the first output (writable) ALSA port provided by Timidity. Alternatively you can use aconnect(1), community/aconnectgui or AUR packages [http://aur.archlinux.org/packages.php?do_Details=1&ID=9668 patchage], [http://aur.archlinux.org/packages.php?ID=13818 kaconnect]. As a result when you play around with the keys on the vkeybd timidity plays the appropriate notes. See also [[USB_Midi_Keyboards|USB Midi Keyboards]].<br />
<br />
==Troubleshooting==<br />
===timidity++ does not play MIDI files===<br />
It may be that your soundfile is not set up correctly. Just run:<br />
$ timidity example.midi<br />
<br />
If you find a line like this in the terminal output, your soundfile is not set up properly.<br />
No instrument mapped to tone bank 0, program XX - \<br />
this instrument will not be heard<br />
<br />
Make sure you've installed some samples and your soundfile is added to /etc/timidity++/timidity.cfg. See [[Timidity#Setting up the sound samples|Setting up the sound samples]] above for more details.<br />
<br />
===How to make DOSBox use Timidity++===<br />
The following method is tested in version DOSBox 0.72 (don't know if this works for OLDER or NEWER!).<br />
<br />
First of all, you need to write a config file. Input the following in DOSBox to create a configuration file:<br />
config -writeconf dosbox.conf<br />
you can replace ''dosbox.conf'' by anyname that you want, add a dot in front of it if you want to hide it.<br />
<br />
Make sure you statred Timidity++ as DAEMON as the instructions above, use the ''aconnect'' command.<br />
<br />
Edit this configuration file with any editor, go to the section:<br />
[midi]<br />
mpu401=intelligent<br />
device=default<br />
config=<br />
put the ALSA connection port into the back of ''config='', in default:<br />
config=128:0<br />
<br />
Restart DOSBox within a terminal so you can see its debug messages, by no accident you should see a successful initiation on port 128:0.</div>Rjphttps://wiki.archlinux.org/index.php?title=Timidity%2B%2B&diff=97069Timidity++2010-02-16T15:40:47Z<p>Rjp: /* Freepats */ Added external link to Freepats repository</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
[[Category:HOWTOs (English)]]<br />
==Introduction==<br />
timidity++ is a MIDI to WAVE converter and player which is basically used to play MIDI files if your sound card does not support the MIDI protocol natively.<br />
<br />
==Installing timidity++==<br />
The first step is to install timidity++ itself. It can be installed via pacman from the [[Pacman#Repositories|extra repository]]:<br />
# pacman -S timidity++<br />
<br />
'''However, timidity++ will not produce any sound yet'''. This is because timidity++ does not include any instrument samples. To produce sound, instrument patches and/or soundfonts need to be installed and timidity++ configured so it knows where to find them. This guide shows two ways of getting sound samples: [[Timidity#Freepats|Freepats]] and [[Timidity#Soundfonts|soundfonts]].<br />
<br />
==Setting up the sound samples==<br />
<br />
===Freepats===<br />
The [http://freepats.zenvoid.org/ Freepats} project provides a set of instrument samples which are compatible with timidity++. It can be installed from the [[Pacman#Repositories|community repository]]:<br />
# pacman -S timidity-freepats<br />
<br />
To use Freepats with timidity, add the following lines to /etc/timidity++/timidity.cfg:<br />
<br />
<pre><br />
dir /usr/share/timidity/freepats<br />
source /etc/timidity++/freepats/freepats.cfg<br />
</pre><br />
<br />
Then timidity++ is ready for use.<br />
<br />
===Soundfonts===<br />
There are many soundfonts available. This example will show how to isntall the fluidr3 soundfont, which is accessible via the [[AUR]].<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
As sfarkxtc, a decompressor for soundfonts, is a make dependency of fluidr3, we install it first:<br />
# pacman -S sfarkxtc<br />
<br />
After sfarkxtc has been installed, we will be able to build fluidr3 which may take some time.<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/fluidr3.install<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/license<br />
# makepkg<br />
# pacman -U fluidr3-122501-6.pkg.tar.gz<br />
<br />
If fluidr3 has been installed properly, we have to add it's path to the timidity++ configuration file. Just add this line to /etc/timidity++/timidity.cfg:<br />
soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2<br />
<br />
Then timidity++ is ready for use.<br />
<br />
==How to use timidity++==<br />
There are two ways to use timidity++. Either as MIDI player or as daemon adding MIDI support to [[ALSA]].<br />
<br />
===Standalone mode===<br />
You can simply use timidity++ to play MIDI files:<br />
$ timidity example.midi<br />
<br />
Add option -in or -ig for a text mode/gtk+ interface. E.g. as a Xfce/GNOME user you may want to set MIDI files to open with the custom command `timidity -ig'. There are many other options to timidity; see manpage or use -h to get help.<br />
<br />
===Alsa daemon mode===<br />
If you want timidity to run as ALSA daemon, just use:<br />
# /etc/rc.d/timidity++ start<br />
<br />
If you want to have permanent MIDI support, add timidity to your daemon list in /etc/rc.conf:<br />
DAEMONS=(... timidity++ ...)<br />
<br />
Or if you just want to run timidity with ALSA support once, you can use the following command which will make console output viewable:<br />
$ timidity -iA<br />
<br />
This will give you four output software MIDI ports (in addition of hardware MIDI ports on your system, if any):<br />
<br />
$ aconnect -o<br />
client 128: 'TiMidity' [type=user]<br />
0 'TiMidity port 0 '<br />
1 'TiMidity port 1 '<br />
2 'TiMidity port 2 '<br />
3 'TiMidity port 3 '<br />
<br />
An example usage for this is community/vkeybd, a virtual MIDI keyboard for X:<br />
<br />
# pacman -S vkeybd<br />
...<br />
$ vkeybd --addr 128:0<br />
<br />
Option --addr 128:0 connects the input (readable) software MIDI port provided by vkeybd to the first output (writable) ALSA port provided by Timidity. Alternatively you can use aconnect(1), community/aconnectgui or AUR packages [http://aur.archlinux.org/packages.php?do_Details=1&ID=9668 patchage], [http://aur.archlinux.org/packages.php?ID=13818 kaconnect]. As a result when you play around with the keys on the vkeybd timidity plays the appropriate notes. See also [[USB_Midi_Keyboards|USB Midi Keyboards]].<br />
<br />
==Troubleshooting==<br />
===timidity++ does not play MIDI files===<br />
It may be that your soundfile is not set up correctly. Just run:<br />
$ timidity example.midi<br />
<br />
If you find a line like this in the terminal output, your soundfile is not set up properly.<br />
No instrument mapped to tone bank 0, program XX - \<br />
this instrument will not be heard<br />
<br />
Make sure you've installed some samples and your soundfile is added to /etc/timidity++/timidity.cfg. See [[Timidity#Setting up the sound samples|Setting up the sound samples]] above for more details.<br />
<br />
===How to make DOSBox use Timidity++===<br />
The following method is tested in version DOSBox 0.72 (don't know if this works for OLDER or NEWER!).<br />
<br />
First of all, you need to write a config file. Input the following in DOSBox to create a configuration file:<br />
config -writeconf dosbox.conf<br />
you can replace ''dosbox.conf'' by anyname that you want, add a dot in front of it if you want to hide it.<br />
<br />
Make sure you statred Timidity++ as DAEMON as the instructions above, use the ''aconnect'' command.<br />
<br />
Edit this configuration file with any editor, go to the section:<br />
[midi]<br />
mpu401=intelligent<br />
device=default<br />
config=<br />
put the ALSA connection port into the back of ''config='', in default:<br />
config=128:0<br />
<br />
Restart DOSBox within a terminal so you can see its debug messages, by no accident you should see a successful initiation on port 128:0.</div>Rjphttps://wiki.archlinux.org/index.php?title=Timidity%2B%2B&diff=97067Timidity++2010-02-16T15:35:08Z<p>Rjp: capitalise s in Soundfonts title</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
[[Category:HOWTOs (English)]]<br />
==Introduction==<br />
timidity++ is a MIDI to WAVE converter and player which is basically used to play MIDI files if your sound card does not support the MIDI protocol natively.<br />
<br />
==Installing timidity++==<br />
The first step is to install timidity++ itself. It can be installed via pacman from the [[Pacman#Repositories|extra repository]]:<br />
# pacman -S timidity++<br />
<br />
'''However, timidity++ will not produce any sound yet'''. This is because timidity++ does not include any instrument samples. To produce sound, instrument patches and/or soundfonts need to be installed and timidity++ configured so it knows where to find them. This guide shows two ways of getting sound samples: [[Timidity#Freepats|Freepats]] and [[Timidity#Soundfonts|soundfonts]].<br />
<br />
==Setting up the sound samples==<br />
<br />
===Freepats===<br />
The Freepats project provides a set of instrument samples which are compatible with timidity++. It can be installed from the [[Pacman#Repositories|community repository]]:<br />
# pacman -S timidity-freepats<br />
<br />
To use Freepats with timidity, add the following lines to /etc/timidity++/timidity.cfg:<br />
<br />
<pre><br />
dir /usr/share/timidity/freepats<br />
source /etc/timidity++/freepats/freepats.cfg<br />
</pre><br />
<br />
Then timidity++ is ready for use.<br />
<br />
===Soundfonts===<br />
There are many soundfonts available. This example will show how to isntall the fluidr3 soundfont, which is accessible via the [[AUR]].<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
As sfarkxtc, a decompressor for soundfonts, is a make dependency of fluidr3, we install it first:<br />
# pacman -S sfarkxtc<br />
<br />
After sfarkxtc has been installed, we will be able to build fluidr3 which may take some time.<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/fluidr3.install<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/license<br />
# makepkg<br />
# pacman -U fluidr3-122501-6.pkg.tar.gz<br />
<br />
If fluidr3 has been installed properly, we have to add it's path to the timidity++ configuration file. Just add this line to /etc/timidity++/timidity.cfg:<br />
soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2<br />
<br />
Then timidity++ is ready for use.<br />
<br />
==How to use timidity++==<br />
There are two ways to use timidity++. Either as MIDI player or as daemon adding MIDI support to [[ALSA]].<br />
<br />
===Standalone mode===<br />
You can simply use timidity++ to play MIDI files:<br />
$ timidity example.midi<br />
<br />
Add option -in or -ig for a text mode/gtk+ interface. E.g. as a Xfce/GNOME user you may want to set MIDI files to open with the custom command `timidity -ig'. There are many other options to timidity; see manpage or use -h to get help.<br />
<br />
===Alsa daemon mode===<br />
If you want timidity to run as ALSA daemon, just use:<br />
# /etc/rc.d/timidity++ start<br />
<br />
If you want to have permanent MIDI support, add timidity to your daemon list in /etc/rc.conf:<br />
DAEMONS=(... timidity++ ...)<br />
<br />
Or if you just want to run timidity with ALSA support once, you can use the following command which will make console output viewable:<br />
$ timidity -iA<br />
<br />
This will give you four output software MIDI ports (in addition of hardware MIDI ports on your system, if any):<br />
<br />
$ aconnect -o<br />
client 128: 'TiMidity' [type=user]<br />
0 'TiMidity port 0 '<br />
1 'TiMidity port 1 '<br />
2 'TiMidity port 2 '<br />
3 'TiMidity port 3 '<br />
<br />
An example usage for this is community/vkeybd, a virtual MIDI keyboard for X:<br />
<br />
# pacman -S vkeybd<br />
...<br />
$ vkeybd --addr 128:0<br />
<br />
Option --addr 128:0 connects the input (readable) software MIDI port provided by vkeybd to the first output (writable) ALSA port provided by Timidity. Alternatively you can use aconnect(1), community/aconnectgui or AUR packages [http://aur.archlinux.org/packages.php?do_Details=1&ID=9668 patchage], [http://aur.archlinux.org/packages.php?ID=13818 kaconnect]. As a result when you play around with the keys on the vkeybd timidity plays the appropriate notes. See also [[USB_Midi_Keyboards|USB Midi Keyboards]].<br />
<br />
==Troubleshooting==<br />
===timidity++ does not play MIDI files===<br />
It may be that your soundfile is not set up correctly. Just run:<br />
$ timidity example.midi<br />
<br />
If you find a line like this in the terminal output, your soundfile is not set up properly.<br />
No instrument mapped to tone bank 0, program XX - \<br />
this instrument will not be heard<br />
<br />
Make sure you've installed some samples and your soundfile is added to /etc/timidity++/timidity.cfg. See [[Timidity#Setting up the sound samples|Setting up the sound samples]] above for more details.<br />
<br />
===How to make DOSBox use Timidity++===<br />
The following method is tested in version DOSBox 0.72 (don't know if this works for OLDER or NEWER!).<br />
<br />
First of all, you need to write a config file. Input the following in DOSBox to create a configuration file:<br />
config -writeconf dosbox.conf<br />
you can replace ''dosbox.conf'' by anyname that you want, add a dot in front of it if you want to hide it.<br />
<br />
Make sure you statred Timidity++ as DAEMON as the instructions above, use the ''aconnect'' command.<br />
<br />
Edit this configuration file with any editor, go to the section:<br />
[midi]<br />
mpu401=intelligent<br />
device=default<br />
config=<br />
put the ALSA connection port into the back of ''config='', in default:<br />
config=128:0<br />
<br />
Restart DOSBox within a terminal so you can see its debug messages, by no accident you should see a successful initiation on port 128:0.</div>Rjphttps://wiki.archlinux.org/index.php?title=Timidity%2B%2B&diff=97066Timidity++2010-02-16T15:34:20Z<p>Rjp: /* Freepats */ Added 'Then timidity++ is ready for use. '</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
[[Category:HOWTOs (English)]]<br />
==Introduction==<br />
timidity++ is a MIDI to WAVE converter and player which is basically used to play MIDI files if your sound card does not support the MIDI protocol natively.<br />
<br />
==Installing timidity++==<br />
The first step is to install timidity++ itself. It can be installed via pacman from the [[Pacman#Repositories|extra repository]]:<br />
# pacman -S timidity++<br />
<br />
'''However, timidity++ will not produce any sound yet'''. This is because timidity++ does not include any instrument samples. To produce sound, instrument patches and/or soundfonts need to be installed and timidity++ configured so it knows where to find them. This guide shows two ways of getting sound samples: [[Timidity#Freepats|Freepats]] and [[Timidity#soundfonts|soundfonts]].<br />
<br />
==Setting up the sound samples==<br />
<br />
===Freepats===<br />
The Freepats project provides a set of instrument samples which are compatible with timidity++. It can be installed from the [[Pacman#Repositories|community repository]]:<br />
# pacman -S timidity-freepats<br />
<br />
To use Freepats with timidity, add the following lines to /etc/timidity++/timidity.cfg:<br />
<br />
<pre><br />
dir /usr/share/timidity/freepats<br />
source /etc/timidity++/freepats/freepats.cfg<br />
</pre><br />
<br />
Then timidity++ is ready for use.<br />
<br />
===soundfonts===<br />
There are many soundfonts available. This example will show how to isntall the fluidr3 soundfont, which is accessible via the [[AUR]].<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
As sfarkxtc, a decompressor for soundfonts, is a make dependency of fluidr3, we install it first:<br />
# pacman -S sfarkxtc<br />
<br />
After sfarkxtc has been installed, we will be able to build fluidr3 which may take some time.<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/fluidr3.install<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/license<br />
# makepkg<br />
# pacman -U fluidr3-122501-6.pkg.tar.gz<br />
<br />
If fluidr3 has been installed properly, we have to add it's path to the timidity++ configuration file. Just add this line to /etc/timidity++/timidity.cfg:<br />
soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2<br />
<br />
Then timidity++ is ready for use.<br />
<br />
==How to use timidity++==<br />
There are two ways to use timidity++. Either as MIDI player or as daemon adding MIDI support to [[ALSA]].<br />
<br />
===Standalone mode===<br />
You can simply use timidity++ to play MIDI files:<br />
$ timidity example.midi<br />
<br />
Add option -in or -ig for a text mode/gtk+ interface. E.g. as a Xfce/GNOME user you may want to set MIDI files to open with the custom command `timidity -ig'. There are many other options to timidity; see manpage or use -h to get help.<br />
<br />
===Alsa daemon mode===<br />
If you want timidity to run as ALSA daemon, just use:<br />
# /etc/rc.d/timidity++ start<br />
<br />
If you want to have permanent MIDI support, add timidity to your daemon list in /etc/rc.conf:<br />
DAEMONS=(... timidity++ ...)<br />
<br />
Or if you just want to run timidity with ALSA support once, you can use the following command which will make console output viewable:<br />
$ timidity -iA<br />
<br />
This will give you four output software MIDI ports (in addition of hardware MIDI ports on your system, if any):<br />
<br />
$ aconnect -o<br />
client 128: 'TiMidity' [type=user]<br />
0 'TiMidity port 0 '<br />
1 'TiMidity port 1 '<br />
2 'TiMidity port 2 '<br />
3 'TiMidity port 3 '<br />
<br />
An example usage for this is community/vkeybd, a virtual MIDI keyboard for X:<br />
<br />
# pacman -S vkeybd<br />
...<br />
$ vkeybd --addr 128:0<br />
<br />
Option --addr 128:0 connects the input (readable) software MIDI port provided by vkeybd to the first output (writable) ALSA port provided by Timidity. Alternatively you can use aconnect(1), community/aconnectgui or AUR packages [http://aur.archlinux.org/packages.php?do_Details=1&ID=9668 patchage], [http://aur.archlinux.org/packages.php?ID=13818 kaconnect]. As a result when you play around with the keys on the vkeybd timidity plays the appropriate notes. See also [[USB_Midi_Keyboards|USB Midi Keyboards]].<br />
<br />
==Troubleshooting==<br />
===timidity++ does not play MIDI files===<br />
It may be that your soundfile is not set up correctly. Just run:<br />
$ timidity example.midi<br />
<br />
If you find a line like this in the terminal output, your soundfile is not set up properly.<br />
No instrument mapped to tone bank 0, program XX - \<br />
this instrument will not be heard<br />
<br />
Make sure you've installed some samples and your soundfile is added to /etc/timidity++/timidity.cfg. See [[Timidity#Setting up the sound samples|Setting up the sound samples]] above for more details.<br />
<br />
===How to make DOSBox use Timidity++===<br />
The following method is tested in version DOSBox 0.72 (don't know if this works for OLDER or NEWER!).<br />
<br />
First of all, you need to write a config file. Input the following in DOSBox to create a configuration file:<br />
config -writeconf dosbox.conf<br />
you can replace ''dosbox.conf'' by anyname that you want, add a dot in front of it if you want to hide it.<br />
<br />
Make sure you statred Timidity++ as DAEMON as the instructions above, use the ''aconnect'' command.<br />
<br />
Edit this configuration file with any editor, go to the section:<br />
[midi]<br />
mpu401=intelligent<br />
device=default<br />
config=<br />
put the ALSA connection port into the back of ''config='', in default:<br />
config=128:0<br />
<br />
Restart DOSBox within a terminal so you can see its debug messages, by no accident you should see a successful initiation on port 128:0.</div>Rjphttps://wiki.archlinux.org/index.php?title=Timidity%2B%2B&diff=97065Timidity++2010-02-16T15:32:25Z<p>Rjp: Added guide to using timidity-freepats package for instrument patches + some tidy up</p>
<hr />
<div>[[Category: Audio/Video (English)]]<br />
[[Category:HOWTOs (English)]]<br />
==Introduction==<br />
timidity++ is a MIDI to WAVE converter and player which is basically used to play MIDI files if your sound card does not support the MIDI protocol natively.<br />
<br />
==Installing timidity++==<br />
The first step is to install timidity++ itself. It can be installed via pacman from the [[Pacman#Repositories|extra repository]]:<br />
# pacman -S timidity++<br />
<br />
'''However, timidity++ will not produce any sound yet'''. This is because timidity++ does not include any instrument samples. To produce sound, instrument patches and/or soundfonts need to be installed and timidity++ configured so it knows where to find them. This guide shows two ways of getting sound samples: [[Timidity#Freepats|Freepats]] and [[Timidity#soundfonts|soundfonts]].<br />
<br />
==Setting up the sound samples==<br />
<br />
===Freepats===<br />
The Freepats project provides a set of instrument samples which are compatible with timidity++. It can be installed from the [[Pacman#Repositories|community repository]]:<br />
# pacman -S timidity-freepats<br />
<br />
To use Freepats with timidity, add the following lines to /etc/timidity++/timidity.cfg:<br />
<br />
<pre><br />
dir /usr/share/timidity/freepats<br />
source /etc/timidity++/freepats/freepats.cfg<br />
</pre><br />
<br />
===soundfonts===<br />
There are many soundfonts available. This example will show how to isntall the fluidr3 soundfont, which is accessible via the [[AUR]].<br />
:'''Note:''' It will be assumed that you know how to build packages from the AUR. If you have never used the AUR before, please take a look at the [[AUR_User_Guidelines|AUR User Guidelines]].<br />
<br />
As sfarkxtc, a decompressor for soundfonts, is a make dependency of fluidr3, we install it first:<br />
# pacman -S sfarkxtc<br />
<br />
After sfarkxtc has been installed, we will be able to build fluidr3 which may take some time.<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/PKGBUILD<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/fluidr3.install<br />
# wget http://aur.archlinux.org/packages/fluidr3/fluidr3/license<br />
# makepkg<br />
# pacman -U fluidr3-122501-6.pkg.tar.gz<br />
<br />
If fluidr3 has been installed properly, we have to add it's path to the timidity++ configuration file. Just add this line to /etc/timidity++/timidity.cfg:<br />
soundfont /usr/share/soundfonts/fluidr3/FluidR3GM.SF2<br />
<br />
Then timidity++ is ready for use.<br />
<br />
==How to use timidity++==<br />
There are two ways to use timidity++. Either as MIDI player or as daemon adding MIDI support to [[ALSA]].<br />
<br />
===Standalone mode===<br />
You can simply use timidity++ to play MIDI files:<br />
$ timidity example.midi<br />
<br />
Add option -in or -ig for a text mode/gtk+ interface. E.g. as a Xfce/GNOME user you may want to set MIDI files to open with the custom command `timidity -ig'. There are many other options to timidity; see manpage or use -h to get help.<br />
<br />
===Alsa daemon mode===<br />
If you want timidity to run as ALSA daemon, just use:<br />
# /etc/rc.d/timidity++ start<br />
<br />
If you want to have permanent MIDI support, add timidity to your daemon list in /etc/rc.conf:<br />
DAEMONS=(... timidity++ ...)<br />
<br />
Or if you just want to run timidity with ALSA support once, you can use the following command which will make console output viewable:<br />
$ timidity -iA<br />
<br />
This will give you four output software MIDI ports (in addition of hardware MIDI ports on your system, if any):<br />
<br />
$ aconnect -o<br />
client 128: 'TiMidity' [type=user]<br />
0 'TiMidity port 0 '<br />
1 'TiMidity port 1 '<br />
2 'TiMidity port 2 '<br />
3 'TiMidity port 3 '<br />
<br />
An example usage for this is community/vkeybd, a virtual MIDI keyboard for X:<br />
<br />
# pacman -S vkeybd<br />
...<br />
$ vkeybd --addr 128:0<br />
<br />
Option --addr 128:0 connects the input (readable) software MIDI port provided by vkeybd to the first output (writable) ALSA port provided by Timidity. Alternatively you can use aconnect(1), community/aconnectgui or AUR packages [http://aur.archlinux.org/packages.php?do_Details=1&ID=9668 patchage], [http://aur.archlinux.org/packages.php?ID=13818 kaconnect]. As a result when you play around with the keys on the vkeybd timidity plays the appropriate notes. See also [[USB_Midi_Keyboards|USB Midi Keyboards]].<br />
<br />
==Troubleshooting==<br />
===timidity++ does not play MIDI files===<br />
It may be that your soundfile is not set up correctly. Just run:<br />
$ timidity example.midi<br />
<br />
If you find a line like this in the terminal output, your soundfile is not set up properly.<br />
No instrument mapped to tone bank 0, program XX - \<br />
this instrument will not be heard<br />
<br />
Make sure you've installed some samples and your soundfile is added to /etc/timidity++/timidity.cfg. See [[Timidity#Setting up the sound samples|Setting up the sound samples]] above for more details.<br />
<br />
===How to make DOSBox use Timidity++===<br />
The following method is tested in version DOSBox 0.72 (don't know if this works for OLDER or NEWER!).<br />
<br />
First of all, you need to write a config file. Input the following in DOSBox to create a configuration file:<br />
config -writeconf dosbox.conf<br />
you can replace ''dosbox.conf'' by anyname that you want, add a dot in front of it if you want to hide it.<br />
<br />
Make sure you statred Timidity++ as DAEMON as the instructions above, use the ''aconnect'' command.<br />
<br />
Edit this configuration file with any editor, go to the section:<br />
[midi]<br />
mpu401=intelligent<br />
device=default<br />
config=<br />
put the ALSA connection port into the back of ''config='', in default:<br />
config=128:0<br />
<br />
Restart DOSBox within a terminal so you can see its debug messages, by no accident you should see a successful initiation on port 128:0.</div>Rjp