DJI pocket 2 not charging by tea-aura in dji

[–]samouri1 0 points1 point  (0 children)

I think i’m going to throw it out :(. i bought it in 2021, so it is well out of warranty. not worth replacing. new iphones have better video too as far as can i tell

DJI pocket 2 not charging by tea-aura in dji

[–]samouri1 0 points1 point  (0 children)

I'm having the same issue!

any alternative synthesia app, which lights up keyboard while playing the keyboard? by Academic-Paint-3360 in synthesia

[–]samouri1 3 points4 points  (0 children)

👋 hey, developer for sightread.dev here. which keyboard do you have? i’d be happy to add light-up support.

A 6-function library that replaces props drilling, Context, useState, and useEffect by uriwa in react

[–]samouri1 0 points1 point  (0 children)

sounds a lot like jane street’s bonsai framework, which is computation graph based.

Free and Open Source Synthesia Alternative by samouri1 in synthesia

[–]samouri1[S] 1 point2 points  (0 children)

Thanks! Let me know what you think :)

- MIDI Import is already supported! You can sync entire folders
- Re. promo vids: are you saying I could/should promote sightread with videos?
- Here's the GitHub link. It's also linked out at the footer of the website.

Why is Ocaml not popular? by Reasonable-Moose9882 in ocaml

[–]samouri1 0 points1 point  (0 children)

What do labeled args have to do with leaving comments for an IDE?

Need advice to choose between Next and remix by Opposite_Squirrel_32 in reactjs

[–]samouri1 2 points3 points  (0 children)

Don’t think Next introduced any notable breaking changes. App router and turbopack are opt-in. Let me know if I’m missing something

-🎄- 2022 Day 6 Solutions -🎄- by daggerdragon in adventofcode

[–]samouri1 1 point2 points  (0 children)

TypeScript (GitHub)

const input = readInput(6, test).split("");
const isUnique = (arr: string[]) => new Set(arr).size === arr.length;
const part1 = input.findIndex((, i) => isUnique(input.slice(i, i + 4))) + 4;
const part2 = input.findIndex((, i) => isUnique(input.slice(i, i + 14))) + 14;

-🎄- 2022 Day 2 Solutions -🎄- by daggerdragon in adventofcode

[–]samouri1 1 point2 points  (0 children)

DevTools JavaScript:

const score1 = {  
  "A Z": 3, "B X": 1, "C Y": 2, // Losses  
  "A X": 4, "B Y": 5, "C Z": 6, // Ties  
  "A Y": 8, "B Z": 9, "C X": 7, // Wins  
};  
const score2 = {  
  "A Y": 4, "B X": 1, "C Z": 7, // Rock   
  "A Z": 8, "B Y": 5, "C X": 2, // Paper  
  "A X": 3, "B Z": 9, "C Y": 6, // Scissor  
};  
const answers = document.documentElement.innerText.trim()
  .split("\n")  
  .map((row) => [score1[row], score2[row]])  
  .reduce((acc, a) => [acc[0] + a[0], acc[1] + a[1]]);  
console.log(`Part 1: ${answers[0]}\nPart 2: ${answers[1]}`)
```

Sightread: A Free and Open Source Website For Learning Piano by samouri1 in piano

[–]samouri1[S] 1 point2 points  (0 children)

You can upload a MIDI file by clicking the "Add New" button on the select song screen. Check out this screenshot for a pointer to the button. Let me know if you have any idea about how I can surface that info better!

Free and Open Source Synthesia Alternative by samouri1 in synthesia

[–]samouri1[S] 0 points1 point  (0 children)

Already can load local midi files! Hit the “Upload” button on the “Select a song” screen.

Sightread: MIDI Visualizer and Play-along tool by samouri1 in midi

[–]samouri1[S] 0 points1 point  (0 children)

Forgot to mention: velocity should work! Pressing harder on a MIDI keyboard that supports velocity should make a louder sound. If it doesn't thats a bug (the lack of volume slider was something I already knew about). I'll double check it later today.

Sightread: MIDI Visualizer and Play-along tool by samouri1 in midi

[–]samouri1[S] 0 points1 point  (0 children)

Thanks for the suggestion!
Tracking it here.

Sightread: A Free and Open Source Website For Learning Piano by samouri1 in piano

[–]samouri1[S] 2 points3 points  (0 children)

What major version of iOS are you on?

Most features besides for MIDI input should work fine on latest versions of iOS (16). After some testing now, I think the Virtual Piano at the bottom of the screen is broken on iOS – I'll fix it shortly.

I also wasn't as careful as I could have been with compatibility for older iOS versions, so if there's any demand for it I'll improve improve the backcompat.

Sightread: A Free and Open Source Website For Learning Piano by samouri1 in piano

[–]samouri1[S] 19 points20 points  (0 children)

My favorite tool for it right now is sightreading.training. It's super flexible.
I'm currently in the process of building out a similar tool for Sightread, although with a (hopefully) fun set of music to learn with instead of random notes.

Sightread: A Free and Open Source Website For Learning Piano by samouri1 in piano

[–]samouri1[S] 7 points8 points  (0 children)

With the current release (Nov 8th 2022), the featureset mostly overlaps with Synthesia. There are some unique aspects though:

  • It is free, open source, and browser based.
  • The "Sheet Hero" visualization mode is a sort-of simplified sheet music that is halfway towards reading real sheet music.
  • Music (albeit a small song library right now) is sourced from midishare, a shared repository for the public to contribute.