- Move pure data files to pd folder

- delete spam files
This commit is contained in:
Santi Noreña 2013-01-10 12:14:11 +01:00
parent 01e5bf35e7
commit f0b9f0126b
68 changed files with 48 additions and 15890 deletions

View file

@ -427,22 +427,18 @@ void libreMediaServer::on_updateButton_clicked()
ui.textEdit->appendPlainText("Can not explore the media in the path given");
return;
}
// Creamos el objeto CITP y el peer information socket
quint32 ipadd = 0x00000000;
quint32 i;
i = ui.ipAddress1->value();
ipadd = ipadd + (i * 0x1000000);
i =ui.ipAddress2->value();
ipadd = ipadd + (i * 0x10000);
i = ui.ipAddress3->value();
ipadd = ipadd + (i * 0x100);
i = ui.ipAddress4->value();
ipadd = ipadd + i;
quint32 ipadd = 0x00000000;
quint32 i;
i = ui.ipAddress1->value();
ipadd = ipadd + (i * 0x1000000);
i =ui.ipAddress2->value();
ipadd = ipadd + (i * 0x10000);
i = ui.ipAddress3->value();
ipadd = ipadd + (i * 0x100);
i = ui.ipAddress4->value();
ipadd = ipadd + i;
m_msex->startCitp(ipadd);
}
// Window Configuration
@ -805,7 +801,7 @@ void libreMediaServer::pdstart()
Q_CHECK_PTR(m_pd_write_video);
connect(m_pd_write_video, SIGNAL(connected()),this, SLOT(newconexion()));
// Arrancamos el proceso Pure Data
m_pd_video->start("pd -lib Gem -d 1 -nogui pms-video.pd");
m_pd_video->start("pd -lib Gem -d 0 -stderr -nostdpath -path ./pd pms-video.pd");
if (m_pd_video->waitForStarted(3000)){
ui.textEdit->appendPlainText("Video Engine started.");
}
@ -1398,7 +1394,7 @@ void libreMediaServer::pdstart_audio()
qDebug()<<"error listening tcpServer";
}
// Arrancamos el proceso Pure Data
m_pd_audio->start("pd -nogui -alsa -channels 2 -audiodev 1 pms-audio.pd");
m_pd_audio->start("pd -nogui -alsa -channels 2 -audiodev 1 -stderr -nostdpath -path ./pd pms-video.pd");
if (m_pd_audio->waitForStarted(3000)){
ui.textEdit->appendPlainText("PD Audio started.");
}
@ -1595,7 +1591,7 @@ void libreMediaServer::sendFrame()
qDebug()<<"sendFrame: Can not convert screen capture to image";
return;
}
image = image.scaledToWidth(88);
image = image.scaledToWidth(88);http://palmadores.net/index.php
image = image.convertToFormat(QImage::Format_RGB888);
int bufferLen = image.byteCount();
int bufferLenTot = sizeof(struct CITP_MSEX_10_StFr ) + bufferLen;

View file

@ -0,0 +1,35 @@
#N canvas 0 22 474 324 10;
#X obj 55 118 inlet~;
#X obj 304 139 inlet~;
#X obj 303 249 outlet~;
#X obj 54 249 outlet~;
#X obj 71 161 expr 1-$f1;
#X obj 164 115 hsl 64 8 0 1 0 1 empty empty empty -2 -6 0 8 -166441
-123526 -1 3150 1;
#X msg 161 79 0.5;
#X obj 365 140 inlet;
#X text 171 225 [gpan~];
#X text 242 289 released under the GNU GPL;
#X text 18 289 (C) Copyright 2004 Marc Lavalee;
#X obj 319 205 line~;
#X msg 319 184 \$1 1;
#X obj 71 202 line~;
#X msg 71 181 \$1 1;
#X obj 303 225 *~;
#X obj 55 227 *~;
#X obj 161 58 loadbang;
#X connect 0 0 16 0;
#X connect 1 0 15 0;
#X connect 4 0 14 0;
#X connect 5 0 12 0;
#X connect 5 0 4 0;
#X connect 6 0 5 0;
#X connect 7 0 5 0;
#X connect 11 0 15 1;
#X connect 12 0 11 0;
#X connect 13 0 16 1;
#X connect 14 0 13 0;
#X connect 15 0 2 0;
#X connect 16 0 3 0;
#X connect 17 0 6 0;
#X coords 0 0 1 1 120 12 1;