Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2007

    Question .AU open and read?! PYS60


    i need to open an .au file, and rigth now i'm able to read the header.

    from struct import unpack
    import struct
    import appuifw
    from graphics import Image
    import camera, e32


    au_file = u'e:\\5000.au'
    f = open(au_file, 'rb')
    print f
    print a
    while 1:
    if b==5:break
    a=struct.unpack('>L', f.read(4))[0]
    print a

    in this moment i got the info:

    > .snd
    > 24
    > 1000
    > 3
    > 8000
    > 1

    http://en.wikipedia.org/wiki/Au_file_format that is a correct format.

    rigth now i cant read the data. I got something like this, but it doesnt work:

    while 1:
    if b==100:break
    a=struct.unpack('L', f.read(4))[0]

    Please help me

  2. #2
    Registered User
    Join Date
    Feb 2005
    Belgium (Europe)

    Re: .AU open and read?! PYS60

    Hello ,

    You can find in the wiki solution to your problem

    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

Similar Threads

  1. What is Open C ?
    By kkrish in forum Open C/C++
    Replies: 14
    Last Post: 2007-04-18, 11:58
  2. Read and Open files with Series60
    By pablovara in forum Mobile Java General
    Replies: 2
    Last Post: 2006-06-14, 17:08
  3. Replies: 3
    Last Post: 2005-10-12, 05:26
  4. Help:can Series 40 open the MMS file and read this file??
    By evicn in forum Mobile Java General
    Replies: 0
    Last Post: 2004-04-28, 03:08
  5. An error about open a file and read data.....
    By tntfighter-2002 in forum Symbian
    Replies: 1
    Last Post: 2002-11-06, 05:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts