add mini grand
This commit is contained in:
parent
2029b26905
commit
64f84ea50d
26 changed files with 30 additions and 2 deletions
BIN
Pi/mini_grand/mini_grand-001.wav
Normal file
BIN
Pi/mini_grand/mini_grand-001.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-002.wav
Normal file
BIN
Pi/mini_grand/mini_grand-002.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-003.wav
Normal file
BIN
Pi/mini_grand/mini_grand-003.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-004.wav
Normal file
BIN
Pi/mini_grand/mini_grand-004.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-005.wav
Normal file
BIN
Pi/mini_grand/mini_grand-005.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-006.wav
Normal file
BIN
Pi/mini_grand/mini_grand-006.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-007.wav
Normal file
BIN
Pi/mini_grand/mini_grand-007.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-008.wav
Normal file
BIN
Pi/mini_grand/mini_grand-008.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-009.wav
Normal file
BIN
Pi/mini_grand/mini_grand-009.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-010.wav
Normal file
BIN
Pi/mini_grand/mini_grand-010.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-011.wav
Normal file
BIN
Pi/mini_grand/mini_grand-011.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-012.wav
Normal file
BIN
Pi/mini_grand/mini_grand-012.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-013.wav
Normal file
BIN
Pi/mini_grand/mini_grand-013.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-014.wav
Normal file
BIN
Pi/mini_grand/mini_grand-014.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-015.wav
Normal file
BIN
Pi/mini_grand/mini_grand-015.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-016.wav
Normal file
BIN
Pi/mini_grand/mini_grand-016.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-017.wav
Normal file
BIN
Pi/mini_grand/mini_grand-017.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-018.wav
Normal file
BIN
Pi/mini_grand/mini_grand-018.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-019.wav
Normal file
BIN
Pi/mini_grand/mini_grand-019.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-020.wav
Normal file
BIN
Pi/mini_grand/mini_grand-020.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-021.wav
Normal file
BIN
Pi/mini_grand/mini_grand-021.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-022.wav
Normal file
BIN
Pi/mini_grand/mini_grand-022.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-023.wav
Normal file
BIN
Pi/mini_grand/mini_grand-023.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-024.wav
Normal file
BIN
Pi/mini_grand/mini_grand-024.wav
Normal file
Binary file not shown.
BIN
Pi/mini_grand/mini_grand-025.wav
Normal file
BIN
Pi/mini_grand/mini_grand-025.wav
Normal file
Binary file not shown.
32
Pi/s.py
32
Pi/s.py
|
@ -4,8 +4,8 @@ import serial
|
|||
import pygame
|
||||
|
||||
serialmode=True #True for Raspberry Pi with Arduino connected, False for testing with keyboard
|
||||
serialport="/dev/ttyS0" # Raspberry Pi
|
||||
#serialport="/dev/ttyUSB0"
|
||||
#serialport="/dev/ttyS0" # Raspberry Pi
|
||||
serialport="/dev/ttyUSB0"
|
||||
|
||||
pygame.mixer.pre_init(buffer=32)
|
||||
pygame.init()
|
||||
|
@ -14,6 +14,8 @@ if not serialmode:
|
|||
pygame.mixer.quit()
|
||||
pygame.mixer.init(buffer=32)
|
||||
|
||||
'''
|
||||
# Guitar C Dur
|
||||
Sound = [pygame.mixer.Sound('guitar/guitar_C3_very-long_forte_normal.wav'),
|
||||
pygame.mixer.Sound('guitar/guitar_D3_very-long_forte_normal.wav'),
|
||||
pygame.mixer.Sound('guitar/guitar_E3_very-long_forte_normal.wav'),
|
||||
|
@ -23,6 +25,32 @@ Sound = [pygame.mixer.Sound('guitar/guitar_C3_very-long_forte_normal.wav'),
|
|||
pygame.mixer.Sound('guitar/guitar_B3_very-long_forte_normal.wav'),
|
||||
pygame.mixer.Sound('guitar/guitar_C4_very-long_forte_normal.wav')
|
||||
]
|
||||
'''
|
||||
|
||||
# Mini Grand C Dur
|
||||
Sound = [pygame.mixer.Sound('mini_grand/mini_grand-001.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-003.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-005.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-006.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-008.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-010.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-012.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-013.wav')
|
||||
]
|
||||
|
||||
|
||||
'''
|
||||
# Wellerman
|
||||
Sound = [pygame.mixer.Sound('mini_grand/mini_grand-001.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-003.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-004.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-006.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-008.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-009.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-011.wav'),
|
||||
pygame.mixer.Sound('mini_grand/mini_grand-013.wav')
|
||||
]
|
||||
'''
|
||||
|
||||
Soundplaying=[False,False,False,False,False,False,False,False]
|
||||
|
||||
|
|
Loading…
Reference in a new issue