W3C home > Mailing lists > Public > public-audio@w3.org > October to December 2012

Re: [Web MIDI API] send() method should also allow 3 shorts + timestamp

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Mon, 17 Dec 2012 16:43:23 +0000
To: Jussi Kalliokoski <jussi.kalliokoski@gmail.com>
Cc: "public-audio@w3.org" <public-audio@w3.org>
Message-ID: <664C85E1BF594A66A177F12BD3F6B644@gmail.com>


On Monday, December 17, 2012 at 4:35 PM, Jussi Kalliokoski wrote:

> Sure!
> 
> output.send(90, 60, 122, 100) // wat! looks like a part of the data?!
> 
> output.send([90, 60, 122], 100) // now the data is separate from the timestamp
> 
> My point is that if you think about the action the send() has, it sends some data at a specified time; that's two arguments, data and timestamp. You can go arbitrarily splitting that into more arguments, but what's the point?
Sold:) Thanks Jussi, that makes sense now. 
Received on Monday, 17 December 2012 16:43:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:04 UTC