• Hacker News
  • new|
  • comments|
  • show|
  • ask|
  • jobs|
  • viraptor 4 minutes

    Ok, I'll be that one today. This seems entirely vibe coded... why is it using webview/tauri? It could be so small and smooth in swift with just a small change to the prompt. People used electron/tauri/whatever to make things easier to write and maintain, but if we're just vibing things anyway, can we go back to respecting resources, please?

  • kornelhal 13 hours

    [dead]

  • 15 hours

  • pheraph 40 minutes

    I think my daughter will love this. How about some simple gamification mechanism? A score or a star rating on how well you performed, maybe combined with a difficulty level?

    dsmurrell 34 minutes

    Each song has a difficulty rating from 1 to 5. You can use this to filter your library.

    And you can track your scores over the takes you did of a sing in your history. So I think OnKey has you covered on these.

    Let me know if it matches what you expect when you try it out.

    pheraph 9 minutes

    Awesome, I'm checking it out right now. Just a few quick notes:

    - By “difficulty,” I meant that you can set a skill level that's a bit more forgiving if you miss the mark, as opposed to a “pro” level, which may be stricter. I’m thinking especially of kids, who might have more fun with it that way. It would also be nice to have a personal profile to choose from, with your own library (?) or at least your own presets (difficulty, progress, etc.).

    - It took me a little while to figure out how the app works. You start a song in Apple Music, and the app records it. I had somehow expected a large search bar in the app that I could use aside from the music suggestions to get started.

    - Even though I hadn’t set up Spotify (it wasn’t even displayed), it was still enabled in the settings.

    - This is probably a bit outside your scope, but in the german song “An Tagen wie diesen, Die Toten Hosen” some (final) syllables get cut off, and sometimes the bars go down even though the melody goes up (or are the notes transposed an octave when they no longer fit within the scale?).

    That's for now, I’ll keep an eye on the project and create issues if my observations become more consistent. Thanks for the project!

    pheraph 3 minutes

    PS: There seems to be a bug on my machine. When I press the Play button in the Library, the song screen opens, but the previous song performance is still open there and nothing happens. I have to press the "in Apple Music" in the library; then it switches to Apple Music, where I press Play again and switch back to OnKey. Can't OnKey start playback on its own?

  • nopurpose 1 hours

    Didn't know that external apps can interact with Youtube in a tab in Safari.

    Looks nice, I sing so badly that I never dare to try if not alone. Maybe this app will help me to improve just little that I can sing along happy birthday quietrly in a corner without anyone turning heads.

    dsmurrell 1 hours

    > I never dare to try if not alone

    Yes, this was me. My confidence has improved through practise to a point where it only half killed me to post that demo video. My family still ask me to relocate when I'm doing this around them... so I think you can hit the pitches and still not sound amazing.

    Unfortunately, the way it works, and to avoid any copyright issues, it can't really operate on phones because you can't listen to other apps on them. Maybe the only way is to share your learnt pitch tracks (trained on the laptop) with a mobile companion app.

  • mkesper 1 hours

    This is a great learning tool! I wish I could use it on Linux. :)

    dsmurrell 1 hours

    Noted, I haven't done a feasibility test yet, but I do have an issue up here to vote on: https://github.com/dsmurrell/onkey/issues

    It's got 3 thumbs up but no indication of which OS they're from... maybe I need two issues.

  • HummingBirdGif 13 hours

    How are you detecting pitch?

    dsmurrell 13 hours

    For the user's pitch OnKey uses CREPE-tiny (https://github.com/marl/crepe) but ported to Rust with the model running on ONNX Runtime. For the singer's pitch also CREPE but the full version.

    The vocal separation for the song uses UVR: https://github.com/Anjok07/ultimatevocalremovergui

    You can find more details here: https://singonkey.app/docs/how-it-works

  • wnissen 8 hours

    What a fun idea! I love that the song doesn't have to be programmed in by the developer. Will give it a try.

    Have you played the Rock Band and similar "rhythm games" that were all the rage in the Wii era? I don't know that it helped my singing per se but gave some incentive to practice.

    In case anyone is interested, you can test your relative pitch perception (as opposed to producing the pitch) in this excellent Yale site: https://www.themusiclab.org/quizzes/td I got 15th [sic] percentile!

    dsmurrell 1 hours

    Not played Rock Band myself only some Guitar Hero.

    https://www.themusiclab.org looks cool, I'll give it a try today when I get a chance.

  • manlymuppet 1 hours

    The main demo video uses the Red Hot Chilli Peppers as an example. A singing app, for learning to sing, and Anthony Kiedis used as the model.

    Red Hot Chilli Peppers. Anthony Kiedis.

    It's like if you had let Shaquille O'Neal teach you how to shoot threes.

    dsmurrell 1 hours

    Yes, I got this from a friend... "Lol, I could t tell the difference between you and Tony Kiedis!"

    I'm terrible at detecting sarcasm usually, but this one was easy for me.

    manlymuppet 1 hours

    I now realize this comment may read much more mean-spirted than I intended--not my intention!

    This is a great and cool app. I am just joking. Sorry to be an ass.

    dsmurrell 1 hours

    Not at all! It's accurate :)

    I'd definitely still let Shaquille O'Neal show me how to shoot threes. Dunking on the other hand could be an issue.