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
Arduino
  • Products
  • More
Arduino
Arduino Forum Triggering 8 LEDs with Different MIDI Patterns - Ableton
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 3 replies
  • Answers 2 answers
  • Subscribers 391 subscribers
  • Views 1068 views
  • Users 0 members are here
  • arduino uno
  • ableton
  • multiple led
Related

Triggering 8 LEDs with Different MIDI Patterns - Ableton

ellie_holland
ellie_holland over 7 years ago

Hello Arduino Community. I am new to this and have a project planned that requires the use of Arduino and Ableton, I could do with some help!

 

The project will be a 5:1 surround sound immersive installation that aims to recreate the experience of being at sea and navigating by lights. Each LED will have an accompanying synthesised sound, and the light and audio will be triggered by a set MIDI pattern for each.

 

Essentially I need to run 8 MIDI channels to an Arduino UNO from Ableton to trigger 8 separate LEDs. I have so far managed to write a simple code for one pattern, using the standalone IDE software, but integrating it into Ableton/Max4live for multiple is going to require a different type of coding as I am currently using the delay function for this pattern which causes the whole circuit and all channels to delay or 'block'.

 

An example of the patterns required:

6 quick flashes, one long flash - period of 15seconds

constant flash - every 2 seconds

3 quick flashes, off - period of 10 seconds

 

I downloaded the Max4live/Arduino connection kit which seems to be the a good option but have had no luck so far with routing multiple channels to it. Is there a way to set the input for each digital pin to the MIDI out of tracks in Ableton? And if using the connection kit will I still need to write code for each pattern? As I was hoping the MIDI notes alone could trigger the lights. I understand you have to map a parameter to each channel in the connection kit, but it doesn't seem possible to map the MIDI output of each channel to trigger these..

 

Any advice on the best way to go about achieving this project would be much appreciated!

Thanks in advance.

Ellie.

  • Sign in to reply
  • Cancel

Top Replies

  • beacon_dave
    beacon_dave over 7 years ago +2 suggested
    Mike Cook's book "Arduino Music and Audio Projects" may be worth a read. https://www.safaribooksonline.com/library/view/arduino-music-and/9781484217214/ Chapter 5 has a project controlling a basic LED…
  • beacon_dave
    beacon_dave over 7 years ago in reply to ellie_holland +1 suggested
    You've probably already found them in the playlist above, but if not, then these two videos are probably more relevant to your requirements: MIDI for the Arduino - Build a MIDI Input Circuit https://www…
Parents
  • beacon_dave
    0 beacon_dave over 7 years ago

    Mike Cook's book "Arduino Music and Audio Projects" may be worth a read.

    https://www.safaribooksonline.com/library/view/arduino-music-and/9781484217214/

     

    Chapter 5 has a project controlling a basic LED light show from MIDI

    https://www.safaribooksonline.com/library/view/Arduino+Music+and+Audio+Projects/9781484217214/9781484217207_Ch05.xhtml

     

    It uses the Arduino MIDI library from here:

    https://github.com/FortySevenEffects/arduino_midi_library/

    https://youtu.be/rmfAqg9O_os?list=PL4_gPbvyebyH2xfPXePHtx8gK5zPBrVkg

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • beacon_dave
    0 beacon_dave over 7 years ago

    Mike Cook's book "Arduino Music and Audio Projects" may be worth a read.

    https://www.safaribooksonline.com/library/view/arduino-music-and/9781484217214/

     

    Chapter 5 has a project controlling a basic LED light show from MIDI

    https://www.safaribooksonline.com/library/view/Arduino+Music+and+Audio+Projects/9781484217214/9781484217207_Ch05.xhtml

     

    It uses the Arduino MIDI library from here:

    https://github.com/FortySevenEffects/arduino_midi_library/

    https://youtu.be/rmfAqg9O_os?list=PL4_gPbvyebyH2xfPXePHtx8gK5zPBrVkg

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • ellie_holland
    0 ellie_holland over 7 years ago in reply to beacon_dave

    Thanks for the links, some very useful stuff!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 7 years ago in reply to ellie_holland

    You've probably already found them in the playlist above, but if not, then these two videos are probably more relevant to your requirements:

     

    MIDI for the Arduino - Build a MIDI Input Circuit
    https://www.youtube.com/watch?v=GxfHijjn0ZM

     

    MIDI for the Arduino - MIDI Input Test
    https://www.youtube.com/watch?v=Twx0kzxXvp4

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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