342813871-Arduino-Musica.pdf
(
112500 KB
)
Pobierz
ARDUINO FOR MUSICIANS: A COMPLETE GUIDE TO ARDUINO AND TEENSY MICROCONTROLLERS
OXFORD
UNIVBJ.SITY PUSS
ArduinoTM for Musicians
A Complete Guide to Arduino
and Teensy Microcontrollers
Brent Edstront
Oxford University Press is a department of the University of Oxford.
It
furthers the
University's objective of excellence in research, scholarship, and education by
publishing worldwide. Oxford is a registered trade mark of Oxford University Press in
the UK and in certain other countries.
Published in the United States of America by Oxford University Press 198 Madison
Avenue, New York, NY 10016, United States of America
©Oxford University Press 2016
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, without the prior permission in
writing of Oxford University Press, or as expressly permitted by law, by license, or
under terms agreed with the appropriate reproduction rights organization. Inquiries
concerning reproduction outside the scope of the above should be sent to the Rights
Department, Oxford University Press, at the address above.
You must not circulate this work in any other form and you must impose this same
condition on any acquirer
Library of Congress Cataloging-in-Publication Data
Edstrom, Brent.
Arduino for musicians: a complete guide to Arduino and teensy
microcontrollers/Brent Edstrom.
pages em
Includes bibliographical references and index.
ISBN 978- 0- 19- 930931- 3 (hardcover: alk. paper)- ISBN 978- 0- 19- 930932- 0
(pbk. : alk. paper)
ebook ISBN 978-0-19-046004-4
1.
Electronic musical instruments-Construction. 2. Arduino (Programmable
controller) 3. Microcontrollers- Programming. 4. MIDI controllers- Construction.
I.
Title.
ML1092.E37 2016
784.19028s-dc23
2015024668
Posici6n 4
OXFORD
UNIVERSITY PRESS
ARDUINO FOR MUSICIANS: A COMPLETE GUIDE TO ARDUINO AND TEENSY MICROCONTROLLERS
Conclusion
2
Contents
Preface
Acknowledgments
About the Companion Website
1
Getting Started
Who This Book Is For
What Is Arduino?
What You Can Do with Arduino
What You Can't Do with Arduino
The Lay of the Land
The Arduino Family
Programming and the Arduino IDE
Circuitry
Review
Design Cycle
Organization of the Book
Things You Will Need to Get Started
Beginner
Intermediate
Advanced
Purchasing Parts
Posici6n 33
Introduction to
What Is a Programming Language?
Why the C Language?
Getting Started
Writing Your First Sketch
Error Messages
Uploading a Program
"Hello. world!" in Detail
Functions
Serial Output
Adding Comments
Code Improvisation
Variables. Data JYpes. and Operators
Initializing Variables
Operators
Code Improvisation
DataJYpes
Signed and Unsigned Data JYpes
Universal Data JYpes
Constants
Enumerations
Comparison Operators and Control Structures
"If' Statements
Boolean Operators
Switch Statements
Code Improvisation
ARDUINO FOR MUSICIANS: A COMPLETE GUIDE TO ARDUINO AND TEENSY MICROCONTROLLERS
Control Loops
While Loop
Do While Loop
For Loop
Endless Loops
Practical Application
Code Improvisation
Writing a First Function
Function Parameters
Using a Custom Function
A First Sketch Involving Hardware
Introduction to Arrays
Array Syntax
Array Initialization
The Ugly Truth: Working with Text in C
String Literals
Character Arrays
An
Easier Way: Using the String Class
String Class Example
A Complete Demonstration Program
Playing the Tempo Game
Setup
newGameO Function
Helper Functions
Main loopO
Conclusion
3 Introduction to Electronics
Posici6n 101
Overview
Pep Talk
Safety Warning
Tools and Process
A First Circuit
gV Battery
SPST Switch
Resistor
LED
Using a Breadboard
A First Breadboard Project
Ohm's Law
Conceptualizing Voltage. Current. and Resistance
Using Ohm's Law
Units of Measurement
Practical Example of Ohm's Law
Using a Digital Multimeter
Measuring Voltage
Measuring Current
Measuring Resistance
A Word About Resistor Color Codes
Safety Diode and Potentiometer
Emergency Music Stand Light
Transistors
Incoworating a Photoresistor and Transistor
Cigar Box Amplifier
Operational Amplifier
ARDUINO FOR MUSICIANS: A COMPLETE GUIDE TO ARDUINO AND TEENSY MICROCONTROLLERS
Capacitors
Capacitance
an Audio
to the Amplifier
Completed Project
Simple Theremin
Hex Inverter
Phase-Locked Loop IC
Up the Simple Theremin
Conclusion
4
with Arduino
Overview of Arduino UNO
A Caution
Overview of the Metronome Project
Metronome with Speaker
Metronome with Potentiometer
Metronome with Pushbutton Switch
Complete Source Code
Metronome with Quadrature Rotary Encoder
Conclusion
Interface I/0
Status Byte
Data Byte
Channel
and System
Channel Voice
Other Control
and Mode
Channel Mode
System
System Common
System Real-Time
System Exclusive
Universal System Exclusive
MIDI Hardware
MIDI Output
MIDI Receiver Circuit
MIDITHRU
Permanent MIDI Circuits
USB MIDI with Teensy
Teensy
Conclusion
6 Real-Time Input: Musical Expression
Force-Sensitive Resistor
an FSR
Force-Sensitive Drum Pad
Nintendo DS Touch Screen
the X andY Positions
Pressure Sensor
Posici6n 177
5 Music Instrument
What Is MIDI?
MIDI Ports
MIDI OUT Port
MIDI IN Port
MIDI THRU Port
MIDI
Plik z chomika:
blakusername
Inne pliki z tego folderu:
ACTIA Multi-Diag II- 2013.rar
(1961972 KB)
OBD_SCAN_PROGRAMS.part2.rar
(205078 KB)
OBD_SCAN_PROGRAMS.part3(1).rar
(205078 KB)
OBD_SCAN_PROGRAMS.part1(1).rar
(205078 KB)
Winols 2.24 OK.rar
(208237 KB)
Inne foldery tego chomika:
Pliki dostępne do 01.06.2025
Pliki dostępne do 19.01.2025
Galeria
Ksiazki
Programowanie
Zgłoś jeśli
naruszono regulamin