Giter Site home page Giter Site logo

Comments (16)

pikurasa avatar pikurasa commented on July 30, 2024 1

music.webm In the provided video, when selecting the "phrase maker," a noticeable issue becomes apparent. Initially, a large dialog box appears, followed by a smaller one. However, the expected behavior is for only the smaller dialog box to be displayed directly. This discrepancy in the appearance of dialog boxes is the identified issue. @walterbender

No.

The dialog box appearing larger, then smaller is not what this issue is about. I suppose it would be nice if it skipped displaying that step, but what is going on in the two steps is this: The larger dialogue box is all of the pitches that are output, the second step is to find duplicates and display only the unique pitches.

This issue is not about that. This issue is about pitches that are otherwise equivalent that are displaying, even after finding duplicates. In your video, at around 9 seconds, it has both Fa#5 and F#5. Those two pitches are the same. The former is using solfege, and the latter is musical alphabet, but otherwise they represent the same pitch. We should only have one of them.

These are the pitches that are the same:
Screenshot from 2023-11-29 20-52-19

Is this helpful info?

from musicblocks.

brf153 avatar brf153 commented on July 30, 2024

@pikurasa sir, in the phrase maker, I think either we should have notes in the alphabet or in solfege. Should I remove ti as B is already there(in the C major scale)? Also, should I replace do5 with C5?

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

can I solve this issue as it is labelled GSOC I am asking your permission @pikurasa @walterbender

from musicblocks.

walterbender avatar walterbender commented on July 30, 2024

no need to ask for permission.

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

music.webm
In the provided video, when selecting the "phrase maker," a noticeable issue becomes apparent. Initially, a large dialog box appears, followed by a smaller one. However, the expected behavior is for only the smaller dialog box to be displayed directly. This discrepancy in the appearance of dialog boxes is the identified issue. @walterbender

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

got it, @pikurasa sir, F#5 and fa#5 only one has to be there one small doubt only one such pitch is duplicated(F#5 and fa#5) right and remaining all pitches are only once written

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

there are two ways to do this @pikurasa

  1. adding a simple if-else condition so that we can remove fa#5 from the phrase maker
  2. we can also remove from the rowLables array itself only fa#5 element
    I think 1st choice is the best because we may use rowLabels array in different cases
    here is the screen shot after removing duplicates
    Screenshot (842)

from musicblocks.

walterbender avatar walterbender commented on July 30, 2024

There is code that sorts the pitches by frequency. Duplicates should be identifiable after that step.

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

if(obj[1]!=='fa♯')
this.rowLabels.push(obj[1]);
this.rowArgs.push(Number(obj[2]));

by this code in phrase maker it will remove fa#5 can I do it or remove the fa#5 from the obj itself @pikurasa

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

can you say any conditions to how to find out the duplicate pitches @walterbender

from musicblocks.

walterbender avatar walterbender commented on July 30, 2024

There should already be some code that converts the note to HZ. Then we sort and can remove dups.

from musicblocks.

ChiragJS avatar ChiragJS commented on July 30, 2024

is anyone working on this issue?
Are you working on it @khadar1020 ?

from musicblocks.

walterbender avatar walterbender commented on July 30, 2024

Feel free to jump in. (There is a PR but it is not correct.)

from musicblocks.

ChiragJS avatar ChiragJS commented on July 30, 2024

please review it

from musicblocks.

khadar1020 avatar khadar1020 commented on July 30, 2024

due to my sem-end exams, I was not able to contribute to it for some time you can contribute to it with no issues as @walterbender said @ChiragJS

Thank you

from musicblocks.

ChiragJS avatar ChiragJS commented on July 30, 2024

no worries and thank you !

from musicblocks.

Related Issues (20)

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.