rakannimer / react-orchestra

A declarative toolbox to build interactive musical instruments on web and mobile.
http://react-orchestra.surge.sh/
76 stars 20 forks source link

How to play Sharp/Flat notes. #4

Open alikeju opened 6 years ago

alikeju commented 6 years ago

Hello!

Is react-orchestra capable of playing flat or sharp notes? I specified in my code Note name={'C#'} but it didn't work. I also tried spelling out the word "sharp" like this Note -name={'C-Sharp'} but to no avail. Does anyone know how to play sharps or flats on react-orchestra?

rakannimer commented 6 years ago

Hey @alikeju !

Yes it should be capable of playing sharp notes, But instead of calling it C# can you try Note name={'Db3'}

Don't forget to add the octave the note should use.

Cheers !

alikeju commented 6 years ago

Oh I see I will try flat notes and get back to you. Thank you so much for your help. :)

alikeju commented 6 years ago

I got it to work. I guess only specifying flat notes work instead of sharps. Thank you so much :)

rakannimer commented 6 years ago

You're very welcome :)

Cheers !

On Fri, 23 Mar 2018 at 14:55 Alikeju Adejo notifications@github.com wrote:

I got it to work. I guess only specifying flat notes work instead of sharps. Thank you so much :)

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/RakanNimer/react-orchestra/issues/4#issuecomment-375656298, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNkfWkSizEDTpmWultFXlNXiHVqxDUJks5thPDXgaJpZM4S3hwx .