AudioScope Project.

Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 8  
Well guys, testing this project gets harder by the distance in upload periods.
(You could say AudioScope fatigue is setting in.)

Well on testing on numerous Linux flavours there are many that use terminal windows of varying sizes that CANNOT be adjusted using the terminal escape code so this is an update to check if the terminal in use CAN be adjusted and if not it immediately crashes out with the error report below; nothing is written to the storage media at this pont.
Code:
Your Prompt> ./AudioScope.sh<CR>

 A terminal window size of 80 columns x 24 lines IS required
 for this program to work!

 This terminal will not auto-resize using the escape codes.

 You will have to manually resize the terminal to EXACTLY
 80 columns x 24 lines and restart AudioScope.sh again.

 Aborting program...

Your Prompt> _

As you can see I have deliberately specified the size now to keep the aesthetics of the project right and in doing so will crash out if 80 columns by 24 lines is not detected.

Stats so far:-

# Total Lines=5187.
# Blank Lines=45.
# Code Lines=2375.
# Comments=2767, (including the builtin Manual).
# Filesize=223361 bytes.

Enjoy...
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Has AudioScope found a bug in bash 4.4.5?

Using AudioScope.sh on Ubuntu 17.04 from a live DVD disc I came across an error. Consider the code below it is a MUCH shortened version of the KEYBOARD input in AudioScope. #!/bin/bash bash --version uname -a status=0 KEYBOARD() { read -r -p "Enter QUIT or EXIT to quit:- " kbinput if ||... (11 Replies)
Discussion started by: wisecracker
11 Replies

2. OS X (Apple)

The DC Control and Timer boards for AudioScope.sh...

Hi all... Apologies for any typos... For those intersted in the AudioScope the next construction is finished. I have not been totally idle but working out the hard stuff to be able to be very simple to build. It is a single transistor simple timer that lasts for about 1.2 to 1.8 seconds.... (2 Replies)
Discussion started by: wisecracker
2 Replies

3. What is on Your Mind?

AudioScope...

Boy oh boy, with only a MONO mic input to use AudioScope gets much more difficult when the ALTDC board is included. It needs, so far, two hits at the MIC input with a single hit at the HEADPHONE audio output. The first at the highest practical resolution for the AC component and the second... (0 Replies)
Discussion started by: wisecracker
0 Replies

4. OS X (Apple)

The Alternate DC board for AudioScope.sh.

Hi guys... Well I have entered an area of partial insnity... ;o) Below is a photo of the 'ALTDC' board for AudioScope.sh... I have decided to incorporate all three methods for obtaining DC into this MBP via the MIC input. 1) VFO. 2) CHOPPER. 3) COUNTER. The controller for the COUNTER... (9 Replies)
Discussion started by: wisecracker
9 Replies

5. Shell Programming and Scripting

Experimental awk audio converter for CygWin and AudioScope.sh

Development machine:- Standard MBP 13 inch, OSX 10.7.5... GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin11) Copyright (C) 2007 Free Software Foundation, Inc. Scenario:- Audio capture for AudioScope.sh for CygWin without ANY third party installs. I am trying my hardest to get a... (6 Replies)
Discussion started by: wisecracker
6 Replies

6. OS X (Apple)

AC to DC trigger pulse for AudioScope.sh.

Hi all... Has _below_ ever been done in UNIX shell scripting before? (I have done this easily in Python but this is using purely the shell.) The DEMO version IS built and has been tested. Pre-amble... I now need at least one control pulse for the AudioScope.sh when in PURELY audio I/O mode,... (2 Replies)
Discussion started by: wisecracker
2 Replies

7. What is on Your Mind?

AudioScope has had a magazine review. <shock>

Hi Admin and Staff... Thanks for hosting AudioScope.sh on this site. I have had the biggest surprise of my life today. This months issue of the UK Linux magazine "Linux Format" have done a small piece on the project. Issue April 2014, LXF 182, page 65... This I never expected and I... (1 Reply)
Discussion started by: wisecracker
1 Replies

8. News, Links, Events and Announcements

A new project was posted on The UNIX and Linux Forums project board.

A new project was posted on your project board. Project title: Bash Shell Tutoring Estimated Budget: $50/hr Start date: Immediately Required skills: Linux, Bash, Shell, UNIX I work as a datawarehouse designer and developer. Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies

9. Solaris

SSH doesn't pick up user's project from /etc/project

We have a system running ssh. When a user logs in, they do not get the project they are assigned to (they run under "system"). I verify the project using the command "ps -e -o user,pid,ppid,args,project". If you do a "su - username", the user does get the project they are assigned to (and all... (2 Replies)
Discussion started by: kurgan
2 Replies
Project(3PERL)						      Perl Library Functions						    Project(3PERL)

NAME
Project - Perl interface to Projects SYNOPSIS
use Sun::Solaris::Project qw(:ALL); my $projid = getprojid(); DESCRIPTION
This module provides wrappers for the Project-related system calls and the libproject(3LIB) library. Also provided are constants from the various Project-related headers. Constants MAXPROJID, PROJNAME_MAX, PROJF_PATH, PROJECT_BUFSZ, SETPROJ_ERR_TASK, and SETPROJ_ERR_POOL. Functions getprojid() This function returns the numeric project ID of the calling process or undef if the underlying getprojid(2) system call is unsuccess- ful. setproject($project, $user, $flags) If $user is a member of the project specified by $project, setproject() creates a new task and associates the appropriate resource con- trols with the process, task, and project. This function returns 0 on success. If the underlying task creation fails, SETPROJ_ERR_TASK is returned. If pool assignment fails, SETPROJ_ERR_POOL is returned. If any resource attribute assignments fail, an integer value cor- responding to the offset of the failed attribute assignment in the project database is returned. See setproject(3PROJECT). activeprojects() This function returns a list of the currently active projects on the system. Each value in the list is the numeric ID of a currently active project. getprojent() This function returns the next entry from the project database. When called in a scalar context, getprojent() returns only the name of the project. When called in a list context, getprojent() returns a 6-element list consisting of: ($name, $projid, $comment, @users, @groups, $attr) @users and @groups are returned as arrays containing the appropriate user or project lists. On end-of-file undef is returned. setprojent() This function rewinds the project database to the beginning of the file. endprojent() This function closes the project database. getprojbyname($name) This function searches the project database for an entry with the specified nam. It returns a 6-element list as returned by getpro- jent() if the entry is found and undef if it cannot be found. getprojbyid($id) This function searches the project database for an entry with the specified ID. It returns a 6-element list as returned by getprojent() if the entry is found or undef if it cannot be found. getdefaultproj($user) This function returns the default project entry for the specified user in the same format as getprojent(). It returns undef if the user cannot be found. See getdefaultproj(3PROJECT) for information about the lookup process. fgetprojent($filehandle) This function returns the next project entry from $filehandle, a Perl file handle that must refer to a previously opened file in project(4) format. Return values are the same as for getprojent(). inproj($user, $project) This function checks whether the specified user is able to use the project. This function returns true if the user can use the project and false otherwise. See inproj(3PROJECT). getprojidbyname($project) This function searches the project database for the specified project. It returns the project ID if the project is found and undef if it is not found. Class methods None. Object methods None. Exports By default nothing is exported from this module. The following tags can be used to selectively import constants and functions defined in this module: :SYSCALLS getprojid() :LIBCALLS setproject(), activeprojects(), getprojent(), setprojent(), endprojent(), getprojbyname(), getprojbyid(), getdefaultproj(), fgetprojent(), inproj(), and getprojidbyname() :CONSTANTS MAXPROJID, PROJNAME_MAX, PROJF_PATH, PROJECT_BUFSZ, SETPROJ_ERR_TASK, and SETPROJ_ERR_POOL :ALL :SYSCALLS, :LIBCALLS, and :CONSTANTS ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpl5u | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
getprojid(2), getdefaultproj(3PROJECT), inproj(3PROJECT), libproject(3LIB), setproject(3PROJECT), project(4), attributes(5) SunOS 5.10 1 Dec 2002 Project(3PERL)

Featured Tech Videos