Giter Club home page Giter Club logo

musicope's People

Contributors

dependabot[bot] avatar duke79 avatar oldrich-s avatar oldrich-svec avatar snowc0de avatar trickkiste 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  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

musicope's Issues

Midi not detected?

I'm running musicope over a Fedora distribution. I run it as root ( sudo npm start ). But, I guess, Midi is not recognized ( I say "I guess" because I don't know how app looks )

The Midi is detected by system:

[dani@localhost musicope]$ cat /proc/asound/cards
 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xdc320000 irq 133
 1 [Piano          ]: USB-Audio - Digital Piano
                      Yamaha Corporation Digital Piano at usb-0000:00:14.0-2, full speed

I have tried changing default-config to:

    p_deviceIn: "1",
    p_deviceOut: "0",

... but nothing happens when I play keys on device.

How can I do to issolate and fix this issue? Thanks!

Build errors: src\typescripts\_app.ts(12,18): error TS2304: Cannot find name '$'

Hello

Can you help with below errors when running gulp?

C:\git\game>gulp
gulp-typescript: noExternalResolve is deprecated - use noResolve instead
The non-standard option noExternalResolve has been removed as of gulp-typescript 3.0.
Use noResolve instead.
More information: http://dev.ivogabe.com/gulp-typescript-3/
[20:19:23] Using gulpfile C:\git\game\gulpfile.js
[20:19:23] Starting 'default'...
[20:19:23] Starting 'clean'...
[20:19:23] Finished 'default' after 31 ms
[20:19:23] Finished 'clean' after 50 ms
[20:19:23] Starting 'vendorScripts'...
[20:19:23] Starting 'vendorCSS'...
[20:19:23] Starting 'ts'...
gulp-typescript: ts(tsProject) has been deprecated - use .pipe(tsProject(reporter)) instead
As of gulp-typescript 3.0, .pipe(ts(tsProject)) should be written as .pipe(tsProject()).
More information: http://dev.ivogabe.com/gulp-typescript-3/
[20:19:23] Starting 'content'...
[20:19:24] Finished 'vendorCSS' after 176 ms
[20:19:24] Finished 'content' after 265 ms
[20:19:24] Finished 'vendorScripts' after 389 ms
src\typescripts_app.ts(12,18): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(13,18): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(35,5): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(50,9): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(51,13): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(52,13): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(53,13): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(59,17): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(60,17): error TS2304: Cannot find name 'Mousetrap'.
src\typescripts_app.ts(61,26): error TS2304: Cannot find name 'jQuery'.
src\typescripts_app.ts(65,17): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(66,17): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(72,13): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(73,13): error TS2304: Cannot find name 'Mousetrap'.
src\typescripts_app.ts(81,24): error TS2304: Cannot find name '$'.
src\typescripts_app.ts(83,24): error TS2304: Cannot find name '$'.

Benchmark

Do deep benchmark to find all the bottlenecks of the game play

Segfault upon launch

This is on Debian Jessie with Electron v1.2.4.

phil@enigma ~/bin/musicope-win32/app/game $ ~/bin/electron/electron index.html 
Segmentation fault

The docs don't really give any details on how to run the game, so I'm just guessing. Any suggestions for debugging?

Mac

When I download the files my Mac automatically decompresses the files and I'm left with an icon and a bunch of code files. How am I supposed to run it?

Resize problem

A resize problem ocuured once. The piano was always smaller than the window. It gets fixed when you restart the app.

NPM Install Fails - run as root

terminal out

musicope-master# npm start

[email protected] start
node server.js

node:events:353
throw er; // Unhandled 'error' event
^

Error: listen EACCES: permission denied 0.0.0.0:80
at Server.setupListenHandle [as _listen2] (node:net:1278:21)
at listenInCluster (node:net:1343:12)
at Server.listen (node:net:1429:7)
at Function.listen (/home//Documents/musicope-master/node_modules/express/lib/application.js:618:24)
at Object. (/home/
/Documents/musicope-master/server.js:72:8)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12)
Emitted 'error' event on Server instance at:
at emitErrorNT (node:net:1322:8)
at processTicksAndRejections (node:internal/process/task_queues:80:21) {
code: 'EACCES',
errno: -13,
syscall: 'listen',
address: '0.0.0.0',
port: 80
}
npm ERR! code 1
npm ERR! path /home/*****/Documents/musicope-master
npm ERR! command failed
npm ERR! command sh -c node server.js

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-12-29T18_44_37_466Z-debug.log

log file

0 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
1 info using [email protected]
2 info using [email protected]
3 timing config:load:defaults Completed in 2ms
4 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 1ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:/home//Documents/musicope-master/.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/root/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 0ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 8ms
19 verbose npm-session e04fb45a6ff1f9e7
20 timing npm:load Completed in 17ms
21 timing command:run-script Completed in 287ms
22 timing command:start Completed in 289ms
23 verbose stack Error: command failed
23 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/index.js:64:27)
23 verbose stack at ChildProcess.emit (node:events:376:20)
23 verbose stack at maybeClose (node:internal/child_process:1063:16)
23 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:295:5)
24 verbose pkgid [email protected]
25 verbose cwd /home/
/Documents/musicope-master
26 verbose Linux 5.4.0-58-generic
27 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
28 verbose node v15.5.0
29 verbose npm v7.3.0
30 error code 1
31 error path /home/*****/Documents/musicope-master
32 error command failed
33 error command sh -c node server.js
34 verbose exit 1

