element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
MusicTech
  • Challenges & Projects
  • Design Challenges
  • MusicTech
  • More
  • Cancel
MusicTech
Blog eViolin: Getting Started with the BeagleBone Black
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: selement14
  • Date Created: 29 Dec 2015 8:30 AM Date Created
  • Views 626 views
  • Likes 5 likes
  • Comments 3 comments
  • debian
  • alsa
  • pd
  • beaglebone-black
  • project_violin
  • musictech
Related
Recommended

eViolin: Getting Started with the BeagleBone Black

selement14
selement14
29 Dec 2015

To get started, my focus is on the Beaglebone Black(BBB) is on what Linux software is running on it and to determine if, in fact, it needs to be updated. If so, I then need to figure out what distribution and revision of Linux has the best chance of real time behavior with puredata and jack.

 

I plug the BBB via USB into a host machine and run the browser to the default USB Ethernet IP address for the BBB:  http://192.168.7.2/.  It works and brings up this page:

image

 

 

Then I follow the link for the Cloud9 IDE development environment: 

http://192.168.7.2:3000/ide.html

 

Cloud9 IDE includes a bash shell in order to interact directly to the BBB.  Here is a sample:

image

From there, I hook up wired Ethernet to my router so that the BBB can get out to the Internet and enable connectivity in via Ethernet. I am now able to connect via Ethernet the same way I did via USB but with a new IP address: http://192.168.1.72:3000/ide.html. It is interesting to note that Cloud9 IDE allows multiple browsers from different hosts, to connect and they all see the same debug session. It may be limited to one debug session at a time, but it also means that if someone has an issue, sharing a debug session is straight forward.

 

Several bash shell commands show me exactly what version of Debian came installed on the BBB:

 

root@beaglebone:~# uname -r

3.8.13-bone70

root@beaglebone:~# cat /etc/dogtag

BeagleBoard.org Debian Image 2015-03-01

root@beaglebone:/etc# cat /etc/debian_version

7.8

 

These webpages reference 3.8.13-bone70 shows Debian 7.8 as an 'Older' Debian image with the same date.

  • http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
  • http://beagleboard.org/latest-images

 

The preloaded image is Debian Wheezy. Now, to upgrade or not to upgrade: That is the question -- for another day.  Today, I will test on Debian 7.8 Wheezy.

 

****

I want to see if puredata will install on the BBB system software ( Debian 7.8 -- Wheezy).

 

Using the commands below I am able to install puredata without error:

sudo apt-get update

sudo apt-get install puredata

 

****

Next:  Audio support for the BBB:

 

This is an BBB audio support Blog post:  https://hifiduino.wordpress.com/2014/03/27/beaglebone-black-navigating-the-audio-maze/ from March 2014, but has some good information on how to use audio on the BBB.  They recommend 'alsa' which is already installed:

image

Not sure if I will need jack, but will leave that for another day as well if alsa works.

****

Adding an USB audio device -- During installation by plugging in the USB audio device into the running BBB system, there is a problem.  Using the command 'dmesg' does not show a connect / disconnect of USB peripherals from the USB Host port.  I read a blog post, and it suggests that by default BBB does not support USB hot plug, but it will recognize a USB peripheral on initial startup. So I use the command: shutdown -h now

 

 

After a reboot I now find my USB audio device:

image

image

image

*****

 

Now on to testing pd with alsa and USB audio device.  Launching a session from a Linux host with ssh -XY root@192.168.1.72, I execute pd. The pd window appears on my host screen and I make sure that alsa is selected in the media pull down menu as shown:

image

I select "preferences > audio settings" in order to make sure the correct audio device is selected as shown here:

image

I uncheck input device as my instrument will not be needing this and to simplify the test.  I then select the 'USB Audio Device (hardware)' in the output device pulldown as shown above and click Apply.

 

 

Time to test audio in Pd by with the 'Media > Test Audio and MIDI…'

image

Which opens up:

image

Under the TEST TONES sections and the first column ( 80 or 60 or OFF) buttons, I select 60 to make sure the sound is not too loud.  If you here a 440 Hz tone, your sound is working.

 

 

Day one complete with Pure Data with Alsa and USB audio device functional.

  • Sign in to reply

Top Comments

  • momososo
    momososo over 9 years ago +1
    Seems you got your kit. Hope mine can coming asap.
  • DAB
    DAB over 9 years ago +1
    Nice update, Thanks for explaining the Linux commands for those of us who are Linux challenged. DAB
  • DAB
    DAB over 9 years ago

    Nice update,

     

    Thanks for explaining the Linux commands for those of us who are Linux challenged. image

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • selement14
    selement14 over 9 years ago in reply to momososo

    Yes I received my kit on December 23rd, just in time for Christmas. At least most of the kit. I received a second package yesterday.  Hopefully yours will come soon. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • momososo
    momososo over 9 years ago

    image

    Seems you got your kit.

    Hope mine can coming asap.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube