Python Forum
Writing a floating point aifc file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Writing a floating point aifc file
#2
you can cast an integer to float with:
x = int(45)
print('x: {}'.format(x))
x = float(x)
print('x: {}'.format(x))
As far as audio packages in python, look here: https://pypi.python.org/pypi?%3Aaction=s...mit=search
And for AIFC files specifically: https://pypi.python.org/pypi?%3Aaction=s...mit=search
Reply


Messages In This Thread
Writing a floating point aifc file - by jandyman - Dec-29-2017, 05:13 PM
RE: Writing a floating point aifc file - by Larz60+ - Dec-29-2017, 07:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  comparing floating point arrays to arrays of integers in Numpy amjass12 0 1,613 Jul-26-2021, 11:58 AM
Last Post: amjass12
  Python - Pandas writing blank files to file tdunphy 0 1,972 Jan-14-2021, 12:11 AM
Last Post: tdunphy
  HELP! writing to csv file repeats, but code looks good. TheBeast 2 2,193 Mar-26-2019, 10:09 PM
Last Post: TheBeast
  reading, modifying and writing json file metalray 2 10,883 Jun-06-2018, 03:09 PM
Last Post: metalray
  Upload csv file as numbers (floating?) and extract element, row, and column bentaz 7 4,412 Mar-19-2018, 05:34 PM
Last Post: bentaz

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020