Giter Site home page Giter Site logo

Buy me a coffee 404 about x32-recorder HOT 4 OPEN

pjwiseman avatar pjwiseman commented on June 12, 2024
Buy me a coffee 404

from x32-recorder.

Comments (4)

jajito avatar jajito commented on June 12, 2024

Hi Peter, thanks, I hope it will be useful, and let me know how you improve it!.

from x32-recorder.

pjwiseman avatar pjwiseman commented on June 12, 2024
  1. Upgrade to Python3
  2. Add comments (things I discovered as I work through the code)
  3. Fix exceptions (as many as I can). E.g. race condition on exit fixed.
  4. Additional guidance to explain some elements of the user interface among set-up. (E.g. Mackie, enable remote daw)
  5. Possibly some install options. (Simply because I haven't installed some things, e.g. samba, as l will use scp)
  6. Possibly some testing options. As I only get in front of an x32 once a month to test.
  7. Possibly a logging option (which I can analyse after a live session)
  8. Fix any issues I find (for example, stop didn't kill the recording, resulting in multiple recordings in parallel). Possibly a fault I introduced moving to python3.
  9. Code refactoring/renaming to English.

PS. I like your code. Clear separation into functions. And... I have what I needed, a live capture for training purposes using a Raspberry PI 4 with no screen. Powered by battery to avoid power hum issues.

Sadly, I have "underrun" which I'll need to troubleshoot further. I'm hoping it is just a user stick that is below spec. Formatted to xfs as per your guidance. But playback seems ok, so it seems mild.

Peter ([email protected])

from x32-recorder.

jajito avatar jajito commented on June 12, 2024

Hi Peter.
If you consider the amount of data to be recorded in a 32 channel recording.. Yo have to use the fastest stick.
But with a Raspberry Pi 4 and XFS format, it works flawless. Remember to feed the RPI 4 well, 3 amps minimum, and good cooling, as it gets very hot. Other format than XFS will not work or an older RPI.
The recording stops if you stop it in the program or kill it afterwards, but if you get out of the program without stoping the recording or don't kill the process afterwards, the recording will continue, that's how SOX works, possibly the underrun is because you were recording 64 or 98 tracks in several paralell recordings...
Feel free to improve "the creature".

from x32-recorder.

pjwiseman avatar pjwiseman commented on June 12, 2024

Thanks. I realised overnight that I think I only saw the underruns in the second and definitely third parallel recording. Yes, those recordings are likely due to me killing the app without killing sox. I forgot about needing rec+stop to stop. It was logging unable to kill due to play_recorded_process being empty, so that may have helped my confusion. I'll troubleshoot the log further, make sure it highlights the rec+stop requirement, and determine why that variavle is empty. I have a 14GB, 1hr50m, 16 track recording on a 32GB stick, which is 2.3MB/s writes. I can do a sustained dd copy of that file with bs=1000000 from/to the same stick at 6MB/s, 42min. My battery is capable of 3A. I'll need to monitor heat and CPU utilisation. I have a flirc case which should do a good job as a heat sink. I discovered that the X32 is configured at 44100 sampling rate and sox is defaulting to 48000. I'll change the X32 sampling rate. When live, I'm connecting to the PI using JuiceSSH from an Android phone using MOSS to prevent disconnection loss. I've pushed my work in progress to my github repo.

from x32-recorder.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.