How to Create Music with GNU/Linux

Total Page:16

File Type:pdf, Size:1020Kb

How to Create Music with GNU/Linux How to create music with GNU/Linux Emmanuel Saracco [email protected] How to create music with GNU/Linux by Emmanuel Saracco Copyright © 2005-2009 Emmanuel Saracco How to create music with GNU/Linux Warning WORK IN PROGRESS Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is available on the World Wide Web at http://www.gnu.org/licenses/fdl.html. Revision History Revision 0.0 2009-01-30 Revised by: es Not yet versioned: It is still a work in progress. Dedication This howto is dedicated to all GNU/Linux users that refuse to use proprietary software to work with audio. Many thanks to all Free developers and Free composers that help us day-by-day to make this possible. Table of Contents Forword................................................................................................................................................... vii 1. System settings and tuning....................................................................................................................1 1.1. My Studio....................................................................................................................................1 1.2. File system..................................................................................................................................1 1.3. Linux Kernel...............................................................................................................................2 1.3.1. Realtime Preemption patch.............................................................................................3 1.3.2. Configuration..................................................................................................................3 1.3.3. Installation......................................................................................................................5 1.4. Obtaining Reatime privileges......................................................................................................6 1.4.1. Realtime LSM................................................................................................................6 1.4.2. Using set_rlimits.............................................................................................................8 1.4.3. Using PAM.....................................................................................................................8 1.5. PCI latency..................................................................................................................................9 1.6. ALSA........................................................................................................................................10 2. Hardware..............................................................................................................................................13 2.1. RME Hammerfall HDSP 9632..................................................................................................13 2.1.1. Firmware.......................................................................................................................13 2.1.2. Linux Kernel.................................................................................................................13 2.1.3. HDSP utilities...............................................................................................................14 2.1.3.1. hdspconf...........................................................................................................14 2.1.3.2. hdspmixer.........................................................................................................15 3. Building required audio software.......................................................................................................16 3.1. Jack Audio Connection Kit.......................................................................................................16 3.2. Qjackctl.....................................................................................................................................17 3.3. LADSPA....................................................................................................................................17 3.3.1. LADSPA plugins..........................................................................................................18 3.4. DSSI..........................................................................................................................................19 3.5. Hydrogen...................................................................................................................................19 3.6. QSynth......................................................................................................................................21 3.7. SpiralSynthModular..................................................................................................................21 3.8. ZynAddSubFX..........................................................................................................................22 3.9. Rosegarden................................................................................................................................23 3.10. LMMS - Linux Multimedia Studio.........................................................................................25 3.11. Ardour.....................................................................................................................................26 3.12. JAMin......................................................................................................................................27 3.13. Jack Timemachine...................................................................................................................28 3.14. Rezound..................................................................................................................................28 3.15. Lame........................................................................................................................................28 4. Soundfonts............................................................................................................................................31 4.1. Getting soundfonts....................................................................................................................31 4.2. Using soundfonts.......................................................................................................................31 4.2.1. With Soundblaster soundcard.......................................................................................31 4.2.2. With other soundcards..................................................................................................32 4.2.2.1. Testing with DSSI plugins...............................................................................32 4.2.2.2. Testing with QSynth........................................................................................33 iv 5. Create music.........................................................................................................................................34 5.1. Execute Jack at first...................................................................................................................34 5.2. Playing with ZynAddSubFX.....................................................................................................35 5.3. Playing with Hydrogen.............................................................................................................38 5.4. Playing with Rosegarden...........................................................................................................38 5.4.1. Rosegarden settings......................................................................................................39 5.4.2. Using soft synthetizers.................................................................................................40 5.4.3. Recording audio tracks.................................................................................................40 5.5. Playing with Ardour..................................................................................................................41 5.6. Playing with JAMin..................................................................................................................41 6. Capturing and encoding......................................................................................................................44 6.1. Playing with Timemachine........................................................................................................44 6.2. Playing with Rezound...............................................................................................................45 6.3. Share your work........................................................................................................................48 A. Useful Audio Links.............................................................................................................................53 A.1. Mailing-lists.............................................................................................................................53 A.2. Web sites..................................................................................................................................53
Recommended publications
  • Proceedings 2005
    LAC2005 Proceedings 3rd International Linux Audio Conference April 21 – 24, 2005 ZKM | Zentrum fur¨ Kunst und Medientechnologie Karlsruhe, Germany Published by ZKM | Zentrum fur¨ Kunst und Medientechnologie Karlsruhe, Germany April, 2005 All copyright remains with the authors www.zkm.de/lac/2005 Content Preface ............................................ ............................5 Staff ............................................... ............................6 Thursday, April 21, 2005 – Lecture Hall 11:45 AM Peter Brinkmann MidiKinesis – MIDI controllers for (almost) any purpose . ....................9 01:30 PM Victor Lazzarini Extensions to the Csound Language: from User-Defined to Plugin Opcodes and Beyond ............................. .....................13 02:15 PM Albert Gr¨af Q: A Functional Programming Language for Multimedia Applications .........21 03:00 PM St´ephane Letz, Dominique Fober and Yann Orlarey jackdmp: Jack server for multi-processor machines . ......................29 03:45 PM John ffitch On The Design of Csound5 ............................... .....................37 04:30 PM Pau Arum´ıand Xavier Amatriain CLAM, an Object Oriented Framework for Audio and Music . .............43 Friday, April 22, 2005 – Lecture Hall 11:00 AM Ivica Ico Bukvic “Made in Linux” – The Next Step .......................... ..................51 11:45 AM Christoph Eckert Linux Audio Usability Issues .......................... ........................57 01:30 PM Marije Baalman Updates of the WONDER software interface for using Wave Field Synthesis . 69 02:15 PM Georg B¨onn Development of a Composer’s Sketchbook ................. ....................73 Saturday, April 23, 2005 – Lecture Hall 11:00 AM J¨urgen Reuter SoundPaint – Painting Music ........................... ......................79 11:45 AM Michael Sch¨uepp, Rene Widtmann, Rolf “Day” Koch and Klaus Buchheim System design for audio record and playback with a computer using FireWire . 87 01:30 PM John ffitch and Tom Natt Recording all Output from a Student Radio Station .
    [Show full text]
  • Free C Ulture Forum
    Free C ulture Free C ulture Forum March 23, 2006 11:30 am - 2:30 pm 450 Dodge Hall, Northeastern University PROGRAM Welcome Dani Capalbo NU Student, Class of 2010 Edward A. Warro Dean of Libraries Introduction of Panelists Marcus Breen Communication Studies Panelists Lawrence Lessig Derek Slater Nelson Pavlosky Will Wakeling Bios Additional Resources Lawrence Lawrence Lessig is a Professor of Law at Stanford Law School and founder of the school's The World Wide Web holds many examples of projects whose intent is to facilitate Center for Internet and Society. Prior to joining the Stanford faculty, he was the Berkman the sharing of ideas, scholarly research and creative works. Professor of Law at Harvard Law School and a Professor at the University of Chicago. He clerked for Judge Richard Posner on the 7th Circuit Court of Appeals and Justice Antonin Scalia on the United States Supreme Court. Professor Lessig represented web site operator Creative Commons (http://creativecommons.org/) is a nonprofit organization that Eric Eldred in the ground-breaking case Eldred v. Ashcroft, a challenge to the 1998 Sonny offers flexible copyright licenses for original works; creators may choose from a range Bono Copyright Term Extension Act. He has won numerous awards, including the Free of protections and freedoms. Software Foundation's Freedom Award, and was named one of Scientific American's Top 50 Visionaries, for arguing "against interpretations of copyright that could stifle innovation and Creative Commons Education (http://creativecommons.org/education/) helps with online discourse online." Professor Lessig is the author of Free Culture (2004), The Future of Ideas publishing of educational materials.
    [Show full text]
  • A Framework for Embedded Digital Musical Instruments
    A Framework for Embedded Digital Musical Instruments Ivan Franco Music Technology Area Schulich School of Music McGill University Montreal, Canada A thesis submitted to McGill University in partial fulfillment of the requirements for the degree of Doctor of Philosophy. © 2019 Ivan Franco 2019/04/11 i Abstract Gestural controllers allow musicians to use computers as digital musical instruments (DMI). The body gestures of the performer are captured by sensors on the controller and sent as digital control data to a audio synthesis software. Until now DMIs have been largely dependent on the computing power of desktop and laptop computers but the most recent generations of single-board computers have enough processing power to satisfy the requirements of many DMIs. The advantage of those single-board computers over traditional computers is that they are much smaller in size. They can be easily embedded inside the body of the controller and used to create fully integrated and self-contained DMIs. This dissertation examines various applications of embedded computing technologies in DMIs. First we describe the history of DMIs and then expose some of the limitations associated with the use of general-purpose computers. Next we present a review on different technologies applicable to embedded DMIs and a state of the art of instruments and frameworks. Finally, we propose new technical and conceptual avenues, materialized through the Prynth framework, developed by the author and a team of collaborators during the course of this research. The Prynth framework allows instrument makers to have a solid starting point for the de- velopment of their own embedded DMIs.
    [Show full text]
  • Extending the Faust VST Architecture with Polyphony, Portamento and Pitch Bend Yan Michalevsky Julius O
    Extending the Faust VST Architecture with Polyphony, Portamento and Pitch Bend Yan Michalevsky Julius O. Smith Andrew Best Department of Electrical Center for Computer Research in Blamsoft, Inc. Engineering, Music and Acoustics (CCRMA), [email protected] Stanford University Stanford University [email protected] AES Fellow [email protected] Abstract VST (Virtual Studio Technology) plugin stan- We introduce the vsti-poly.cpp architecture for dard was released by Steinberg GmbH (famous the Faust programming language. It provides sev- for Cubase and other music and sound produc- eral features that are important for practical use of tion products) in 1996, and was followed by the Faust-generated VSTi synthesizers. We focus on widespread version 2.0 in 1999 [8]. It is a partic- the VST architecture as one that has been used tra- ularly common format supported by many older ditionally and is supported by many popular tools, and newer tools. and add several important features: polyphony, note Some of the features expected from a VST history and pitch-bend support. These features take plugin can be found in the VST SDK code.2 Faust-generated VST instruments a step forward in Examining the list of MIDI events [1] can also terms of generating plugins that could be used in Digital Audio Workstations (DAW) for real-world hint at what capabilities are expected to be im- music production. plemented by instrument plugins. We also draw from our experience with MIDI instruments and Keywords commercial VST plugins in order to formulate sound feature requirements. Faust, VST, Plugin, DAW In order for Faust to be a practical tool for generating such plugins, it should support most 1 Introduction of the features expected, such as the following: Faust [5] is a popular music/audio signal pro- • Responding to MIDI keyboard events cessing language developed by Yann Orlarey et al.
    [Show full text]
  • Computer Music
    THE OXFORD HANDBOOK OF COMPUTER MUSIC Edited by ROGER T. DEAN OXFORD UNIVERSITY PRESS OXFORD UNIVERSITY PRESS Oxford University Press, Inc., publishes works that further Oxford University's objective of excellence in research, scholarship, and education. Oxford New York Auckland Cape Town Dar es Salaam Hong Kong Karachi Kuala Lumpur Madrid Melbourne Mexico City Nairobi New Delhi Shanghai Taipei Toronto With offices in Argentina Austria Brazil Chile Czech Republic France Greece Guatemala Hungary Italy Japan Poland Portugal Singapore South Korea Switzerland Thailand Turkey Ukraine Vietnam Copyright © 2009 by Oxford University Press, Inc. First published as an Oxford University Press paperback ion Published by Oxford University Press, Inc. 198 Madison Avenue, New York, New York 10016 www.oup.com Oxford is a registered trademark of Oxford University Press All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior permission of Oxford University Press. Library of Congress Cataloging-in-Publication Data The Oxford handbook of computer music / edited by Roger T. Dean. p. cm. Includes bibliographical references and index. ISBN 978-0-19-979103-0 (alk. paper) i. Computer music—History and criticism. I. Dean, R. T. MI T 1.80.09 1009 i 1008046594 789.99 OXF tin Printed in the United Stares of America on acid-free paper CHAPTER 12 SENSOR-BASED MUSICAL INSTRUMENTS AND INTERACTIVE MUSIC ATAU TANAKA MUSICIANS, composers, and instrument builders have been fascinated by the expres- sive potential of electrical and electronic technologies since the advent of electricity itself.
    [Show full text]
  • Command-Line Sound Editing Wednesday, December 7, 2016
    21m.380 Music and Technology Recording Techniques & Audio Production Workshop: Command-line sound editing Wednesday, December 7, 2016 1 Student presentation (pa1) • 2 Subject evaluation 3 Group picture 4 Why edit sound on the command line? Figure 1. Graphical representation of sound • We are used to editing sound graphically. • But for many operations, we do not actually need to see the waveform! 4.1 Potential applications • • • • • • • • • • • • • • • • 1 of 11 21m.380 · Workshop: Command-line sound editing · Wed, 12/7/2016 4.2 Advantages • No visual belief system (what you hear is what you hear) • Faster (no need to load guis or waveforms) • Efficient batch-processing (applying editing sequence to multiple files) • Self-documenting (simply save an editing sequence to a script) • Imaginative (might give you different ideas of what’s possible) • Way cooler (let’s face it) © 4.3 Software packages On Debian-based gnu/Linux systems (e.g., Ubuntu), install any of the below packages via apt, e.g., sudo apt-get install mplayer. Program .deb package Function mplayer mplayer Play any media file Table 1. Command-line programs for sndfile-info sndfile-programs playing, converting, and editing me- Metadata retrieval dia files sndfile-convert sndfile-programs Bit depth conversion sndfile-resample samplerate-programs Resampling lame lame Mp3 encoder flac flac Flac encoder oggenc vorbis-tools Ogg Vorbis encoder ffmpeg ffmpeg Media conversion tool mencoder mencoder Media conversion tool sox sox Sound editor ecasound ecasound Sound editor 4.4 Real-world
    [Show full text]
  • The Book of Audacity
    THE BOOK OF AUDACITY Record, Edit, Mix, and Master with the Free Audio Editor by Carla Schroder San Francisco THE BOOK OF AUDACITY. Copyright © 2011 by Carla Schroder. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. 15 14 13 12 11 1 2 3 4 5 6 7 8 9 ISBN-10: 1-59327-270-7 ISBN-13: 978-1-59327-270-8 Publisher: William Pollock Production Editor: Serena Yang Cover and Interior Design: Octopod Studios Developmental Editor: Tyler Ortman Technical Reviewer: Alvin Goats Copyeditor: Kim Wimpsett Compositor: Serena Yang Proofreader: Paula L. Fleming Indexer: Nancy Guenther For information on book distributors or translations, please contact No Starch Press, Inc. directly: No Starch Press, Inc. 38 Ringold Street, San Francisco, CA 94103 phone: 415.863.9900; fax: 415.863.9950; [email protected]; www.nostarch.com Library of Congress Cataloging-in-Publication Data Schroder, Carla. The book of Audacity : record, edit, mix, and master with the free audio editor / by Carla Schroder. p. cm. Includes bibliographical references. ISBN-13: 978-1-59327-270-8 ISBN-10: 1-59327-270-7 1. Audacity (Computer file) 2. Digital audio editors. I. Title. ML74.4.A84S37 2010 781.3’4536-dc22 2010037594 No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners.
    [Show full text]
  • Photo Editing
    All recommendations are from: http://www.mediabistro.com/10000words/7-essential-multimedia-tools-and-their_b376 Photo Editing Paid Free Photoshop Splashup Photoshop may be the industry leader when it comes to photo editing and graphic design, but Splashup, a free online tool, has many of the same capabilities at a much cheaper price. Splashup has lots of the tools you’d expect to find in Photoshop and has a similar layout, which is a bonus for those looking to get started right away. Requires free registration; Flash-based interface; resize; crop; layers; flip; sharpen; blur; color effects; special effects Fotoflexer/Photobucket Crop; resize; rotate; flip; hue/saturation/lightness; contrast; various Photoshop-like effects Photoshop Express Requires free registration; 2 GB storage; crop; rotate; resize; auto correct; exposure correction; red-eye removal; retouching; saturation; white balance; sharpen; color correction; various other effects Picnik “Auto-fix”; rotate; crop; resize; exposure correction; color correction; sharpen; red-eye correction Pic Resize Resize; crop; rotate; brightness/contrast; conversion; other effects Snipshot Resize; crop; enhancement features; exposure, contrast, saturation, hue and sharpness correction; rotate; grayscale rsizr For quick cropping and resizing EasyCropper For quick cropping and resizing Pixenate Enhancement features; crop; resize; rotate; color effects FlauntR Requires free registration; resize; rotate; crop; various effects LunaPic Similar to Microsoft Paint; many features including crop, scale
    [Show full text]
  • Soundfont Player™ 1.0 Operation Manual
    SoundFont Player™ 1.0 Operation Manual E-MU World Headquarters E-MU / ENSONIQ P.O. Box 660015 Scotts Valley, CA 95067-0015 Telephone: (+1) 831-438-1921 Fax: (+1) 831-438-8612 www.soundfont.com www.emu.com SoundFont Player™ 1.0 Operation Manual E-MU World Headquarters E-MU / ENSONIQ P.O. Box 660015 Scotts Valley, CA 95067-0015 Telephone: (+1) 831-438-1921 Fax: (+1) 831-438-8612 Internet: www.soundfont.com www.emu.com SoundFont Player Operation Manual Page 1 This manual is © 2001 E-MU / ENSONIQ. All Rights Reserved Legal Information The following are worldwide trademarks, owned or exclusively licensed by E-mu Systems, Inc, dba E-MU / ENSONIQ, registered in the United States of America as indicated by ®, and in various other countries of the world: E-mu®, E-mu Systems®, the E-mu logo, Ensoniq®, the Ensoniq logo, the E-MU / ENSONIQ logo, Orbit The Dance Planet, Planet Phatt The Swing System, Proteus®, SoundFont®, the SoundFont logo, SoundFont Player,. Sound Blaster and Creative are registered trademarks of Creative Technology Ltd. Audigy, Environmental Audio, the Environmental Audio logo, and Environmental Audio Extensions are trademarks of Creative Technology Ltd. in the United States and/or other countries. Windows is a trademark of Microsoft Corporation in the United States and/or other countries. All other brand and product names are trademarks or registered trademarks of their respective holders. SoundFont Player Operation Manual Page 2 Table of Introduction ...................................................................................6
    [Show full text]
  • Datapond – Data Driven Music Builder
    DataPond – Data Driven Music Builder DataPond Data Driven Music Builder Over the past couple of months I have been attempting to teach myself to read music. This is something that I have been meaning to do for a long time. In high school the music teachers seemed to have no interest in students other than those with existing natural talent. The rest of us, they just taught appreciation of Bob Dylan. I can't stand Bob Dylan. So I never learned to read music or play an instrument. Having discovered the enjoyment of making stringed instruments such as the papermaché sitar, the Bad-Arse Mountain Dulcimer, a Windharp (inspired by this one), and a couple of other odd instruments. More recently I made a Lap Steel Slide guitar based on the electronics described in David Eric Nelson's great book “Junkyard Jam Band” and on Shane Speal's guide on building Lapsteels. I built mine out of waste wood palette wood and it connects to an old computer speaker system I pulled out of my junk box and turned to the purpose. It ended up sounding pretty good – to my ear at least. Anyway, I have instruments-a-plenty, but didn't know how to play'em so I decided to teach myself music. The biggest early challenge was reading music. I'm sure it would have been easier if a mathematician had been involved in designing the notation system. To teach myself I decided that reading sheet music and transcribing it into the computer would be a good way of doing it.
    [Show full text]
  • Implementing a Parametric EQ Plug-In in C++ Using the Multi-Platform VST Specification
    2003:044 C EXTENDED ESSAY Implementing a parametric EQ plug-in in C++ using the multi-platform VST specification JONAS EKEROOT SCHOOL OF MUSIC Audio Technology Supervisor: Jan Berg 2003:044 • ISSN: 1402 – 1773 • ISRN: LTU - CUPP - - 03/44 - - SE Implementing a parametric EQ plug-in in C++ using the multi-platform VST specification Jonas Ekeroot Division of Sound Recording School of Music in Pite˚a Lule˚aUniversity of Technology April 23, 2003 Abstract As the processing power of desktop computer systems increase by every year, more and more real-time audio signal processing is per- formed on such systems. What used to be done in external effects units, e.g. adding reverb, can now be accomplished within the com- puter system using signal processing code modules – plug-ins. This thesis describes the development of a peak/notch parametric EQ VST plug-in. First a prototype was made in the graphical audio program- ming environment Max/MSP on MacOS, and then a C++ implemen- tation was made using the VST Software Development Kit. The C++ source code was compiled on both Windows and MacOS, resulting in versions of the plug-in that can be used in any VST host application on Windows and MacOS respectively. Writing a plug-in relieves the programmer of the burden to deal directly with audio interface details and graphical user interface specifics, since this is taken care of by the host application. It can thus be an interesting way to start developing audio DSP algorithms, since the host application also provides the op- portunity to listen to and measure the performance of the implemented plug-in algorithm.
    [Show full text]
  • Android App for Free Music Downloads Top 10 Free Music Download Apps for Android to Download Free Music
    android app for free music downloads Top 10 Free Music Download Apps for Android to Download Free Music. Along with the rapid development of internet and Smartphone, you can handily enjoy your favorite music on mobile devices at any time, rather than listen to music with your old CD or MP3 player. Just a music app on your phone, can totally replace all your music devices. However, nowadays, you may easily find out that lots of free music download apps for Android no longer enable you to download songs free. No matter how deep you love music, you won't pay money for every song you like and downloaded. Because you like all kinds of music types, you fancy too many singers. So many times, free music download apps for Android can be the biggest saviors for you. In this article, we will show you 10 great Android apps for you to free stream and download mp3 songs. Let's look at the top free music apps for Android to download free music. 1. Gaana Music - One-stop solution music download app for Android. Gaana is an excellent free music downloading app on Android for you to download music for free. It provides you with free and unlimited access to all your favorite songs, no matter where you are. Based on the India's largest online music broadcasting service, Gaana can be the one-stop solution for all your music needs. Gaana carries huge collection of Bollywood movie songs. So if you like listening to Hindi music, it can be your best choice to free download MP3 songs.
    [Show full text]