I am looking to control some electronic servo using the headphone port as a control signal. I should be able to generate a pulse width modulation signal and quickly change the pulse width on the fly. I would prefer to do this in C #, but C ++ is also an option. Any idea how to do this?
NAudio: http://naudio.codeplex.com/
You can see how to draw a midi conclusion.
I just did it with C ++, so with C # it was with interop, but here is a simple introduction to it.
http://midiio.sapp.org/doc/windowsmidi/
, SO .
http://www.groupsrv.com/computers/about164021.html
, , 1-2 20-50 . 1 , 2 - , 1,5 - . .
, , , .
. , , - , , , Arduino (Atmel ATMega328, , ).
, , :
http://www.codeproject.com/KB/audio-video/CS_ToneGenerator.aspx
( gogling "# dsp tone generator" )
: , . ( , ) (Reaktor - , ). , , , MIDI ( MIDI , , ). MIDI , / .
Source: https://habr.com/ru/post/1758655/More articles:Cocoa Touch - Color of a round rectangular button? - cocoa-touchC ++ function template compiles the error "containerType is not a template" - c ++Что такое хороший способ форматировать sql-представление из MYSQL - code-formattingAndroid: How to get callback from content provider when data changes? - androidAre web sockets using a lot of resources, such as a comet long poll? - httpHow an abstract (full-featured) long polling server works abstractly - httpWhat should be done in CodeIgniter models? - coding-styleКак создать пользовательский элемент управления Android и использовать его в Xml? - androidИгнорировать ошибки анализа HTMLAgilityPack? - c#What is a good jQuery / Ajax lightbox plugin? - jqueryAll Articles