Are there any languages that offer easy programming of MIDI and sound in realtime?












0















Are there any programming languages that allow one with a basic knowledge to write an app that can send midi messages, for example acting as a sequencer? (I'm not asking for a recommendation.)



I'm looking for those features:




  • conditional operations if x=1 then send note on trigger event to sound card


  • loops


  • variables


  • arrays


  • 64bit compatability


  • I/O with peripheral devices. "To" and maybe even "from" the device











share|improve this question




















  • 2





    There are many things out there you can look at, Csound, ChucK, Pure Data (or the related commercial counterpart, Max)... These are more focused on sound synthesis as such, although I think all of them can do MIDI output. On C++, there is RtMidi, which is easy enough to use. And basically every language has its own libraries for it.

    – jdehesa
    Jan 3 at 10:38






  • 1





    Most modern languages allow accessing MIDI devices (which is made easier by all OSes abstracting away the MIDI hardware inteface). Tell us which OS and MIDI hardware you have, and which language(s) you want to use.

    – CL.
    Jan 3 at 10:42








  • 2





    About off-topic, if you look at What topics can I ask about here?, you will see that "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow (...)". The (significantly less active) Software Recommendations Stack Exchange site was created specifically for that.

    – jdehesa
    Jan 3 at 10:42











  • Yeah, see...I have no idea if those programs can make a basic sequencer or do they just spit out algorithms? It's like, do I have to read an entire manual to find that out like Bartek Banachewicz seems to think? Or can I ask someone on the internet first before I read the wrong manual? I thought I'd give it a shot. If Pure Data could do it, that would rock because that program is so interactive. Thank you

    – Lowbrow
    Jan 3 at 10:54






  • 1





    @Lowbrow The rules of SO answering are meant to keep the answers useful to more than just the original asker. SO is more than just a Q&A website, it's a vast knowledge base. Asking the questions with the guidelines in mind assures that the answers can stay relevant, on-topic and useful. Anyway, I took the liberty to rephrase your question a bit, which hopefully should now produce such answers; for one, all the recommendations in the comments would fit now.

    – Bartek Banachewicz
    Jan 3 at 11:33
















0















Are there any programming languages that allow one with a basic knowledge to write an app that can send midi messages, for example acting as a sequencer? (I'm not asking for a recommendation.)



I'm looking for those features:




  • conditional operations if x=1 then send note on trigger event to sound card


  • loops


  • variables


  • arrays


  • 64bit compatability


  • I/O with peripheral devices. "To" and maybe even "from" the device











share|improve this question




















  • 2





    There are many things out there you can look at, Csound, ChucK, Pure Data (or the related commercial counterpart, Max)... These are more focused on sound synthesis as such, although I think all of them can do MIDI output. On C++, there is RtMidi, which is easy enough to use. And basically every language has its own libraries for it.

    – jdehesa
    Jan 3 at 10:38






  • 1





    Most modern languages allow accessing MIDI devices (which is made easier by all OSes abstracting away the MIDI hardware inteface). Tell us which OS and MIDI hardware you have, and which language(s) you want to use.

    – CL.
    Jan 3 at 10:42








  • 2





    About off-topic, if you look at What topics can I ask about here?, you will see that "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow (...)". The (significantly less active) Software Recommendations Stack Exchange site was created specifically for that.

    – jdehesa
    Jan 3 at 10:42











  • Yeah, see...I have no idea if those programs can make a basic sequencer or do they just spit out algorithms? It's like, do I have to read an entire manual to find that out like Bartek Banachewicz seems to think? Or can I ask someone on the internet first before I read the wrong manual? I thought I'd give it a shot. If Pure Data could do it, that would rock because that program is so interactive. Thank you

    – Lowbrow
    Jan 3 at 10:54






  • 1





    @Lowbrow The rules of SO answering are meant to keep the answers useful to more than just the original asker. SO is more than just a Q&A website, it's a vast knowledge base. Asking the questions with the guidelines in mind assures that the answers can stay relevant, on-topic and useful. Anyway, I took the liberty to rephrase your question a bit, which hopefully should now produce such answers; for one, all the recommendations in the comments would fit now.

    – Bartek Banachewicz
    Jan 3 at 11:33














0












0








0








Are there any programming languages that allow one with a basic knowledge to write an app that can send midi messages, for example acting as a sequencer? (I'm not asking for a recommendation.)



I'm looking for those features:




  • conditional operations if x=1 then send note on trigger event to sound card


  • loops


  • variables


  • arrays


  • 64bit compatability


  • I/O with peripheral devices. "To" and maybe even "from" the device











share|improve this question
















Are there any programming languages that allow one with a basic knowledge to write an app that can send midi messages, for example acting as a sequencer? (I'm not asking for a recommendation.)



I'm looking for those features:




  • conditional operations if x=1 then send note on trigger event to sound card


  • loops


  • variables


  • arrays


  • 64bit compatability


  • I/O with peripheral devices. "To" and maybe even "from" the device








programming-languages midi peripherals






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 11:29









Bartek Banachewicz

30.8k566108




30.8k566108










asked Jan 3 at 10:22









LowbrowLowbrow

1043




1043








  • 2





    There are many things out there you can look at, Csound, ChucK, Pure Data (or the related commercial counterpart, Max)... These are more focused on sound synthesis as such, although I think all of them can do MIDI output. On C++, there is RtMidi, which is easy enough to use. And basically every language has its own libraries for it.

    – jdehesa
    Jan 3 at 10:38






  • 1





    Most modern languages allow accessing MIDI devices (which is made easier by all OSes abstracting away the MIDI hardware inteface). Tell us which OS and MIDI hardware you have, and which language(s) you want to use.

    – CL.
    Jan 3 at 10:42








  • 2





    About off-topic, if you look at What topics can I ask about here?, you will see that "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow (...)". The (significantly less active) Software Recommendations Stack Exchange site was created specifically for that.

    – jdehesa
    Jan 3 at 10:42











  • Yeah, see...I have no idea if those programs can make a basic sequencer or do they just spit out algorithms? It's like, do I have to read an entire manual to find that out like Bartek Banachewicz seems to think? Or can I ask someone on the internet first before I read the wrong manual? I thought I'd give it a shot. If Pure Data could do it, that would rock because that program is so interactive. Thank you

    – Lowbrow
    Jan 3 at 10:54






  • 1





    @Lowbrow The rules of SO answering are meant to keep the answers useful to more than just the original asker. SO is more than just a Q&A website, it's a vast knowledge base. Asking the questions with the guidelines in mind assures that the answers can stay relevant, on-topic and useful. Anyway, I took the liberty to rephrase your question a bit, which hopefully should now produce such answers; for one, all the recommendations in the comments would fit now.

    – Bartek Banachewicz
    Jan 3 at 11:33














  • 2





    There are many things out there you can look at, Csound, ChucK, Pure Data (or the related commercial counterpart, Max)... These are more focused on sound synthesis as such, although I think all of them can do MIDI output. On C++, there is RtMidi, which is easy enough to use. And basically every language has its own libraries for it.

    – jdehesa
    Jan 3 at 10:38






  • 1





    Most modern languages allow accessing MIDI devices (which is made easier by all OSes abstracting away the MIDI hardware inteface). Tell us which OS and MIDI hardware you have, and which language(s) you want to use.

    – CL.
    Jan 3 at 10:42








  • 2





    About off-topic, if you look at What topics can I ask about here?, you will see that "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow (...)". The (significantly less active) Software Recommendations Stack Exchange site was created specifically for that.

    – jdehesa
    Jan 3 at 10:42











  • Yeah, see...I have no idea if those programs can make a basic sequencer or do they just spit out algorithms? It's like, do I have to read an entire manual to find that out like Bartek Banachewicz seems to think? Or can I ask someone on the internet first before I read the wrong manual? I thought I'd give it a shot. If Pure Data could do it, that would rock because that program is so interactive. Thank you

    – Lowbrow
    Jan 3 at 10:54






  • 1





    @Lowbrow The rules of SO answering are meant to keep the answers useful to more than just the original asker. SO is more than just a Q&A website, it's a vast knowledge base. Asking the questions with the guidelines in mind assures that the answers can stay relevant, on-topic and useful. Anyway, I took the liberty to rephrase your question a bit, which hopefully should now produce such answers; for one, all the recommendations in the comments would fit now.

    – Bartek Banachewicz
    Jan 3 at 11:33








2




2





There are many things out there you can look at, Csound, ChucK, Pure Data (or the related commercial counterpart, Max)... These are more focused on sound synthesis as such, although I think all of them can do MIDI output. On C++, there is RtMidi, which is easy enough to use. And basically every language has its own libraries for it.

– jdehesa
Jan 3 at 10:38





There are many things out there you can look at, Csound, ChucK, Pure Data (or the related commercial counterpart, Max)... These are more focused on sound synthesis as such, although I think all of them can do MIDI output. On C++, there is RtMidi, which is easy enough to use. And basically every language has its own libraries for it.

– jdehesa
Jan 3 at 10:38




1




1





Most modern languages allow accessing MIDI devices (which is made easier by all OSes abstracting away the MIDI hardware inteface). Tell us which OS and MIDI hardware you have, and which language(s) you want to use.

– CL.
Jan 3 at 10:42







Most modern languages allow accessing MIDI devices (which is made easier by all OSes abstracting away the MIDI hardware inteface). Tell us which OS and MIDI hardware you have, and which language(s) you want to use.

– CL.
Jan 3 at 10:42






2




2





About off-topic, if you look at What topics can I ask about here?, you will see that "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow (...)". The (significantly less active) Software Recommendations Stack Exchange site was created specifically for that.

– jdehesa
Jan 3 at 10:42





About off-topic, if you look at What topics can I ask about here?, you will see that "Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow (...)". The (significantly less active) Software Recommendations Stack Exchange site was created specifically for that.

– jdehesa
Jan 3 at 10:42













Yeah, see...I have no idea if those programs can make a basic sequencer or do they just spit out algorithms? It's like, do I have to read an entire manual to find that out like Bartek Banachewicz seems to think? Or can I ask someone on the internet first before I read the wrong manual? I thought I'd give it a shot. If Pure Data could do it, that would rock because that program is so interactive. Thank you

– Lowbrow
Jan 3 at 10:54





Yeah, see...I have no idea if those programs can make a basic sequencer or do they just spit out algorithms? It's like, do I have to read an entire manual to find that out like Bartek Banachewicz seems to think? Or can I ask someone on the internet first before I read the wrong manual? I thought I'd give it a shot. If Pure Data could do it, that would rock because that program is so interactive. Thank you

– Lowbrow
Jan 3 at 10:54




1




1





@Lowbrow The rules of SO answering are meant to keep the answers useful to more than just the original asker. SO is more than just a Q&A website, it's a vast knowledge base. Asking the questions with the guidelines in mind assures that the answers can stay relevant, on-topic and useful. Anyway, I took the liberty to rephrase your question a bit, which hopefully should now produce such answers; for one, all the recommendations in the comments would fit now.

– Bartek Banachewicz
Jan 3 at 11:33





@Lowbrow The rules of SO answering are meant to keep the answers useful to more than just the original asker. SO is more than just a Q&A website, it's a vast knowledge base. Asking the questions with the guidelines in mind assures that the answers can stay relevant, on-topic and useful. Anyway, I took the liberty to rephrase your question a bit, which hopefully should now produce such answers; for one, all the recommendations in the comments would fit now.

– Bartek Banachewicz
Jan 3 at 11:33












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54020341%2fare-there-any-languages-that-offer-easy-programming-of-midi-and-sound-in-realtim%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54020341%2fare-there-any-languages-that-offer-easy-programming-of-midi-and-sound-in-realtim%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas