Csound Csound-dev Csound-tekno Search About

[Csnd] Using a Virtual MIDI Keyboard on CsoundQT

Date2013-04-28 15:16
FromRodolfo Cangiotti
Subject[Csnd] Using a Virtual MIDI Keyboard on CsoundQT
Hello all,
I'm trying to be able to use a virtual MIDI keyboard to send note messagges
to a Csound project (for ex. a simple oscillator), all this running on
CsoundQT v. 0.7.0.
I tried the virtual keyboard included in CsounQT, setting Virtual in RT MIDI
Module preferences: it works untill I change for ex. the octave or anyway a
parameter you can change, then Csound freezes; a similar issue happens also
when I stop the running project and all seems similar to the issue of
compatibility with FLTK. Am I wrong? 
Then I tried to install the same virtual keyboard used in this video:  MIDI
Control of Widgets in QuteCsound    but my
Csound's Internal MIDI menu remains blank.
So, how can I set this last virtual MIDI keyboard to be used with Csound on
Win?





--
View this message in context: http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-CsoundQT-tp5722559.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-04-28 21:22
FromTarmo Johannes
SubjectRe: [Csnd] Using a Virtual MIDI Keyboard on CsoundQT
Hi,

unfortunately you cannot use virtual midi for CsoundQt internal device. As 
much I understand, it exists only when csound runs but CsoundQt needs 
permanent device. Perhaps there is a way to create the virtual keybard with an 
external application and perhaps then the situation is different?

About the crashes I am not sure - I have never enoucntered such behaviour, I 
am on Linux, openSuse 12.1, Csound and CsoundQt 64bit.
Which platform do you use? Which Csound?

greetings,
tarmo


On Sunday 28 April 2013 07:16:33 Rodolfo Cangiotti wrote:
> Hello all,
> I'm trying to be able to use a virtual MIDI keyboard to send note messagges
> to a Csound project (for ex. a simple oscillator), all this running on
> CsoundQT v. 0.7.0.
> I tried the virtual keyboard included in CsounQT, setting Virtual in RT MIDI
> Module preferences: it works untill I change for ex. the octave or anyway a
> parameter you can change, then Csound freezes; a similar issue happens also
> when I stop the running project and all seems similar to the issue of
> compatibility with FLTK. Am I wrong?
> Then I tried to install the same virtual keyboard used in this video:  MIDI
> Control of Widgets in QuteCsound    but my
> Csound's Internal MIDI menu remains blank.
> So, how can I set this last virtual MIDI keyboard to be used with Csound on
> Win?
> 
> 
> 
> 
> 
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-Csound
> QT-tp5722559.html Sent from the Csound - General mailing list archive at
> Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"

Date2013-04-28 22:57
FromRodolfo Cangiotti
Subject[Csnd] Re: Using a Virtual MIDI Keyboard on CsoundQT
I run CsoundQT v.0.7.0 with Csound v.5.19 on Windows XP MCE SP3.
Then, it seems there is no way to use a virtual MIDI keybord, both setting
it as RT MIDI (Configure>Run>RT MIDI Module) and Internal MIDI Interface
(Configure>General>Internal MIDI Interface), isn't it?



--
View this message in context: http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-CsoundQT-tp5722559p5722581.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-04-28 23:57
FromVictor Lazzarini
SubjectRe: [Csnd] Re: Using a Virtual MIDI Keyboard on CsoundQT
You can set in   by using -+rtmidi=virtual

Victor
On 28 Apr 2013, at 22:57, Rodolfo Cangiotti wrote:

> I run CsoundQT v.0.7.0 with Csound v.5.19 on Windows XP MCE SP3.
> Then, it seems there is no way to use a virtual MIDI keybord, both setting
> it as RT MIDI (Configure>Run>RT MIDI Module) and Internal MIDI Interface
> (Configure>General>Internal MIDI Interface), isn't it?
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-CsoundQT-tp5722559p5722581.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2013-04-29 01:09
FromRodolfo Cangiotti
Subject[Csnd] Re: Using a Virtual MIDI Keyboard on CsoundQT
Victor Lazzarini wrote
> You can set:
> 
> -+rtmidi=virtual
> 

Damn, it doesn't work the same!

I'm sorry for my misunderstanding regarding the real utility of the Internal
MIDI Interface: I thought was a further way to send MIDI informations to the
front-end while it simply send the input MIDI informations from a RT Module
directly to a widget.




--
View this message in context: http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-CsoundQT-tp5722559p5722591.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-04-29 06:56
FromTarmo Johannes
SubjectRe: [Csnd] Re: Using a Virtual MIDI Keyboard on CsoundQT
Hi,

The internal MIDI is great - you can assign konbs or sliders of your midi 
controller to the widgets. In your csd you can read the info with chnget or 
invalue from the widgets and don't have to worry about writing extra code 
about midi.

Of course, CsoundQt has to be compiled with RtMidi support, but I guess the 
windows binary is. I guess it does not work with virtual devices, can you tet 
some real controller or keyboard?

There is another restriction (for now at least) - you cannot use the same 
device both in your csd and internal device of CsoundQt - CsoundQt blocks the 
device and csound cannot open it any more. So choose one of the two.

Hope you get it going!

tarmo

On Sunday 28 April 2013 17:09:40 Rodolfo Cangiotti wrote:
> Victor Lazzarini wrote
> 
> > You can set:
> > 
> > -+rtmidi=virtual
> > 
> 
> Damn, it doesn't work the same!
> 
> I'm sorry for my misunderstanding regarding the real utility of the Internal
> MIDI Interface: I thought was a further way to send MIDI informations to
> the front-end while it simply send the input MIDI informations from a RT
> Module directly to a widget.
> 
> 
> 
> 
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-Csound
> QT-tp5722559p5722591.html Sent from the Csound - General mailing list
> archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"

Date2013-04-29 13:05
FromRodolfo Cangiotti
Subject[Csnd] Re: Using a Virtual MIDI Keyboard on CsoundQT
I have a MIDI controller and works very good as external MIDI interface.
Sincerely, I'd really like to use a MIDI keyboard to generate notes in real
time, a real MIDI keyboard but I don't still own it so I would anyway fall
to virtual one.
I have just read on another forum of digital musicians that there is a
utility that permits to send MIDI messages from a external virtual keyboard
to a DAW software; I'm going to test it on Csound.



--
View this message in context: http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-CsoundQT-tp5722559p5722611.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-04-29 14:22
FromRodolfo Cangiotti
Subject[Csnd] Re: Using a Virtual MIDI Keyboard on CsoundQT
Fantastic. If you wanna use an external virtual MIDI keyboard like VMPK on
Csound or any other software you can use MIDI Yoke that creates a sort of
MIDI channel you can use as MIDI output of the virtual keyboard and as MIDI
input of the software are you using. I just tried it and it works perfectly
with PortMIDI.



--
View this message in context: http://csound.1045644.n5.nabble.com/Using-a-Virtual-MIDI-Keyboard-on-CsoundQT-tp5722559p5722613.html
Sent from the Csound - General mailing list archive at Nabble.com.