Csound Csound-dev Csound-tekno Search About

Music Tutor

Date2016-04-04 17:24
FromRichard
Subject Music Tutor
My Music Tutor is now on line at http://94.208.174.10:5000/

This used to be a stand alone program with Csound, OSC, Python etc.
I wanted to make a web version with Csound, but pnacl does not support 
OSC. (to animate the keys)
Then I found this great library midi.js. It supports midi in the 
browser, plays sound fonts, etc.
This runs from my Rapberry Pi, with Python Flask, jQuery, Javasript, 
HTML and CSS.

Richard

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-04-04 18:43
FromTarmo Johannes
SubjectRe: Music Tutor

Sounds fascinating!

 

connection to

http://94.208.174.10:5000/

stays hanging (waiting for resoponce).

 

greetings,

tarmo

On Monday 04 April 2016 18:24:31 you wrote:

> My Music Tutor is now on line at http://94.208.174.10:5000/

>

> This used to be a stand alone program with Csound, OSC, Python etc.

> I wanted to make a web version with Csound, but pnacl does not support

> OSC. (to animate the keys)

> Then I found this great library midi.js. It supports midi in the

> browser, plays sound fonts, etc.

> This runs from my Rapberry Pi, with Python Flask, jQuery, Javasript,

> HTML and CSS.

>

> Richard

>

> Csound mailing list

> Csound@listserv.heanet.ie

> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND

> Send bugs reports to

> https://github.com/csound/csound/issues

> Discussions of bugs and features can be posted here

 


Date2016-04-04 19:06
From"Dr. Richard Boulanger"
SubjectRe: Music Tutor
Nice.  I have just passed lesson one!  Ready to play out with my band this weekend!
Love it Tarmo.  Congratulations.  Looking forward to going over all the lessons later tonight.

-Richard

On Mon, Apr 4, 2016 at 12:24 PM, Richard <zappfinger@gmail.com> wrote:
My Music Tutor is now on line at http://94.208.174.10:5000/

This used to be a stand alone program with Csound, OSC, Python etc.
I wanted to make a web version with Csound, but pnacl does not support OSC. (to animate the keys)
Then I found this great library midi.js. It supports midi in the browser, plays sound fonts, etc.
This runs from my Rapberry Pi, with Python Flask, jQuery, Javasript, HTML and CSS.

Richard

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
       https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here



--
_____________________________________________
Dr. Richard Boulanger
Professor of Electronic Production and Design
Professional Writing and Music Technology Division
Berklee College of Music
______________________________________________
President of Boulanger Labs - http://boulangerlabs.com
Author & Editor of The Csound Book - http://mitpress.mit.edu/books/csound-book
Author & Editor of The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book
______________________________________________
about: http://www.boulangerlabs.com/about/richardboulanger/
about: http://www.csounds.com/community/developers/dr-richard-boulanger/
music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/

______________________________________________
email: rboulanger@berklee.edu
facebook: https://www.facebook.com/richard.boulanger.58
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-04-04 19:10
FromRichard
SubjectRe: Music Tutor
Please try again, I had the same problem and restarted.
There was a socket error, maybe too much traffic..
I'll have to look into it..

Richard


On 04/04/16 19:43, Tarmo Johannes wrote:

Sounds fascinating!

 

connection to

http://94.208.174.10:5000/

stays hanging (waiting for resoponce).

 

greetings,

tarmo

On Monday 04 April 2016 18:24:31 you wrote:

> My Music Tutor is now on line at http://94.208.174.10:5000/

>

> This used to be a stand alone program with Csound, OSC, Python etc.

> I wanted to make a web version with Csound, but pnacl does not support

> OSC. (to animate the keys)

> Then I found this great library midi.js. It supports midi in the

> browser, plays sound fonts, etc.

> This runs from my Rapberry Pi, with Python Flask, jQuery, Javasript,

> HTML and CSS.

>

> Richard

>

> Csound mailing list

> Csound@listserv.heanet.ie

> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND

> Send bugs reports to

> https://github.com/csound/csound/issues

> Discussions of bugs and features can be posted here

 

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-04-04 19:35
FromTarmo Johannes
SubjectRe: Music Tutor
Yes, now it works!
Great to have such thing online!
Did I understand right that it uses WebAudio WebMidi etc, and not Csound 
Empscripten? I guess this is still the most universal way to have it working 
on as different platform possible.

one question -  if I ckick on a key with mouse, should it make sound? It does 
not with Firefox 45.0 on Linux.

But congratulations anyway and great example!

tarmo


On Monday 04 April 2016 20:10:53 you wrote:
> Please try again, I had the same problem and restarted.
> There was a socket error, maybe too much traffic..
> I'll have to look into it..
> 
> Richard
> 
> On 04/04/16 19:43, Tarmo Johannes wrote:
> > Sounds fascinating!
> > 
> > connection to
> > 
> > http://94.208.174.10:5000/
> > 
> > stays hanging (waiting for resoponce).
> > 
> > greetings,
> > 
> > tarmo
> > 
> > On Monday 04 April 2016 18:24:31 you wrote:
> > > My Music Tutor is now on line at http://94.208.174.10:5000/
> > > 
> > > 
> > > 
> > > This used to be a stand alone program with Csound, OSC, Python etc.
> > > 
> > > I wanted to make a web version with Csound, but pnacl does not support
> > > 
> > > OSC. (to animate the keys)
> > > 
> > > Then I found this great library midi.js. It supports midi in the
> > > 
> > > browser, plays sound fonts, etc.
> > > 
> > > This runs from my Rapberry Pi, with Python Flask, jQuery, Javasript,
> > > 
> > > HTML and CSS.
> > > 
> > > 
> > > 
> > > Richard
> > > 
> > > 
> > > 
> > > Csound mailing list
> > > 
> > > Csound@listserv.heanet.ie
> > > 
> > > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> > > 
> > > Send bugs reports to
> > > 
> > > https://github.com/csound/csound/issues
> > > 
> > > Discussions of bugs and features can be posted here
> > 
> > Csound mailing list Csound@listserv.heanet.ie
> > 
> > https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
> > https://github.com/csound/csound/issues Discussions of bugs and
> > features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>         https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-04-04 20:02
FromRichard
SubjectRe: Music Tutor
Yes it uses midi.js with a lot of additional libraries, like jasmid and 
I presume webAudio.
Clicking on a key should play a small midi file with a piano soundfont. 
Do you use Chrome as browser?
I could not get sound on my Android tablet either.

thanks,
Richard

On 04/04/16 20:35, Tarmo Johannes wrote:
> Yes, now it works!
> Great to have such thing online!
> Did I understand right that it uses WebAudio WebMidi etc, and not Csound
> Empscripten? I guess this is still the most universal way to have it working
> on as different platform possible.
>
> one question -  if I ckick on a key with mouse, should it make sound? It does
> not with Firefox 45.0 on Linux.
>
> But congratulations anyway and great example!
>
> tarmo
>
>
> On Monday 04 April 2016 20:10:53 you wrote:
>> Please try again, I had the same problem and restarted.
>> There was a socket error, maybe too much traffic..
>> I'll have to look into it..
>>
>> Richard
>>
>> On 04/04/16 19:43, Tarmo Johannes wrote:
>>> Sounds fascinating!
>>>
>>> connection to
>>>
>>> http://94.208.174.10:5000/
>>>
>>> stays hanging (waiting for resoponce).
>>>
>>> greetings,
>>>
>>> tarmo
>>>
>>> On Monday 04 April 2016 18:24:31 you wrote:
>>>> My Music Tutor is now on line at http://94.208.174.10:5000/
>>>>
>>>>
>>>>
>>>> This used to be a stand alone program with Csound, OSC, Python etc.
>>>>
>>>> I wanted to make a web version with Csound, but pnacl does not support
>>>>
>>>> OSC. (to animate the keys)
>>>>
>>>> Then I found this great library midi.js. It supports midi in the
>>>>
>>>> browser, plays sound fonts, etc.
>>>>
>>>> This runs from my Rapberry Pi, with Python Flask, jQuery, Javasript,
>>>>
>>>> HTML and CSS.
>>>>
>>>>
>>>>
>>>> Richard
>>>>
>>>>
>>>>
>>>> Csound mailing list
>>>>
>>>> Csound@listserv.heanet.ie
>>>>
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>>
>>>> Send bugs reports to
>>>>
>>>> https://github.com/csound/csound/issues
>>>>
>>>> Discussions of bugs and features can be posted here
>>> Csound mailing list Csound@listserv.heanet.ie
>>> 
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to
>>> https://github.com/csound/csound/issues Discussions of bugs and
>>> features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>          https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-04-04 20:12
FromTarmo Johannes
SubjectRe: Music Tutor
Hi,

I don't have Chrome in this machine, Firefox is silent.

Tried too with Android tablet and no reaction but undertstood then that I saw 
in the code before that the functions are triggered "onMouseUp" , for mobile 
devices "onTouchEnd" should be added.

tarmo

On Monday 04 April 2016 21:02:04 you wrote:
> Do you use Chrome as browser?
> I could not get sound on my Android tablet either.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-04-04 21:38
FromRory Walsh
SubjectRe: Music Tutor
Tested just now with Chrome on Linux. The scales play back but I can't play the piano :( 

On 4 April 2016 at 20:12, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:
Hi,

I don't have Chrome in this machine, Firefox is silent.

Tried too with Android tablet and no reaction but undertstood then that I saw
in the code before that the functions are triggered "onMouseUp" , for mobile
devices "onTouchEnd" should be added.

tarmo

On Monday 04 April 2016 21:02:04 you wrote:
> Do you use Chrome as browser?
> I could not get sound on my Android tablet either.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-04-04 21:47
FromRichard
SubjectRe: Music Tutor
Ok, playing the piano (with the mouse) is not implemented yet. The idea is that you practice this with a midi keyboard or real piano.
So midi input would be a higher priority for me.

Richard 

On 04/04/16 22:38, Rory Walsh wrote:
Tested just now with Chrome on Linux. The scales play back but I can't play the piano :( 

On 4 April 2016 at 20:12, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:
Hi,

I don't have Chrome in this machine, Firefox is silent.

Tried too with Android tablet and no reaction but undertstood then that I saw
in the code before that the functions are triggered "onMouseUp" , for mobile
devices "onTouchEnd" should be added.

tarmo

On Monday 04 April 2016 21:02:04 you wrote:
> Do you use Chrome as browser?
> I could not get sound on my Android tablet either.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Date2016-04-04 22:44
FromRory Walsh
SubjectRe: Music Tutor

Whoops, in that case I should just try my midi keyboard!

On 4 Apr 2016 9:47 pm, "Richard" <zappfinger@gmail.com> wrote:
Ok, playing the piano (with the mouse) is not implemented yet. The idea is that you practice this with a midi keyboard or real piano.
So midi input would be a higher priority for me.

Richard 

On 04/04/16 22:38, Rory Walsh wrote:
Tested just now with Chrome on Linux. The scales play back but I can't play the piano :( 

On 4 April 2016 at 20:12, Tarmo Johannes <tarmo.johannes@otsakool.edu.ee> wrote:
Hi,

I don't have Chrome in this machine, Firefox is silent.

Tried too with Android tablet and no reaction but undertstood then that I saw
in the code before that the functions are triggered "onMouseUp" , for mobile
devices "onTouchEnd" should be added.

tarmo

On Monday 04 April 2016 21:02:04 you wrote:
> Do you use Chrome as browser?
> I could not get sound on my Android tablet either.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2016-04-05 23:07
FromCOCHEDELAFERTE
SubjectRe: Music Tutor
Hi Richard,


"I wanted to make a web version with Csound, but pnacl does not support 
OSC. (to animate the keys)"

OK, but maybe you even began a little (some chords) with Csound ? I'm
actually learning and trying to play with Csound chords, but decreasing as
possible the knowed and bad beat effect. I found that this isn't especially
easy ; i tried adding random oscillations with randi or jitter2, but tht
gives me something really horrible. If you have under the hand an only one
example with chords (simply C !) and removed beat effect, il would be very
interested to take a look on...


Greatings,

Sergio




--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-OT-Music-Tutor-tp5748562p5748631.html
Sent from the Csound - General mailing list archive at Nabble.com.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here