3Tronics / Stamps

Created with CodeSandbox
https://codesandbox.io/s/github/BetoGreenDog/Stamps
0 stars 0 forks source link

verwalter questions #4

Open 3Tronics opened 1 year ago

3Tronics commented 1 year ago
  1. where is server-dir: ./dev/${{ github.ref_name }}/ github.ref_name defined? and what does it do

  2. do you recommend to use pull requests and rules for merging? ( I dont know these yet)

  3. -can we turn off email confirmation for actions . https://github.com/settings/notifications -Did secret passwords get set yet? -There is a limit for actions after which it is a paid service

  4. how difficult is it to do a Github Release when we push to Master ( have you done this)

    1. copy from Master/src to server/www
    2. Perform a github Release with Tag V01.XX and zip file 3.have you used -> https://github.com/marketplace/actions/create-release
3Tronics commented 1 year ago

comment this is the text and more her

this is the answer

3Tronics commented 1 year ago

F0 7E id 06 01 F7

F0 7E Universal Non Real Time SysEx header
id ID of target device (default = 7F = All devices)
06 Sub ID#1 = General System Information
01 Sub ID#2 = Device Identity Request
F7 End of SysEx

Device Identity Reply

A device which receives a Device Identity Request message would respond as follows:

F0 7E id 06 02 00 21 75 ff ff dd dd ss ss ss ss F7

F0 7E Universal Non Real Time SysEx header
id ID of target device (default = 7F = All devices)
06 Sub ID#1 = General System Information
02 Sub ID#2 = Device Identity message
00 21 75 Manufacturers System Exclusive ID code.
ff ff Device family code (14 bits, LSB first)
dd dd Device family member code (14 bits, LSB first)
ss ss ss ss Software revision level (the format is device specific)
F7 End of SysEx

Reference : MIDI 1.0 Detailed Specification, Document Version 4.2.1, Revised February 1996, page 40

3Tronics commented 1 year ago

Here are another examples of messages which could be implemented. This collection of messages comes from my experience with various MIDI devices. This is not an exhaustive list.

Standard MIDI messages

Message Command (bin)
Program Change (Select Preset) 1100cccc 0nnnnnnn
Select previous preset 1011cccc 00010110 00000000 MIDI CC 22 with value 0..63=previous, 64..127=next
Select next preset 1011cccc 00010110 01111111 MIDI CC 22 with value 0..63=previous, 64..127=next
(alternative) Select previous preset 1011cccc 00010110 00000000 MIDI CC 22 with any value
(alternative) Select next preset 1011cccc 00010111 00000000 MIDI CC 23 with any value

Sysex MIDI messages

Message Msg ID Command (hex)
Device Identity Request F0 7E device 06 01 F7 response is F0 7E id 06 02 00 21 75 ff ff dd dd ss ss ss ss F7
Read serial number 00 00 F0 00 21 75 model device 00 00 chk F7
Write serial number 00 01 F0 00 21 75 model device 00 01 nn nn nn nn chk F7 Factory use only.
Read device ID 00 02 Use the Device Identity Request to get the device ID.
Write device ID 00 03 F0 00 21 75 model device 00 03 id chk F7 Overwrite the current Device ID with the new id value.
Request preset name 00 04 F0 00 21 75 model device 00 04 chk F7 Returns a Write Preset Name message.
Write preset name 00 05 F0 00 21 75 model device 00 05 name... chk F7 Name must be N bytes with unused characters set as 00.
Request preset number 00 06 F0 00 21 75 model device 00 06 chk F7 Returns the current preset number (one byte).
Dump preset nn 00 07 F0 00 21 75 model device 00 07 nn chk F7 Returns a Store preset nn message.
Store preset nn 00 08 F0 00 21 75 model device 00 08 nn data... chk F7
Dump all presets 00 09 F0 00 21 75 model device 00 09 nn chk F7 Returns several Store preset nn messages.
Dump configuration 00 0A F0 00 21 75 model device 00 0A nn chk F7 Returns a Store configuration message.
Store configuration 00 0B F0 00 21 75 model device 00 0B data... chk F7
Set default preset nn 00 0C F0 00 21 75 model device 00 0C nn chk F7
Read default preset 00 0D F0 00 21 75 model device 00 0D chk F7 Return the default preset number (one byte).
Set MIDI channel nn 00 0E F0 00 21 75 model device 00 0E nn chk F7
Read MIDI channel 00 0F F0 00 21 75 model device 00 0F chk F7 Return the MIDI channel (one byte).
Read Calibration data 00 10 F0 00 21 75 model device 00 10 data... chk F7 Returns a Save Calibration data message.
Save Calibration data 00 11 F0 00 21 75 model device 00 11 chk F7

Some of the Read messages return a Save message. This is useful because this response can be easily reused if the user wants to update some values. The user only has to update the message's data and checksum and the message is ready to be sent back to device.

Regarding the Write device ID, this message can be used if the device value (Device ID) is set to a known default value when leaving the factory.

3Tronics commented 1 year ago

test1 2

3Tronics commented 1 year ago

image

3Tronics commented 1 year ago

Seems like it would be easy to implement also image