File: note_echo.py

package info (click to toggle)
bespokesynth 1.3.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 44,592 kB
  • sloc: cpp: 117,136; ansic: 18,752; python: 593; xml: 74; makefile: 4
file content (5 lines) | stat: -rw-r--r-- 140 bytes parent folder | download | duplicates (2)
1
2
3
4
5
#send a note input into here

def on_note(pitch,velocity):
   for i in range(1,5):
      me.schedule_note_msg(i/8.0, pitch, int(velocity/i))