How to make single channel doubled
I have an audio track that's only in the left channel. I need to get it into both...Any suggestions?
Thanks.
http://www.bulletsandbones.com/GB/GBFAQ.html#leftspeakeronly
Similar Messages
-
I have been writing on - Pages- app for several years. Pages automatically uses double space between paragraphs. I can not figure out how to make single space between paragraphs. Tried everything. Please help!
Pages User Guide > http://manuals.info.apple.com/en_US/Pages_UserGuide.pdf
Open the user guide then press Command + F on your keyboard.
Type line spacing in the search field top right corner of that window. -
How to make single file from multiple PDF image?
Hi, it's my first question in SCN.
I promise my efforts for developing this site.
Lately, I made multiple PDF image by function 'CONVERT_OTFSPOOLJOB_2_PDF'.(each spool ID)
And I wanna make single .PDF file by merging these image in server directory(not local PC).
So I tried it following.
1. Each internal table resulted from CONVERT_OTFSPOOLJOB_2_PDF append one internal table.
BL_PDF + MF_PDF → PDF
2. Excute following command.
OPEN DATASET P_FILE FOR OUTPUT MESSAGE LV_MSG IN BINARY MODE.
IF SY-SUBRC = 0.
LOOP AT PDF.
MOVE PDF TO FIELD.
TRANSFER FIELD TO P_FILE.
CLEAR PDF.
ENDLOOP.
CLOSE DATASET P_FILE.
ENDIF.
But files was not merged, only last image was made as .PDF file instead.
How can I do it?
Thank you.Hi Sangrok,
Instead of preparing PDF multiple times, you can combine all the OTF data and then finally convert it into PDF. For saving the PDF onto application server, you can refer following report.
http://wiki.scn.sap.com/wiki/display/Snippets/To+convert+spools+to+PDF+and+place+it+in+Application+server+with+the+Generated+Partner+ID
Regards,
Aditya -
Hi, ALL
I have this query like below and I see that it produced 3 <TABLE ACCESS FULL> for each Unioin, how to make it work with single Scan? It's simple table 2 colums, not indexes or PK, just for sample.
explain plan for
select count(*) from tt where amt between 0 and 100 union all
select count(*) from tt where amt between 100 and 200 union all
select count(*) from tt where amt >200
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 3 | 39 | 9 (67)| 00:00:01 |
| 1 | UNION-ALL | | | | | |
| 2 | SORT AGGREGATE | | 1 | 13 | | |
|* 3 | TABLE ACCESS FULL| TT | 2 | 26 | 3 (0)| 00:00:01 |
| 4 | SORT AGGREGATE | | 1 | 13 | | |
|* 5 | TABLE ACCESS FULL| TT | 3 | 39 | 3 (0)| 00:00:01 |
| 6 | SORT AGGREGATE | | 1 | 13 | | |
|* 7 | TABLE ACCESS FULL| TT | 3 | 39 | 3 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - filter("AMT">=0 AND "AMT"<=100)
5 - filter("AMT">=100 AND "AMT"<=200)
7 - filter("AMT">200)
Note
- dynamic sampling used for this statementSQL> explain plan for
2 select count(*) from emp where sal between 0 and 100 union all
3 select count(*) from emp where sal between 100 and 200 union all
4 select count(*) from emp where sal > 200
5 /
Explained.
SQL> @?\rdbms\admin\utlxpls
PLAN_TABLE_OUTPUT
Plan hash value: 3840822464
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 3 | 12 | 3 (67)| 00:00:01 |
| 1 | UNION-ALL | | | | | |
| 2 | SORT AGGREGATE | | 1 | 4 | | |
|* 3 | INDEX FULL SCAN| EMP_IDX3 | 1 | 4 | 1 (0)| 00:00:01 |
| 4 | SORT AGGREGATE | | 1 | 4 | | |
|* 5 | INDEX FULL SCAN| EMP_IDX3 | 1 | 4 | 1 (0)| 00:00:01 |
PLAN_TABLE_OUTPUT
| 6 | SORT AGGREGATE | | 1 | 4 | | |
|* 7 | INDEX FULL SCAN| EMP_IDX3 | 14 | 56 | 1 (0)| 00:00:01 |
Predicate Information (identified by operation id):
3 - access("SAL">=0 AND "SAL"<=100)
filter("SAL"<=100 AND "SAL">=0)
5 - access("SAL">=100 AND "SAL"<=200)
filter("SAL"<=200 AND "SAL">=100)
PLAN_TABLE_OUTPUT
7 - access("SAL">200)
filter("SAL">200)
24 rows selected.
SQL> explain plan for
2 with t as (
3 select count(case when sal between 0 and 100 then 1 end) cnt1,
4 count(case when sal between 100 and 200 then 1 end) cnt2,
5 count(case when sal > 200 then 1 end) cnt3
6 from emp
7 )
8 select cnt1 from t union all
9 select cnt2 from t union all
10 select cnt3 from t
11 /
Explained.
SQL> @?\rdbms\admin\utlxpls
PLAN_TABLE_OUTPUT
Plan hash value: 2586840053
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 3 | 39 | 6 (67)| 00:00:01 |
| 1 | TEMP TABLE TRANSFORMATION | | | | | |
| 2 | LOAD AS SELECT | | | | | |
| 3 | SORT AGGREGATE | | 1 | 4 | | |
| 4 | TABLE ACCESS FULL | EMP | 14 | 56 | 3 (0)| 00:00:01 |
| 5 | UNION-ALL | | | | | |
PLAN_TABLE_OUTPUT
| 6 | VIEW | | 1 | 13 | 2 (0)| 00:00:01 |
| 7 | TABLE ACCESS FULL | SYS_TEMP_0FD9D662A_D5091620 | 1 | 4 | 2 (0)| 00:00:01 |
| 8 | VIEW | | 1 | 13 | 2 (0)| 00:00:01 |
| 9 | TABLE ACCESS FULL | SYS_TEMP_0FD9D662A_D5091620 | 1 | 4 | 2 (0)| 00:00:01 |
| 10 | VIEW | | 1 | 13 | 2 (0)| 00:00:01 |
| 11 | TABLE ACCESS FULL | SYS_TEMP_0FD9D662A_D5091620 | 1 | 4 | 2 (0)| 00:00:01 |
18 rows selected.
SQL> SY. -
How to make Barcode Size double.
Hi,
I need to print Barcode with double size to existing Size.
In SE71, in Character Formats, There is no Size Specification is there. Cient requirement is to make the Barcode Double.
We are using RSNUM Barcode. In SE73, SAP is not allowing to create a new barcode or change the existing Barcode.
How can we make the BARCODE size double. What are the prerequisites that needs to be considered.
Thanks & Regards
Sathish Kumar.Hi
Sathish,
Do like below .
GO to Tcode SE73
Choose System Bar Code and press Change
Form the list choose your Barcode.
Double Click on it..Pop Up will show the existing Dimensions
Change them as per ur need ( Height and width will be available )
It needsTR ..Save
And job is done ,
Hope it Helps.
Praveen -
Apple Script: How to deactivate single channels of a layer?
Hi there,
can someone probably tell me how to deactivate specific channels of a layer?
Example: Photoshop file with two layers, say CMYK. I want to deactivate CMY of the first layer, so that only K can be seen.
Unfortunately I didn’t find any information in the PS scripting guide nor in the scripting reference.
Thanks for any help on this.
andyPaul, is correct you can't even do this in the app through the GUI. You would either need to duplicate your top layer loop through the channels that you don't want selecting all and clearing then going back to the composite or you could add an adjustment layer above the top grouped and use this by toggling its visibility (this is the way I would go). Paul 'AppleScript'? you've made me smile this morning what's come over you…
Added some code from scriptlistener…
tell application "Adobe Photoshop CS2"
activate
set Doc_Ref to the current document
tell Doc_Ref
if mode = CMYK then
set current layer to layer 1
-- delay 2
do javascript "Just_Black(); function Just_Black() {function cTID(s) { return app.charIDToTypeID(s); }; function sTID(s) { return app.stringIDToTypeID(s); }; var desc01 = new ActionDescriptor(); var ref4 = new ActionReference(); ref4.putClass( cTID('AdjL') ); desc01.putReference( cTID('null'), ref4 ); var desc02 = new ActionDescriptor(); desc02.putBoolean( cTID('Grup'), true ); var desc03 = new ActionDescriptor(); var list5 = new ActionList(); var desc04 = new ActionDescriptor(); var ref5 = new ActionReference(); ref5.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Cyn ') ); desc04.putReference( cTID('Chnl'), ref5 ); var list6 = new ActionList(); var desc05 = new ActionDescriptor(); desc05.putDouble( cTID('Hrzn'), 0.000000 ); desc05.putDouble( cTID('Vrtc'), 255.000000 ); list6.putObject( cTID('Pnt '), desc05 ); var desc06 = new ActionDescriptor(); desc06.putDouble( cTID('Hrzn'), 255.000000 ); desc06.putDouble( cTID('Vrtc'), 255.000000 ); list6.putObject( cTID('Pnt '), desc06 ); desc04.putList( cTID('Crv '), list6 ); list5.putObject( cTID('CrvA'), desc04 ); var desc07 = new ActionDescriptor(); var ref6 = new ActionReference(); ref6.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Mgnt') ); desc07.putReference( cTID('Chnl'), ref6 ); var list7 = new ActionList(); var desc08 = new ActionDescriptor(); desc08.putDouble( cTID('Hrzn'), 0.000000 ); desc08.putDouble( cTID('Vrtc'), 255.000000 ); list7.putObject( cTID('Pnt '), desc08 ); var desc09 = new ActionDescriptor(); desc09.putDouble( cTID('Hrzn'), 255.000000 ); desc09.putDouble( cTID('Vrtc'), 255.000000 ); list7.putObject( cTID('Pnt '), desc09 ); desc07.putList( cTID('Crv '), list7 ); list5.putObject( cTID('CrvA'), desc07 ); var desc10 = new ActionDescriptor(); var ref7 = new ActionReference(); ref7.putEnumerated( cTID('Chnl'), cTID('Chnl'), cTID('Yllw') ); desc10.putReference( cTID('Chnl'), ref7 ); var list8 = new ActionList(); var desc11 = new ActionDescriptor(); desc11.putDouble( cTID('Hrzn'), 0.000000 ); desc11.putDouble( cTID('Vrtc'), 255.000000 ); list8.putObject( cTID('Pnt '), desc11 ); var desc12 = new ActionDescriptor();desc12.putDouble( cTID('Hrzn'), 255.000000 ); desc12.putDouble( cTID('Vrtc'), 255.000000 ); list8.putObject( cTID('Pnt '), desc12 ); desc10.putList( cTID('Crv '), list8 ); list5.putObject( cTID('CrvA'), desc10 ); desc03.putList( cTID('Adjs'), list5 ); desc02.putObject( cTID('Type'), cTID('Crvs'), desc03 ); desc01.putObject( cTID('Usng'), cTID('AdjL'), desc02 ); executeAction( cTID('Mk '), desc01, DialogModes.NO );}" show debugger on runtime error
end if
end tell
end tell -
How to access single channels of multichannel acquisition?
I want to access single channels of a multichannel acquisition in the Getting Started Analog Input.vi
The purpose of this is to analyse i.e. do Min-Max or FFT on the individual channels. Can somebody help me to unbundle the data? Why does AI Read give Scaled Data while in other vi Waveform data?Hi,
Getting Started Analog Input.vi uses AIRead.vi to read data from your hardware.
1. This is from the help about AIRead.vi:
"scaled data is a 2D array that contains analog input data in scaled data units. The data appears in columns, where each column contains the data for a single channel."
So to access the single channel you must use "Functions->Array->Index Array.vi" to get data from your 2D array. All you need is to wire your 2D array to this VI and the specified number to the "column" input node.
2. To change the Data type of array you receive from hardware you have to right-click on the AIRead.vi and choose any of 4 options (Binary Array, Scaled and Binary Arrays, Scaled Array, Waveform) from "Select Type" sub-menu.
Good luck.
Oleg Chutko. -
How to make response to double click of mouse event
could anyone give me some hints? I wanna a component to respond to a double click.But it triggers by single click,how to solve this problem?
Hello,
Let's say that 'c' is your component, you should have a code such as this one :
c.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e) {
if (e.getClickCount() == 2) {
// you have a double click on c
}); -
How to make a channel as a cetre channel in the sample portal?????
Hi,
i have developed a sample channel , i would like to make that as a centre channel in the sample portal.pls any one let me know how to do it
arunI don't quite understand the term "centre channel"
- however, you can set channel width to "full_top" or "full_bottom",
- you can set three column layout and have your "thick" channel in the middle.
- you can have a special "centre channel" tab template
- and so on...
Cheers,
Alex :-) -
How to make single port fowarding for camera by using airport extreme ???
hi
I have airport extreme model no A1143 (apple)
when I was using linksys ,I have camera
I reserve IP local for camera and then by aplication single port foward I put IP local for camera so I would get for the picture or video
Is any body can help by using apple airport extreme model no A1143
where should I put the IP local for the camera ?which application
thanks
Message was edited by: charlie368charlie368, Welcome to the discussion area!
Using AirPort Utility you can configure the AirPort Extreme base station (AEBS) to forward the port(s) to the camera. However the camera will need to be assigned a local IP address. The default local IP addresses are in the 10.0.1.x range.
To get to the camera from the internet, you would use the IP address provided by your ISP. This is the one used by the WAN side of the AEBS. -
How to make single page can only be accessed by one user at the same time
While a user is accessing a page and modifying the data in this page. Other users are blocked for this page. How can it be realized?
Any ideas or help are appreciated.
Edited by: wahaha on Oct 6, 2008 2:49 AMwahaha wrote:
While a user is accessing a page and modifying the data in this page. Other users are blocked for this page. How can it be realized?Assuming your scenario as you havnt mention anything. So means there are n number of users and you want that if any one of them accessing this page then nobody else will have access to that page.
-> Use flag in DB and whenever user accessing that page set the flag 1 after login and check condition while other user login.
-> After logout back to 0.
Well this is possible one of the solution, not the best one.Try to find some other also.
Sachin Kokcha -
How to make single rows in tables readonly
Hi All,
We have a table that is populated with data from a database read. One of columns in the read acts as a flag. If it is found that particular row is suppose to be readonly. During the read a check is done and if it is is found we call a simple javascript function that should make that row readonly.
The Code looks like this:
Code:
function disableRow (rowIndex) {
var table = document.all.mainTable;
var rowAttend = eval("document.all['" + idAttendRow + eval(rowIndex) + " ']");
var rowVolume = eval("document.all['" + idVolumeRow + eval(rowIndex) + " ']");
if (table) {
for (var c=0; c < rowAttend.cells.length; c++) {
//rowAttend.cells[c].style.backgroundColor = "#1AA047";
//rowAttend.cells[c].disabled = true;
rowAttend.cells[c].readOnly = true;
for (var c=0; c < rowVolume.cells.length; c++) {
//rowVolume.cells[c].style.backgroundColor = "#1AA047";
//rowAttend.cells[c].disabled = true;
rowAttend.cells[c].readOnly = true;
The colour and disable functions work fine but I can't make the readOnly work. Any help would be great. The cells are a combination of dropdowns and input fields.
CheersHi Luke,
You can't set readonly attribute for cells, because there's no such attribute for cells (tag <td>) in HTML DOM. It will not raise any javascript error, because javascript and HTML DOM allow you to add your customized attribute. In your case "readOnly" will treated as customized attribute.
In HTML DOM, cells was treated as a container inside row (tag <tr>), it's not an input, that's why it doesn't have readonly property.
However you can disable all DOM inside cells by set its disabled attribute into true, and that's what your previous code do. But becarefull, if you do this, you can't get all value inside that cell when you submit the Form.
Usually if I'm facing this problem, I will update the disabled attribute into false, just before submit the form.
Hope this help
Regards
David
ps:
1. If you want to disable all cells in one row, just disable the row, it will automatically disable all cells inside it, it will improve your javascript performance.
2. Your javascript will only work for IE, if you want it to work with other browser, change "document.all[]" with "document.getElementById()" -
How to make Single row of an entire collumn of table control- Changeable
Hi ,
In Module Pool , in table control , I've all the rows in a specific column as "read only". However, with a specific "if statement" I want one row of that column as editable.
For example ,
if itab-name1 = 'PRITHVI'.
Make that row, editable.
Keep the rest of the column unaffected.
I used the following code in my program in PBO:
module STATUS_0005 output.
Loop AT SCREEN .
if screen-name = '%#AUTOTEXT009'
AND I_MARKLIST-STUDENT_NAME1 = 'SUNIL SHARMA'.
SCREEN-INPUT = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
endmodule.
I've tried this, but in vain .. ! Please give me suitable solutions ASAP.Hi,
try like this..
in the PBO of screen flow logic..
loop at I_MARKLIST with control tc.
MODULE CHANGE.
endloop.
IN THAT CHANGE MODULE WRITE...
IF I_MARKLIST-STUDENT_NAME1 = 'SUNIL SHARMA'.
LOOP AT SCREEN.
IF SCREEN-NAME = '%#AUTOTEXT009'.
SCREEN-INPUT = 1.
ELSE.
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
SCREE-INPUT = 0.
MODIFY SCREEN.
ENDLOOP.
ENDIF. -
How to make single column scrollable in ALV report (for long Text)
I have a 20 columns which we need to display in ALV grid, including one column for long text. In long text column currently it showing 40 character. I tried to change output length of field catalog but it's not working.
Can any one help me ....
Thanks
Guru
Message was edited by:
gurusharan mandalhi,
pls remeove if u give like this in the layout.
gd_layout-colwidth_optimize = 'X'.
rgds
Anver -
How to do a single channel DAQ using NI-DAQ driver software with a PCI-MIO-16XE-10 card
Hi,
I would like to find out how I could do a simple one channel Data Acquisition from a signal generator using the NI-DAQ driver software with a PCI-MIO-16XE-10 card.
I have written some test problem but even when the signal generator is turned on/off I get back some weird values.
Here is my code.
CString sFunctionName("");
double volt[OUTPUT_POINTS*2];
double out[OUTPUT_POINTS*2];
short timebase, ready, code, stopped;
unsigned short sampleInterval;
int i, status, count=0;
unsigned long update, points;
short* ai_buffer;
short output_ch_vector[16];
int local_ITERATIONS = 2;
SAFEARRAYBOUND bound[1];
double dataItem = 9.9;
long j;
long k;
double* pTheValues;
LPTSTR lpsz_ErrMsg;
// Initialise device
status = Init_DA_Brds (deviceNumber, deviceNumberCode)
Initializes the hardware and software states of a National Instruments
DAQ device to its default state and returns a numeric device code that
corresponds to the type of device initialized
Init_DA_Brds(DEVICE, &code);
// Check return code from Init_DA_Brds
Code return should be 204: PCI-MIO-16XE-10.
if (code < 0)
CString sError;
sError.Format("Code error: %d", code);
if (code == -1)
sError = sError + ": No device found";
LPTSTR lpsz = new TCHAR[sError.GetLength()+1];
_tcscpy(lpsz, sError);
AfxMessageBox(lpsz);
delete lpsz;
return S_FALSE;
// Allocate memory for analog output and input arrays
//ao_buffer = new short[OUTPUT_POINTS*2];
ai_buffer = new short[OUTPUT_POINTS];
// Set double-buffering
status = DAQ_DB_Config (deviceNumber, DBmode)
Enables or disables double-buffered DAQ operations.
status = DAQ_DB_Config(DEVICE, 1);
if (status < 0 )
sFunctionName = "DAQ_DB_Config";
goto TidyUp;
// Get the rate parameters
status = DAQ_Rate (rate, units, timebase, sampleInterval)
Converts a DAQ rate into the timebase and sample-interval
values needed to produce the rate you want.
status = DAQ_Rate(RATE, 0, &timebase, &sampleInterval);
if (status < 0 )
sFunctionName = "DAQ_Rate";
goto TidyUp;
// Setup scan
status = SCAN_Setup (deviceNumber, numChans, chanVector, gainVector)
Initializes circuitry for a scanned data acquisition operation.
Initialization includes storing a table of the channel sequence
and gain setting for each channel to be digitized
status = SCAN_Setup(DEVICE, 1, ai_channels, gain);
if (status < 0 )
sFunctionName = "SCAN_Setup";
goto TidyUp;
status = SCAN_Start (deviceNumber, buffer, count, sampTimebase,
sampInterval, scanTimebase, scanInterval)
Initiates a multiple-channel scanned data acquisition operation,
with or without interval scanning, and stores its input in an array
status = SCAN_Start(DEVICE, ai_buffer, OUTPUT_POINTS, timebase, sampleInterval, timebase, 1000);
if (status < 0 )
sFunctionName = "SCAN_Start";
goto TidyUp;
while(count < local_ITERATIONS)
// Check whether we are ready to input another half-buffer
status = DAQ_DB_HalfReady(DEVICE, &ready, &stopped);
if (status < 0 )
sFunctionName = "DAQ_DB_HalfReady";
goto TidyUp;
if (ready == 1)
status = DAQ_DB_Transfer(DEVICE, ai_buffer, &points, &stopped);
if (status < 0 )
sFunctionName = "DAQ_DB_Transfer";
goto TidyUp;
count++;
// Clear the analog input
status = DAQ_Clear (deviceNumber)
Cancels the current DAQ operation
(both single-channel and multiple-channel scanned) and reinitializes the DAQ circuitry.
status = DAQ_Clear(DEVICE);
if (status < 0 )
sFunctionName = "DAQ_Clear";
goto TidyUp;
status = SCAN_Demux (buffer, count, numChans, numMuxBrds)
Rearranges, or demultiplexes, data acquired by a SCAN operation
into row-major order, that is, each row of the array holding the
data corresponds to a scanned channel
status = SCAN_Demux(ai_buffer, OUTPUT_POINTS * 2, 2, 0);
if (status < 0 )
sFunctionName = "SCAN_Demux";
goto TidyUp;
//Convert binary values to voltages (Doesn't actually take a reading from board)
status = DAQ_VScale (deviceNumber, chan, gain, gainAdjust, offset, count, binArray, voltArray)
Converts the values of an array of acquired binary data and the gain setting for that data
to actual input voltages measured.
status = DAQ_VScale (1, 0, 1, 1.0, 0.0, OUTPUT_POINTS , ai_buffer, volt);
if (status < 0 )
sFunctionName = "DAQ_VScale";
goto TidyUp;Hello,
Please take a look at lots of examples available at :
1. www.ni.com >> NI Developer Zone >> Development Library >> Measurement Hardware
2. C:\program files\national instruments\ni-daq\examples\visualc
Sincerely,
Sastry V.
Applications Engineer
National Instruments
Maybe you are looking for
-
Hi, I am facing a problem in printing from Reports 6i. We are using shared Laser Printer HP 4100 N. If i print report using this printer then 6i given General Page Fault (GPF) and comes out of program. Can anybody help me in resolving the issue. This
-
HP 5440 deskjet resume light comes on, but printer won't print
I have a hp deskjet 5440 photo printer, but as of a day or so ago, it won't print. I've re-downloaded the driver, bought a new usb cable, checked all the things on the troubleshooting page that comes up when the print job finally gives me an error.
-
I have created a BDC in ECC 6.0 , when I am executing it after all coding it is not accepting the file (nethier in notepad nor in excel) thats why it is not uploading the data in the screen, can anybody help me to resolve this and tell me why it is h
-
I need to write a VI that starts a video capture, then opens a shutter after a set time period, closes the shutter after a different set time period, all the while capturing video for a set duration. At the moment I have a while loop with a countdown
-
Hi, I am new to this area of web services. I published a batch job "MyTestWebServices" as a web services from the Management Console. Created the WSDL and tested this web services via SoapUI tool. Working fine as desired. But this WSDL also contains