Tiny Piano_One Octave. Three modes and transpose touch with ATtiny85
Three modes available: Piano (8 white notes and 5 black notes, one key transposes. Tone of higher notes, + 12 notes) PlayStore (a melody can be associated with each note.) (Four in the code for demo.) Metronome (adjustable bpm speed, pitch change per note) Happy Holidays ! FR: Trois modes disponibles : Piano (8 notes blanches et 5 notes noires, une touche transpose. Ton des notes les plus hautes, + 12 notes) PlayStore (une mélodie peut être associée à chaque note.) (Quatre dans le code pour la dé
I present to you the revised version of Tiny Piano, equipped with thirteen keys!
13 touch keys TTP223, 8 white, 5 black.
Operation and basic principle identical to the Tiny Piano, addition of black keys.
On/Off key
3V7 to 5V battery power supply.
Choice of modes.
When the object starts, a time delay (adjustable via the code) is launched.During this delay, if the note is touched:
-> Do (C) of the keyboard: we switch to PlayStore mode 1.
-> Re (D) of the keyboard: we switch to mode 2 Metronome.
After the start delay time, if Do (C) or Re (D) key not touched :), we are in mode 0, Piano.
The piano indicates by a sequence of notes that it is ready to play with you.
With the key transposes the octave, we change the key... +12 notes
**Play Store mode :
Actions via white keys.
Do (C0) key Plays melody 1 recorded in the code
Re (D) key Plays melody 2
Mi (E) button Play melody 3
Fa (F) key Plays melody 4
Sol (G) key If empty, bad tone (tone two low beeps)
Do1 (C1) key Exit PlayStore or Metronome mode.Return Piano, mode 0.
Transpose key inactive (if installed)
**Metronome mode :
Actions via black keys.
Do# (C0#) key Start key ticTac (sound active)
Re# (D#) key Pause, tickTac (sound off)
Fa# (F#) key Bpm -10 Min speed =20
Sol# (G#) key Bpm=120,noteBpm = 50 (speed feedback and initial note)
La# (A#) key Bpm +10 Max speed =250
white key
Do1 (C1) key Exit PlayStore or Metronome mode.Return Piano, mode 0. Transpose key active (if installed)
See code ATtiny piano brUNO
Brief demo here : https://www.youtube.com/shorts/pPsCjqTrZNk
// FR
Trois modes disponibles :Piano (8 notes blanches et 5 notes noires, une touche transpose. Tonalité de notes plus hautes, + 12 notes)
PlayStore (une mélodie peut-être associée à chaque note. (Quatre dans le code pour démo.)
Métronome (vitesse bpm ajustable, changement de tonalité par notes)
Une touche On/Off
Alimentation par batterie de 3V7 à 5V.
Choix des modes.
Au démarrage de l'objet, une temporisation (réglable via le code) est lancée. Durant cette temporisation, si on touche la note :
-> Do du clavier : on passe en mode 1 PlayStore.
-> Ré du clavier : on passe en mode 2 Métronome.
Passé le délais temporisation de démarrage, si touche Do ou Ré non touchée :),on est en mode 0, Piano.Le piano signale par une séquence de note qu'il est prêt à jouer avec vous.
Avec la touche transpose l'octave, on change de tonalité... +12 notes
**Mode PlayStore :
Actions via touches blanches.
touche Do Joue la mélodie 1 enregistrée dans le code
touche Ré Joue la mélodie 2
touche Mi Joue la mélodie 3
touche Fa Joue la mélodie 4
touche Sol Si vide, bad tone (tonalité deux bip bas)
touche Do1 Quitter mode PlayStore ou Métronome. Retour Piano, mode 0.
Touche transpose inactive (si installée)
**Mode métronome :
Actions via touches noires.
touche Do# Start ticTac (son actif)
touche Ré# Pause, ticTac (son inactif)
touche Fa# Bpm -10 Vitesse min =20
touche Sol# Bpm=120, noteBpm = 50 (retour vitesse et note initiale)
touche La# Bpm +10 Vitesse max =250
touche Do1 Quitter mode PlayStore ou Métronome. Retour Piano, mode 0.
Touche transpose active (si installée)
Voir code ATtiny piano brUNO
brief démo ici : https://www.youtube.com/shorts/pPsCjqTrZNk
C'est le dernier de l'année.
Le 31/12/2022
18h00,
Updates van de auteur
Arduino47 1 jaar geleden
Pour élargir la gamme de choix du régulateur de tension 3V3 du Piano, utiliser un convertisseur élévateur DC DC
Voir ZIP New Power.
Arduino47 1 jaar geleden
//FR
Paolina, l'artiste interprète, semble avoir besoin de plus de volume sonore lorsqu'elle utilise son Tiny Piano. Hum, trouver un truc avec un ampli déjà tout fait, pour faire rapide tout en restant dans le principe : on a tous chez nous, quelques shields et bout de proto, qui traînent de-ci de-là.Attiny amplifier exemple en français disponnible.
Enjoy
Arduino47 2 jaar geleden
Arduino47 2 jaar geleden