Logo Proposal

@czb
musicope

In the opportunity to greet you, I make the proposal to make the logo for your project. As a way to contribute with open source projects, it will be carried out completely at no cost to you.
Please let me know if you want to make the logo, so I can send you some questions related to the project.
without more

Best regards
Engineer
Luis Baute
Designer

The notes are off

Well, I found 2 problems, I don't know if I made something wrong or if the problem is the program, but if there is any way to fix it please tell.
The first problem is that if there are 2 times the same note play together with little to no time in between, the program doesn't play them.
The second problem is that the notes are played a bit before actually touching the "piano" image, so you have to "predict" when to play a note instead of seing when to do so.
Sorry if I made any mistakes, I am non-native
Edit: Also after messing around with some configurations something stopped working and now I can't even play it
Edit 2: I couldn't find a solution for the first problem, but I kinda patched the second one by adding a +75 to the piano height in the drawscene file, though it bugs the "wait" function, so it's not a really good solution

Game blocks

Game sometimes blocks because radius in addToKnownNotes is not ok. Make sure that it is always ok. Even when I press "m" etc.

Can Hardly Load Anything

I tried loading a small black midi, only 2k notes.. and it doesn't play it at all, the screen just stays black with the midi name in the corner, Can you try and fix this?

window version in release section

Hi,
I downloaded the window version under the release section.
I am able to open the musicop.exe and pick a default song. However, it doesn't play the song at all.
Am I missing something? BTW, I am using Win7 VM

Thanks
iDeam0316

Cannot use : pleaseupgrade the readme file

Hey ! I have a question can you tell me how to use your service because when I click on title.mid the page give me :
/songs/OMFG_-Hello.mid

Wrote on a black page and nothing appears. . .

Error's on installing

I'm trying to run this on a raspberry pi so I'm not sure how it will work. but anyway, I'm getting the following erros and am not sure what to do about them.

pi@raspberrypi:~/musicope $ sudo npm install
(node:4901) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! Error: Method Not Allowed
npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR! at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 4.14.79-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/musicope
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/musicope/npm-debug.log
npm ERR! not ok code 0
pi@raspberrypi:~/musicope $

How is this a "game"?

All it does is play midi files (and by the way the sound is horrible compared to other synthesizers like for example (UMP) by PipiraMine). Is it that primitive or am I missing anything

Dropbox user limit reached

When I tried to log on with dropbox, it said that the app user limit has been reached, and that the app developer needs to increase the user limit from the app console. Hopefully this is as simple to fix as the notice makes it sound.

Can you find a way to add sound

Dear !
I want to make music videos like synthesia but there is no sound in your game can you add instruments to it ? It is a very good project !

Cannot find npm install nor npm start

I've downloaded the thing, but I can't really find the npm install and start files, am I doing something wrong? my first time using github here, so help would be more than appreciated.

Error ELIFECYCLE on installing

I get this errors:

$ npm start
events.js:167
      throw er; // Unhandled 'error' event
      ^
Error: listen EACCES 0.0.0.0:80
    at Server.setupListenHandle [as _listen2] (net.js:1269:19)
    at listenInCluster (net.js:1334:12)
    at Server.listen (net.js:1421:7)
    at Function.listen (/tmp/musicope/node_modules/express/lib/application.js:618:24)
    at Object.<anonymous> (/tmp/musicope/server.js:72:8)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
Emitted 'error' event at:
    at emitErrorNT (net.js:1313:8)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
    at startup (internal/bootstrap/node.js:279:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:696:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pablo/.npm/_logs/2019-04-01T06_41_16_689Z-debug.log

$ inxi -S -! 31 
System:    Kernel: 4.15.0-46-generic x86_64 bits: 64 Desktop: Gnome 3.28.3 Distro: Ubuntu 18.04.2 LTS

The log file: 2019-04-01T06_41_16_689Z-debug.log.

Already tried setting with

"dependencies": {
  "express": "latest",
  "typescript": "latest"

Dependency Problem

Hi,

I'd really like to get this working as it would be great to use in my classroom as I could deploy a midi file for the class to practice each week. If I can manage to get it working, I'd like to help make a Google Drive storage option instead of Dropbox. :)

I'm getting a 'require is not defined' in line 2 of app.js. I've tried bringing in RequireJS but I'm just swinging blindly here.

Thanks!

Allow Importing of External MIDI files

It'd be nice to allow importing of external MIDI files, since I have some that wouldn't be possible to include with the site itself due to copyright constraints, but I would still like to use them.

All instruments sound weird

MIDI files sound different in musicope, not like a piano, not like the original instruments in the MIDI file. What might be the reason? Should I install some SoundFonts? How do I do that?
(I'm not using a MIDI keyboard. Just trying to watch how certain songs are played on a normal non-MIDI piano.)

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.