Hello,
you dont need the "" around the parameter C: emp est2.wav. Then it works.
The txt-object is already text so no "" is needed.
best regards
Jochen
_____
Von: COLEBY,SIMON (A-England,ex2) [mailto:simon_coleby@agilent.com]
Gesendet: Freitag, 6. Juni 2008 16:06
An: VRF
Cc: COLEBY,SIMON (A-England,ex2)
Betreff: FW: [vrf] (VRF) Making an audio file -
I may be a complete novice with Matlab, but I can’t immediately see why this doesn’t work ?
Halts w/ rather unhelpful message.
VEE Pro 8.01
Cheers, Simon Coleby
Agilent Technologies UK Limited, Registered Office: 710 Wharfedale Road, Winnersh Triangle, Wokingham, Berkshire, RG41 5TP - Registered No. 03809903
_____
From: tapio.ronkainen@nokia.com [mailto:tapio.ronkainen@nokia.com]
Sent: 27 May 2008 10:49
To: PDL-LISTS,VRF (A-Lists,unix1)
Subject: RE: [vrf] (VRF) Making an audio file
How about using wavwrite function in matlab?
here's clip from docs.
wavwrite - Write Microsoft WAVE (.wav) sound file
Syntax
wavwrite(y,filename)
wavwrite(y,Fs,filename)
wavwrite(y,Fs,N,filename)
Description
wavwrite writes data to 8-, 16-, 24-, and 32-bit .wav files.
wavwrite(y,filename) writes the data stored in the variable y to a WAVE file called filename. The filename input is a string enclosed in single quotes. The data has a sample rate of 8000 Hz and is assumed to be 16-bit. Each column of the data represents a separate channel. Therefore, stereo data should be specified as a matrix with two columns. Amplitude values outside the range [-1,+1] are clipped prior to writing.
wavwrite(y,Fs,filename) writes the data stored in the variable y to a WAVE file called filename. The data has a sample rate of Fs Hz and is assumed to be 16-bit. Amplitude values outside the range [-1,+1] are clipped prior to writing.
wavwrite(y,Fs,N,filename) writes the data stored in the variable y to a WAVE file called filename. The data has a sample rate of Fs Hz and is N-bit, where N is 8, 16, 24, or 32. For N < 32, amplitude values outside the range [-1,+1] are clipped.
BR, Tapio
_____
From: ext Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
Sent: Tuesday May 2008 11:50
To: VRF
Subject: RE: [vrf] (VRF) Making an audio file
I don't do any work with this kind of stuff but here's my thoughts. Going from memory (an increasingly bad idea as the years advance), the WAV file format is pretty simple - it has a header and then bytes giving a timesliced i.e. sampled representation of audio amplitude, no compression or anything. There are plenty of descriptions of the WAV file spec on the web. I reckon it would be easy to write a VEE program to write a WAV file to produce a simple signal. The files could easily get really big though.
_____
From: Robert Reavis [mailto:known_to_bob@reavis.com]
Sent: 24 May 2008 23:07
To: VRF
Subject: [vrf] (VRF) Making an audio file
---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: tapio.ronkainen@nokia.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: simon_coleby@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: j.gallmayer@lxinstruments.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: ming_meng@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
you dont need the "" around the parameter C: emp est2.wav. Then it works.
The txt-object is already text so no "" is needed.
best regards
Jochen
_____
Von: COLEBY,SIMON (A-England,ex2) [mailto:simon_coleby@agilent.com]
Gesendet: Freitag, 6. Juni 2008 16:06
An: VRF
Cc: COLEBY,SIMON (A-England,ex2)
Betreff: FW: [vrf] (VRF) Making an audio file -
I may be a complete novice with Matlab, but I can’t immediately see why this doesn’t work ?
Halts w/ rather unhelpful message.
VEE Pro 8.01
Cheers, Simon Coleby
Agilent Technologies UK Limited, Registered Office: 710 Wharfedale Road, Winnersh Triangle, Wokingham, Berkshire, RG41 5TP - Registered No. 03809903
_____
From: tapio.ronkainen@nokia.com [mailto:tapio.ronkainen@nokia.com]
Sent: 27 May 2008 10:49
To: PDL-LISTS,VRF (A-Lists,unix1)
Subject: RE: [vrf] (VRF) Making an audio file
How about using wavwrite function in matlab?
here's clip from docs.
wavwrite - Write Microsoft WAVE (.wav) sound file
Syntax
wavwrite(y,filename)
wavwrite(y,Fs,filename)
wavwrite(y,Fs,N,filename)
Description
wavwrite writes data to 8-, 16-, 24-, and 32-bit .wav files.
wavwrite(y,filename) writes the data stored in the variable y to a WAVE file called filename. The filename input is a string enclosed in single quotes. The data has a sample rate of 8000 Hz and is assumed to be 16-bit. Each column of the data represents a separate channel. Therefore, stereo data should be specified as a matrix with two columns. Amplitude values outside the range [-1,+1] are clipped prior to writing.
wavwrite(y,Fs,filename) writes the data stored in the variable y to a WAVE file called filename. The data has a sample rate of Fs Hz and is assumed to be 16-bit. Amplitude values outside the range [-1,+1] are clipped prior to writing.
wavwrite(y,Fs,N,filename) writes the data stored in the variable y to a WAVE file called filename. The data has a sample rate of Fs Hz and is N-bit, where N is 8, 16, 24, or 32. For N < 32, amplitude values outside the range [-1,+1] are clipped.
BR, Tapio
_____
From: ext Pickles, Warren [mailto:Warren.Pickles@tycoelectronics.com]
Sent: Tuesday May 2008 11:50
To: VRF
Subject: RE: [vrf] (VRF) Making an audio file
I don't do any work with this kind of stuff but here's my thoughts. Going from memory (an increasingly bad idea as the years advance), the WAV file format is pretty simple - it has a header and then bytes giving a timesliced i.e. sampled representation of audio amplitude, no compression or anything. There are plenty of descriptions of the WAV file spec on the web. I reckon it would be easy to write a VEE program to write a WAV file to produce a simple signal. The files could easily get really big though.
_____
From: Robert Reavis [mailto:known_to_bob@reavis.com]
Sent: 24 May 2008 23:07
To: VRF
Subject: [vrf] (VRF) Making an audio file
---
You are currently subscribed to vrf as: Warren.Pickles@tycoelectronics.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: tapio.ronkainen@nokia.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: simon_coleby@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: j.gallmayer@lxinstruments.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
---
You are currently subscribed to vrf as: ming_meng@agilent.com
To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".