Code Monkey home page Code Monkey logo

haptrix's Introduction

Haptrix

Release

Design, Share and Experience Haptics

Haptrix is a macOS App, iOS App and Website:

We have Sample Core Haptic Assets you can use for Core Haptics

Documentation

View our Documentation - We have Markdown, HTML & Apple Help Books Available

macOS

Design Haptic experiences on the macOS App

Download here macOS App Store

iOS

Browse Haptics, Search, Download and Play

Download here iOS App Store

Website

Search for a Haptic to suit your needs, download into the macOS App, or play on your iOS Device.

Visit https://www.haptrix.com

Swift Package Manager

If you want to download your Haptic files into your App without re-building, use the HaptrixSync Package

haptrix's People

Contributors

nthstate-bot avatar nthstate-chris avatar testinguser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

flyflyerson1234

haptrix's Issues

[Feature Request] - Create parameter curves by tracing audio on import

When importing audio, have an option to create a parameter curve to match the audio.

  1. Ideas below, maybe you could call it AutoTrace/AutoDraw (horizontal wavy icon with arrow):
    a) as implied, auto-trace would prepare a continuous haptic curve fit to the audio profile. Hastily done below and you may consider allowing user to see the points or hide them and show smooth curve.Screen Shot 2020-11-14 at 07.37.13.png

    b) allow user the change the waveform after creation (sine, saw, triangle, square, etc).
    c) allow user to lock curve, then drag up/down to modify the intensity/sharpness.
    d) allow user to flip curve (button or double tap), offset curve (drag).

[Feature Request] - Video Synchronization

We'd like to play haptics during our onboarding video which is around a minute long. We have code to sync an ahap file to the playback of the video but it's quite an ordeal trying to time everything with no visual reference. It would be amazing if Haptrix had support for importing a video file which plays back in the editor (and even better, the app) for synchronization purposes.

[Feature Request] - Allow re-ordering of events

Being able to drag events in the lower frame to reorder them would help with visual organization. I am doing a workaround by cutting and pasting, which allows events to be sorted, but it's slow going.

[Bug] - Show error on iOS when Haptic fails to load

Show error on iOS when Haptic fails to load

When a haptic fails to load on iOS there is no feedback to the user

  • Show an error if there is an error

  • Show a reason why the haptic may not play

  • [x ] iOS

  • macOS

  • Other

[Feature Request] - Zoom should stretch Horizontally

Right now, it's basically impossible to zoom out and work with more than 2 seconds of clip because everything becomes too small when you zoom. Zooming in and out should just stretch horizontally, not vertically -- this is how they do it in iMovie.

[Feature Request] - AutoTrim

Hans wrote:

Apple has limitations on the size of audio file I believe. My testing shows it hits limit around 4.2MB but is not consistent. You could create an AutoTrim feature.
a) if you can allow creation of longer runs, that would be terrific. But allowing users to profile sound and create a sound “Block” would be helpful.
b) if Apple limits, another approach may be to modify the JSON/AHAP file to separate audio from haptic and sync/time (NSTimeInterval) audio properly, I know that will work as I’ve created files and timed. Apple may balk at vibrations that run too long or other in future. That said, I think the feature would be useful for a broader audience.
b) if Apple limits, it seems 30 second files often fall below the 4.2MB threshold. You could trim the audio file (AVAsset/CMTime). Base filename: Sound.ahap (Sound_30.ahap, Sound.60.ahap…).

[Feature Request] - Multiple Audition

I need to review the patterns I'm creating in Haptrix with a client group, which means I'm asking them to download the Haptrix iOS app and load files one at a time. If there was a way to audition multiple files at once, say in a list or with buttons, that would be incredible.

[Feature Request] - Edit parameters in the timeline

julecom wrote: Being able to edit intensity and sharpness from the timeline (the same way than editing a continuous - when mouse over the top edge, edit length cursor appears and drag up or down to edit intensity)

[Bug] - Can't select Haptric Transient bar

Can't select a Transient Haptic bar from the graph after adding a Continuous Haptic "on top of it"
Steps to reproduce:

  • place a transient haptic bar (ex. at 0.5s)
  • draw a continuous haptic from 0 to 1s
  • try to select and move the transient haptic

(macOs)

[Feature Request] - Window selection Tool

A window selection tool to select/copy/delete multiple events simultaneously would be hugely helpful
It would be ideal to have a way to select multiple files (window select, shift + select, a grouping function, etc) and be able to edit the same parameters for multiple files at once, e.g. changing the intensity of multiple haptic events simultaneously.

[Feature Request] - Hide/View Events

There should be a way to hide/view events at the bottom. With more complicated projects, my view gets way too cluttered.

Bonus points if these events can also be parented so we can hide/unhide groups of events

[Feature Request] - Lock Event view scroll to Timeline scroll

The event viewer in the lower frame of the app does not scroll with the timeline, so once events are off the screen they can't be seen. I'm finding it much easier to select events in the lower frame because it doesn't inadvertently move the event on selection. There also appears to be no way to zoom inside either frame.

[Feature Request] - Improve development usage

I would love to be able to play my haptics from the desktop app on the phone when the Haptrix app is in background, that way I can perform actions on my (own) app while playing haptics from the computer to better feel and imagine the work in progress without having to go through Xcode…

[Bug] - Stop invalid files from being able to be uploaded

Stop invalid files from being able to be uploaded

Invalid files can be uploaded if an invalid file is created and uploaded straight away in the editor.

Detailed Description

We should run the validator on the file before we upload and point out issues to the user.

  • Can we highlight which item has an error?

Platforms

  • iOS
  • macOS
  • Wav

Export AHAP files using SPACE separators instead of NO-BREAK SPACE

NO-BREAK SPACE is incompatible with many JSON parsers including JSONSerialization.jsonObject.

I work around this by doing: replacingOccurrences(of: " ", with: " ") on the AHAP string data but this is technically an invalid parsing since NO-BREAK SPACE could appear within JSON strings.

Per, RFC 7159 The JavaScript Object Notation (JSON) Data Interchange Format:

Insignificant whitespace is allowed before or after any of the six structural characters.

  ws = *(
          %x20 /              ; Space
          %x09 /              ; Horizontal tab
          %x0A /              ; Line feed or New line
          %x0D )              ; Carriage return

[Feature Request] - Improve selection and dragging

julecom wrote: I would want to use the arrow icon to select and move elements (I don’t see the use of separating the arrow and the selection tool) and I would add a “hand” icon instead to move the canvas and use the Space bar + Drag command with any tool to move the canvas

[Bug] - MacOS app crash

MacOS app crashes every time I click on the Play button
I'm on macOS Big Sur 11.4 - Haptrix v 3.0.8 (30)

[Idea] - Parametric Design

I'd like to be able to layout a Haptic experience, but then, with the constraints of the file, find unique ways of combining them together.

  • Can I add a parametric design button?
  • Can I generate random Haptic files? - Should we allow it?

[Feature Request] - Zoom via a slider

On the UI/UX, would be great to also be able to zoom in/out of profile with a slider, and see entire sound as profile similar to Quicktime (Trim).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.