LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do a "Converter MIDI"

Hello, my name is Arthur and I'm from Brazil.

I'm new here. Sorry for the mistakes in English, I'm really rusty with it.

 

So...

I'm using LabVIEW recently and I don't know how to do some things.

 

My idea is:

To combine a "tuner" and a "MIDI out" - with the microphone or captation for tuner, and use the information about the note (C, D, E, F, G, A, B) for to create a MIDI out.

With a MIDI out, I stop here. And using another program (kontakt, by Native Instruments, or other) like sound library.

 

 

I saw two projects that interest to me, and maybe I can to follow some thing like this, a "Guitar Tuner" and a "midi keyboard").

Here is the Guitar Tuner: http://forums.ni.com/t5/LabVIEW/Guitar-tuner/td-p/803433/page/2
Here is the midi keyboard: http://zone.ni.com/devzone/cda/epd/p/id/1403

 

If I can unify both, using the note information of tuner in the data entrance, and don't use keys of my PC for play... It would be perfect!

 

It's possible??

What can I read and learn about it?

 

Thanks for all!

0 Kudos
Message 1 of 10
(3,584 Views)

I'm not sure exactly what you want, but here is some MIDI stuff that I created a long time ago.  Have fun.

"If you weren't supposed to push it, it wouldn't be a button."
Download All
0 Kudos
Message 2 of 10
(3,546 Views)

Interesting idea and it is possible, but probably not very practical.  Even the best AUDIO to MIDI converters have problems with latency just because of the time it takes to determine the frequency of low register notes (esp. Bass Guitar).  If you add a non-deterministic OS on top of that you'll have a system that doesn't respond with reliable timing meaning there will be VERY noticable (and changing) delays between you striking a note and hearing Kontakt play it.  You could do it with a real-time OS or FPGA but with audio to MIDI converter boxes selling for about US$100 it might not be worth the trouble.  Even the professional units on the market make you play very distinct, MONOPHONIC lines (no chords) making it a lot less useful than you might think.

 

It would be a fun project though! Smiley Wink

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 3 of 10
(3,533 Views)

Nlquist:
Yes, I'm thinking on latency too.

I see a product of Sonuus, G2M is the name. works very well, but only monophonic (what isn't a problem for me, violin is so much monophonic). But I'm thinking in a program, independente of all this, it's for my conclusion work in university (I don't know how is the name for you).

Maybe I can only play the notes, the program "identify" them, and save in a midi archive, and I can play this after in a library program (kontakt).

Do you have any idea about it? How can I do it? I don't have experience in LabView

 

 

Thank you paul_cardinale for this "MIDI stuffs" hehe... It's very good for me.

Your archive "MIDI" is very good. It's an idea for control the MIDI envelope, right?

The Midi sound Control isn't work, don't have the files "Level_Buttons.ctl", "Exit.vi" and "Level_Buttons_to_level.vi". But it should be very good, it's a generate of notes with the change of the MIDI sounds?

 

All this is good for my idea and for improve it. I need to study this and study the LabView too.

Can somebody help me in another thing too? How can I make (in the LabView) this tuner (attached) transform the information about the note (this information is present yet in the program) in a MIDI information??

0 Kudos
Message 4 of 10
(3,526 Views)

Hello Arthur,

 

I would like to understand better what you want to do so I can help you. As I've seen here you want to play some the notes using your musical instrument, capture the sound, use LabVIEW to identify the note played and then reproduce the sound using a MID format sound. Is that is? Will you play te notes individually or like chords? How fast you pretend to play so LabVIEW can capture it? I would ask you to provide us with more information like this about your application so so we can help you.

 

Regards,

 

 

 

Thiago Matos
Engenharia de Aplicações
National Instruments Brasil
0 Kudos
Message 5 of 10
(3,500 Views)

Hello tmatos, are you brasilian?

The idea is exactly this.

 

The notes is only notes, without chords.

And the velocity of the notes isn't fast... 

 

I don't care if the software will take a little time for processing the data, it's a initial idea, for a work in the college.

Do you have something about it? How to create MIDI information with the notes...

 

Obrigado desde já Smiley Wink

0 Kudos
Message 6 of 10
(3,492 Views)

Hello Arthur,

 

Yes, I'm Brazilian Smiley Very Happy

 

Considering what you want to do, it won't be a problem, you can just use the guitar tunner software part that is responsible for acquiring and comparing the sound data, considering that a guitar tunner just analyzes the frequency of the sound that is playing and compare it to known values, you can do the same thing, just acquire the sound, compare it with a "lookup table" that contains the notes frequencys and then reproduce the mid sound with the same frequency or reproduce the sound frequency using LabVIEW functions. To help you, search for the LabVIEW examle called "Simultaneous Sound Input Output", it shows how to acquire and reproduce a sound.

Thiago Matos
Engenharia de Aplicações
National Instruments Brasil
0 Kudos
Message 7 of 10
(3,473 Views)

Hello Tiago. I'm brazilian too.

Thank you for the information.

 

I'm learning about the LabView, somethings I can't do yet.

Can you talk to me in email? There we can to speak in portuguese...

 

arthur_violinista@yahoo.com.br

 

wait your contact.

Abraços.

0 Kudos
Message 8 of 10
(3,469 Views)

Hello Arthur,

 

If you click on my forum's signature you will be redirected to the Brazilian forum where we can talk in portuguese, and I would recommend you to see the "Aprenda LabVIEW em 6 horas" tutorial in his link: http://www.ni.com/white-paper/12689/pt/, it will help you learn the basics.

 

Hope to be helpful to you.

Thiago Matos
Engenharia de Aplicações
National Instruments Brasil
0 Kudos
Message 9 of 10
(3,456 Views)

Hello Tiago.

Thank you so much! It's good for me!

 

I will see this tutorial.

 

Arthur Lauton

0 Kudos
Message 10 of 10
(3,443 Views)