Dahno DRUMP Programming language.

Slides:



Advertisements
Similar presentations
A Short Review Arrays, Pointers and Structures. What is an Array? An array is a collection of variables of the same type and placed in memory contiguously.
Advertisements

Notating Music There are two sides to music TimePitch.
Percussion Family.
The Verilog Hardware Description Language
Synchronous Sequential Logic
The Language Of Music Music Theory Staff, Clefs, Time, Notation By Mr. White.
Final Project Determining musical preferences Ellen Kozlowski.
Twenty Questions Music Twenty Questions
Genres: Structure & Workflow. The Structure of a Pop Song 8 bars16 bars 8 bars alternating drum fills Repeat V & CChorus Repeats.
Music! How to Talk About Music. Beat Often kept by the DRUM The beat is: Awesome Makes me want to dance Is awful Is terrible.
Aspects of Music Rhythm The aspect of music concerned with the organization of time. Primarily the durations of the sounds and silences that make up.
Rhythm Time signature. A time signature is a fraction found at the beginning of a piece of music, after the clef and key signature. Time signatures.
CHAPTER 1 GC 101 Introduction to computers and programs.
Lesson 7 Metre and Rhythm: Composing a 3-Part Rhythmic Piece.
Year 7 Music revision Your music exam will be next lesson. It will be a listening exam, where you are played music and asked questions about them. It will.
The Elements of the Drumset in Different Types of Music By: Chris Siak.
What to Listen for in Music
Neural Network Drum Track Composition Dan Smith. Goal Develop a neural net which can be trained to produce drum tracks given a few starting beats.
Chapter 2. C++ Program Structure C++ program is a collection of subprograms Subprograms in C++ are called FUNCTIONS Each function performs a specific.
Python Repetition. We use repetition to prevent typing the same code out many times and to make our code more efficient. FOR is used when you know how.
Creating Table using LOOP By Adnan and M.Qazi Programmers.
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Rhythm.
James Hornsby Connor Bradshaw 1168 Unit 1. Unit Unit  I will use Garageband because it has simple user interface, it is easy to use.
1. Understand the application of Pseudo Code for programming purposes 2. Be able to write algorithms in Pseudo Code.
Carl Jones Candidate number: 1085 Center number:
Introduction to Loops For Loops. Motivation for Using Loops So far, everything we’ve done in MATLAB, you could probably do by hand: Mathematical operations.
End of unit assessment Challenge 1 & 2. Course summary So far in this course you have learnt about and used: Syntax Output to screen (PRINT) Variables.
DISCO. Disco was the dance music of the 1970s Up until the 1960s speakers weren’t that great People couldn’t play a recording loud enough to dance to,
Music – Drum Lesson. Musical Instrument(s) violin guitar saxaphone drum set piano.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
1 For Loops l From Chapter 9 l A shorthand way of coding count loops.
FUNCTIONS. Midterm questions (1-10) review 1. Every line in a C program should end with a semicolon. 2. In C language lowercase letters are significant.
Functions, Part 1 of 3 Topics  Using Predefined Functions  Programmer-Defined Functions  Using Input Parameters  Function Header Comments Reading 
Online Learning Exchange Interactive Music powered by Silver Burdett published with Alfred Music Publishing Co., Inc. Copyright © Pearson Education, Inc.,
Madison Mackay. Scotland England Denmark Grandparents * Grandma played snare drum and listened to big band music * Grandpa was influenced by romance.
Level 2. Notes & Rests quarter note 1 beat or eighth notes ½ beat each.
4. INPUTTING THE PART (DRUMS) MUSIC TECH. Make sure you have a blank part set up and the pointer icon selected. First you need to loop the part. Hover.
Computer-Generated Sound Final Project
F.U.C.K Feeding Ungrateful Cats and Kittens
Trace Tables In today’s lesson we will look at:
GCSE Music AOS3 – Popular Music In Context
Chapter 8: More on the Repetition Structure
5.01 Understand Different Types of Programming Errors
Top Class 4: A musical journey exploring The Gingerbread Man
Musical Alphabet-Always use capital letters, letters repeat, you can have many notes with the same letter name A-B-C-D-E-F-G.
There is a copy of this powerpoint on the mrtuckerteacher. com
Variables, Expressions, and IO
Garage Band By the end of this topic you will:
2011/11/20: Lecture 15 CMSC 104, Section 4 Richard Chang
Loops CS140: Introduction to Computing 1 Savitch Chapter 4 Flow of Control: Loops 9/18/13 9/23/13.
2008/11/05: Lecture 15 CMSC 104, Section 0101 John Y. Park
For Loops October 12, 2017.
Chapter 4 LOOPS © Bobby Hoggard, Department of Computer Science, East Carolina University / These slides may not be used or duplicated without permission.
Beat-Bassline Track Welcome back to MyTunes!
Introduction to pseudocode
For -G7 programing language Teacher / Shamsa Hassan Alhassouni.
Functions, Part 1 of 3 Topics Using Predefined Functions
Notation Vocabulary Pitch Catalog – Rhythm Chart
Fifth and sixth grade Music Classes October 2008
Computer Science 2 Getting an unknown # of …. Into an array.
Learning Objectives Identify different types of event to start and stop loops Decompose a simple problem to help design a program Use abstraction to identify.
Let’s all Repeat Together
Introduction to Note blocks
A LESSON IN LOOPING What is a loop?
Functions, Part 1 of 3 Topics Using Predefined Functions
MUSIC HIGH SCHOOL - MUSIC TECHNOLOGY – Unit 2
ICS 3U Thursday, September 9.
Functions, Part 1 of 3 Topics Using Predefined Functions
2008/11/05: Lecture 15 CMSC 104, Section 0101 John Y. Park
BeatBox Hero Ankit Gupta Rohan Jain.
Presentation transcript:

Dahno DRUMP Programming language

I always want to learn drum Designed for people who can’t read music WHY? I always want to learn drum Designed for people who can’t read music but know how to code Programmer can do all things

Standard drum set

Input / Output: Input: Instrument name ( beat ) * loop counts Instrument name: Bass / Floor / Snare / High/ Hihat / Crash / Ride Beat : take input from 1 to 4, indicate frequency in every 4 beats Loop counts : how many times it’s repeating Output: Beautiful drum music

Timing The tempo of the song you created is controlled by the time signature you enter at the beginning of your program The clock is set to that speed Each clock edge is 1 beat

Language Description: Every function represent 4 beats Use loop function to make those 4 beats repeat ( * num ) Num = how many time you want to repeat Not case sensitive Comments follow by ‘ % ’

Syntax: Reserved Words: Bass / Floor / Snare / High/ Hihat / Crash / Ride / Middle Operators: * Variable Types: Instrument names / Frequency / num

B.N.F <Main> ::= <functions>|<comments> <variable name> ::= <A-Z> | <a-z> <0-9> <functions> ::= <built in functions> <built in functions> ::= <Snare> | <Hihat> | <Bass> |<Crash> | <Ride> | <Floor> | <High> <frequency> ::= <0-4> <comments> ::= % comment content

Examples: Snare ( 1,2,3,4 ) * 1 Bass ( 1,2,3,4 ) * 2

Crash ( 1,2,3,4 ) * 3 Base ( 1 ) * 3 snare ( 3 ) * 3

Sample Programs: Main(){ Snare( 3 ,4 ) * 5 Bass( 1 , 3 ) * 10 Hihat( 2,4 ) * 5 } % it will sound like “donts da donts da”