New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maschine mikro mk2: rework and update #67

Merged
merged 11 commits into from Dec 4, 2017

Conversation

Projects
None yet
1 participant
@harryhaaren
Contributor

harryhaaren commented Dec 2, 2017

Large rework and updates for the mikro mk2, including using LibUSB as a backend, improvements to the filtering of the pad data (better note-press detection), and initial enabling of pushing bits to the screen.

harryhaaren added some commits Oct 6, 2017

mikro mk2: timing measurements for read / write
Using the HIDRAW API, time read and write durations.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: rework USB xfers to use libUSB
This open the libUSB backend to maschine, removing the requirement
on the /dev/hidraw interface. Currently the bytes are only read,
and they are not decoded properly, due to an offset difference between
the HidRaw buffer (including endpoint as first byte) and libUSB data
(without said first byte).

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: reworking pad reading
Need to rework filters for new arrival rate of data,
which means that in general the "feel" for the pads
will need to be re-evaluated.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: fix usb writes with libUSB
Lights verified as working now

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: clear screen when starting up
This commit adds basic screen infrastructure.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: enable screen bitmap xfers
This commit enables the blit to screen function to push a single
channel bitmap of binary data from the application to the screen
on the maschine. The maschine driver performs the required
multiplexing of and xfer header mushing to make it happen.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: rework screen and improvements
Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: reimplement pad onset median filter
Using standard qsort() method for now. This provides a
large improvement in single-pad handling. Multiple pads
still seeing issues.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: rework median filter to all pads
Increased threshold, seems to trigger exactly as desired,
need to work on linearity of velocity yet.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
mikro mk2: improve pad sensitivity
After testing, the sensetivity of the pads needed some updates.
Future commits will amend and improve these values more.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>

@harryhaaren harryhaaren changed the base branch from dev to master Dec 4, 2017

@harryhaaren harryhaaren merged commit db6d4d0 into master Dec 4, 2017

3 checks passed

Codacy/PR Quality Review Good work! A positive pull request.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@harryhaaren harryhaaren deleted the dev_mikro branch Dec 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment