Git Product home page Git Product logo

Comments (9)

munsuri avatar munsuri commented on August 16, 2024

I'm down for that one too. I was planning to add it myself after the one key event.

from haptickey.

munsuri avatar munsuri commented on August 16, 2024

Actually, it was quicker than expected to implement audio feedback with AVAudioPlayer. I've used a shorter version (silence from start and end removed) of this sound. Now, the sound intensity can be controlled (or not) as well through that API.

from haptickey.

muescha avatar muescha commented on August 16, 2024

@munsuri you should create a pull request with your modification

from haptickey.

niw avatar niw commented on August 16, 2024

Sorry, I accidentally hit “Close issue” button, please ignore the last activities.

from haptickey.

chrisballinger avatar chrisballinger commented on August 16, 2024

If anyone wants to play around with the old Mac OS 9 Platinum sounds for nostalgia purposes, I extracted them from the resource fork of the original sound set I found somewhere online. I'm a fan of 00548 "wopn".aiff, but there are a number of other good ones.

Mac OS 9 Platinum Sounds.zip

from haptickey.

niw avatar niw commented on August 16, 2024

Okay, so I made a change to support sound effect 4cbef9f and some other features.
Since there are some concerns so didn’t merge this into master yet, once it’s solved I’ll post a new release.

@chrisballinger if you want to use that sound, you can add that sound as a resource to the project (Simply drag and drop to Resources group,) and modify line 45 of 4cbef9f to [[HTKSystemSound alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"wopn" ofType:@"aiff"].
Due to license, I think it’s not good idea to have that sound file in the repository, but, you can at least try it now. 😉

from haptickey.

chrisballinger avatar chrisballinger commented on August 16, 2024

Yeah I agree about the licensing, probably not a good idea to ship those by default. Perhaps a few royalty free default sounds could be included, selectable via Sounds sub-menu. Then you could drop external sound files into ~/Library/Application Support/HapticKey/Sounds/ and enumerate them within the sub-menu along with the bundled sounds. I'd submit a PR for that once things settle down a bit.

from haptickey.

niw avatar niw commented on August 16, 2024

@chrisballinger That approach sounds good!

from haptickey.

niw avatar niw commented on August 16, 2024

As I described in the comments, added ”Sound Effect” feedback option in a commit 4cbef9f.
Also released HapticKey 0.4.1.

from haptickey.

Related Issues (20)

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.