scales.mdx 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import { Piano } from 'react-piano';
  2. import 'react-piano/dist/styles.css';
  3. import ABCNotation from '@site/src/components/ABCNotation';
  4. # Scales
  5. adding notation versions as a way to learn the scales. I need to get a better understanding of the notation and how to read it. I also need to get a better understanding of the piano keys and how they relate to the notation.
  6. <ABCNotation notation={`
  7. X:1
  8. L:1/8
  9. C D E F G A B c|
  10. `} />
  11. <Piano
  12. noteRange={{ first: 48, last: 84 }}
  13. width={600}
  14. activeNotes={[60, 62, 64, 65, 67, 69, 71, 72]}
  15. playNote={(midiNumber) => {
  16. console.log(midiNumber);
  17. }}
  18. stopNote={(midiNumber) => {
  19. console.log(midiNumber);
  20. }}
  21. />
  22. **C**
  23. <ABCNotation notation={`
  24. X:1
  25. L:1/8
  26. C D _E F G _A _B|
  27. `} />
  28. <Piano
  29. noteRange={{ first: 48, last: 84 }}
  30. width={600}
  31. activeNotes={[60, 62, 63, 65, 67, 68, 70, 72]}
  32. playNote={(midiNumber) => {
  33. console.log(midiNumber);
  34. }}
  35. stopNote={(midiNumber) => {
  36. console.log(midiNumber);
  37. }}
  38. />
  39. **[Cm](https://en.wikipedia.org/wiki/C_minor)** (Left): 5, 4, 3, 2, 1, 3, 2, 1 | (Right): 1, 2, 3, 1, 2, 3, 4, 5
  40. ![music-scales](/img/music-scales.jpg)
  41. ![music-scales](/img/music-scales-pentatonic.jpg)