Go to advanced search

by av8tor
Mon Jun 30, 2014 7:48 pm
Forum: General discussion
Topic: Problem with Sox Silence when using multiple sound cards.
Replies: 0
Views: 876

Problem with Sox Silence when using multiple sound cards.

I'm trying to run 2 sound cards, each recording audio from a different radio. I'm using the silence command so that there is no space between radio conversations. Below is the script file I'm running to start the processes: export AUDIODEV=hw:0,0 sleep 1 rec -r 44100 -c 1 -p | sox -p zero.mp3 silenc...
by av8tor
Sun Jun 22, 2014 12:11 pm
Forum: General discussion
Topic: rec WARN channel problem when using multiple sound cards
Replies: 4
Views: 2891

Re: rec WARN channel problem when using multiple sound cards

You're memory is spot on! Thanks, tried those commands and it seems to be working much better and no warnings. Now just can't wait for my other usb sound cards to get here and see if this all holds together while running 4 sound cards on 1 Raspberry Pi. The only issue I get now is from time to time ...
by av8tor
Sat Jun 21, 2014 7:20 pm
Forum: General discussion
Topic: rec WARN channel problem when using multiple sound cards
Replies: 4
Views: 2891

Re: rec WARN channel problem when using multiple sound cards

Ok, that makes sense however why can't I set up both sound cards to only deal with 1 (right) channel. Any time I try to do a "rec" on my 2nd sound card it forces it to channel 2. I'm afraid that when I get a 3rd sound card its going to try and say "3" and get nothing, possibly and error instead of a...
by av8tor
Sat Jun 21, 2014 1:39 pm
Forum: General discussion
Topic: rec WARN channel problem when using multiple sound cards
Replies: 4
Views: 2891

rec WARN channel problem when using multiple sound cards

I have 2 USB sound cards connected to my Raspberry. Each setup to record a different radio audio in mono. When I start the 2nd "rec" I keep getting a warning "rec WARN formats: can't set 1 channels; using 2" I thought channels meant 1=Mono, 2=Stereo. I want both sound cards to record in Mono. Even w...
by av8tor
Sun Mar 30, 2014 11:38 am
Forum: General discussion
Topic: Raspberry, PHP, I2C, and the MCP23017 Port Expander
Replies: 7
Views: 3863

Re: Raspberry, PHP, I2C, and the MCP23017 Port Expander

sudo is always a problem because of the delay. The obvious solution is to either run your program as root or change the I2C calls so that a semi-normal user can run the program. Set the ownership and mode of i2cset and i2cget. Change the owner to root and set the mode to 4755. Now anyone can use th...
by av8tor
Sat Mar 29, 2014 8:58 pm
Forum: General discussion
Topic: Raspberry, PHP, I2C, and the MCP23017 Port Expander
Replies: 7
Views: 3863

Raspberry, PHP, I2C, and the MCP23017 Port Expander

I'm building an application on the Raspberry that required more I/O pins then the GPIO offered. So using i2c and the MCP23017 IC I'm having partial success. I can execute the i2cset commands from the command line and they work perfectly, example: To set up GPB0-7 as outputs: sudo i2cset -y 1 0x20 0x...
by av8tor
Mon Mar 24, 2014 8:56 pm
Forum: General discussion
Topic: Can I expand the file system of an image onto a larger SD?
Replies: 1
Views: 507

Can I expand the file system of an image onto a larger SD?

I saved an image of an 8GB SD card using win32diskimager. I then used win32diskimager to write the image to an 16GB SD card. When I booted the Raspberry with the 16GB card and did the df -h command it appeared as if it was only an 8GB SD card. I then ran sudo raspi-config and selected the 'expand fi...
by av8tor
Fri Mar 21, 2014 9:33 pm
Forum: General discussion
Topic: Touch screen problems
Replies: 2
Views: 1708

Re: Touch screen problems

Hi, well you live and learn, but I would of done the research before purchasing. Have you read the 2 reviews on the link you posted? You're not the only one with the problem. Sorry I can't be of any help. Texy Actually yes I did, one guy had problems while another guy had no problems. I would have ...
by av8tor
Fri Mar 21, 2014 2:18 pm
Forum: General discussion
Topic: Touch screen problems
Replies: 2
Views: 1708

Touch screen problems

I just received my Tontec 7" Raspberry Pi LCD Touch Screen Display TFT Monitor AT070TN90 with Touchscreen Kit HDMI VGA Input Driver Board that I purchased off Amazon (http://www.amazon.com/gp/product/B00HNLXZHO/ref=oh_details_o01_s00_i01?ie=UTF8&psc=1) The TFT Monitor display works great, first try ...
by av8tor
Thu Mar 13, 2014 3:53 pm
Forum: General discussion
Topic: 2 Sound Cards Streaming Audio from 1 Raspberry Pi almost.
Replies: 1
Views: 366

Re: 2 Sound Cards Streaming Audio from 1 Raspberry Pi almost

After doing more research and experimenting I found my own answer. In case others are having same problem with 2 sounds cards here is the answer. Edit /boot/cmdline.txt and add the highlighted piece: dwc_otg.lpm_enable=0 dwc_otg.speed=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=...
by av8tor
Thu Mar 13, 2014 3:08 pm
Forum: General discussion
Topic: 2 Sound Cards Streaming Audio from 1 Raspberry Pi almost.
Replies: 1
Views: 366

2 Sound Cards Streaming Audio from 1 Raspberry Pi almost.

I am trying to use one Raspberry to stream 2 different audio sources to an Icecast server. I have 1 stream working perfectly. I have one Darkice.cfg file setup for device = plughw:0,0 and a second Darkice.cfg file setup for device plughw:1,0 I can have either Darkice / sound card playing perfectly h...
by av8tor
Wed Mar 12, 2014 5:26 pm
Forum: General discussion
Topic: 2 sound cards on 1 Raspberry Pi
Replies: 0
Views: 389

2 sound cards on 1 Raspberry Pi

I am trying to connect 2 sound cards to my Raspberry. Object is to stream 2 different audio sources to an Icecast server via Darkice. My first sound card is working perfect. When I setup Darkice.cfg I set the device to plughw:1,0 When I installed the second sound card I can't figure out what value I...
by av8tor
Wed Mar 12, 2014 12:38 am
Forum: General discussion
Topic: I am trying to take Mic Audio from Sound card and play.
Replies: 1
Views: 459

I am trying to take Mic Audio from Sound card and play.

I think this would be simple, but just can't find the correct commands. I have a USB sound card plugged into my Raspberry, I am feeding audio into the sound card's mic jack. In as real-time as possible (a few second delay is ok) have that audio come out the 3.5mm Raspberry speaker jack. Thanks George

Go to advanced search