100 Top Tips: Microsoft Excel
Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.
09 September 2016
In my new book Cool Scratch Projects in Easy Steps, a follow-up to Scratch Programming in Easy Steps (both available now), I've included two music projects and an art project.
The first music project is a drum machine that you can customise with your own sounds (in Scratch 2.0) and use to program your own rhythms. Each row represents a different sound, and each column represents a beat. If the spot at a particular point is turned on (blue), that sound will play on that beat. Here's a video of it in action:
I've also provided some synthesised note samples for download that you can use to turn this Scratch project into a melody machine, so you can use the same program to play evolving tunes, like this:
The second music project is a random tune generator, called Scratch Cat Maestro. I used the C Major Pentatonic scale for this, but you can use any scale. The tune is only 32 notes long, but I used the pattern AABA to repeat bits, so it feels like there is some structure and it's not just a stream of random blips. It ends on the root note, so it feels complete. Some tunes come out better than others, obviously. Here's a demo:
For both books, I wrote a chapter at the end with a few short and sweet programs that readers can quickly dip into. Both books had a random art project in this section. In Scratch Programming in Easy Steps, the project is called Abstract Artist and created line-based patterns. For Cool Scratch Projects in Easy Steps, the art project is called Going Dotty and creates hypnotic circle patterns.
I have a keen interest in electronic music today, and first started experimenting with it by programming an Amstrad CPC464 in BASIC. I hope that these Scratch projects will show readers new ways of making music and art on the computer, and will inspire them to experiment with customising these projects, or designing their own.
For more information, visit the homepages for Cool Scratch Projects in Easy Steps and Scratch Programming in Easy Steps. You can order Cool Scratch Projects in Easy Steps here, and Scratch Programming in Easy Steps here, with further links to buy my books here.
Permanent link for this post | Blog Home | Website Home | Email feedback
© Sean McManus. All rights reserved.
Visit www.sean.co.uk for free chapters from Sean's coding books (including Mission Python, Scratch Programming in Easy Steps and Coder Academy) and more!
Power up your Microsoft Excel skills with this powerful pocket-sized book of tips that will save you time and help you learn more from your spreadsheets.
This book, now fully updated for Scratch 3, will take you from the basics of the Scratch language into the depths of its more advanced features. A great way to start programming.
Code a space adventure game in this Python programming book published by No Starch Press.
Discover how to make 3D games, create mazes, build a drum machine, make a game with cartoon animals and more!
Set up your Raspberry Pi, then learn how to use the Linux command line, Scratch, Python, Sonic Pi, Minecraft and electronics projects with it.
In this entertaining techno-thriller, Sean McManus takes a slice through the music industry: from the boardroom to the stage; from the studio to the record fair.