SlideShare a Scribd company logo
1 of 42
Download to read offline
INTRODUZIONE
ALLA CHIPTUNE
CON
LEZIONE
1
Materiale disponibile online: www.re-frash.it/files/corsolsdj1.zip
29/04/2016 Introduzione alla chiptune (1) 2
CHIPTUNE?
Da Urban Dictionary:
● A melodic genre of music
● created using limited sound 
cards, usually from retro 
gaming machines
● It generally uses basic 
waveforms such as square, sine, 
sawtooth, pulse and triangle 
waves
3Introduzione alla chiptune (1)29/04/2016
Semplici forme d'onda
1 periodo = T
1 periodo = T
1 periodo = T
1 periodo = T
f =
1
T
[ Hz]
T=
1
f
[s]
RICORDA!
29/04/2016 Introduzione alla chiptune (1) 4
filosofia
● IL LIMITE È UNA RISORSA PER LA 
CREATIVITÀ
● IL VERO HACKER È COLUI CHE RIESCE A 
FARE PIÙ DEL PREVISTO CON CIÒ CHE HA 
A SUA DISPOSIZIONE
● CURIOSITÀ, CORTESIA, CONDIVISIONE 
SPALANCANO OGNI PORTA
● TUTTO È UTILE, NULLA È NECESSARIO
5Introduzione alla chiptune (1)29/04/2016
CHOOSE YOUR WEAPON
Nintendo Gameboy Nintendo Entertainment System Commodore 64
Sinclair ZX Spectrum Commodore Amiga 500Atari ST
Oggi studiamo questo
6Introduzione alla chiptune (1)29/04/2016
MEMORIA
● Vi si carica il software necessario
● Sul Game Boy usiamo Flash Cartridges 
riscrivibili (flashcarts)
● La più diffusa:
EMS 64m USB Smart Cartridge
7Introduzione alla chiptune (1)29/04/2016
Senza hardware?
Nessun problema (per chi comincia)!
● Emulatori per tutti i gusti:
http://www.zophar.net/windos.html 
● …Tuttavia il suono prodotto dal vero 
hardware è unico e inimitabile!
Lo stesso “strumento”, su hardware leggermente diverso ha un 
timbro diverso!
8Introduzione alla chiptune (1)29/04/2016
Software tipico
MUSIC TRACKERs
● Un tipo di music sequencer 
● Ogni traccia musicale è una 
sequenza di note discrete su di 
un singolo canale audio
● Le note in una traccia sono 
disposte lungo un asse del 
tempo discreto
(suddiviso in step)
9Introduzione alla chiptune (1)29/04/2016
Software per GB
Ce ne sono diversi, i più diffusi sono:
● NANOLOOP:
approccio
esoterico/ritmico
www.nanoloop.com
● LSDj:
approccio
classico/armonico
www.littlesounddj.com
Oggi studiamo questo
10Introduzione alla chiptune (1)29/04/2016
Iniziamo dalle basi!
11Introduzione alla chiptune (1)29/04/2016
Note discrete
OTTAVA 3 (da C3 a B3) 0x0C = 12 SEMITONI) OTTAVA 4… 
C 3    D 3   E 3   F 3   G 3   A 3   B 3 C 4   ...
C#3   D#3         F#3   G#3   A#3
12Introduzione alla chiptune (1)29/04/2016
Canale audio
= generatore d'onda
Ogni canale può suonare
1 solo suono per volta
come uno strumento monofonico 
(no accordi veri!)
e.g.: Flauto Dolce
13Introduzione alla chiptune (1)29/04/2016
Tempo discreto
● L'asse dei tempi non è continuo, ma è 
suddiviso in step
● Ogni step dura un certo numero di tick
● 1 tick   1/60 secondo (varia col ≈ tempo 
musicale, espresso in BPM, battiti al 
minuto)
16 STEP (da $0 a $F)
TEMPO (BPM)
T
E
M
P
O
14Introduzione alla chiptune (1)29/04/2016
Notazione esadecimale
Facendo chiptune useremo solo numeri 
esadecimali, ma si imparano facilmente con 
l'uso
Esempio:
0xA59C = $A59C = 42396
15Introduzione alla chiptune (1)29/04/2016
I numeri?
Sono finiti e ciclici● Nei computer, una funzione che cresce 
all'infinito, raggiunto il numero più grande 
prosegue dal numero più piccolo della scala 
(e viceversa se decresce)
● Questo fenomeno si chiama overflow, underflow 
o wraparound
● Per questa ragione $FF può valere 255 o ­1 a 
seconda della situazione
● DON'T PANIC!
Il funzionamento di ciò
vi verrà naturale!
29/04/2016 Introduzione alla chiptune (1) 16
Il chip audio del
Game Boy
Suono stereo, con 4 canali
● PULSE 1 (PU1): onde quadre con sweep, duty cycle, inviluppo, 
panning
● PULSE 2 (PU2): onde quadre con duty cycle, inviluppo, panning
● WAVE (WAV): onde formate da max 64 campioni PCM (Pulse Code 
Modulation) a 4­bit di risoluzione – molto versatile!
funzioni: regolazione volume a 2­bit, panning
● NOISE (NOI): rumore bianco con inviluppo, forma, panning
17Introduzione alla chiptune (1)29/04/2016
Sweep
Variazione rapida della 
frequenza di una nota nel tempo 
(utile per sintetizzare le 
percussioni nel PU1)
bassa frequenza alta frequenza
18Introduzione alla chiptune (1)29/04/2016
Duty Cycle
● Un'onda quadra oscilla fra 0 e 1
● Il Duty Cycle indica in % quanto 
tempo l'onda sta a 1 in un periodo
● I canali Pulse del Game Boy 
supportano solo 4 duty cycle:
12,5% 25% 50% 75%
19Introduzione alla chiptune (1)29/04/2016
Inviluppo
(ADSR Envelope)
Determina come varia il volume di 
uno strumento nel tempo che segue 
l'inizio di un suono (PU1, PU2, NOI)
ATTACK  DECAY  SUSTAIN  RELEASE
20Introduzione alla chiptune (1)29/04/2016
Inviluppo (un esempio)
Onda originale
L'onda di sopra, ma inviluppata
A D
S
R
21Introduzione alla chiptune (1)29/04/2016
Panning
● Permette di spostare il suono
a sinistra o a destra
● Ogni canale del GB in ogni momento 
può essere pannato solo a sinistra 
(L) a destra (R) o nel mezzo
22Introduzione alla chiptune (1)29/04/2016
Pulse Code Modulation
(PCM)
Un metodo per rappresentare 
digitalmente segnali analogici (WAV)
● L'asse dei tempi è campionato
● L'asse delle ampiezze è quantizzato
4­bit di 
risoluzione
==
16 livelli
possibili
(da $0 a $F)
29/04/2016 Introduzione alla chiptune (1) 23
PRIMI PASSI IN LSDj
Prima regola del fight club:
● NON SPEGNERE IL GB MENTRE SUONA
(ciò corromperà i vostri dati!)
Canali
Schermo Song
24Introduzione alla chiptune (1)29/04/2016
Informazioni a bordo 
schermo
25Introduzione alla chiptune (1)29/04/2016
Con la mappa!
Live
Mode
SELECT + DIREZIONE per spostarsi
26Introduzione alla chiptune (1)29/04/2016
Schermo PROJECT
● Regola il tempo 
(BPM)
● Trasponi tutta la 
canzone
● Sincronizza il GB 
con altri 
dispositivi
● Opzioni
● Aiuto in linea
● Libera memoria
● Salva/Carica file
27Introduzione alla chiptune (1)29/04/2016
Schermo SONG
● Colonne = Canali
● Ogni step è una CHAIN
● (A, A) per inserire un 
nuovo elemento (una 
CHAIN in questo caso)
● START = PLAY/STOP 
dalla riga selezionata
● SELECT + SX: live 
mode, dove ogni gruppo 
di CHAIN in un canale 
può essere avviato 
indipendentemente 
dagli altri canali
● SELECT + DX: modifica 
la CHAIN selezionata
(vai allo schermo 
CHAIN)
28Introduzione alla chiptune (1)29/04/2016
Schermo CHAIN
● Colonna 1 = PATCH
– Ogni step è una 
PATCH, ovvero 
una battuta da 
16 note
● Colonna 2 = 
TRANSPOSE
– Permette di 
trasporre di n 
semitoni tutte 
le note della 
battuta 
29Introduzione alla chiptune (1)29/04/2016
Schermo PHRASE
● Colonna 1 = NOTE
– Ogni step è una 
nota da 1/16
– A inserisce una 
nota
– A + DIREZIONE 
cambia la nota o 
l'ottava
● Colonna 2 = 
INSTRUMENT
– Permette di 
trasporre di n 
semitoni tutte le 
note della battuta 
30Introduzione alla chiptune (1)29/04/2016
Schermo PHRASE (cont.)
● Colonna 3 = 
COMMAND
– Ogni step è un 
comando 
applicato alla 
nota corrente
– I comandi 
permettono di 
modificare il 
suono di una 
nota (li vedremo 
meglio più 
avanti)
31Introduzione alla chiptune (1)29/04/2016
Tre comandi utili
● Pxx: Pitch Bend
– $01­$7F Aumento lineare di freq
– $FF­$80 Diminuzione lineare di f.
– $00 Off
● Vxy: Vibrato
Oscilla in f la nota corrente
– x velocità di oscillazione
– y profondità dell'oscillazione
● Kxx: Kill
Silenzia la nota dopo xx tick
32Introduzione alla chiptune (1)29/04/2016
Schermo INSTRUMENT
● Ci permette di 
sintetizzare uno 
strumento
● A seconda del tipo 
(TYPE) cambiano i 
parametri possibili
● C'è almeno un TYPE per 
ciascun canale (quindi 
PULSE, WAVE/KIT, 
NOISE)
● Uno strumento PULSE 
deve suonare nel 
canale PU1 o PU2, un 
WAVE/KIT nel WAV, un 
NOISE nel NOI
Possiamo fare max
$40 = 64
strumenti diversi in ogni 
SONG!
33Introduzione alla chiptune (1)29/04/2016
Schermo TABLE
● Ci permette di 
lavorare col 
microscopio sulle 
note suonate
● Ogni step = 1 tick
● 4 colonne
– VOL per definire 
inviluppi
– TSP per trasporre la nota (utile per 
simulare gli accordi)
– 2 colonne CMD per effetti
34Introduzione alla chiptune (1)29/04/2016
Spina dorsale di un 
pezzo
35Introduzione alla chiptune (1)29/04/2016
E gli altri schermi?
La volta prossima li vediamo!
(Sono in ritardo! In 
arciritardissimo!)
29/04/2016 Introduzione alla chiptune (1) 36
Sintesi di uno 
strumento PULSE
INVILUPPO (quasi) ADSR
● X: Attack, vol iniziale $0­$F
● Y: evoluzione del volume
– $0,$8: resta costante 
(Sustain, no release)
– $1­$7: azzera il volume con 
velocità data 
(Decay/Release $1 veloce, 
$7 lento)
– $9­$F: aumenta volume fino 
al valore indicato e poi 
mantieni (Sustain)
X
(INIZIO)
Y
(EVOLUZIONE)
37Introduzione alla chiptune (1)29/04/2016
Ricordate? ADSR
38Introduzione alla chiptune (1)29/04/2016
Sintesi PULSE (2)
WAVE (DUTY­CYCLE)
● Quattro tipi possibili
● 12,5% suona più acuto
● 50% è il più forte e ricco di bassi
● 25% e 75% suonano uguali ma hanno 
fase opposta (come suoneranno 
contemporaneamente su due canali 
diversi? Provate!)
OUTPUT (PANNING)
● Regola se lo strumento si debba 
sentire a sinistra (left, L), a 
destra (right, R), o da entrambi i 
canali (LR)
12,5% 25% 50% 75%
39Introduzione alla chiptune (1)29/04/2016
Sintesi PULSE (3)
LENGTH (DURATA)
● Indica la durata della nota, da $0 
(nessuna nota) a UNLIM (infinita a 
meno dell'inviluppo)
SWEEP
● Funziona solo nel canale PU1
● Modula la frequenza (vedi pag 16)
● Cifra 1: influenza il pitch da 
raggiungere
● Cifra 2: influenza la velocità con 
cui la frequenza del suono cambia ($1 
minima, $F massima)
● Uno sweep impostato ad $E3 con una 
nota alta come un C6 genera un ottimo 
kick drum
40Introduzione alla chiptune (1)29/04/2016
Sintesi PULSE (4)
VIBRATION TYPE
● Cambia la forma d'onda del vibrato 
(comando V)
● HF ha due implicazioni
– La vibrazione sarà molto rapida
– Il pitch bend (comando P) sarà più 
rapido
TUNING (Accordatura)
● PU2 TUNE xx permette di avere uno 
strumento che nel canale PU2 suona 
xx semitoni sopra (o sotto) a quanto 
suonerebbe in PU1
● PU FINE x abbassa microtonalmente lo 
strumento in PU1, mentre lo alza in 
PU2
41Introduzione alla chiptune (1)29/04/2016
Sintesi PULSE (5)
TABLE
● A + DX permette di selezionare 
una TABLE da eseguire su 
questo strumento
● (A, A) inserisce una nuova 
TABLE
● SELECT + DX per modificare la 
TABLE selezionata
AUTOMATE (On/Off)
● Quando è ON, la tabella viene 
fatta scorrere di uno step 
ogni volta che questo 
strumento viene suonato
29/04/2016 Introduzione alla chiptune (1) 42
Nella prossima puntata:
● GROOVEs
● Canale Noise
● Canale Wave: onde e filtri; 
campioni; sintesi vocale
Un consiglio:
PROVATECI
A CASA!

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

8-Bit Music - Pt. 1