Comments (9)
No responses ... not verified ... closing.
from rtmidi.
If you could not verify, can you tell me more about your setup?
from rtmidi.
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.
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.
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.
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.
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.
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.
@garyscavone I can confirm this issue is happening on Windows, and openVirtualPort is not implemented on Windows
from rtmidi.
Related Issues (20)
- Need help on the RtMidi library implementation in Visual Studio Code HOT 1
- Question: how do I add WEB_MIDI_API to my cmake subfolder file?
- RtMidi cannot create ports past a certain limit HOT 10
- iOS status and how-to HOT 4
- Central List of Wrapper Libraries / Projects Using RtMidi?
- Does rtmidi support midi 2.0? HOT 16
- How to detect, that a MIDI-IN is already used by another app? HOT 4
- Compilation error HOT 1
- Checksum change for rtmidi-6.0.0.tar.gz HOT 2
- rtmidi doesn't find jack in a non standard path. (Or the default pipewire path)
- Note On with velocity 0 is sent as Note Off on macOS HOT 9
- Has the uploaded release been changed intentionally? HOT 1
- MidiInWinMM :: closePort might return without calling LeaveCriticalSection HOT 2
- Cmake version requirement
- Can't send over RTMIDI_API_WINDOWS_MM HOT 2
- Needs Better Install Tutorial HOT 3
- configure: error: No known system type found for MIDI support!
- are Virtual Ports supported under Windows HOT 4
- midiOutUnprepareHeader intermittently hangs on Windows during repeated large sysex sends HOT 1
- Different MIDI device names on different platforms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtmidi.