문제

I'm trying to get a read on the effort level involved in building a barebones virtual instrument host in C++ or C# but I haven't been able to get any hard information. Does anybody know any good starter apps, tutorials, helper libraries for this sort of thing?

If it matters, the goal would be to a) accept incoming MIDI events and b) dispatch them to the virtual instrument. In C++ or C#, if possible.

Thanks!

도움이 되었습니까?

해결책

To capture incoming Midi events use the C# Midi Toolkit (on codeproject.com) by Leslie Sanford or my MIDI.NET library.

VST.NET allows you to load and communicate with managed and unmanaged VST (2.4) plugins. You can also create managed VST plugins with VST.NET that can run in unmanaged Hosts.

There is also a simple C++ open source VST host available at http://www.hermannseib.com/english/vsthost.htm (down at the bottom of the page)

Hope it helps.

Marc Jacobi (Author of VST.NET)

다른 팁

소스 코드는 나 같은 멍청이에게도 좋습니다 : p.

그는 두 가지 모델 - 계획 및 사용자가 있습니다.그 후, 그는 계획 has_many 사용자를 말하면서 함께 협회하고 사용자는 계획을 세우고 있습니다.나머지는 소스 코드에서 다음과 같습니다!apneadiving 님의 덕분에

이렇게하면 다음을 수행하십시오.

function loadValues() {
    $.post("page.php?action=getValues",
        {},
        function(dataT) {
            $('#tableId tbody').empty(); // Table rows are being removed here
            for ( var i in dataT) {
                var data = dataT[i]; 
                $('#tableId tbody').append(
                    '<tr>'
                        + '<td>data.id</td>'
                    '</tr>'
                );
            }
        }
        ,"json"
    );
}
.

테이블이 붕괴되지 않습니다.그 이유는 사용자 스크립트가 실행되는 동안 창이 갱신되지 않는다는 것입니다.첫 번째 버전에서는 서버의 응답을 기다리는 동안 사용자 스크립트가 중지되어야하므로 collapse가 표시되었습니다.


성능이 필요하고 많은 행을 추가하는 것이 중요합니다. 큰 HTML 문자열을 만들고 끝에 하나의 추가를 수행하는 것이 더 효율적입니다.이 경우 일반적으로 다음과 같이 진행합니다 :

function loadValues() {
    $.post("page.php?action=getValues",
        {},
        function(dataT) {
            var html = '';
            for ( var i in dataT) {
                var data = dataT[i]; 
                html += '<tr>'
                    + '<td>'+data.id+'</td>'
                '</tr>'
                ;
            }
            $('#tableId tbody').html(html);
        }
        ,"json"
    );
}
.

그런 다음 DOM은 한 번만 변경됩니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top