Hi,
I do not think you need pymedia for that.
Usually WAV files contain uncompressed audio which will have raw values that 
are sent to audio card.
So when you read it with wavefile module you'll get those 16 bit values for 
every sound sample.
Dmitry/

----- Original Message ----- 
From: "alf" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, December 19, 2006 6:01 PM
Subject: [Pymedia-users] converting wav to amplitude values


>I have simple wav file:
>
> Input #0, wav, from '1track_01.wav':
>  Duration: 00:52:33.6, start: 0.000000, bitrate: 1411 kb/s
>  Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
>
>
> I would like to convert to the stream of 16-bit values representing
> amplitude. so for a silence I would except 0.
>
> Can I do that using pymedia?
>
> Thx, A.
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Pymedia-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymedia-users
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pymedia-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pymedia-users

Reply via email to