{"id":2484,"date":"2020-11-02T06:46:03","date_gmt":"2020-11-02T14:46:03","guid":{"rendered":"http:\/\/www.donluc.com\/?p=2484"},"modified":"2020-11-02T06:46:03","modified_gmt":"2020-11-02T14:46:03","slug":"project-16-sound-audacity-mk06","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=2484","title":{"rendered":"Project #16: Sound &#8211; Audacity &#8211; Mk06"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-2484-1\" width=\"720\" height=\"406\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05M.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05M.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05M.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#donluc #sound #audacity #synthesizer #programming #arduino #fritzing #electronics #microcontrollers #consultant #vlog<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05a.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05a.png\" alt=\"Audacity\" width=\"720\" height=\"330\" class=\"alignnone size-full wp-image-2486\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05a.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05a-300x138.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05b.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05b.png\" alt=\"Audacity\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-2487\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05b.png 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2020\/11\/DL2010Mk05b-300x200.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p><strong>Audacity<\/strong><\/p>\n<p>Free, open source, cross-platform audio software. Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, macOS, GNU\/Linux and other operating systems. Developed by a group of volunteers as open source.<\/p>\n<p><strong>Recording<\/strong><\/p>\n<p>Audacity can record live audio through a microphone or mixer, or digitize recordings from other media.<\/p>\n<p><strong>Export \/ Import<\/strong><\/p>\n<p>Import, edit, and combine sound files. Export your recordings in many different file formats, including multiple files at once.<\/p>\n<p><strong>Sound Quality<\/strong><\/p>\n<p>Supports 16-bit, 24-bit and 32-bit. Sample rates and formats are converted using high-quality resampling and dithering.<\/p>\n<p><strong>Plugins<\/strong><\/p>\n<p>Support for LADSPA, LV2, Nyquist, VST and Audio Unit effect plug-ins. Nyquist effects can be easily modified in a text editor \u2013 or you can even write your own plug-in.<\/p>\n<p><strong>Editing<\/strong><\/p>\n<p>Easy editing with Cut, Copy, Paste and Delete. Also unlimited sequential Undo (and Redo) in the session to go back any number of steps.<\/p>\n<p><strong>Effects<\/strong><\/p>\n<p>Real-time preview of LADSPA, LV2, VST and Audio Unit (macOS) effects. Plug-in Manager handles plug-in installation and addition\/removal of effects and generators from the menus.<\/p>\n<p><strong>Accessibility<\/strong><\/p>\n<p>Tracks and selections can be fully manipulated using the keyboard. Large range of keyboard shortcuts.<\/p>\n<p><strong>Analysis<\/strong><\/p>\n<p>Spectrogram view mode for visualizing and selecting frequencies. Plot Spectrum window for detailed frequency analysis.<\/p>\n<p><strong>Arduino<\/strong><\/p>\n<p>The keyboard functions prevent Arduino Uno a processor ATmega328P to send keystrokes to an attached computer through their micro\u2019s native USB port. Keyboard processor ATmega32U4 command the Leonardo, Micro, Due board, Pro Micro, and Fio v3. The approximately 150 most important functions in Audacity can be controlled and triggered with shortcuts, by pressing multiple keys on the computer keyboard. Keyboard Serial listens for a byte coming from the serial port. When received, the board sends a keystroke back to the computer.<\/p>\n<p><strong>DL2010Mk05<\/strong><\/p>\n<p>1 x Fio v3 &#8211; ATmega32U4<br \/>\n1 x 4&#215;4 Matrix Keypad<br \/>\n8 x Jumper Wires 6in M\/F<br \/>\n1 x Half-Size Breadboard<br \/>\n1 x SparkFun Cerberus USB Cable<\/p>\n<p><strong>Fio v3 &#8211; ATmega32U4<\/strong><\/p>\n<p>KP2 &#8211; Digital 2<br \/>\nKP3 &#8211; Digital 3<br \/>\nKP4 &#8211; Digital 4<br \/>\nKP5 &#8211; Digital 5<br \/>\nKP6 &#8211; Digital 6<br \/>\nKP7 &#8211; Digital 7<br \/>\nKP8 &#8211; Digital 8<br \/>\nKP9 &#8211; Digital 9<br \/>\nVIN &#8211; +3.3V<br \/>\nGND &#8211; GND<\/p>\n<p><strong>DL2010Mk05p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\r\n\/\/ ***** Don Luc Electronics \u00a9 *****\r\n\/\/ Software Version Information\r\n\/\/ Project #16: Sound - Audacity - Mk06\r\n\/\/ 10-05\r\n\/\/ DL2010Mk05p.ino 16-06\r\n\/\/ 1 x Fio v3 - ATmega32U4\r\n\/\/ 1 x 4x4 Matrix Keypad\r\n\/\/ 8 x Jumper Wires 6in M\/F\r\n\/\/ 1 x Half-Size Breadboard\r\n\/\/ 1 x SparkFun Cerberus USB Cable\r\n\r\n\/\/ Include the Library Code\r\n\/\/ 4x4 Matrix Keypad\r\n#include <Keypad.h>\r\n#include \"Keyboard.h\"\r\n\r\n\/\/ 4x4 Matrix Keypad\r\n\/\/ Four rows\r\nconst byte ROWS = 4;\r\n\/\/ Four columns\r\nconst byte COLS = 4;\r\n\/\/ Define the symbols on the buttons of the keypads\r\nchar hexaKeys[ROWS][COLS] = {\r\n  {'1','2','3','A'},\r\n  {'4','5','6','B'},\r\n  {'7','8','9','C'},\r\n  {'*','0','#','D'}\r\n};\r\n\/\/ Connect to the row pinouts of the keypad\r\nbyte rowPins[ROWS] = {5, 4, 3, 2};\r\n\/\/ Connect to the column pinouts of the keypad\r\nbyte colPins[COLS] = {9, 8, 7, 6};\r\n\r\n\/\/ Initialize an instance of class NewKeypad\r\nKeypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS); \r\n\r\nchar customKey;\r\n\r\n\/\/ Software Version Information\r\nString sver = \"16-06\";\r\n\r\nvoid loop() {\r\n\r\n  \/\/ 4x4 Matrix Keypad\r\n  isKeypad();\r\n\r\n  delay( 50 );\r\n  \r\n}\r\n<\/pre>\n<p><strong>getKeypad.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\r\n\/\/ 4x4 Matrix Keypad\r\n\/\/ Keypad\r\nvoid isKeypad() {\r\n\r\n  \/\/ 4x4 Matrix Keypad\r\n  customKey = customKeypad.getKey();\r\n\r\n  if ( customKey == '0' ){\r\n    \r\n    \/\/ 0 = Go to Selection Start\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_CTRL);\r\n    delay(10);\r\n    Keyboard.press('[');\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n    \r\n  } \r\n\r\n  if ( customKey == '1' ){\r\n\r\n    \/\/ 1 = Increase gain on focused track 1 dB.\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_ALT);\r\n    delay(10);\r\n    Keyboard.press(KEY_RIGHT_SHIFT);\r\n    delay(10);\r\n    Keyboard.press(KEY_UP_ARROW);\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n\r\n  } \r\n\r\n  if ( customKey == '2' ){\r\n    \r\n    \/\/ 2 = Zoom In\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_CTRL);\r\n    delay(10);\r\n    Keyboard.press('1');\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n    \r\n  } \r\n\r\n  if ( customKey == '3' ){\r\n    \r\n    \/\/ 3 = Play\/Stop\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_SHIFT);\r\n    delay(10);\r\n    Keyboard.press('A');\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n    \r\n  } \r\n\r\n  if ( customKey == '4' ){\r\n    \r\n    \/\/ 4 = Decrease gain on focused track 1 dB.\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_ALT);\r\n    delay(10);\r\n    Keyboard.press(KEY_RIGHT_SHIFT);\r\n    delay(10);\r\n    Keyboard.press(KEY_DOWN_ARROW);\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n    \r\n  } \r\n\r\n  if ( customKey == '5' ){\r\n    \r\n    \/\/ 5 = Zoom Normal\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_CTRL);\r\n    delay(10);\r\n    Keyboard.press('2');\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n    \r\n  } \r\n\r\n  if ( customKey == '6' ){\r\n    \r\n    \/\/ 6 =\r\n    \r\n  } \r\n\r\n  if ( customKey == '7' ){\r\n    \r\n    \/\/ 7 =\r\n    \r\n  } \r\n\r\n  if ( customKey == '8' ){\r\n    \r\n    \/\/ 8 = Zoom Out\r\n    delay(10);\r\n    Keyboard.press(KEY_LEFT_CTRL);\r\n    delay(10);\r\n    Keyboard.press('3');\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n    \r\n  } \r\n\r\n  if ( customKey == '9' ){\r\n    \r\n    \/\/ 9 =\r\n    \r\n  } \r\n\r\n  if ( customKey == 'A' ){\r\n    \r\n    \/\/ A = Skip to Start\r\n    delay(10);\r\n    Keyboard.press(KEY_HOME);\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n     \r\n  } \r\n\r\n  if ( customKey == 'B' ){\r\n    \r\n    \/\/ B = Skip to End\r\n    delay(10);\r\n    Keyboard.press(KEY_END);\r\n    delay(10);\r\n    Keyboard.releaseAll();\r\n     \r\n  } \r\n\r\n  if ( customKey == 'C' ){\r\n    \r\n    \/\/ C = \r\n     \r\n  } \r\n  \r\n  if ( customKey == 'D' ){\r\n    \r\n    \/\/ D = \r\n     \r\n  } \r\n\r\n  if ( customKey == '*' ){\r\n    \r\n     \/\/ * =\r\n     \r\n  }\r\n\r\n  if ( customKey == '#' ){\r\n    \r\n     \/\/ # =\r\n     \r\n  }\r\n\r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\r\n\/\/ Setup\r\nvoid setup() {\r\n\r\n  \/\/ Open the serial port\r\n  Serial.begin(9600);\r\n  \/\/ Initialize control over the keyboard\r\n  Keyboard.begin();\r\n  \r\n}\r\n<\/pre>\n<p><strong>Technology Experience<\/strong><\/p>\n<ul>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi,Espressif, etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Desktop Applications (Windows, OSX, Linux, Multi-OS, Multi-Tier, etc&#8230;)<\/li>\n<li>Mobile Applications (Android, iOS, Blackberry, Windows Mobile, Windows CE, etc&#8230;)<\/li>\n<li>Web Applications (LAMP, Scripting, Java, ASP, ASP.NET, RoR, Wakanda, etc&#8230;)<\/li>\n<li>Social Media Programming &#038; Integration (Facebook, Twitter, YouTube, Pinterest, etc&#8230;)<\/li>\n<li>Content Management Systems (WordPress, Drupal, Joomla, Moodle, etc&#8230;)<\/li>\n<li>Bulletin Boards (phpBB, SMF, Vanilla, jobberBase, etc&#8230;)<\/li>\n<li>eCommerce (WooCommerce, OSCommerce, ZenCart, PayPal Shopping Cart, etc&#8230;)<\/li>\n<\/ul>\n<p><strong>Instructor<\/strong><\/p>\n<ul>\n<li>Arduino<\/li>\n<li>Raspberry Pi<\/li>\n<li>Espressif<\/li>\n<li>Robotics<\/li>\n<li>DOS, Windows, OSX, Linux, iOS, Android, Multi-OS<\/li>\n<li>Linux-Apache-PHP-MySQL<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>J. Luc Paquin \u2013 Curriculum Vitae<\/strong><br \/>\nhttps:\/\/www.donluc.com\/DLHackster\/LucPaquinCVEngMk2020a.pdf<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Web:<\/strong> http:\/\/www.jlpconsultants.com\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.donluc.com\/DLHackster\/<br \/>\n<strong>Web:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/channel\/UC5eRjrGn1CqkkGfZy0jxEdA<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/luc.paquin\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #donluc #sound #audacity #synthesizer #programming #arduino #fritzing #electronics #microcontrollers #consultant #vlog &#8212;&#8212; &#8212;&#8212; Audacity Free, open source, cross-platform audio software. Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, macOS, GNU\/Linux and other operating systems. Developed by a group of volunteers as open source. Recording Audacity can record live audio through a &#8230; <a title=\"Project #16: Sound &#8211; Audacity &#8211; Mk06\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=2484\" aria-label=\"Read more about Project #16: Sound &#8211; Audacity &#8211; Mk06\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[119,47,50,38,59,5,58,10,43],"tags":[86,6,125,102,19,85,24,9,27,120,109,33,34,108],"class_list":["post-2484","post","type-post","status-publish","format-standard","hentry","category-sound","category-adafruit","category-arduino","category-digitalelectronics","category-fritzing","category-microcontrollers","category-arduino-programming","category-projects","category-sparkfun","tag-adafruit","tag-arduino","tag-audacity","tag-components","tag-electronics","tag-fritzing","tag-microcontroller","tag-programming","tag-projects-2","tag-sound","tag-sparkfun","tag-technology","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2484","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2484"}],"version-history":[{"count":2,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2484\/revisions"}],"predecessor-version":[{"id":4777,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/2484\/revisions\/4777"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}