In this video, we cover a strategy to map numbers to notes in a musical scale. Our mapping function will handle note numbers that can be lower and higher than the ones found in the original scale.
Completed code on :
~tone-mapnote
Timestamps:
0:00 intro
1:30 reviewing boilerplate code
2:35 mapping numbers to notes in a scale
5:12 playing the notes with a Synth object
7:45 expanding the scale to more octaves
9:30 modulo
10:00 widening the note mapping
16:15 writing our own modulo function
17:15 calculating the correct octave
24:00 packaging the code as a reusable function
26:00 quick recap
This video is part of a series of tutorials on Generative Art in developed for my course, RTA838 - Generative Processes at Ryerson University.
1 view
2883
879
1 month ago 00:01:34 1
[ABC News] Bodies of 3 hostages found in Gaza by Israeli military
1 month ago 00:10:18 1
LWS 2024/Осень: 7-я игровая неделя. 23 ноября (Суббота)
1 month ago 00:02:30 1
[ABC News] High wind warning in the Northeast snarls air travel
1 month ago 00:02:43 1
[ABC News] New 911 calls released in Sonya Massey’s fatal police shooting case
1 month ago 00:01:10 1
[ABC News] Biden invited Trump to White House because he ’believe in the norms,’ White House says
1 month ago 00:04:11 39
MANCHESTER UNITED VS IPSWICH TOWN LIVE
1 month ago 00:02:28 2
[ABC News] ’Rust’ crew voiced concerns over Hannah Gutierrez’s behavior on set
1 month ago 00:02:03 1
[ABC News] Gaza food situation becoming increasingly dire
1 month ago 00:00:19 2
Discover Ukraine Watch — a Telegram channel featured on UN Security Council
1 month ago 00:03:04 1
[CNBC Television] Tax Day is two weeks away — Here’s what you need to know
1 month ago 01:15:25 3
[Caleb Hammer] Gen-Z Princess Thinks She’s Smarter Than Me | Financial Audit
1 month ago 00:03:45 1
Подведем итоги уходящей недели
1 month ago 00:20:19 3
Как работать 5 часов в неделю и путешествовать по миру
1 month ago 00:04:04 2
Addams Family Values
1 month ago 00:06:20 1
[ABC News] What Biden and Trump need to answer in their 1st presidential debate
1 month ago 00:00:43 1
[ABC News] Dallas Police on the hunt for NFL star for connection with multi-vehicle accident
1 month ago 00:02:24 4
[ABC News] What lower-than-expected April employment numbers say about state of the US economy
1 month ago 00:56:27 371
Новости недели 24 11 2024
1 month ago 00:48:09 19
Редакция. News: 144-я неделя
1 month ago 00:20:40 44
[Авто Плюс — Новости] Новый КамАЗ и внедорожник на УАЗе, дизель для фургонов Sollers и новинки Chery 📺 Новости недели №296
1 month ago 00:03:36 4
[ABC News] Who is Gov. Tim Walz?
1 month ago 00:00:24 575
Мужские кроссовки L*ro P*ana Week and Walk с мехом
1 month ago 00:22:21 88
НЕДЕЛЯ с vivo X200 Pro mini — что творят КИТАЙЦЫ? | ЧЕСТНЫЙ ОТЗЫВ
1 month ago 02:52:46 122
Неделя 22-я по Пятидесятнице. Память прп. Феодора Студита | Божественная литургия | г.