Jump to content

Line continuation character for NGR?


Duggle

Recommended Posts

Would it be possible to implement line continuation character in NGR?

I'm wanting to send a long Sysex message which I would like to type over multiple lines for clarity.

Here's a shorter example:

send SysEx OUT3 0xf0 0x00 0x01 0x00 0x01 0x00 0x7f 0x00 0x10 16 0xf7

but 

 

send SysEx OUT3 0xf0 0x00 0x01 0x00 \
                0x01 0x00 0x7f 0x00 \
                0x10 16   0xf7

doesn't work.

Link to comment
Share on other sites

I worked around this by triggering a SENDER.

EVENT_SENDER  id=102  type=SysEx ports=1000001000000000 stream="0xf0 0x00 0x01 0x00 0x01 \
         0x00 0x00 0x00 0x00 10 \
         0x00 0x00 0x01 0x34 10 \
         0xf7"    

from the NGR:

if ^section == 6
trigger SENDER:102
endif

The problem is now that there is a strict limit on the length of the Sysex stream.

It seems to fail to find the SENDER if the stream is a bit longer than the one shown above.

Is there a way of sending larger Sysex messages?

Link to comment
Share on other sites

The problem is now that there is a strict limit on the length of the Sysex stream.

It seems to fail to find the SENDER if the stream is a bit longer than the one shown above.

 

I'm surprised!

The maximum stream size is 128 bytes.

 

Did you get an error message while loading the .NGC file?

Or was this just an assumption, but the reason why longer SysEx streams can't be sent (or received at the destination?) is located somewhere else?

 

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...