Not logged in. · Lost password · Register
Forum: OpenSource Projects FDMS-FS RSS
Audacity plugins ??
Page:  1  2  next 
ziotibia81 #1
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
Subject: Audacity plugins ??
Someone think possible to develope an Audacity plugin to read and write directly FDMS disks?

My idea is attach FDMS disk at SCSI connector in my PC, open Audacity and see directly all recorded traks as
Audacity traks, modify traks and save direcly over FDMS filesystem.

It's only science fiction idea ??
draemon #2
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
Subject: Not a plugin but...
You can already load the tracks directly into audacity and play them, but you don't need a plugin.

Since FDMSFS is a filesystem driver, it simply makes the FDMS disk appear like any other hard disk - with a load of .wav files.

So you mount the disk, and load the files directly into audacity. The tracks are read directly off the disk - you don't have to rip/copy them.

There isn't any write support at present, however. You could edit the files and write them to your hard disk of course.

I assume you're running on linux, otherwise FDMSFS won't work, and "mounting a filesystem" won't mean anything to you.

Having said all this, you could write an audacity plugin, but I think there are better ways of achieving the same thing. A plugin for audacity would actually be harder than adding write support to the driver.

Out of interest, which fostex device do you have? I am currently adding D2424 and other 24-bit device support to the driver.

Have you tried the driver with your disk?

On write support: I do intend to implement this at some point, but only after I've made the driver work with every fostex device I can lay my hands on.
ziotibia81 #3
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
...I use only Lunux... don't warry ;-)

My recorder is Fostex vf160. I haven't try your triver yet, but I'm planning to do a little test in the next days.
draemon #4
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
Great. If the files show up but you can't play them, it's due to the 24bit format. I'm working on this and should have 24bit support soon - possibly this week. I'll post here when it's done.
ziotibia81 #5
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
Do you need an image of vf160 disk?
draemon #6
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
If you could, that would be great - Then I can check for certain that the new code works. I'm working on the 24bit code based on someone's D2424 image, but there may be additional differences with the VF160.

There are upload instructions on this forum. 100Mb would be good, or even 200Mb, but 10Mb is fine if your connection isn't fast enough.
ziotibia81 #7
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
Ok, I will record 8 tracks 10 minutes and upload 200M image... but I think that is better compress image in bz2 format before upload it....

Do you think possible read with FDMS-FS partitions formatted in backup mode (if there are difference between standard and backup mode) ?
draemon #8
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
Thanks! bz2 compression is a good idea - 7-zip is even better if you have it.

My FD-4 only supports "master 1", "master 2" and "normal" modes, so I don't know anything about backup mode per-se. Having said that, these three modes are similar, as is FDMS-2, so I would expect backup mode to be similar.

I'll need an image written in backup mode to make it work, but I don't think it would be too hard.

Which format are you recording the 200M image in, just so I know?
draemon #9
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
In reply to post #7
Subject: VF160 seems to be 16bit
I've just realised the VF160 isn't a 24bit machine. The existing version of the driver should work. Have you tried it?

If it doesn't, it probably just needs a simple change due to the disk format.
ziotibia81 #10
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
I've uploaded VF160 disk image. There are 8 tracks. Trk 1 is 10 minutes 500Hz sine wave, Trk 2 1000Hz .... Trk 8 4000Hz.
Image is in "Standard mode". VF160 format disk in "Standard, Quick, Erase" mode. Difference are only during formatting. Standard is longer (during formart each cluster are checked), Erase is used only to esare a disk prevous formatted in standard mode, Quick format disk without check cluster.

User manual tell of "Backup mode" but I haven't understood weel.... My english is not so good....
draemon #11
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
Thanks.

The disk image at least partially works with the current version of fdmsfs. This is what I did:

1. make sure the fuse module is loaded.
You can do "sudo modprobe fuse" then "sudo chmod a+rw /dev/fuse" to do a quick but insecure test.

2. Created a test mount point:
# mkdir mnt

3. mounted the filesystem:
# ./fdmsfs vf160-250m.dd mnt

4. Checked that the programs were detected:
# ls mnt
p000-4000HZ

5. Checked that the tracks were detected:
# ls mnt/p000-4000HZ
track-0.wav  track-1.wav  track-2.wav  track-3.wav  track-4.wav  track-5.wav  track-6.wav  track-7.wav

6. Played a couple of the tracks:
# aplay mnt/p000-4000HZ/track-0.wav
(I could hear the sine wave)
# aplay mnt/p000-4000HZ/track-1.wav
(I could hear a different sine wave)

7. Loaded all the tracks in audacity:
Load audacity
Project->Import Audio
Select all the tracks at once and hit "Ok"

Tracks 0-3 (1-4) seem ok, but the rest seem a bit mixed up. It may well just be because I don't have the full image, but try it on your machine with the full image and see if you get what you recorded.

If there really is a problem, I'll do my best to fix it. If anything, it's probably just a silly bug.
ziotibia81 #12
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
I will do some test.

I've uploaded image of "backup format". FDMS-FS already read it, but I think that format is not the same.
draemon #13
Member since Aug 2006 · 47 posts
Group memberships: Members, Trapdoor Team
Show profile · Link to this post
Thanks for your help.

I've had a very quick look at the backup image. It seems to be in a totally different format, but there does seem to be some structure to it. I'll see if I can download the manual to get a bit more information. If I can get it to work, I will.

I've just released version 0.2.2. The major feature is 24bit audio. I've added a check for premature end-of-file, and now it reads your 200M image properly. Any chance you could check it with some real images and let me know if it works?
ziotibia81 #14
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
ok, I'm preparig a regording with 16 traks for this tests
ziotibia81 #15
Member since Apr 2007 · 9 posts · Location: Verona - Italy
Group memberships: Members
Show profile · Link to this post
I've seen that in this version we have to specify bits and rate. On top of a FDMS disk (I don't know where...) there is description of
device (end firmware version) where disk was formatted. If you read this info you could detect automatically bits and rate of image.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smilies: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  1  2  next 
Go to forum
Unclassified NewsBoard 1.6.3 © 2003-6 by Yves Goergen
Current time: 2012-05-20, 06:09:59 (UTC +01:00)