Andras Simon:
>
> I have tracks in RG whose sound is produced by qsynth, and others
> that are played by hydrogen. Is there a way to record what I hear
> in RG? I can record separately the qsynth tracks by choosing
> Jack:qsynth, and the hydrogen tracks by choosing Jack:Hydrogen-1
> as the recording device in audacity, but then I have to
> (re)synchronize them. Other choices for recording device are
> Jack:rosegarden and Jack:system, but they apparently don't hear
> either of the tracks.
>
> Life would (I think) be simpler if audacity appeared as a writable
> client in qjackctl. (Should it, by the way?)
>
This is what jack_capture is for:
http://heim.ifi.uio.no/~ksvalast/arkiv/src/?C=M;O=D
Do you just want to record what you hear?
In case, just write:
$ jack_capture
Or in case you want to record the output ports
from hydrogen, rosegarden and qsynth, write something like this:
$ jack_capture -p rosegarden:out* -p hydrogen:out* -p qsynth:left -p qsynth:right
Erik Nomitch:
>
> Hi,
>
> I'm making a random "beat" generator based on a directory tree of
> samples and a map file. Currently, it shuffles sample order and
> creates a list of samples and their corresponding start time (example
> list below).
>
> I need a good way to mix all of these seperate samples into one single
> audio file based on the time at which each starts at. Any
> recommendations or thoughts would be appreciated. File format doesn't
> matter, I'll use whatever is easiest.
>
> Thanks,
> Erik Nomitch
>
> ex:
> at: 0.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 2.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 6.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 10.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 14.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 6.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 10.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 14.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 16.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 18.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 16.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 20.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 24.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 28.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 32.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> etc...
>
Below is some code I have hacked together for Snd to do this.
Compile snd with the "--with-guile" option, save your txt
above ("at: etc.") into a file called "score.txt", start
Snd, and paste the code below into the terminal you started
snd in.
Alternatively, you can save the code below into a
file, and use the "-b" option to start a gui-less
Snd which load and runs a specified script file.
(define (map-file filename func)
(let* ((fd (open-file filename "r"))
(line (read-line fd))
(ret '()))
(while (not (eof-object? line))
(set! ret (cons (func line) ret))
(set! line (read-line fd)))
(reverse ret)))
(define* (fileplay seconds filename)
(let* ((samples (seconds->samples seconds))
(end (+ (mus-sound-frames filename) samples)))
(for-each (lambda (ch)
(define fd (make-readin filename :channel ch))
(run
(lambda ()
(do ((i samples (1+ i))) ((= i end))
(out-any i (readin fd) ch)))))
(iota (mus-sound-chans filename)))))
(define (create score samplerate channels outfile)
(set! (optimization) 6)
(primitive-eval `(with-sound (:srate ,samplerate :channels ,channels :output ,outfile)
,@(map (lambda (start filename)
`(fileplay ,start ,filename))
(map string->number (map cadr (map-file score (lambda (l) (string-split l #\space)))))
(map cadddr (map-file score (lambda (l) (string-split l #\space))))))))
(create "score.txt" 44100 2 "/tmp/test.wav")
... they just sit in the corner of someone's studio, collecting dust, until some random guy (me) gets called in to do some backup and archiving sysadmin tasks, and stumbles upon them:
http://www.restivo.org/misc/mooggasm/
This one is Serial Number 1037/1038 (a FrankenMoog?), made by Mr. Moog himself, in April of 1971. Discrete transistors, NO OP AMPS, apparently impossible to keep in tune.
No, it doesn't work, alas. The power amp section works (speakers go BOOM! when the thing is powered up, and noise can be heard when its output is turned up), but only OSC3 can be heard, faintly, as if it were bleed-through. No sound at all from OSC 1 or 2.
I don't need yet another project, otherwise I'd offer to buy it, strictly for the cool factor... if it were ever working again it would be SO sweet.
-ken
Hi all !
I use an M-Audio Transit at home which was working pretty good for some weeks.
However, the playback hangs now... Although the device seems well detected and
the firmware loaded, there is no sound playing back anymore.
Some consequences of this new bug :
- amarok gets the device and seems to play, but I get nothing on the output,
- qjackctl detects the card, starts jackd but shows many XRUNs and always 0% as
process loading.
This bug can be reproduced on Debian Sid and Lenny. May it be due to some new
methods used by udev to load the firmware or abnormal detecting by
network-manager (see the logs) or a default config using 16 bit word length and
not 24 bits ? Can someone reproduce this bevahior using the Transit ?
Thanks for your help !
Guillaume
Here are my logs :
momo@wm16:~$ dmesg
[10789.912122] usb 4-2: new full speed USB device using uhci_hcd and address 15
[10790.068078] usb 4-2: configuration #1 chosen from 1 choice
[10790.075317] usb 4-2: New USB device found, idVendor=0763, idProduct=2806
[10790.075323] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10790.075326] usb 4-2: Product: Unknown
[10790.075328] usb 4-2: Manufacturer: Unknown
[10790.500038] usb 4-2: reset full speed USB device using uhci_hcd and address 15
[10790.637945] usb 4-2: device firmware changed
[10790.637945] usb 4-2: USB disconnect, address 15
[10790.752036] usb 4-2: new full speed USB device using uhci_hcd and address 16
[10790.977030] usb 4-2: configuration #1 chosen from 1 choice
[10791.047104] usb 4-2: New USB device found, idVendor=0763, idProduct=2006
[10791.047111] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10791.047114] usb 4-2: Product: Transit USB
[10791.047116] usb 4-2: Manufacturer: M-Audio
momo@wm16:~$ cat /proc/asound/cards
0 [ICH6 ]: ICH4 - Intel ICH6
Intel ICH6 with STAC9750,51 at irq 16
1 [pcsp ]: PC-Speaker - pcsp
Internal PC-Speaker at port 0x61
2 [USB ]: USB-Audio - Transit USB
M-Audio Transit USB at usb-0000:00:1d.3-2, full speed
momo@wm16:~$ lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 016: ID 0763:2006 Midiman M-Audio Transit
Bus 004 Device 002: ID 046d:c526 Logitech, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
momo@wm16:~$udo tail -f /var/log/syslog
Jan 19 14:12:26 wm16 kernel: [10789.912122] usb 4-2: new full speed USB device
using uhci_hcd and address 15
Jan 19 14:12:26 wm16 kernel: [10790.068078] usb 4-2: configuration #1 chosen
from 1 choice
Jan 19 14:12:26 wm16 kernel: [10790.075317] usb 4-2: New USB device found,
idVendor=0763, idProduct=2806
Jan 19 14:12:26 wm16 kernel: [10790.075323] usb 4-2: New USB device strings:
Mfr=1, Product=2, SerialNumber=0
Jan 19 14:12:26 wm16 kernel: [10790.075326] usb 4-2: Product: Unknown
Jan 19 14:12:26 wm16 kernel: [10790.075328] usb 4-2: Manufacturer: Unknown
Jan 19 14:12:26 wm16 NetworkManager: <debug> [1232370746.582669]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2806_noserial').
Jan 19 14:12:26 wm16 kernel: [10790.500038] usb 4-2: reset full speed USB device
using uhci_hcd and address 15
Jan 19 14:12:27 wm16 kernel: [10790.637945] usb 4-2: device firmware changed
Jan 19 14:12:27 wm16 kernel: [10790.637945] usb 4-2: USB disconnect, address 15
Jan 19 14:12:27 wm16 madfuload: cannot reset device: (19) No such device
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.202204]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.218915]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.222983]
nm_hal_device_removed(): Device removed (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2806_noserial').
Jan 19 14:12:27 wm16 kernel: [10790.752036] usb 4-2: new full speed USB device
using uhci_hcd and address 16
Jan 19 14:12:27 wm16 kernel: [10790.977030] usb 4-2: configuration #1 chosen
from 1 choice
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.490825]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial').
Jan 19 14:12:27 wm16 kernel: [10791.047104] usb 4-2: New USB device found,
idVendor=0763, idProduct=2006
Jan 19 14:12:27 wm16 kernel: [10791.047111] usb 4-2: New USB device strings:
Mfr=1, Product=2, SerialNumber=0
Jan 19 14:12:27 wm16 kernel: [10791.047114] usb 4-2: Product: Transit USB
Jan 19 14:12:27 wm16 kernel: [10791.047116] usb 4-2: Manufacturer: M-Audio
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.564677]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if1').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.592247]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.612340]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_alsa_playback_1').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.616378]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_oss_pcm_1').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.617723]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_alsa_playback_0').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.621149]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_alsa_capture_0').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.625268]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_oss_pcm_0').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.627067]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_oss_pcm_0_0').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.636640]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_alsa_control__1').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.653518]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if0_oss_mixer__1').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.701431]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_if2').
Jan 19 14:12:27 wm16 NetworkManager: <debug> [1232370747.727463]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_763_2006_noserial_usbraw').
Jan 19 14:12:28 wm16 chipcardd[5943]: devicemanager.c: 3373: Changes in hardware
list
JACK log during XRUNs:
back from client event poll after 123 usecs
client event poll on 16 for qjackctl starts at 187851600685
back from client event poll after 1746 usecs
Roger E wrote:
> david wrote:
>> Using Debian Etch, no sound, nothing. Even with envy24control set.
>>
>> Booted the PC with a Sidux Live CD (2008-4 release) and Kaffeine plays
>> through the Audiophile without doing anything.
>>
>> I tried capturing the asound.state file when running Sidux, copied
>> that to replace my existing state file, reloaded it using alsactl -
>> and still no sound.
>>
>> What's up with that?
>>
> Audiophile 2496 in Lenny here works fine. I've attached my asound.state.
> I do get a boot error but assume it's because 2496 wasn't present when I
> first set up the system? All audio works fine, though, including
> Kaffeine and Jack apps.
Thanks, but that didn't help, either. I even tried deleting asound.state
and rebooting, but no luck.
I ran alsaconf, let it find the Audiophile and modify modprobe.d. That
put the Audiophile in as hw:0 and appears to have made it the ALSA default.
I'm glad that Linux audio is so straightforward to set up.
--
David
gnome(a)hawaii.rr.com
authenticity, honesty, community
---------- Forwarded message ----------
From: Justin Smith <noisesmith(a)gmail.com>
Date: Sat, Jan 24, 2009 at 9:59 PM
Subject: Re: [LAU] mixing multiple samples into a single audio file
based on start times
To: Erik Nomitch <enomitch(a)gmail.com>
On Sat, Jan 24, 2009 at 9:46 PM, Erik Nomitch <enomitch(a)gmail.com> wrote:
> Hi,
>
> I'm making a random "beat" generator based on a directory tree of
> samples and a map file. Currently, it shuffles sample order and
> creates a list of samples and their corresponding start time (example
> list below).
>
> I need a good way to mix all of these seperate samples into one single
> audio file based on the time at which each starts at. Any
> recommendations or thoughts would be appreciated. File format doesn't
> matter, I'll use whatever is easiest.
>
> Thanks,
> Erik Nomitch
>
> ex:
> at: 0.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 2.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 6.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 10.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 14.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 6.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 10.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 14.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 16.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 18.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> at: 4.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2A.wav
> at: 8.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_C2S.wav
> at: 12.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1A.wav
> at: 16.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_T1S.wav
> at: 20.0 play /home/tux/.projects/elign/808/clap/808Clap-Kult_aOrig.wav
> at: 24.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01.wav
> at: 28.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_ST.wav
> at: 32.0 play /home/tux/.projects/elign/808/clap/808Clap-R8_01_VT1.wav
> etc...
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user(a)lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>
I know that ecasound is designed to make it easy to do this sort of
thing. A second option is using your favorite text manipulation
programming language to generate an ardour session file (ardour
session files are human readable/editable XML, I recommend loading and
arranging a few clips in ardour, saving the session, and using the
resulting file as a template if you go that route).
Has anybody successfully used the ALSA snd-hrtimer module, as present in
ALSA 1.0.18a and 1.0.19? It seems to cause lock-ups in just a few
seconds on a 2.6.27 kernel for me.
The backstory to this is that I am trying to use Rosegarden on a 2.6.27
non-realtime kernel (a backport for Ubuntu Hardy from the kernel PPA).
Rosegarden requires an ALSA timer (it cannot use /dev/rtc0 directly).
The system timer-based snd-timer module works at 250 Hz (too coarse) and
the traditional snd-rtctimer module is gone after 2.6.24. Therefore I
tried to upgrade ALSA and use the new hrtimer module, which as reported
doesn't work...
As to the real-time 2.6.27 kernel, which I am sure everybody will advise
me to use, it has some problems for me (including bad interactions with
other drivers leading to lock-ups).
Any thoughts?
Thanks,
Dan
Hi all,
Well, I just want to get started with sound edititing and so on under Linux and I am currently using Ubuntu Intrepid. Is it hard to get jackd to run under it?
I want to use the jconv reverb with it as well.
Many thanks for any info,
Christian
On 1/23/09, Justin Smith <noisesmith(a)gmail.com> wrote:
> Audacity does not play very well with jack at the moment, though they
> are looking to change that soon. Ardour and qtractor are both going to
> be a better bet for recording from two apps at once.
I was kind of hoping that the culprit was my audacity or jackd
blindness (perhaps some missing connection in qjackctl). But
apparently no such luck...
Thanks!
Andras