Midi usb controlling /script code - controls

So I have a MIDI controller TraktorF1 that runs on Windows 10 and uses 16 pads from which I read out the MIDI data input/output with midi ox. so I want to learn how I could write / script or code that will allow me to press one of these pads and allow the device to open for example : a directory on my computer like This PC > Downloads .
It seems to me this is the best basic thing I can learn , later on I will try to make it more interesting and functional like : controlling some simple programmed games and so on.
Any guidance for any programming language would be awesome.
Help me out friends ! This is something that interest me a lot.

Related

Send audio from USB port to built-in microphone (Mac)

I have some audio troubles, so I want to send the input audio that comes from my USB port to my built-in microphone.
I would like to do it using System preferences and MIDI Setup but I'm open-minded to other kind of solutions.
I'll love the angel that will respond writing some kind of code, C, C++...I'm a young programmer so I'm not so advanced but I'll try hard to understand it because I would like to create my own script/software.
Or, at least, I appreciate also if someone will tell me where I should search for better answers (maybe other sites I don't know).

How to programatically create custom input/output devices?

How do i create a custom media input/output device like a speaker or microphone that i can select from a program like Skype. For example i could make a GreyScale webcam that reads the webcam and makes it greyscale or a custom Beep Speaker that takes anything a program sends to the speaker and adds a beep after 3 seconds etc. An example would be this:
http://www.videohelp.com/tools/UScreenCapture
I just need help on how to create the actual (virtual?) device, not how to make it greyscale etc. I can figure that out later.
Where do i even begin to search for tutorials/readings on this? As per the tags, i prefer qt/c++ related but it doesn't necessarily have to be that. Just a nudge in the right direction to get me started would be fine.
You need to create a device driver. What that entails depends entirely on the platform and the type of device you want to emulate.
Start with the documentation of your operating system and look up references as if you were developing a new hardware device. But you'll just skip any actual hardware interfaces.
Nevertheless this is likely to require kernel programming, so Qt is likely to be inappropriate.

Audio for Windows in Assembly

I'm thinking of making a game in 8086 ASM using VGA for graphics, but before I proceed with anything I want to make sure that I can get audio into my project. I doubt PC Speaker will be sufficient.
I'm looking for a way to program music in 8086 for Windows. Is there some kind of standard in modern sound cards that I can access directly, or will I have to use the Windows API? I'm not really sure what to look for at this point, so any suggestions are welcome.
Unlike the displays, which ultimately converged to (S)VGA, soundcards never reached the same compatibility. There were different Sound Blasters, Gravis Ultrasound and others. These days the modern hardware is often incompatible with those and you cannot program them in DOS as the Sound Blaster without having a proper DOS driver or without knowing the supported memory regions, ports, formats and protocols.
I can only suggest writing such a program for a PC/DOS emulator like DosBox, which emulates Sound Blaster and (S)VGA. That should work.
Alternatively, you can just write a normal Windows program, using Win32 APIs for input, drawing and sound.

Changing output audio device of other Win32 applications?

I want to write a program that allows you to select the output audio device (based on currently connected devices) used by other applications on an individual basis. (E.g. Winamp to my headphones, VLC to my speakers, etc).
The program would (probably) be written in C++ for Vista/7. Most likely I'll try to use the Windows sound APIs, but not sure where to start, or if the whole attempt is futile. (seeing the answer here made me doubtful)
I'm not new to writing code, and this isn't a "please do my homework" request, but I am new to windows code and was having trouble finding much documentation on anything like this.
Is this possible? Where would you start with this? Do you know of any projects that have already done this? Thanks in advance

Reading an image to FPGA from PC and Back

I need to read a small image (tif format) from PC to FPGA kit (ALTERA DE2-70) for processing, then write it back to PC. I have no idea how to do it in Verilog?
Can it be done in C? if so, how can I combine my C/HDL code to work together?
Thank you!
a few mounts ago i were having the same problem, but i wanted to send and receive a real time image. back then i was researching and the best (fast an chip) solution that i find was the XEM6001 of opalkelly. http://www.opalkelly.com/products/xem6001/
specify controller (Cypress cy68013a) that handle all the communication on a 36 MBytes/second between the PC and FPGA in USB.
and API (Application Programmer's Interface) in C, C++, C#, Ruby, Python, and Java. the price 200$. ---odsa---

Resources