[Csnd] Web-IDE: MIDI and Audio Input
Date | 2020-05-22 00:00 |
From | Steven Yi |
Subject | [Csnd] Web-IDE: MIDI and Audio Input |
Hi All, A quick FYI, MIDI and Audio input should now be working with the Web-IDE. For MIDI, WebMIDI support is required which is just on Chrome/Chromium-based browsers (i.e., Desktop + Android Chrome, MS Edge, but not iOS Chrome). I've setup the system to auto-open all MIDI ports and there's a new I/O menu that allows you to refresh to open ports if you need to do that after connecting a device while a project is open. For Audio Input, this is going to ask you to allow microphone input when you open the WebIDE now. You can re-request access if you had turned it off through the I/O menu. I've put a very quick MIDI Keyboard example here: (2 osc, ladder LPF filter, small modulation of filter cutoff, linear envelope) The IDE does need to be updated. I found that the AudioWorklet needs a bit of nudging to get it to refresh, which I had to do by going to: And pressing cmd-shift-r to force a refresh. It might be the case that you won't need to do this, but this may be a work around. I will be working on updating this example later and will put together a realtime audio input processing example tonight too. I will post updates once those are complete. Thanks! Steven |
Date | 2020-05-22 00:05 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
Wow 😳. Can't wait to check it out!!!! Fantastic news.. a huge step forward Dr. Richard Boulanger Professor Electronic Production and Design Berklee College of Music On May 21, 2020, at 7:01 PM, Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2020-05-22 00:24 |
From | Guillermo Senna |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
+1! It worked out of the box over here with Ubuntu Studio and Virtual MIDI Keyboard. A very musical timbre by the way! On 21/5/20 20:05, Dr. Richard Boulanger wrote: > Wow 😳. Can't wait to check it out!!!! Fantastic news.. a huge step forward > > Dr. Richard Boulanger > Professor > Electronic Production and Design > Berklee College of Music > >> On May 21, 2020, at 7:01 PM, Steven Yi |
Date | 2020-05-22 00:24 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
Simple MIDI example - oh happy day! realtime audio input example coming soon - can't wait!!! WONDERFUL STUFF STEVEN Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Technology Division Berklee College of Music On Thu, May 21, 2020 at 7:01 PM Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2020-05-22 00:38 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
Wait.... Steven's example works, but... I tried one of my working MIDI.csd files and it did not render at all. I am not sure that I could even push the Render button. But I will try the "refresh" procedure that Steven suggested. Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Technology Division Berklee College of Music On Thu, May 21, 2020 at 7:24 PM Guillermo Senna <gsenna@gmail.com> wrote: +1! It worked out of the box over here with Ubuntu Studio and Virtual |
Date | 2020-05-22 00:46 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
SUCCESS OK... I had to "refresh MIDI" and I got bit by that "issue" that one needs to specifically say that "this" or "that" .csd file in a "project" is the "target" - rather than just having the selected .csd that appears in the editor pane "be" the target by default. Thanks Steven - this is HUGE. For sure, this is going to make the first class on Tuesday very very exciting and interesting. - if you get the realTIME audio processing in there too... oh no!!! -dB Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Technology Division Berklee College of Music On Thu, May 21, 2020 at 7:38 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
|
Date | 2020-05-22 02:01 |
From | Steven Yi |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
Thanks Guillermo and Dr. B for testing! I managed to put together an example for audio processing using a feedback reverb mixer setup: This is working on Chrome browsers; there seems to be an issue on Firefox which I will investigate tomorrow. Safari reported an issue with microphone input not being supported which I will also investigate tomorrow. As the example uses feedback, please be very careful! I suggest testing with headphones on and singing into the computer. (A small homage to Pauline Oliveros and Deep Listening Band. :) ) I'll try to put together a vocoder example tomorrow to mix the MIDI and audio inputs (unless someone beats me to it! ;) ) On Thu, May 21, 2020 at 7:46 PM Dr. Richard Boulanger <rboulanger@berklee.edu> wrote:
|
Date | 2020-05-22 03:08 |
From | "Dr. Richard Boulanger" |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
AWESOME !!! Audio Example working great in Chrome on Mac running the latest macOS Catalina 10.15.4 WOW. I will do more with this tonight through the night. I was in Pauline Oliveros' final graduate class at UC San Diego and worked as her Assistant in the Computer Audio Research Lab - CARL on Cmusic - where I designed instruments and rendered audio for her commission for The Kronos String Quartet - The Wheel of Time. In the Studio, she taught me about the iChing and did my first ever Reading - which I have in the text that she bought me. This was back in the day... when CD's were just beginning to appear on the market and in the stores (only a dozen or so to begin with - and I remember driving her home one night from the lab and asking what she thought about the sound quality compared to LPs. She was a Buddha, a saint and I was blessed to know her and spend time with her. She also taught me the following when I was pretty upset that we were all sitting around on the floor in the PhD Seminar room one day in class playing board games (Chutes and Ladders!) that she had asked us to bring in... I asked: This is our required PhD Special Studies Seminar right?... Shouldn't we be studying Boulez or Stockhausen or ??? - and she looked at me, and smiled and said: Richard... they call it "playing music" for a reason... and maybe... maybe you need to learn to "play" again. This was when she took me under her wing... I guess she realized that I still had a lot to learn - and I still do! We all do. And thanks to you Steven, and your wonderful team working on the Csound Web-IDE, live.csound, CORE Csound, Cabbage, CsoundQt, CsoundAC, the Csound Floss and Manual Editors and Contributors and Maintainers, The Instrument Designers and Composers, the Csound Unity, Csound VCV Rack, csound~, csound-extended, blue, risset,.. Bela, all the ApeSoft apps and Android Apps and on and on and on ... YOU YOU YOU - this entire AMAZINGLY Brilliant and incredibly generous team working on Csound - you are all making it easier for ALL of us - the old-timers like me, and the new students to come - to learn and play. ..... THANK YOU Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Technology Division Berklee College of Music skype: radiobaton facebook: https://www.facebook.com/richard.boulanger.58 about: http://www.boulangerlabs.com/#about about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ Boulanger Labs - http://boulangerlabs.com The Csound Book - http://mitpress.mit.edu/books/csound-book The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book On Thu, May 21, 2020 at 9:01 PM Steven Yi <stevenyi@gmail.com> wrote:
|
Date | 2020-05-22 08:58 |
From | Oeyvind Brandtsegg |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
Hi, Thanks for this, it works wonderfully here too, both realtime audio input and midi control. I am a little sidetracked by something else right now, but just wanted to chime in after a quick test. I had to do the CsoundProcessor refresh thing to make it update from what I guess was in the cache from an earlier load (long time ago), but after that it did load the different projects smoothly. all best Oeyvind fre. 22. mai 2020 kl. 03:01 skrev Steven Yi <stevenyi@gmail.com>:
|
Date | 2020-05-22 13:20 | |
From | Russell Pinkston | |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input | |
Great story, Richard! Thanks for sharing! RP
From: A discussion list for users of Csound <CSOUND@LISTSERV.HEANET.IE> On Behalf Of Dr. Richard Boulanger
AWESOME !!! Audio Example working great in Chrome on Mac running the latest macOS Catalina 10.15.4
WOW. I will do more with this tonight through the night.
I was in Pauline Oliveros' final graduate class at UC San Diego and worked as her Assistant in the Computer Audio Research Lab - CARL on Cmusic - where I designed instruments and rendered audio for her commission for The Kronos String Quartet - The Wheel of Time. In the Studio, she taught me about the iChing and did my first ever Reading - which I have in the text that she bought me. This was back in the day... when CD's were just beginning to appear on the market and in the stores (only a dozen or so to begin with - and I remember driving her home one night from the lab and asking what she thought about the sound quality compared to LPs. She was a Buddha, a saint and I was blessed to know her and spend time with her. She also taught me the following when I was pretty upset that we were all sitting around on the floor in the PhD Seminar room one day in class playing board games (Chutes and Ladders!) that she had asked us to bring in... I asked: This is our required PhD Special Studies Seminar right?... Shouldn't we be studying Boulez or Stockhausen or ??? - and she looked at me, and smiled and said: Richard... they call it "playing music" for a reason... and maybe... maybe you need to learn to "play" again. This was when she took me under her wing... I guess she realized that I still had a lot to learn - and I still do! We all do. And thanks to you Steven, and your wonderful team working on the Csound Web-IDE, live.csound, CORE Csound, Cabbage, CsoundQt, CsoundAC, the Csound Floss and Manual Editors and Contributors and Maintainers, The Instrument Designers and Composers, the Csound Unity, Csound VCV Rack, csound~, csound-extended, blue, risset,.. Bela, all the ApeSoft apps and Android Apps and on and on and on ... YOU YOU YOU - this entire AMAZINGLY Brilliant and incredibly generous team working on Csound - you are all making it easier for ALL of us - the old-timers like me, and the new students to come - to learn and play. ..... THANK YOU Dr. Richard Boulanger Professor of Electronic Production and Design Professional Writing and Technology Division Berklee College of Music skype: radiobaton facebook: https://www.facebook.com/richard.boulanger.58 about: http://www.boulangerlabs.com/#about about: http://www.csounds.com/community/developers/dr-richard-boulanger/ music: http://www.csounds.com/community/developers/dr-richard-boulanger/dr-richard-boulanger-music/ Boulanger Labs - http://boulangerlabs.com The Csound Book - http://mitpress.mit.edu/books/csound-book The Audio Programming Book - http://mitpress.mit.edu/books/audio-programming-book
On Thu, May 21, 2020 at 9:01 PM Steven Yi <stevenyi@gmail.com> wrote:
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
|
Date | 2020-05-22 20:21 | |
From | Steven Yi | |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input | |
@Dr. B: Yes, thanks for sharing that! @Oeyvind: Thanks for testing! BTW: For Firefox, I found that everything was actually setup correctly but the Firefox application as a whole did not have access to the microphone within macOS's system preferences. I had to go to System Preferences -> Security & Privacy -> Privacy -> Microphone and check the box next to the Firefox app. I think then that this might be just a Firefox on macOS issue. I will look at Safari and update when I can diagnose the issue. On Fri, May 22, 2020 at 8:21 AM Russell Pinkston <rpinkston@austin.utexas.edu> wrote:
|
Date | 2020-05-26 23:17 |
From | Julio Benavides <000001af805ab429-dmarc-request@LISTSERV.HEANET.IE> |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
It works very well. (Windows 10, Opera, Chrome, Brave, Edge) Thanks Steven! It is a very interesting tool. I am considering including it in our sixth Csound course at the Orson Welles Institute. I think it is a good sandbox for experimentation Julio. ----- Then Barry said, "Let's make some noise" and there was Csound. -- Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html 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 |
Date | 2020-05-27 02:41 |
From | Steven Yi |
Subject | Re: [Csnd] Web-IDE: MIDI and Audio Input |
Thanks for testing! I hope the tool can be of good use for educators and I plan to use it in the fall for my course too. Dr. B has already given great feedback and filed a number of issues we are working on and we'd love to hear others' feedback too. Thanks and happy Csounding! :) Steven On Tue, May 26, 2020 at 7:52 PM Julio Benavides <000001af805ab429-dmarc-request@listserv.heanet.ie> wrote: It works very well. |