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

Audio file conversion for linux users #1

Open
bushjames opened this issue Jan 22, 2021 · 0 comments
Open

Audio file conversion for linux users #1

bushjames opened this issue Jan 22, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@bushjames
Copy link

bushjames commented Jan 22, 2021

Awesome work on this project. Many thanks. This saved me a lot of pain extracting some audio I recorded to a "creative" tonie that I thought was lost for good. This is not really an issue but a suggestion for an addition to the wiki:

Linux users can follow the following procedure to get mp3 files from the device:

this procedure does not damage the device but may invalidate the warranty!!!

  1. Take box apart and extract the SD card (carefully!)
  2. Use card reader to copy all the files from the CONTENT folder on the card to your PC.
  3. Replace SD card (carefully!)
  4. Put box back together and make sure it works
  5. Go through all the folders in the extracted content and in each
    1. run: $ mv {name of file} audio.ton this just renames the file to something more useful
    2. run: $ dd bs=4092 skip=1 if=audio.ton of=trim.ogg this removes the tonies header from the file and leaves plain ogg data
    3. run: $ ffmpeg -i trim.ogg done.mp3 this extracts the ogg format audio and reencodes it to a local file called done.mp3
  6. Now you can test that done.mp3 plays, which it should if the header size is not something unusual. You can change the header size in the dd command if needed (the bs parameter). Note that I found a header size of 4096 on a creative tonie vs 4092 on standard ones.

Also, dont rip anything illegally!!

@SciLor SciLor added the documentation Improvements or additions to documentation label Jan 27, 2021
ivanchubb added a commit to ivanchubb/toniebox that referenced this issue Oct 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants