Sysex data are device specific data and can contain data for sound parameter or settings for a individual device. But if it is not clear, I try again, in another way. I don't know how to ask that question any other way. I need to know if there is a possibility to make the sound emitted by the purebasic code sound, obeying the parameter that I enter, and if there is such a possibility, how to do it. I have sysex parameters to be played by vst and device, in a song. Purebasic has code that plays midi sounds (not music!) In real time. Of course, it only does this if the vst or device is selected as the default to run. The "windows media player" plays songs that have sysex on the controller. I may have missed something in the translation. Meaning : when played, sound like an organ or piano or whatever. The instrument will then act according the setup just set. Sysex is a block of data that lets an instrument or vst set some or all controls, that it has, to get a specific setup. Is it possible to produce sound in purebasic with sysex in real time?Sysex itself does never produce sound. Currently, the options are MIDI-OX, LoopBe1, Maple Virtual Midi Cable and loopMIDI.MarcosPC wrote. The Windows MIDI implementation does not include virtual midi ports and you will need an "loopback" application that allows you to create them in order to route MIDI data between software. aconnect is a simple commandline program that comes with ALSA, aconnectgui provides a simple gui around aconnect, and qjackctl includes a nice visual routing system for ALSA MIDI. You can then use tools which allow you to make connections between ALSA MIDI streams: aconnect, aconnectgui, and qjackctl (if you are using Jack). LinuxĪs Pure Data uses ALSA MIDI, by default, it creates 2 virtual ports: 1 input and 1 output. To make connections, try the following software: MidiPatchBay or, if you're already using Jack OSX, Patchage. Now that Pure Data has 2 virtual ports, you can route MIDI data from devices and other software into and out of Pure Data. Next, open PD and select "IAC Driver Pure Data In" for the input port and "IAC Driver Pure Data Out" for the output port. Click on the little "+" icon below the Ports list and add two ports: "Pure Data In" and "Pure Data Out". Open the MIDI window and double click on the IAC Driver. Use the Audio-MIDI Setup.app in /Applications/Utilities to create virtual ports for Pure Data to use through the IAC Driver. This allows you to route external MIDI streams into PD as opposed to selecting them manually through the MIDI Settings dialog and most routing software also allows you to save connection settings. With multiple input and output ports, the extra channels are accessed beyond the usual MIDI 1-16 channel numbering:Īnother more useful option is to use Operating System specific MIDI mixing/routing software. If you want to connect multiple MIDI devices/streams to PD, you can enable the "use multiple devices" option in the MIDI Settings dialog which enables 4 inputs and 2 outputs. Note: You will have to restart PD in order to connect to new devices that were plugged in after it was last started. You can test that MIDI I/O is working with the Test Audio and MIDI patch: Media->Test Audio and MIDI. Next, start Pure Data and choose the device in the MIDI Settings dialog: Preferences->MIDI Settings. To connect to one of these ports, first plug in the MIDI device (or start your MIDI software). By default, Pure Data has 1 MIDI input and 1 MIDI output.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |