winsound not working in MATLAB 64 bit version for reading/writing from/to the sound card
Mostrar comentarios más antiguos
Dear Mr/Mrs,
What is the alternative to use 'winsound' for MATLAB 64bit version? This used to work in previous MATLAB versions: daqinfo = daqhwinfo('winsound'); And I'm getting the following: Error using daqhwinfo (line 42) To learn about using data acquisition devices on the win64 platform, see the documentation on the session-based interface.
So I read a little bit, and apparently only 'ni' devices are supported for 64bit. So I tried: AI = analoginput('winsound'); And I'm getting almos the same: Error using analoginput (line 46) To learn about using data acquisition devices on the win64 platform, see the documentation on the session-based interface.
Probably I should try something like: s = daq.createSession('ni'); s.addAnalogInputChannel('???????')
What should I put in ???????? to read the soundcard?
Pablo
4 comentarios
Walter Roberson
el 30 de Oct. de 2012
Your soundcard probably isn't made by NI (National Instruments)
Daniel Shub
el 31 de Oct. de 2012
Do you need to use the DAQ toolbox or can you just use standard "sound" commands?
Pablo
el 14 de Oct. de 2013
sandhya vishwakarma
el 14 de Mzo. de 2017
can you send me full code....
Respuesta aceptada
Más respuestas (3)
Mario
el 26 de Jun. de 2013
1 voto
Unfortunately there is no alternative, if you want to use your standard sound card (this means if you want to use any internal/external microphone that passes through your sound card) you must use the 32 bits version of MATLAB and Data Acquisition Toolbox. Otherwise you need a NIDaq device (National Instruments Data Acquisition), they cheapest ones are around 100USD. Another compatible cheaper DAQ is the Digilent Analog Discovery.
Sean de Wolski
el 26 de Jun. de 2013
0 votos
shanxi Univercity
el 13 de Oct. de 2013
0 votos
I also have this problem.
1 comentario
Pablo
el 14 de Oct. de 2013
Categorías
Más información sobre Pulse and Transition Metrics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!