LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

guitar effects processor

hi aeastet sorry for bodering you again but is there any chance you could maybe save the file for version 8.5 the pdf is very helpful but some of the parts of the program i cant figure out if you could do that for me i would be very grateful which i already am
0 Kudos
Message 11 of 28
(1,855 Views)

A major problem with Labview is that NI focus to much on user-friendly functions. The result is that is very easy to write ineffective code for a beginner. Your and also aeastet code was full of unnecessary typecasting back and forth. Then I am making Labview code one of the first thing I do is to throw out much of the flimflam that NI include in the code.

I have modified your code it should be much more efficient now. You may need to relink to the sound2.dll. You will find it here \National Instruments\LabVIEW 8.x\resource\lvsound2.dll

Right-click the Call Library Function and select Configure from the shortcut menu to display the Call Library Function dialog box, which you can use to specify the library name or path, function name, calling conventions, parameters, and return value for the node. When you click the OK button, the node automatically resizes to have the correct number of terminals and sets the terminals to the correct data types. 

I hope this will help you some

Message Edited by Coq Rouge on 01-29-2010 01:28 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 12 of 28
(1,818 Views)

Why did you start a new thread posting the same code as you started with here. A code which was full time consuming type casting back and forth? Did you try my code, and did you have any trouble with it.

In your reposting you complain about time delay. But then I must remind you about the fact that Windows is not a real time OS. You have to work with chunks of sound. The size of the chunks (in time domain) should be slightly larger than the time it takes to process them. So the more efficient your code is the smaller chunks. I also do not know how efficient the Labview/Matlab interface is. Maybe you could cut some processing time by implementing the functions in Labview



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 13 of 28
(1,729 Views)
sorry, i didnt want to keep annoying you with all the problems i was having . i used your code but i am still having the same problem as i am having before. Sorry for causing problems just really want to get this working properly i wont bother annoying you guys anymore. Thanks for all your help.Cheers. 
0 Kudos
Message 14 of 28
(1,719 Views)
Did you try the code that I gave you? I know the opinion of my fellow Con Rouge suggested that what I had given you was over converted but it is a very minor issue witht he way the code is written. The code I gave you should me far more efficient thatn what you had.
Tim
GHSP
0 Kudos
Message 15 of 28
(1,718 Views)
I tried to implement the design you gave me but i didnt fully understand it was working so i think i connected it up wrong. The pdf is a good help, I just dont know how exactly the program is working the way you have showed me. I just want to get this working i know i am being a pain but i have been a this for ages and i am burnt out trying to figure out how to fix it. I just need some help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
0 Kudos
Message 16 of 28
(1,708 Views)
I tried the code you gave me think i figured out most of it their is no sound though and it is giving me the error 4823.
0 Kudos
Message 17 of 28
(1,691 Views)
You need to make sure that you use the stop button to stop the software. If you use the Stop sign then the task will not be shut down properly. The next thing you can try is adding a buffer. This should help. I am not sure what kind of computer you are using but this may also come down to the computer. I would try and make sure you are shutting things down properly first.
Tim
GHSP
Message 18 of 28
(1,666 Views)

I am sorry it was some errors in my program. I swapped the task ID.

I am in hurry so I made a picture of my modifications. But you should be able to to do it. Most of the mods are just deleted wires.

Edit: Also set number of channels to 1 in the front panel (mono)

Message Edited by Coq Rouge on 02-12-2010 02:45 PM


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
Message 19 of 28
(1,664 Views)
hi the code is taking in a mic input no problem but when i connect my guitar i am getting error 4822, i ran the simultaneous input example to see if it was a problem with the guitar but it takes the guitar input no problem. Any ideas why it isnt taking in the guitar input.
0 Kudos
Message 20 of 28
(1,604 Views)