Can Multisim Import and Process Sound Files Through a Circuit?

  • Thread starter Thread starter houlahound
  • Start date Start date
  • Tags Tags
    files Sound
AI Thread Summary
Multisim may allow the import and processing of sound files through circuits, such as a passive low pass RC filter, enabling output to a speaker and saving the clean signal as a WAV file. Users can typically input data from files into simulations and utilize functions like $read and $write to manage data. However, specific commands and capabilities in Multisim are unclear, as the discussion references another simulator, ncsim, which has different functionalities. It is suggested to consult the NI Multisim forums for more precise guidance on accessing file data. Overall, while the potential exists, detailed knowledge of Multisim's features is necessary to achieve the desired outcome.
houlahound
Messages
907
Reaction score
223
Is it possible to import a sound file into multisim and run it thru a circuit eg a passive low pass RC filter and send the signal to a speaker and save the clean signal say as a wav file.
 
Engineering news on Phys.org
You can generally input data from a file into a simulation, operate on it, then capture that data to a signal and write it to a file. You can then convert it to whatever format you choose.

The actual commands to do that depends on the simulator, but it is basically learning to make use of the various $read and $write simulator functions.
Not sure what multisim has available, if anything.

For example the following (from an ncsim file, not multisim)
$fwrite(tester_vectorsFPGA_filehandle,"%s %s %b %b //%0d\n",dpstringFPGA, dmstringFPGA, txoe, testeroe, vector_num12);

will write to the file represented by the filehandle: two strings (contained in dpstringFPGA, dmstringFPGA) , and 2 binary values (contained in txoe, testeroe) and a decimal value vector_num12

You just capture the data into a variable at each clock edge, and write it out.

You do a similar thing to read a file into a 2 dimensional array, then iterate through the array on each clock edge (or as you need the data).
Generally the array needs to be large enough to hold the whole file.

Others may have more experience with multisim.
 
Is ncsim a circuit simulator?

Not sure if it is valid code language but I read a lot of random symbols in yr code.

Same happens to math eqtns I read here so I think it is prob my end.
 
ncsim is a Cadence multilanguage simulator that I use at work.
I guess what I wrote won't help you with multisim. Sorry.

I recommend you ask your question in the NI multisim forums. I assume there are symbols to access file data for read and write, but I don't know how to do it.
 
Links to Cadence overview?
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
While I was rolling out a shielded cable, a though came to my mind - what happens to the current flow in the cable if there came a short between the wire and the shield in both ends of the cable? For simplicity, lets assume a 1-wire copper wire wrapped in an aluminum shield. The wire and the shield has the same cross section area. There are insulating material between them, and in both ends there is a short between them. My first thought, the total resistance of the cable would be reduced...
Back
Top