NI Multisim audio input

Started by oskar, November 23, 2008, 08:03:14 AM

Previous topic - Next topic

oskar

Hi!
I'm trying out NI Multisim 10.1 and can't find a way to input audiofiles to a circuit. There should be a way to do it as there is both a microphone and a speaker interface, so why not an input for a .wav file?      ???

oskar

Ok. I managed to do it by linking from audiomulch with Virtual Audio Cable. There must be a better way though.
It would be much better to have a simple .wav player running under multisim directly. Perhaps a LabVIEW instrument.
Anyway it's good fun to have audio files processed that way.      :P

ballooneater

Do you have any sort of guide for working with Multisim?  I've tried it out, but got hopelessly confused.

Ice-9

I realise this is prob a really noob question, but if you can input a .wav file into multisim can you actually save/play the output file for direct comparison or is it just viewable on the multisim scope.

Ahhhhh it would just be too good to be true if you could actually get an audio output, and as i suspect pretty damn near not possible.
www.stanleyfx.co.uk

Sanity: doing the same thing over and over again and expecting the same result. Mick Taylor

Please at least have 1 forum post before sending me a PM demanding something.

oskar

Quote from: ballooneater on November 24, 2008, 02:41:19 PM
Do you have any sort of guide for working with Multisim?  I've tried it out, but got hopelessly confused.
Well. The easiest way to start I guess is to just go with an existing project to start with. It's probably the simulation part
that'll drive you nuts.
If you're interested I can post or mail you a project or two with scopes hooked up...
Quote from: Ice-9 on November 24, 2008, 03:29:49 PM
I realise this is prob a really noob question, but if you can input a .wav file into multisim can you actually save/play the output file for direct comparison or is it just viewable on the multisim scope.

Ahhhhh it would just be too good to be true if you could actually get an audio output, and as i suspect pretty damn near not possible.
You can have audio out. No problemo. Well actually... that was what this thread was about... my problemos with it, but I'm not that good with what goes where in a computer. You get audio out, but you can't save it within multisim so you need to grab the stream from another program. Not a big problem. It is worse with the input...

ballooneater

It'd be great if you could send me an example file. I don't mind if you email it to me or post it here, whichever works best for you.

Thanks!

oskar

OK. My computer is 600MHz /256k ram... You can safely say it isn't the optimal tool for heavy simulation activity.    :)
The audio components (LabVIEW VI's (XLV1, XLV2) ) are poorly documented and I couldn't find any reference to they're electrical behavior.
It is however possible to simulate a circuit with audio and this seem to be easiest done by simply recording audio from the mic input with the mic component (XLV2).

Simulating New Clipper

original schematic:
http://www.runoffgroove.com/newclipper.html
Added components:R7, R8



Multisim file:
http://www.speedyshare.com/302885524.html

A live unit, again from runoffgroove:
http://www.runoffgroove.com/salvo.html#newclipper

Simulation in .ogg format... ( If WMP won't do it for you, get winamp... )
http://www.speedyshare.com/963223131.html
Files:
   clean: unprocessed
   nc sym 1x1n914: as from picture above
   nc asym: One more diode in series with one of the 1n914.
   Filtered: Filtering added within multisim... in front of, in the OP feedback and extra filtering after clipping diods

Have fun...    :P

ballooneater

#7
Thanks a bunch for the file, but I can't seem to get it to work.  I have it set up the exact same way as in the screenshot,  but only get a short burst of static as output.

Edit: turns out I forgot to run the simulation.  I feel rather stupid.

Sir H C

NI's website has forums there and they are really good about answering questions there.  They would have the definitive answers.

Gorik

I was looking for the same thing, a wav player for Multisim, but I could't find one.
So ... I made my own labview instrument for Multisim 11

http://www.easy-share.com/1914112960/WAV player.zip

Have fun!

wavley

Quote from: Gorik on March 05, 2011, 02:36:37 PM
I was looking for the same thing, a wav player for Multisim, but I could't find one.
So ... I made my own labview instrument for Multisim 11

http://www.easy-share.com/1914112960/WAV player.zip

Have fun!

Oh awesome, I usually just look at waveforms on the scope or spectrum analyzer, I'll have to try this!
New and exciting innovations in current technology!

Bone is in the fingers.

EccoHollow Art & Sound

eccohollow.bandcamp.com

Gorik

FYI: I also submitted it at NI, Which allows you to download it without the annoying waiting period.

http://forums.ni.com/t5/Circuit-Design-Suite-Multisim/import-and-saving-wav-file-in-Multisim/td-p/1045190

Cheers

G.