mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-08 23:06:58 -04:00
Updated API Note (markdown)
parent
eb123fc7fc
commit
f92e455847
@ -6,7 +6,9 @@ This API provides functionality to convert music notes into their respective MID
|
||||
- `note.ticks(n: number)`: Converts note block ticks (0-24) into MIDI code (34-58, respectively) and vice-versa. Useful for use with note blocks and OpenComponents
|
||||
- `note.play(tone: string or number,duration: number)`: Plays a note from a string or MIDI code via computer.beep with the specified duration
|
||||
|
||||
the available string names, their respective MIDI code and their frequency are shown here:
|
||||
###Available notes
|
||||
The available string names, their respective MIDI code and their frequency are shown here:
|
||||
|
||||
|Name|MIDI code|Frequency|
|
||||
|----|---------|---------|
|
||||
|A0|21|27,5000|
|
||||
|
Loading…
x
Reference in New Issue
Block a user