Major site overhaul: resources hub, content migration, new blog posts, forms

- Redesign /resources as sectioned hub with category pages
- Migrate 645 Squarespace CDN images to local /images/content/
- Create 9 new news/blog posts with event photos
- Fix blog post slugs (rename gibberish filenames)
- Rename Design Blog to Design Blogs across site
- Remove education page, replace with Platform in nav
- Redesign rover repair request form with dynamic rover entries
- Add school search combobox to contact, store, and repair forms
- Extract shared KNOWN_SCHOOLS data
- Make /rover-expansion-3d-printing dynamically pull from MDX
- Add related resources sections to product pages
- Fix homepage broken /quote links to /store
- Store page: sample kit cards, inline quote builder, mailing list opt-in
This commit is contained in:
Tim Hadwen
2026-03-01 17:14:05 +10:00
parent 707c49dd3f
commit ae3ae18585
1212 changed files with 2477 additions and 6948 deletions

View File

@@ -9,7 +9,7 @@ featuredImage: "/images/resources/activity-making-music-beginner.jpg"
Use the Rovers speaker to make it play songs. Learn to combine the world of music and robotics by going through sheet music and coding the Rover to play each note.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1b373aca-f5dd-4d23-8d4b-8c9fc5e61f74/IMG_1856.jpg)
![](/images/content/40dff0-img_1856.jpg)
Activity Demonstration
@@ -19,29 +19,29 @@ When it comes to reading sheet music for this task, we will be using two pieces
As the image to the right shows, a note can sit on a line or a space. You may find many notes of the same letter (tone) but at a higher pitch (different octave)
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/ba06dbea-f91c-4616-9c89-3cbedb2d06cb/Notes.jpg)
![](/images/content/ba4440-notes.jpg)
Songs can be divided into a rhythm, the constant beat the music follows. Shown in the diagram to the right, we have the note durations. One whole note (semibreve) lasts for 4 beats. Next, minums last for 2, and crotchets last for 1. Well only use semibreves, minums, and crotchets for basic songs.
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/dc4935ce-d22c-47ab-ad15-03107fac7252/rhythm.jpg)
![](/images/content/d535dc-rhythm.jpg)
Below is an example of Mary Had a Little Lamb in sheet music. The letters have already been written below the notes. This is the example we will use for the guide, but feel free to find your own songs or even write your own music!
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/a581c6da-2f3e-4473-93d9-2e684388d54d/Mary+had+a+little+lamb.png)
![](/images/content/df67ce-mary-had-a-little-lamb.png)
## Code:
**Constant - **A constant is a variable that never changes when the code is run. In python, we write this in all capitals with underscores between words.
**Constant -** A constant is a variable that never changes when the code is run. In python, we write this in all capitals with underscores between words.
#### 1) Setting the Constants:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/297498c0-f5e0-4c19-bf26-62e1fff9db75/Constants.PNG)
![](/images/content/9667be-constants.png)
Now we need to start setting up the framework in our code to make music. Well begin by setting constants for each of the note lengths. A constant is a value used repeatedly throughout the code that never changes, which is perfect for what we need here. As all the notes are multiples of the Crotchet, we can use the diagram above and some simple multiplication to set all the constants. We also need to decide on an octave to use, so make a comment to remember this. For this example, well use octave 4.
#### 2) Making the Music:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/5cd901e3-6999-4462-a423-f2b6122f4e10/note.PNG)
![](/images/content/167706-note.png)
This part can take a little while, but we will use the Play Note and the Delay blocks to play each note individually. The Play Note block starts playing the note on the Rover, and the Delay block controls how long the note is played. We use the constants we made before to control how long we delay. Do this for each note in the song with the correct note lengths.
@@ -49,74 +49,12 @@ This part can take a little while, but we will use the Play Note and the
We went through and completed part of the example song. Try to finish the rest of the song on your own:
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/234908a0-d1a5-497b-be40-81b752fe8f74/song.PNG)
![](/images/content/c9dfce-song.png)
### Up Next:
Ready to challenge yourself with faster ways to code music? Head on over to the intermediate or advanced Making Music guides!
[
Activity: Making Music (Intermediate)
](/resources/activity-making-music-intermediate)
[Activity: Making Music (Intermediate)](/resources/activity-making-music-intermediate)
[
Activity: Making Music (Advanced)
](/resources/activity-making-music-advanced)
### Related Posts
Resources
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1639455538805-9NI7CPKR7IYG6D4RBKAN/high+quality+sumo.png)
](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
[Creating A Sumo Unit For Your Digital Technologies Class](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
How to run a sumo unit in your digital technologies classroom.
[Read More →](/resources/creating-a-sumo-unit)
[All](/resources?category=All)
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1637464845856-BBPD7GTIIHHOSJCFORWF/the+ultrasonic+sensor.png)
](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
[The Ultrasonic Sensor](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
Learn all about the ultrasonic sensor!
[Read More →](/resources/ultrasonic-sensor)
[All](/resources?category=All), [Guides](/resources?category=Guides)
[
![](https://images.squarespace-cdn.com/content/v1/60a43bf842d7b601064a8828/1625616494179-LZHZP5MUA0E0MQKEB7HC/cropped+image+4.png)
](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
[Case Study: Year 7 Digital Tech at St Peters Lutheran College](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
See how Meg Foley at St Peters conducted a challenge for their Year 7s using Micromelon.
[Read More →](/resources/year-7-digital-tech-at-st-peters)
[All](/resources?category=All), [Customer Stories](/resources?category=Customer+Stories)
[Activity: Making Music (Advanced)](/resources/activity-making-music-advanced)