Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (855)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Tool - Reference Note Keyboard  (Read 308 times)
0 Members and 1 Guest are viewing this topic.
Offline philfrei
« Posted 2018-10-03 21:26:12 »

A music student (oboist) wanted an easy way to play a note to use as a reference. We were in agreement that the best thing to do is to play the pitch and hold it in memory and use your ears/pitch sense to compare that with what you are playing on your instrument, not rely on a visual guide (as with commercial tuners).

The student didn't want to buy a keyboard to accomplish this simple task. So I made a little program. Requires Java 8. To play a note, click on it with the mouse (hold mouse press down for sustain).

It's mostly made from parts of other things I've been working on. I thought I might post it on itch.io as a freebie. But before doing so, I thought I'd run it by JGO members. Any suggestions or feedback?



Download jar: Reference Note Keyboard

To be clear, it's not really meant for doing anything else, like playing melodies. I suppose it might be possible to make the typing keys play notes, but I'd have to solve at least one issue first: holding down a key (like spacebar or a letter) seems to retrigger it, as far as the JavaFX keyboard listener is concerned. This in turn seems to really gum up the JavaFX thread used for the GUI and disrupts audio playback.

Also, the latency could be lower for a "real" keyboard, although, it is true that the virtual playback tool for the NativeInstruments FM8 is pretty laggy, too.

Thanks!

music and music apps: http://adonax.com
Offline philfrei
« Reply #1 - Posted 2018-10-06 07:00:05 »

This post by @tscandalitta inspired me to go ahead and work on the QWERTY keyboard listening for the synth.

New version is up. JavaFX constructs seem quite adequate for the task. What confuses the matter, though, are hardware issues.

1) The way the QWERTY keys are "wired" it is probably just not be possible to hold down some and have all other keys be acknowledged when they are pressed/released.

2) A TouchPad may interfere with the readability of the QWERTY keys. So, better to use the mouse (for settings controls or notes) if you are also going to also play QWERTY keys.

The latency is not bad!

Not sure what else to tweak. The EPiano voice maybe needs more harmonic content in the lower octaves, given that most computer speakers have horribly deficient bass response.

I once had a person ask for a "harmonium" app for playing Kirtan accompaniment to singing. The organ patch I have is not that far off. I've renamed it, will maybe come up with a way to make it a little wheezier.

Add more voice-choice options? I have a pretty good Harp, Vibraphone, a couple other nice pads could add in. But it might be good to keep it lightweight. (Under 120 KB so far! Am guessing under 20 MB download if JVM included.)

music and music apps: http://adonax.com
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1569 views)
2018-06-10 19:43:48

EgonOlsen (1541 views)
2018-06-10 19:43:44

EgonOlsen (1141 views)
2018-06-10 19:43:20

DesertCoockie (1568 views)
2018-05-13 18:23:11

nelsongames (1172 views)
2018-04-24 18:15:36

nelsongames (1549 views)
2018-04-24 18:14:32

ivj94 (2306 views)
2018-03-24 14:47:39

ivj94 (1515 views)
2018-03-24 14:46:31

ivj94 (2602 views)
2018-03-24 14:43:53

Solater (879 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!