Rockbox Technical Forums

Support and General Use => Recording => Topic started by: aomimezura on April 09, 2011, 02:25:23 PM

Title: Using your mp3 as a usb mic?
Post by: aomimezura on April 09, 2011, 02:25:23 PM
Has anyone thought of or know a way to do this? It would be great if i could use a program to emulate it and make my mp3 send audio directly to the computer through usb. It seems like it would be an easy thing, but i haven't found anything online related to this.
Title: Re: Using your mp3 as a usb mic?
Post by: Namelis1 on April 09, 2011, 02:35:05 PM
If you're on a PC Tower, you can stick a line-in from your mp3 player to the PC.

Only problem is that the recording app keeps falling asleep. I'm sure there's a setting buried somewhere tho.
Title: Re: Using your mp3 as a usb mic?
Post by: bluebrother on April 09, 2011, 03:41:28 PM
make my mp3 send audio directly to the computer through usb. It seems like it would be an easy thing, but

No, this is not easy.

There are two possible options for this:
1. record and encode on the mp3 player and transmit a final mp3 file to the PC. This is a problem since not both PC and mp3 player can access the players drive at the same time. If the player is connected to the PC via USB then the PC sees its filesystem and the player cannot access it anymore until disconnected.

2. Make the mp3 player act as a USB microphone. This means it needs to act as a sound card. This is a completely different use case for USB connection and requires the USB stack on the mp3 player doing something different. This is neither implemented right now nor is the Rockbox USB stack intended to do this (you need a different type of transfer messages for audio).

So while 2. should be possible it's not easy. And it's only possible for players that have USB via software.