Sponsored Content
Operating Systems OS X (Apple) An Audio Function Generator... Post 302970036 by wisecracker on Thursday 31st of March 2016 03:39:11 PM
Old 03-31-2016
Hi Scrutinizer...

Thanks that is what I needed...

I hadn't researched that yet as it was unimportant at this point in time... :-)
 

8 More Discussions You Might Find Interesting

1. Programming

Python, Platform Independent, Pure Audio Sinewave Generator...

IKHz_SW_OSX.py A DEMO mono _pure_ sinewave generator using standard text mode Python 2.6.7 to at least 2.7.3. This code is EASILY modifyable to Python version 3.x.x... This DEMO kids level 1KHz generator is mainly for a MacBook Pro, (13 inch in my case), OSX 10.7.5 and above. See below...... (0 Replies)
Discussion started by: wisecracker
0 Replies

2. Shell Programming and Scripting

A Crude 1KHz Audio Sinewave Generator Demo...

A very simple crude sinewave generator. The file required is generated inside the code, is linear interpolated and requires /dev/audio to work. Ensure you have this device, if not the download oss-compat from your OS's repository... It lasts for about 8 seconds before exiting and saves a... (5 Replies)
Discussion started by: wisecracker
5 Replies

3. Shell Programming and Scripting

Sequence generator

Thanks Guys This really helped (5 Replies)
Discussion started by: robert89
5 Replies

4. Slackware

Problems with audio recording in Audacity 2.0.5. Slackware64 14.1; Intel HD Audio.

I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
Discussion started by: qzxcvbnm
2 Replies

5. OS X (Apple)

A Bash Audio Sweep Generator...

This is a small program as a tester for a basic sweep generator for bandwidth testing of AudioScope.sh. This DEMO is only capable of 4KHz down to about 85Hz and back due to the low bit rate, but it is proof of concept for a much wider variant using a much higher bit rate. The file generated... (4 Replies)
Discussion started by: wisecracker
4 Replies

6. OS X (Apple)

Variable frequency audio generator...

Hi all... I intend to do an Audio Function Generator using Awk, (already started thanks to Don), but the biggest thing I have struggled with was variable frequency. I was going to generate differing sized waveforms on the fly but that would that would mean the frequencies are dependent on any... (2 Replies)
Discussion started by: wisecracker
2 Replies

7. OS X (Apple)

A simple variable frequency sinewave audio generator.

Hi all... Well I have not been inactive but working out how to make OSX 10.14.x command line audio player have a variable sample rate. This is a back door as afplay does not have a sample rate flag unlike aplay for ALSA, in Linux flavours. This is a DEMO only but a derivative of it will... (2 Replies)
Discussion started by: wisecracker
2 Replies

8. Shell Programming and Scripting

Hostsfile generator

Hello I use a bash script to creating the hosts file /etc/hosts But there is a bug inside my output and I want to fix this. My Array looks like this: 205,IP 111.122.133.20 205,HOST2 unas 205,HOST1 unas15533 205,COMMENT # UNAS 775,IP ... (9 Replies)
Discussion started by: Marti95
9 Replies
Devel::Backtrace(3pm)					User Contributed Perl Documentation				     Devel::Backtrace(3pm)

NAME
Devel::Backtrace - Object-oriented backtrace VERSION
This is version 0.12. SYNOPSIS
my $backtrace = Devel::Backtrace->new; print $backtrace; # use automatic stringification # See EXAMPLES to see what the output might look like print $backtrace->point(0)->line; METHODS
Devel::Backtrace->new() Optional parameters: -start => $start, -format => $format If only one parameter is given, it will be used as $start. Constructs a new "Devel::Backtrace" which is filled with all the information "caller($i)" provides, where $i starts from $start. If no argument is given, $start defaults to 0. If $start is 1 (or higher), the backtrace won't contain the information that (and where) Devel::Backtrace::new() was called. $backtrace->point($i) Returns the i'th tracepoint as a Devel::Backtrace::Point object (see its documentation for how to access every bit of information). Note that the following code snippet will print the information of "caller($start+$i)": print Devel::Backtrace->new($start)->point($i) $backtrace->points() Returns a list of all tracepoints. In scalar context, the number of tracepoints is returned. $backtrace->skipme([$package]) This method deletes all leading tracepoints that contain information about calls within $package. Afterwards the $backtrace will look as though it had been created with a higher value of $start. If the optional parameter $package is not given, it defaults to the calling package. The effect is similar to what the Carp module does. This module ships with an example "skipme.pl" that demonstrates how to use this method. See also "EXAMPLES". $backtrace->skipmysubs([$package]) This method is like "skipme" except that it deletes calls to the package rather than calls from the package. Before discarding those calls, "skipme" is called. This is because usually the topmost call in the stack is to Devel::Backtrace->new, which would not be catched by "skipmysubs" otherwise. This means that skipmysubs usually deletes more lines than skipme would. "skipmysubs" was added in Devel::Backtrace version 0.06. See also "EXAMPLES" and the example "skipme.pl". $backtrace->to_string() Returns a string that contains one line for each tracepoint. It will contain the information from "Devel::Backtrace::Point"'s to_string() method. To get more information, use the to_long_string() method. Note that you don't have to call to_string() if you print a "Devel::Backtrace" object or otherwise treat it as a string, as the stringification operator is overloaded. See "EXAMPLES". $backtrace->to_long_string() Returns a very long string that contains several lines for each trace point. The result will contain every available bit of information. See "to_long_string" in Devel::Backtrace::Point for an example of what the result looks like. EXAMPLES
A sample stringification might look like this: Devel::Backtrace::new called from MyPackage (foo.pl:30) MyPackage::test2 called from MyPackage (foo.pl:28) MyPackage::test1 called from main (foo.pl:18) main::bar called from main (foo.pl:6) main::foo called from main (foo.pl:13) If MyPackage called skipme, the first two lines would be removed. If it called skipmysubs, the first three lines would be removed. If you don't like the format, you can change it: my $backtrace = Devel::Backtrace->new(-format => '%I. %s'); This would produce a stringification of the following form: 0. Devel::Backtrace::new 1. MyPackage::test2 2. MyPackage::test1 3. main::bar 4. main::foo SEE ALSO
Devel::StackTrace does mostly the same as this module. I'm afraid I hadn't noticed it until I uploaded this module. Carp::Trace is a simpler module which gives you a backtrace in string form. Devel::DollarAt comes with this distribution and is a nice application of this module. You can use it for debugging to get a backtrace out of $@. AUTHOR
Christoph Bussenius <pepe@cpan.org> If you use this module, I'll be glad if you drop me a note. You should mention this module's name in the subject of your mails, in order to make sure they won't get lost in all the spam. LICENSE
This module is in the public domain. If your country's law does not allow this module being in the public domain or does not include the concept of public domain, you may use the module under the same terms as perl itself. perl v5.10.0 2009-01-27 Devel::Backtrace(3pm)
All times are GMT -4. The time now is 01:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy