Giter VIP home page Giter VIP logo

keysound's People

Contributors

0xff91 avatar ayamir avatar fgheng avatar senlinos avatar skibblebip avatar tup0lev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

keysound's Issues

自己添加了新声音与json,没有效果

你好,很喜欢你这个项目。

默认的项目声音与json都可以使用,但我想自己加新的效果,但没成功。
所以我把声音文件发给你,这些音效都是自由的,可以自由使用。

“typewriter-dog” 打字机与狗,共5个音效:delete.wav 的音效是狗叫声,我感觉这样会很有趣与好玩;enter.wav 的音效是打字机那种带铃声的音效。

ZIP包:https://raw.githubusercontent.com/SenlinOS/databox/master/typewriter-dog.zip

Error occurred while connect audio

When running the program with sudo, at /src/Play.cc:318 pa_simple_new() returns NULL. When adding perror() after if(!s){ it displays Socket operation on non-socket. the error code returned by pa_simple_new() is '1'. Other than that, the program is able to read the input event files. It seems the pulse audio server is unable to be connected to on my machine when the software is run as root.

Current Linux environment: Ubuntu 20.04.2 LTS x86_64, pulseaudio 13.99.1

Piano sounds

使用的配置是audio/piano.json,执行命令./keysound -j ./audio/piano.json -D即可后台运行。

我的一个会弹钢琴的同学教我的,只需要三个8度的音,基本上就可以弹奏所有的流行歌曲了,所以这个配置我将中音乐的1234567即dao rai mi fa sao la xi映射为n j k l ; ' .(/),低八度的dao rai mi fa sao la xi我映射为 a s d f x c v,高八度的dao rai mi fa sao la xi我映射为了h(y) u i o p [ ]。

给个建议

建议写一个可以控制音量的办法在里面,在我放音乐的时候敲击键盘的声音会有些盖过我的音乐。

error occured while connect audio

I tried the example ./keysound -j ./audio/piano.json but saw the error message "error occured while connect audio". Also ran "./keysound -f ./audio/typewriter-key.wav" but no luck.

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.