mirror of
https://github.com/jwetzell/osc-js.git
synced 2026-08-16 12:43:25 +00:00
add support for osc h type
This commit is contained in:
@@ -48,6 +48,11 @@ const tests = [
|
||||
message: { address: '/hello', args: [{ type: 'N', value: null }] },
|
||||
expected: new Uint8Array([47, 104, 101, 108, 108, 111, 0, 0, 44, 78, 0, 0]),
|
||||
},
|
||||
{
|
||||
description: 'simple address int64 arg',
|
||||
message: { address: '/hello', args: [{ type: 'h', value: 281474976710655n }] },
|
||||
expected: new Uint8Array([47, 104, 101, 108, 108, 111, 0, 0, 44, 104, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255]),
|
||||
},
|
||||
{
|
||||
description: 'osc 1.0 spec example 1',
|
||||
message: { address: '/oscillator/4/frequency', args: [{ type: 'f', value: 440 }] },
|
||||
|
||||
Reference in New Issue
Block a user