From: Nick B. <n.j...@el...> - 2003-02-25 14:06:50
|
Just a thought... Studio uses the oss interface, because it is a very old program and ALSA was very immature when it was written (and it isn't now? All my computers have just had their sound broken completely *again* so I'm not apologing for sticking to OSS, esp as I don't need real-time response. Grrrrr... Spot the debian user :) If you are using ALSA, you will need the pcm-oss module loaded. If you do /sbin/lsmod, is it there? I would have thought so, because you say it starts up without complaint and plays wave files. If this is the case, /dev/dsp must be fine. I will think about alsifying Studio as soon as ALSA actually document anything. Hell, I'll even start teaching it in my course! Meanwhile, when I manage to get any sound back on my debian Sid systems, I'll take a further look at what's going on here. If you are really stuck and need an editor desperately, you can always resort to audacity if it is packaged for your distribution. Of course, you won't get all the excellent features of Chris' Sox program, but at least you can record/edit/save with it (and rather well, as it happens). Sorry to be so useless at the moment. Nick/ Thomas Widlundh wrote: >Hi Nick, >I'll get some different errors depending on what I tried record, the linein, >the CD, the mic and so on. What I understand it's some kind of tk-errors. >This LINE(Id) I do recognize in some errors. > >Here is what I get trying to record with the linein: >can't read "LINE(Id)": no such element in array >can't read "LINE(Id)": no such element in array > while executing >".plotbox.cs.canvas move $LINE(Id) [expr $PLOT(Total) - 1 - [lindex >[.plotbox.cs.canvas coords $LINE(Id)] 0]] 0" > (procedure "Reader" line 21) > invoked from within >"Reader file6" > >Here is what I get trying to record the CD: >syntax error in expression "500 - 1 - " >syntax error in expression "500 - 1 - " > while executing >"expr $PLOT(Total) - 1 - [lindex [.plotbox.cs.canvas coords $LINE(Id)] 0" > (procedure "Reader" line 21) > invoked from within >"Reader file9" > >Here is what I get trying to record the mic: >syntax error in expression "500 - 1 - " >syntax error in expression "500 - 1 - " > while executing >"expr $PLOT(Total) - 1 - [lindex [.plotbox.cs.canvas coords $LINE(Id)] 0" > (procedure "Reader" line 21) > invoked from within >"Reader file12" > >No errors what so ever while lunching the Sound Studio. >I am able to load and play an existing wav-file. And the sound appears on the >screen. Loading mp3s courses an error though, something with a childprocess. >I'm not able to record something from above though. The wav-files seems to be >created but no sound in them what so ever. > >Thomas > > > > > >>I'd echo what the others have said. You might try using rec and play >>from the command line to see if you can get any sound in at all. >> >>If the audio device won't open, you should get an error to do with "no >>such device" from the studio tool program. I don't think it's that, but >>you never know. >> >>If I recall, the variable LINE(Id) gets set in FillPlot when a file's >>read (either from the sound card or from disk). It could easily fail if >>no data is read. Quickly browsing plot.tk shows it contains the handle >>on the red play line. If something untoward has happened, this bit >>produce a quite confusing error message perhaps. >> >>Unfortunately, my ALSA's broken at the moment, so I can't verify this >>very well. I may be in touch when I've got it working again :( >> >>Nick/ >> >>Thomas Widlundh wrote: >> >> >>>Hi, >>>I'm trying to record a line in. It's coming into the computer, alright. >>>I can manipulate the sound on the mixer, but when I try to record - >>>nothing. The file is created but contains nothing. >>>I get en error: >>>can't read "LINE(Id)": no such element in array >>>can't read "LINE(Id)": no such element in array >>> while executing >>>".plotbox.cs.canvas move $LINE(Id) [expr $PLOT(Total) - 1 - [lindex >>>[.plotbox.cs.canvas coords $LINE(Id)] 0]] 0" >>> (procedure "Reader" line 21) >>> invoked from within >>>"Reader file6" >>>What does this mean and what to do? >>>Regards, >>>Thomas >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Studio-users mailing list >>>Stu...@li... >>>https://lists.sourceforge.net/lists/listinfo/studio-users >>> >>> > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Studio-users mailing list >Stu...@li... >https://lists.sourceforge.net/lists/listinfo/studio-users > > -- Dr Nick Bailey n.j...@el... Centre for Music Technology http://cmt.gla.ac.uk/ Dept of Electronics and Electrical Eng http://www.elec.gla.ac.uk/ The University of Glasgow http://www.gla.ac.uk European Copyright Directive/Software Patenting: Help us fight the war on terrorism. http://cmt.gla.ac.uk/Info/swpatents.html The OpenDrama Survey: please tell us your opinions! http://markov.music.gla.ac.uk/Projects/OpenDrama/OD-Survey/ |