Punkroku

Help Programming a sound app or driver

6 posts in this topic

Here I use the word programming like C++ and Basic rather than drum machine..

 

I want some help or maybe someone can point me in the right direction to create a midi driver or later s VST plugin

 

Note: I found the RTMidi Library which will help www.music.mcgill.ca/~gary/rtmidi/index.html

Edited by Punkroku

Share this post


Link to post
Share on other sites

Can't say iv had much experience writing drivers, but id be curious to hear how your progress goes.   

 

Whats your reason for needing to write your own driver?  Are you making your own hardware?

 

Apple has an audio driver guide here:

https://developer.apple.com/library/mac/documentation/DeviceDrivers/Conceptual/WritingAudioDrivers/About/About.html

Share this post


Link to post
Share on other sites

Well, I am an ubernewb on the subject but I had some promising contact with the ALSA -dev team through their mailing list. RtMidi library uses the ALSA library for linux. I am hoping that I'll be able to get this open source project finished soon only for linux though. Their is a similar software that might do what I want but its for MAC only. Its called MidiPipe... if you have a mac check it out for me. I'd like to know if I can modify MIDI messages so I can set certain ranges to different instrument patches and flip the keyboard on D5 note 62

 

https://www.macupdate.com/app/mac/10541/midipipe

Share this post


Link to post
Share on other sites

Looks pretty cool,  although finding the time to check it out properly might be difficult.

Share this post


Link to post
Share on other sites

https://github.com/Punkroku/MPMMM/tree/prototype

 

This prototype flips the keys on d5 note 62. It is hard coded.. but I compiled with

$gcc -o keyflipd5 KeyFlip.c -lasound

 

then run the program:

./keyflipd5

 

then open a new terminal

$aconnect -lio

 

use acconnect to connect keyboard to keyflipper and keyflipper to timidity or (sound generator ie hexter)

on my computer the ports are for timidity

$aconnect 129 128

$aconnect 20 129

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now