Python Forum
SoX Sound Exchange sample code to Rec & Play audio file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SoX Sound Exchange sample code to Rec & Play audio file
#1
Looking for a sample of how to record a sound file via Python and SoX Wrapper
Ditto for playing a recorded file.

Thanks for any help.
Reply
#2
You can find some packages here: https://pypi.python.org/pypi?%3Aaction=s...mit=search
To find out more about the backages, fo to the specific PyPi site by clicking on the title.
If you like what you see, you can install the package or go to the github page and look at the code.
Most (but not all) will have examples within their code.
Once you decide on a package, you can look for the documentation on github, or find more samples at nullege.com
Reply
#3
Thanks Larz60+
I have Sox installed on the PC and the sox module installed in Python.
There is not much help on code samples regarding running sox from Python on the SoX on sourceforge.
Google hasn't helped either.
Reply
#4
You should always check the github page.
The location is almost always stored on the PyPi page for the application see: https://pypi.python.org/pypi/sox/1.3.0
on this page, it shows you that the github page is: https://github.com/rabitt/pysox
If you go to this page, you will see two examples displayed on the page!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem with code / audio is playing randomly, not matching csv requirements Daniel_kcr 2 578 Sep-07-2023, 05:09 PM
Last Post: deanhystad
  chua osillator to audio file sddfds 0 414 Jul-13-2023, 11:07 PM
Last Post: sddfds
  How can I send a .mp3 to play through my mic? ejected 20 19,811 Sep-01-2022, 02:38 AM
Last Post: victormayer
  playing .wav sound file with sounddevice shift838 5 2,318 Mar-11-2022, 07:58 PM
Last Post: menator01
  how to manage crypto trading flooding data from exchange servers Mikeardy 0 1,209 Dec-26-2021, 08:31 PM
Last Post: Mikeardy
  Sample labels from excel file in order to put them on x-axis and y-axis of a plot hobbyist 11 4,232 Sep-14-2021, 08:29 AM
Last Post: hobbyist
  Play the next music in a list Pymax 0 1,181 Jul-28-2021, 07:27 PM
Last Post: Pymax
  Python Regular expression, small sample works but not on file Acernz 5 2,858 Jun-09-2021, 08:27 PM
Last Post: bowlofred
  Real Time Audio Processing with Python Sound-Device not working Slartybartfast 2 3,879 Mar-14-2021, 07:20 PM
Last Post: Slartybartfast
  Play fixed frequency sound in python 3 jpezz 2 2,723 Feb-07-2021, 08:21 PM
Last Post: jpezz

Forum Jump:

User Panel Messages

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