Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request wave support > 16 bit samples #44112

Closed
murraylang mannequin opened this issue Oct 11, 2006 · 7 comments
Closed

Request wave support > 16 bit samples #44112

murraylang mannequin opened this issue Oct 11, 2006 · 7 comments
Assignees
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@murraylang
Copy link
Mannequin

murraylang mannequin commented Oct 11, 2006

BPO 1575020
Nosy @birkenfeld, @serhiy-storchaka
Files
  • wave_24bit.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2013-11-09.21:24:14.908>
    created_at = <Date 2006-10-11.03:52:09.000>
    labels = ['type-bug', 'library']
    title = 'Request wave support > 16 bit samples'
    updated_at = <Date 2013-11-09.21:24:14.907>
    user = 'https://bugs.python.org/murraylang'

    bugs.python.org fields:

    activity = <Date 2013-11-09.21:24:14.907>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2013-11-09.21:24:14.908>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2006-10-11.03:52:09.000>
    creator = 'murraylang'
    dependencies = []
    files = ['32164']
    hgrepos = []
    issue_num = 1575020
    keywords = ['patch']
    message_count = 7.0
    messages = ['54924', '54925', '199916', '199918', '200184', '200185', '202502']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'murraylang', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1575020'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    @murraylang
    Copy link
    Mannequin Author

    murraylang mannequin commented Oct 11, 2006

    May I request that the wave library support audio
    formats greater than 16 bit. I am hoping to use GNU
    Radio (http://www.gnu.org/software/gnuradio/) Python
    software with HPSDR (http://hpsdr.org/) hardware, but
    the HPSDR audio is 24 bit. The extra dynamic range is
    required for weak signal work. Many audio cards are now
    coming on the market with 24 bit capability.

    @murraylang murraylang mannequin added type-feature A feature request or enhancement stdlib Python modules in the Lib dir labels Oct 11, 2006
    @birkenfeld
    Copy link
    Member

    Logged In: YES
    user_id=849994

    Turning into a feature request.

    @serhiy-storchaka
    Copy link
    Member

    Currently 24-bit wave files are supported at least in 2.7, 3.3, and 3.4 (there are tests for this). The audioop module yet not supports 24-bit data, but this is another issue.

    @birkenfeld
    Copy link
    Member

    Serhiy, you're welcome to set issues to pending, but please don't forget to close them after a certain time...

    @serhiy-storchaka
    Copy link
    Member

    Actually 24-bit samples are supported only on little-endian platforms (see bpo-19276). Here is simple patch which makes them supported on big-endian too.

    @serhiy-storchaka
    Copy link
    Member

    And supporting the feature only on some platforms (without good reasons) is a bug.

    @serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error and removed type-feature A feature request or enhancement labels Oct 18, 2013
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Nov 9, 2013

    New changeset 5fbcb4aa48fa by Serhiy Storchaka in branch '2.7':
    Issue bpo-1575020: Fixed support of 24-bit wave files on big-endian platforms.
    http://hg.python.org/cpython/rev/5fbcb4aa48fa

    New changeset 79b8b7c5fe8a by Serhiy Storchaka in branch '3.3':
    Issue bpo-1575020: Fixed support of 24-bit wave files on big-endian platforms.
    http://hg.python.org/cpython/rev/79b8b7c5fe8a

    New changeset 1ee45eb6aab9 by Serhiy Storchaka in branch 'default':
    Issue bpo-1575020: Fixed support of 24-bit wave files on big-endian platforms.
    http://hg.python.org/cpython/rev/1ee45eb6aab9

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants