Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: IMG component for foobar (Read 3714 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

IMG component for foobar

hello, i have this music album which come with a .cue and a .IMG file, which component do i need to play this album ? 

IMG component for foobar

Reply #1
anyone knows ?

IMG component for foobar

Reply #2
perhaps you can mount the image with something like virtual clone drive?

IMG component for foobar

Reply #3
hello, i have this music album which come with a .cue and a .IMG file, which component do i need to play this album ? 

If the .img file is actually just a raw PCM, then you can convert it by many tools/encoders that accept raw PCM. For example:
Code: [Select]
flac --force-raw-format --endian=little --channels=2 --bps=16 --sample-rate=44100 --sign=signed foo.IMG -o foo.flac

Then edit the file name in .cue, and you can feed it to fb2k. You had better check it by CUETools or something though.

IMG component for foobar

Reply #4
i cant mount the img file, how do i use your code ?

IMG component for foobar

Reply #5
i cant mount the img file, how do i use your code ?

You have to run flac.exe from the command prompt.
If you are unfamiliar, you can import raw files by Audacity (a GUI waveform editor). File->Import->Raw Data.
However, make sure that audacity doesn't automatically apply dither when saving the file. Dither is on by default, which is not what you want in this case.

IMG component for foobar

Reply #6
Should the approach above fail, you can open the .CUE in Notepad. I'm curious how it looks. Pasting it here might help solve the problem. Wrap it in a [ codebox ] tag so it won't make the screen scroll.

IMG component for foobar

Reply #7
here is the cue

Quote
FILE "yakimochi.img" BINARY
  TRACK 01 AUDIO
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    INDEX 01 03:52:08
  TRACK 03 AUDIO
    INDEX 01 06:19:08
  TRACK 04 AUDIO
    INDEX 01 08:39:12
  TRACK 05 AUDIO
    INDEX 01 11:02:07
  TRACK 06 AUDIO
    INDEX 01 13:36:10
  TRACK 07 AUDIO
    INDEX 01 15:54:55
  TRACK 08 AUDIO
    INDEX 01 18:12:38
  TRACK 09 AUDIO
    INDEX 01 20:36:73
  TRACK 10 AUDIO
    INDEX 01 22:51:51
  TRACK 11 AUDIO
    INDEX 01 25:26:27
  TRACK 12 AUDIO
    INDEX 01 27:41:41
  TRACK 13 AUDIO
    INDEX 01 30:15:31
  TRACK 14 AUDIO
    INDEX 01 32:49:54
  TRACK 15 AUDIO
    INDEX 01 35:06:29
  TRACK 16 AUDIO
    INDEX 01 37:37:51
  TRACK 17 AUDIO
    INDEX 01 39:38:72
  TRACK 18 AUDIO
    INDEX 01 42:19:74
  TRACK 19 AUDIO
    INDEX 01 44:38:12
  TRACK 20 AUDIO
    INDEX 01 47:00:09

IMG component for foobar

Reply #8
Should have been pointed out earlier in the topic: foobar2000 does not support BINARY image files, it only supports headered audio files (any format supported by foobar2000, really) referenced with the WAVE tag.

So, if you want that img to work, you can either prepend a valid WAV tag onto it, or you can use the command line FLAC.EXE tool to encode a FLAC from it, using the raw format arguments to specify a format of 44100Hz 16 bit stereo.

A plug-in cannot fix this, since CUE is handled internally by the Standard Inputs Array component (foo_input_std), so support for BINARY tagged raw files would need to be added to the player itself.

 

IMG component for foobar

Reply #9
is there a way to convert this file to seperated mp3 tracks  ?