Giter Club home page Giter Club logo

Comments (9)

garyscavone avatar garyscavone commented on August 22, 2024

No responses ... not verified ... closing.

from rtmidi.

sinosoidal avatar sinosoidal commented on August 22, 2024

If you could not verify, can you tell me more about your setup?

from rtmidi.

garyscavone avatar garyscavone commented on August 22, 2024

On OS-X, I made a short test program to open both input and output virtual ports but I did not see data being sent out through the virtual output port showing up as input on my virtual input. The trick with the virtual ports is getting them correctly connected to the software you want to use them with.

from rtmidi.

sinosoidal avatar sinosoidal commented on August 22, 2024

I have a desktop app called TKLINK which serves as bridge between a mobile app and a software running on desktop, in this case, TRAKTOR.

By the time I submitted this bug, I was trying to get the feedback of executing certain command on TRAKTOR. I would send a command from the mobile app to TKLINK, that command would be converted to MIDI and sent via virtual midi port to TRAKTOR, which by it’s turn, would reply the new state, again via the same Virtual MIDI port.

I have only one virtual midi port. Should I have two?

On 10 Feb 2016, at 19:01, garyscavone [email protected] wrote:

On OS-X, I made a short test program to open both input and output virtual ports but I did not see data being sent out through the virtual output port showing up as input on my virtual input. The trick with the virtual ports is getting them correctly connected to the software you want to use them with.


Reply to this email directly or view it on GitHub #48 (comment).

from rtmidi.

garyscavone avatar garyscavone commented on August 22, 2024

Your original issue was: "Everything I send thru a MIDI out virtual port is received on the MIDI in virtual port. Is is normal?”

To me, that implies you had both a virtual input and a virtual output port open. Given your last email, I don’t really understand what you are doing or what the problem is. RtMidi separates MIDI input and output into two separate classes (RtMidiIn and RtMidiOut) and each of those classes can be used to create a virtual port (either a virtual input port via RtMidiIn or a virtual output port via RtMidiOut). But note that you do not need to create your own virtual port with RtMidiIn or RtMidiOut to connect to an already existing virtual port created by a different application on your system. For example, if I open the MidiKeys application, which creates its own virtual port, I can simply connect to that port using the RtMidiIn::openPort() function.

Virtual ports are a bit confusing to explain, so I’m not sure I’m helping here.

On Feb 10, 2016, at 2:05 PM, Nuno Santos [email protected] wrote:

I have a desktop app called TKLINK which serves as bridge between a mobile app and a software running on desktop, in this case, TRAKTOR.

By the time I submitted this bug, I was trying to get the feedback of executing certain command on TRAKTOR. I would send a command from the mobile app to TKLINK, that command would be converted to MIDI and sent via virtual midi port to TRAKTOR, which by it’s turn, would reply the new state, again via the same Virtual MIDI port.

I have only one virtual midi port. Should I have two?

On 10 Feb 2016, at 19:01, garyscavone [email protected] wrote:

On OS-X, I made a short test program to open both input and output virtual ports but I did not see data being sent out through the virtual output port showing up as input on my virtual input. The trick with the virtual ports is getting them correctly connected to the software you want to use them with.


Reply to this email directly or view it on GitHub #48 (comment).


Reply to this email directly or view it on GitHub.

from rtmidi.

radarsat1 avatar radarsat1 commented on August 22, 2024

Github needs diagrams ;)

sinosoidal, I'm a bit confused by your description.. is TkLink a program you wrote, does it use RtMidi? I'm not sure this issue could be much better investigated without a more concrete setup and example..
Can you provide exactly what functionality is being invoked, what the expected result is, and what you see?

On the other hand, if it's not an on-going problem for you (which I gather from your comment being in the past tense), it would be good to leave the issue closed for now, and open a new one if it continues to bother you..

Apologies in advance if I'm misunderstanding anything.

from rtmidi.

sinosoidal avatar sinosoidal commented on August 22, 2024

I am in fact confused because its been a while since I had this issue and my memory is not clear about the problem I was having.

I have just reviewed my code and i’m using two virtual ports. One for input, one for output. I need in fact to try again and see if I can replicate the problem. It might take a while since I’m not focused on something else.

Thanks for your feedback.

With my best regards,

Nuno

On 10 Feb 2016, at 19:14, garyscavone [email protected] wrote:

Your original issue was: "Everything I send thru a MIDI out virtual port is received on the MIDI in virtual port. Is is normal?”

To me, that implies you had both a virtual input and a virtual output port open. Given your last email, I don’t really understand what you are doing or what the problem is. RtMidi separates MIDI input and output into two separate classes (RtMidiIn and RtMidiOut) and each of those classes can be used to create a virtual port (either a virtual input port via RtMidiIn or a virtual output port via RtMidiOut). But note that you do not need to create your own virtual port with RtMidiIn or RtMidiOut to connect to an already existing virtual port created by a different application on your system. For example, if I open the MidiKeys application, which creates its own virtual port, I can simply connect to that port using the RtMidiIn::openPort() function.

Virtual ports are a bit confusing to explain, so I’m not sure I’m helping here.

On Feb 10, 2016, at 2:05 PM, Nuno Santos [email protected] wrote:

I have a desktop app called TKLINK which serves as bridge between a mobile app and a software running on desktop, in this case, TRAKTOR.

By the time I submitted this bug, I was trying to get the feedback of executing certain command on TRAKTOR. I would send a command from the mobile app to TKLINK, that command would be converted to MIDI and sent via virtual midi port to TRAKTOR, which by it’s turn, would reply the new state, again via the same Virtual MIDI port.

I have only one virtual midi port. Should I have two?

On 10 Feb 2016, at 19:01, garyscavone [email protected] wrote:

On OS-X, I made a short test program to open both input and output virtual ports but I did not see data being sent out through the virtual output port showing up as input on my virtual input. The trick with the virtual ports is getting them correctly connected to the software you want to use them with.


Reply to this email directly or view it on GitHub #48 (comment).


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub #48 (comment).

from rtmidi.

sinosoidal avatar sinosoidal commented on August 22, 2024

Just to complement.

I currently have two mobile apps, LK and TKFX, they both have a bridge, something that announces a bonjour service on a network to which the mobile app will connect to.

I use RtMidi on both TKLINK and LKBRIDGE. LKBRIDGE opens a midi out port, to receive the network messages and forward them the selected midi port.

On TKLINK, I needed to receive the midi clock from TRAKTOR so I had to use a midi in port.

TKLINK is the bridge for TKFX, a dedicated traktor effects controller. TRAKTOR is a djing software that can be controlled by midi controller. So, what I do is to send commands to TRAKTOR that will have an impact on the UI. I can’t make TRAKTOR send command for that UI changes in order to be reflected on the app. Here, I get to the point in which my memory fails and I need to reproduce the problem to get back here! :)

Thanks once again for your feedback.

On 10 Feb 2016, at 19:33, Stephen Sinclair [email protected] wrote:

sinosoidal, I'm a bit confused by your description.. is TkLink a program you wrote, does it use RtMidi? I'm not sure this issue could be much better investigated without a more concrete setup and example..
Can you provide exactly what functionality is being invoked, what the expected result is, and what you see?

from rtmidi.

qdk0901 avatar qdk0901 commented on August 22, 2024

@garyscavone I can confirm this issue is happening on Windows, and openVirtualPort is not implemented on Windows

from rtmidi.

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.