Scénario de test & Cas d'usage
Creation of a simulated table 'CALL_LOGS' containing call IDs and raw binary audio data.
| 1 | DATA casuser.call_logs; LENGTH call_id $10 audio_data $2000; INPUT call_id $ audio_data $; DATALINES; |
| 2 | CUST_001 |
| 3 | CUST_002 |
| 4 | ; RUN; |
| 1 | PROC CAS; |
| 2 | audio.computeFeatures / |
| 3 | TABLE={name='call_logs', caslib='casuser'} |
| 4 | audioColumn='audio_data' |
| 5 | copyVars={'call_id'} |
| 6 | mfccOptions={nCeps=13} |
| 7 | casOut={name='call_features', caslib='casuser', replace=true}; |
| 8 | RUN; |
The output table 'call_features' should contain the 'call_id' column and the computed MFCC feature vectors for each audio frame. The number of cepstral coefficients per frame should be 13.